/* ==========================================================================
   Blink Eye Clinic · combined-site homepage concept
   Brand tokens: Blink Brand Kit (Figma PYiLCsa5XaRwBwIJkho3We), blue sampled
   from the client's existing Blink Eye logo. See notes/brand-direction.md.
   ========================================================================== */

:root {
  --blue: #2e5984;
  --blue-deep: #244a70;
  --blue-soft: #e4ecf4;
  --navy: #14263a;
  --navy-deep: #0e1b2a;
  --ink: #051412;
  --text: #1c2a33;
  --text-2: #4a5760;
  --beige: #cbac8d;
  --beige-soft: #efe5d7;
  --bronze: #745631;
  --stone: #ebe4da;
  --stone-2: #f4efe7;
  --paper: #fdfcf6;
  --white: #ffffff;
  --line: rgba(5, 20, 18, 0.1);
  --line-dark: rgba(253, 252, 246, 0.14);
  --on-dark: rgba(253, 252, 246, 0.84);
  --on-dark-dim: rgba(253, 252, 246, 0.62);
  --star: #e2a93b;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(5, 20, 18, 0.05), 0 6px 18px rgba(5, 20, 18, 0.06);
  --shadow: 0 2px 6px rgba(5, 20, 18, 0.06), 0 20px 50px rgba(5, 20, 18, 0.12);

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 9vw, 120px);
  --section-s: clamp(48px, 6vw, 80px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 88px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;            /* 18px: low-vision readability floor */
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .is-dark :focus-visible { outline-color: var(--beige); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 8px;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.3rem + 3vw, 4.25rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.1rem); line-height: 1.12; }
h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.55; color: var(--text-2); }
.lede.on-dark { color: var(--on-dark); }
.text-2 { color: var(--text-2); }
.small { font-size: 1rem; }
.measure { max-width: 62ch; }
.measure-s { max-width: 46ch; }
.center { text-align: center; }
.center .measure, .center .measure-s { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.6;
  color: var(--bronze); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--beige); flex: none; margin-top: 0.46em;
}
.eyebrow.on-dark { color: var(--beige); }
.eyebrow.on-dark::before { background: var(--beige); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 960px; }
.container--wide { max-width: 1760px; }
.section { padding-block: var(--section); }
.section--s { padding-block: var(--section-s); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.is-dark { background: var(--navy); color: var(--on-dark); }
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: var(--white); }
.is-dark p { color: var(--on-dark); }
.is-stone { background: var(--stone); }
.is-stone-2 { background: var(--stone-2); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: var(--radius-s);
  font-weight: 500; font-size: 1.0625rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(46, 89, 132, 0.22); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(46, 89, 132, 0.28); }
.btn--secondary { background: transparent; color: var(--navy); border-color: rgba(20, 38, 58, 0.35); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); background: rgba(20, 38, 58, 0.04); }
.btn--light { background: rgba(253, 252, 246, 0.1); color: var(--white); border-color: rgba(253, 252, 246, 0.55); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--beige { background: var(--beige); color: var(--navy); }
.btn--beige:hover { background: #d8bd9f; color: var(--navy); }
.btn--on-beige { background: var(--navy); color: var(--white); }
.btn--on-beige:hover { background: var(--navy-deep); color: var(--white); }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.btn--call svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; color: var(--blue);
  min-height: 44px;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--beige); }
.link-arrow.on-dark:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 246, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(5, 20, 18, 0.06); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.nav__logo { display: inline-flex; align-items: center; flex: none; }
.nav__logo img { height: 60px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px;
  border: 0; background: none; border-radius: 8px; font-size: 1rem; font-weight: 500; color: var(--navy);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--stone-2); color: var(--blue); }
.nav__link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__list { flex-wrap: nowrap; }
.nav__toggle {
  display: none; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__hub {
  display: block; padding: 14px 16px; border-radius: 10px; background: var(--stone-2); text-decoration: none; margin-bottom: 8px;
}
.dropdown__hub strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: var(--navy); }
.dropdown__hub span { display: block; font-size: 0.95rem; color: var(--bronze); margin-top: 2px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex; align-items: center; min-height: 46px; padding: 6px 16px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 1rem;
}
.dropdown__link:hover { background: var(--blue-soft); color: var(--blue); }
.dropdown__link.is-urgent { color: #9a3b1f; font-weight: 500; }
.dropdown--mega { left: 50%; transform: translate(-50%, 8px); width: min(960px, calc(100vw - 48px)); padding: 24px; }
.nav__item.is-open > .dropdown--mega { transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mega__heading { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); font-weight: 500; margin: 0 0 6px; padding-left: 16px; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.mega__foot p { margin: 0; color: var(--text-2); font-size: 1rem; }

/* Mobile menu */
@media (max-width: 1279.98px) {
  :root { --header-h: 76px; }
  .nav__logo img { height: 50px; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--book { display: none; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto;
    padding: 12px var(--gutter) 40px; display: none; z-index: 49;
  }
  .nav__menu.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 60px; padding: 0 4px; font-size: 1.125rem; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; }
  .dropdown {
    position: static; min-width: 0; width: auto; border: 0; box-shadow: none; padding: 0 0 16px; border-radius: 0;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none; background: transparent;
  }
  .nav__item.is-open > .dropdown { display: block; }
  .dropdown--mega { width: auto; transform: none; }
  .nav__item.is-open > .dropdown--mega { transform: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mega__foot { flex-direction: column; align-items: flex-start; }
  .nav__menu .menu-actions { display: grid; gap: 10px; padding-top: 20px; }
}
@media (max-width: 599.98px) { .mega__grid { grid-template-columns: 1fr; } }
@media (min-width: 1280px) {
  .nav__menu .menu-actions { display: none; }
  .nav__logo img { height: 52px; }
  .nav__link { font-size: 0.9rem; padding: 0 8px; gap: 5px; }
  .nav__link svg { width: 12px; height: 12px; }
  .nav__cta .btn--call .label { display: none; }
  .nav__cta .btn--call { width: 50px; min-height: 50px; padding: 0; border-radius: 50%; }
  .nav__cta .btn--book { min-height: 50px; padding: 0 22px; font-size: 1rem; }
}
@media (min-width: 1440px) {
  .nav__logo img { height: 58px; }
  .nav__link { font-size: 0.95rem; padding: 0 10px; }
}
@media (min-width: 1680px) {
  .nav__logo img { height: 60px; }
  .nav__link { padding: 0 14px; font-size: 1rem; gap: 6px; }
  .nav__link svg { width: 14px; height: 14px; }
  .nav__cta .btn--call { width: auto; padding: 0 20px; border-radius: var(--radius-s); }
  .nav__cta .btn--call .label { display: inline; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white); background: var(--navy);
  min-height: clamp(620px, 86dvh, 900px); display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
.hero__poster, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%;
}
.hero__video { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero.is-playing .hero__video { opacity: 1; }
.hero__wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 27, 42, 0.92) 0%, rgba(14, 27, 42, 0.78) 34%, rgba(14, 27, 42, 0.34) 62%, rgba(14, 27, 42, 0.18) 100%),
    linear-gradient(180deg, rgba(14, 27, 42, 0.35) 0%, rgba(14, 27, 42, 0) 30%, rgba(14, 27, 42, 0.55) 100%);
}
/* focus pull: the page comes into focus */
.hero__focus { position: absolute; inset: -4%; filter: blur(18px) saturate(0.75); transform: scale(1.06); transition: filter 2.2s var(--ease), transform 2.6s var(--ease); }
.hero.is-ready .hero__focus { filter: blur(0) saturate(1); transform: none; }
.hero__inner { position: relative; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(120px, 14vw, 170px); }
.hero__content { max-width: 780px; }
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero h1 .w { display: inline; opacity: 0; filter: blur(10px); transition: opacity 0.9s var(--ease), filter 1.2s var(--ease); transition-delay: calc(0.25s + var(--i, 0) * 70ms); }
.hero.is-ready h1 .w { opacity: 1; filter: blur(0); }
.hero__lede { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.55; color: rgba(253, 252, 246, 0.9); max-width: 58ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .eyebrow { color: var(--beige); }
@media (prefers-reduced-motion: reduce) {
  .hero__focus { filter: none; transform: none; transition: none; }
  .hero h1 .w { opacity: 1; filter: none; transition: none; }
}
@media (max-width: 767.98px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 150px; }
  .hero__poster, .hero__video { object-position: 68% 24%; }
  .hero__wash { background: linear-gradient(180deg, rgba(14, 27, 42, 0.6) 0%, rgba(14, 27, 42, 0.84) 60%, rgba(14, 27, 42, 0.95) 100%); }
  .hero__actions .btn { width: 100%; }
}

/* Trust strip overlapping the hero */
.trust { position: relative; z-index: 2; margin-top: -84px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden;
}
.trust__item { padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__value { font-family: var(--font-head); font-size: 1.4rem; line-height: 1.2; color: var(--navy); margin: 0 0 6px; font-weight: 500; }
.trust__label { font-size: 0.98rem; color: var(--text-2); margin: 0; line-height: 1.45; }
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; margin-left: 6px; }
.stars svg { width: 18px; height: 18px; fill: var(--star); }
@media (max-width: 1023.98px) {
  .trust { margin-top: -64px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 599.98px) {
  .trust { margin-top: -90px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0 !important; border-top: 1px solid var(--line); padding: 20px 22px; }
  .trust__item:first-child { border-top: 0; }
}

/* --------------------------------------------------------------------------
   Router cards
   -------------------------------------------------------------------------- */
.router__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.route {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden; text-decoration: none; color: inherit; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.route:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(46, 89, 132, 0.35); color: inherit; }
.route__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.route__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.route:hover .route__media img { transform: scale(1.05); }
.route__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.route__body h3 { margin-bottom: 0.5em; }
.route__body p { color: var(--text-2); }
.route__list { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.route__list li { font-size: 0.95rem; font-weight: 500; color: var(--navy); background: var(--stone-2); border-radius: 999px; padding: 6px 12px; }
.route .link-arrow { margin-top: auto; }
@media (max-width: 1023.98px) { .router__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } .route__media { aspect-ratio: 16 / 9; } }

/* --------------------------------------------------------------------------
   Why Blink
   -------------------------------------------------------------------------- */
.why__layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.why__points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 36px; margin-top: 40px; }
.point { display: grid; gap: 14px; align-content: start; }
.point__icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--beige-soft); display: grid; place-items: center; color: var(--blue);
}
.point__icon svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.point h3 { font-size: 1.3rem; margin: 6px 0 0; }
.point p { color: var(--text-2); font-size: 1.0625rem; }
.quote-card { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--navy); min-height: 640px; display: flex; align-items: flex-end; margin: 0; }
.quote-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% 20%; }
.quote-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 42, 0) 34%, rgba(14, 27, 42, 0.6) 62%, rgba(14, 27, 42, 0.94) 100%); }
.quote-card__body { position: relative; z-index: 1; padding: 36px; color: var(--white); }
.quote-card__mark { width: 40px; height: 40px; color: var(--beige); margin-bottom: 14px; }
.quote-card blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.35; }
.quote-card cite { display: block; font-style: normal; margin-top: 16px; color: var(--beige); font-size: 1rem; letter-spacing: 0.04em; }
@media (min-width: 1024px) and (max-width: 1100px) { .why__points { grid-template-columns: 1fr; } }
@media (max-width: 1023.98px) {
  .why__layout { grid-template-columns: 1fr; }
  .quote-card { min-height: 520px; }
}
@media (max-width: 599.98px) { .why__points { grid-template-columns: 1fr; } .quote-card { min-height: 420px; } .quote-card__body { padding: 26px; } }

/* --------------------------------------------------------------------------
   Decision helper
   -------------------------------------------------------------------------- */
.helper__layout { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.helper__tabs { display: grid; gap: 10px; }
.tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; min-height: 72px; padding: 14px 18px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 1.0625rem; font-weight: 500; color: var(--navy);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.tab__num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--beige); display: grid; place-items: center; font-family: var(--font-head); color: var(--bronze); flex: none; }
.tab:hover { border-color: rgba(46, 89, 132, 0.4); transform: translateX(3px); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow-s); }
.tab[aria-selected="true"] .tab__num { border-color: var(--beige); background: var(--beige); color: var(--navy); }
.helper__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); min-height: 420px; }
.panel { display: none; animation: panel-in 0.45s var(--ease); }
.panel.is-active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } }
.panel__head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.panel__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--beige-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.panel__icon svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.panel h3 { margin: 4px 0 6px; }
.panel__head p { color: var(--text-2); margin: 0; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); counter-increment: step; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 500; display: grid; place-items: center; font-size: 0.95rem; margin-top: 2px; }
.steps { counter-reset: step; }
.steps strong { display: block; color: var(--ink); font-weight: 500; }
.steps span { color: var(--text-2); }
.panel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.panel__note { font-size: 0.95rem; color: var(--text-2); margin: 0; flex: 1 1 280px; }
@media (max-width: 1023.98px) {
  .helper__layout { grid-template-columns: 1fr; }
  .helper__tabs { grid-template-columns: 1fr 1fr; }
  .helper__panel { min-height: 0; }
}
@media (max-width: 599.98px) { .helper__tabs { grid-template-columns: 1fr; } .tab { min-height: 60px; } }

/* --------------------------------------------------------------------------
   Technology (navy)
   -------------------------------------------------------------------------- */
.tech { position: relative; overflow: hidden; }
.aperture { position: absolute; right: -180px; top: -160px; width: 720px; height: 720px; pointer-events: none; opacity: 0.5; }
.aperture circle { fill: none; stroke: var(--beige); stroke-width: 1; }
.aperture .ring-2 { stroke-dasharray: 6 14; animation: spin 90s linear infinite; transform-origin: center; }
.aperture .ring-3 { stroke-dasharray: 2 10; animation: spin 140s linear infinite reverse; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aperture .ring-2, .aperture .ring-3 { animation: none; } }
.tech__intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); position: relative; }
.tech__statement { font-family: var(--font-head); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.22; color: var(--white); margin-bottom: 0.7em; font-weight: 500; }
.tech__statement em { font-style: normal; color: var(--beige); }
.tech__principles { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.tech__principles li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark); }
.tech__principles svg { width: 26px; height: 26px; flex: none; color: var(--beige); margin-top: 3px; }
.tech__media { border-radius: var(--radius-l); overflow: hidden; position: relative; }
.tech__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.tech__media figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(14, 27, 42, 0.78); color: var(--white); padding: 10px 16px; border-radius: 999px; font-size: 0.95rem; }
.tech__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.tech-card {
  background: rgba(253, 252, 246, 0.05); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 30px 28px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tech-card:hover { border-color: rgba(203, 172, 141, 0.6); background: rgba(253, 252, 246, 0.08); transform: translateY(-4px); }
.tech-card--featured { background: var(--beige); border-color: var(--beige); color: var(--navy); }
.tech-card--featured:hover { background: #d4b99c; border-color: #d4b99c; }
.tech-card--featured h3, .tech-card--featured p, .tech-card--featured .tech-card__label { color: var(--navy); }
.tech-card__label { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige); font-weight: 500; margin: 0 0 12px; }
.tech-card h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.tech-card p { font-size: 1.0625rem; margin: 0; }
@media (max-width: 1023.98px) { .tech__intro { grid-template-columns: 1fr; } .tech__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639.98px) { .tech__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Affiliations
   -------------------------------------------------------------------------- */
.aff__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.aff__tile {
  flex: 0 0 auto; width: 176px; height: 104px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.aff__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); border-color: rgba(46, 89, 132, 0.3); }
.aff__tile img { max-height: 72px; max-width: 144px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 767.98px) { .aff__tile { width: calc(50% - 9px); height: 92px; } .aff__tile img { max-height: 60px; max-width: 100%; } }

/* --------------------------------------------------------------------------
   Offer band (slim, client-swappable)
   -------------------------------------------------------------------------- */
.offer { background: var(--beige); color: var(--navy); }
.offer__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 48px; padding-block: 34px; }
.offer h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--navy); margin-bottom: 0.2em; }
.offer p { color: var(--navy); margin: 0; }
.offer .fine { font-size: 0.95rem; color: rgba(20, 38, 58, 0.78); margin-top: 6px; }
@media (max-width: 767.98px) { .offer__inner { grid-template-columns: 1fr; } .offer .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rating { display: flex; align-items: center; gap: 22px; margin: 22px 0 26px; }
.rating__num { font-family: var(--font-head); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 1; color: var(--navy); font-weight: 500; }
.rating__stars { display: flex; gap: 4px; }
.rating__stars svg { width: 30px; height: 30px; fill: var(--star); }
.rating__label { color: var(--text-2); font-size: 1rem; margin-top: 6px; }
.widget-slot {
  border: 2px dashed rgba(46, 89, 132, 0.35); border-radius: var(--radius-l); min-height: 360px; background: rgba(255, 255, 255, 0.6);
  display: grid; place-items: center; text-align: center; padding: 32px;
}
.widget-slot__inner { max-width: 420px; }
.widget-slot__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.widget-slot__logo svg { width: 28px; height: 28px; }
.widget-slot p { color: var(--text-2); font-size: 1rem; }
.widget-slot .tag { display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); background: var(--beige-soft); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; font-weight: 500; }
@media (max-width: 1023.98px) { .reviews__layout { grid-template-columns: 1fr; } .widget-slot { min-height: 280px; } }

/* --------------------------------------------------------------------------
   Doctors
   -------------------------------------------------------------------------- */
.doctors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.doctor { display: flex; flex-direction: column; }
.doctor__media { aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; background: var(--stone); margin-bottom: 22px; }
.doctor__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.doctor:hover .doctor__media img { transform: scale(1.04); }
.doctor h3 { margin-bottom: 4px; }
.doctor__role { color: var(--blue); font-weight: 500; margin: 0 0 12px; font-size: 1rem; }
.doctor p:not(.doctor__role) { color: var(--text-2); font-size: 1.0625rem; }
.doctors__foot { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 1023.98px) { .doctors__grid { gap: 20px; } }
@media (max-width: 767.98px) { .doctors__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 36px; } }

/* --------------------------------------------------------------------------
   Clinic band
   -------------------------------------------------------------------------- */
.clinic { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.clinic__media { position: absolute; inset: 0; z-index: -1; }
.clinic__media img, .clinic__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.clinic__media video { opacity: 0; transition: opacity 1s var(--ease); }
.clinic.is-playing .clinic__media video { opacity: 1; }
.clinic__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 27, 42, 0.95) 0%, rgba(14, 27, 42, 0.86) 42%, rgba(14, 27, 42, 0.5) 78%, rgba(14, 27, 42, 0.4) 100%); }
.clinic__inner { padding-block: clamp(80px, 10vw, 140px); }
.clinic__text { max-width: 640px; }
.clinic h2 { color: var(--white); }
.clinic p { color: var(--on-dark); }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.facts li { display: flex; gap: 16px; align-items: flex-start; color: var(--white); font-size: 1.0625rem; }
.facts svg { width: 28px; height: 28px; flex: none; color: var(--beige); stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.facts span { color: var(--on-dark); }
.facts strong { color: var(--white); font-weight: 500; display: block; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 1023.98px) { .clinic__media::after { background: linear-gradient(180deg, rgba(14, 27, 42, 0.85), rgba(14, 27, 42, 0.92)); } }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr; } .gallery figure { aspect-ratio: 16 / 10; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__list { display: grid; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s var(--ease); }
.faq[open] { border-color: rgba(46, 89, 132, 0.4); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); min-height: 72px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.faq summary .plus svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.faq[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq__body { padding: 0 26px 26px; color: var(--text-2); max-width: 70ch; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: stretch; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-s); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border-radius: var(--radius-s); border: 1.5px solid rgba(5, 20, 18, 0.2);
  font: inherit; color: var(--text); background: var(--paper); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 89, 132, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .error { display: none; color: #b3261e; font-size: 0.95rem; margin-top: 6px; }
.field.is-invalid .error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 22px; }
.form-foot p { font-size: 0.95rem; color: var(--text-2); margin: 0; flex: 1 1 260px; }
.form-success { display: none; padding: 20px 22px; border-radius: var(--radius-s); background: var(--blue-soft); color: var(--navy); margin-top: 20px; }
.form-success.is-visible { display: block; }
.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.contact-card h3 { color: var(--white); margin-bottom: 4px; }
.contact-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-row svg { width: 28px; height: 28px; color: var(--beige); stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-row strong { display: block; font-weight: 500; color: var(--white); }
.contact-row span, .contact-row a { color: var(--on-dark); }
.contact-row a { text-decoration: none; display: inline-block; padding: 8px 0; }
.contact-row a:hover { color: var(--beige); }
.contact-row .big { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); display: inline-block; margin-top: 2px; }
.contact-row .big:hover { color: var(--beige); }
.hours { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; color: var(--on-dark); font-size: 1rem; }
.map { margin-top: 48px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: var(--stone); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 1023.98px) { .contact__layout { grid-template-columns: 1fr; } }
@media (max-width: 599.98px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } .map iframe { height: 320px; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-deep); color: var(--on-dark); padding-top: var(--section-s); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 92px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 36ch; font-size: 1rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer h4 + h4, .footer ul + h4 { margin-top: 22px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer a { color: var(--on-dark); text-decoration: none; font-size: 1rem; display: inline-block; padding: 10px 0; }
.footer a:hover { color: var(--beige); }
.footer__contact li { display: grid; gap: 0; margin-bottom: 6px; font-size: 1rem; }
.footer__contact span { padding: 0; }
.footer__contact strong { color: var(--white); font-weight: 500; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease); }
.social a:hover { border-color: var(--beige); background: rgba(203, 172, 141, 0.12); }
.social svg { width: 20px; height: 20px; fill: var(--white); }
.footer__legal { padding: 26px 0 34px; display: grid; gap: 14px; font-size: 0.95rem; color: var(--on-dark-dim); }
.footer__legal-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer__legal-row ul { display: flex; gap: 20px; }
.footer__legal a { color: var(--on-dark-dim); font-size: 0.95rem; padding: 10px 0; }
.footer__legal a:hover { color: var(--beige); }
@media (max-width: 1023.98px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599.98px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
