/* ==========================================================================
   Blink Eye Clinic + Blink Vision Clinic · homepage concept v2
   From Kathryn's 22 Oct review: square edges ("precision", "future-focused"),
   new icon set, two clinics explained up front, two booking paths,
   Patient information and Referrers hubs. Palette and fonts unchanged.
   ========================================================================== */

:root {
  --blue: #2e5984;
  --blue-deep: #244a70;
  --blue-soft: #e4ecf4;
  --blue-light: #8fb3d9;
  --navy: #14263a;
  --navy-deep: #0e1b2a;
  --ink: #051412;
  --text: #1c2a33;
  --text-2: #3a4650;
  --beige: #cbac8d;
  --beige-deep: #bf9d7a;
  --beige-soft: #efe5d7;
  --bronze: #5e4527;
  --stone: #ebe4da;
  --stone-2: #f4efe7;
  --paper: #fdfcf6;
  --white: #ffffff;
  --line: rgba(5, 20, 18, 0.12);
  --line-strong: rgba(5, 20, 18, 0.22);
  --line-dark: rgba(253, 252, 246, 0.16);
  --on-dark: rgba(253, 252, 246, 0.9);
  --on-dark-dim: rgba(253, 252, 246, 0.8);
  --confirm: #8a5a12;
  --confirm-bg: #fbf1dc;

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

  /* v2: square edges throughout. Buttons keep 2px so edges stay crisp, not jagged */
  --radius-s: 2px;
  --radius: 0px;
  --radius-l: 0px;
  --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;
  --container-wide: 1760px;
  --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);
  --topbar-h: 46px;
  --nav-h: 82px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
}
@media (max-width: 1279.98px) { :root { --topbar-h: 0px; --nav-h: 76px; } }

/* --------------------------------------------------------------------------
   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.1875rem;           /* 19px body: low-vision audience */
  line-height: 1.65;
  font-weight: 450;
  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-deep); outline-offset: 3px; }
.on-dark :focus-visible, .is-dark :focus-visible, .topbar :focus-visible, .hero__text :focus-visible, .clinic :focus-visible, .referrer-bar :focus-visible, .contact-card :focus-visible, .footer :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;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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.4rem, 1.4rem + 2.3vw, 3.6rem); line-height: 1.07; }
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.3rem; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); line-height: 1.55; color: var(--text-2); }
.lede.on-dark { color: var(--on-dark); }
.measure { max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5;
  color: var(--bronze); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--beige); flex: none; }
.eyebrow.on-dark { color: var(--beige); }
.section-head--center .eyebrow { justify-content: center; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section); }
.section-head { max-width: 780px; 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-2 { background: var(--stone-2); }

/* Precision motifs: viewfinder corners on media, square colour keys for the two clinics */
.frame-corners {
  position: absolute; inset: 16px; pointer-events: none; z-index: 2;
  --c: var(--beige); --l: 30px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.key { display: inline-block; width: 10px; height: 10px; flex: none; background: var(--navy); }
.key--vision { background: var(--beige); }
.key--eye { background: var(--blue); }
.key--navy { background: var(--navy); }

.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 2px 10px;
  border: 1px solid currentColor; color: var(--blue);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
}
.tag--confirm { color: var(--confirm); background: var(--confirm-bg); border-color: rgba(138, 90, 18, 0.45); }

/* --------------------------------------------------------------------------
   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; letter-spacing: 0.01em;
  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 .ico { width: 26px; height: 26px; --ico-sw: 2.6; --ico-accent: currentColor; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(46, 89, 132, 0.25); }
.btn--vision { background: var(--beige); color: var(--navy); }
.btn--vision:hover { background: var(--beige-deep); color: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(94, 69, 39, 0.22); }
.btn--outline { background: transparent; color: var(--navy); border-color: rgba(20, 38, 58, 0.45); }
.btn--outline:hover { border-color: var(--navy); color: var(--white); background: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-1px); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(253, 252, 246, 0.6); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--on-dark { background: var(--paper); color: var(--navy); }
.btn--on-dark:hover { background: var(--beige); color: var(--navy); }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 1rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--blue-deep);
  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); }

/* --------------------------------------------------------------------------
   Icons: fine-line square-cut set (assets/icons), stroke = currentColor,
   weight = --ico-sw, the Blink dot = --ico-accent
   -------------------------------------------------------------------------- */
.ico { width: 56px; height: 56px; flex: none; overflow: visible; }
.ico-frame {
  position: relative; display: grid; place-items: center; flex: none;
  width: 96px; height: 96px; background: var(--white); border: 1px solid var(--line); color: var(--blue);
}
.ico-frame::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  --c: var(--beige); --l: 12px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.ico-frame .ico { width: 64px; height: 64px; }
.ico-frame--dark { background: rgba(253, 252, 246, 0.04); border-color: var(--line-dark); color: var(--beige); --ico-accent: var(--paper); }

/* --------------------------------------------------------------------------
   Header: utility bar + main bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 20, 18, 0.08); }

.topbar { background: var(--navy-deep); color: var(--on-dark); position: relative; z-index: 3; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--topbar-h); }
.topbar ul { list-style: none; margin: 0; padding: 0; }
.topbar__clinics { display: flex; align-items: center; gap: 28px; }
.topbar__clinics li { display: flex; align-items: center; gap: 10px; font-size: 1rem; white-space: nowrap; }
.topbar__clinics li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.topbar__clinics strong { color: var(--white); font-weight: 500; }
.topbar__suite { color: var(--beige); font-weight: 500; }
.topbar__clinics a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.topbar__clinics a:hover { color: var(--white); text-decoration: underline; }
.topbar .key--eye { background: var(--blue-light); }
.topbar__links { display: flex; align-items: center; gap: 6px; }
.topbar .nav__link {
  min-height: var(--topbar-h); padding: 0 14px; color: var(--on-dark); font-size: 1rem; font-weight: 500;
}
.topbar .nav__link:hover, .topbar .nav__item.is-open > .nav__link { background: rgba(253, 252, 246, 0.08); color: var(--white); }
.topbar__suit {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--topbar-h); padding: 0 0 0 16px; margin-left: 6px;
  border-left: 1px solid var(--line-dark); color: var(--beige); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.topbar__suit svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.topbar__suit:hover { color: var(--white); }
.topbar__suit:hover svg { transform: translateX(3px); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav__logo { display: inline-flex; align-items: center; flex: none; }
.nav__logo img { height: 56px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px;
  border: 0; background: none; font-size: 1.0625rem; font-weight: 500; color: var(--navy);
  text-decoration: none; cursor: pointer; white-space: nowrap; position: relative;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link svg { width: 12px; height: 12px; 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__book-label { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); margin-right: 4px; }
.nav__toggle {
  display: none; width: 52px; height: 52px; border: 1px solid var(--line-strong);
  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); }

/* Dropdowns */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 320px; z-index: 5;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  box-shadow: var(--shadow); padding: 16px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown--right { left: auto; right: 0; }
.dropdown--two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; width: 640px; }
.dropdown--brand { width: 640px; }
.dropdown__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.dropdown__brand {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px; margin-bottom: 14px; background: var(--stone-2); text-decoration: none;
}
.dropdown__brand img { height: 24px; width: auto; }
.dropdown__brand span { font-size: 1rem; font-weight: 500; color: var(--bronze); }
.dropdown__brand:hover { background: var(--stone); }
/* Kathryn: headings must stand out from links. Blue on a pale-blue box */
.dd-heading {
  margin: 0 0 6px; padding: 8px 14px; background: var(--blue-soft); color: var(--blue);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35;
}
.dropdown__list + .dd-heading { margin-top: 12px; }
.dropdown__hub { display: block; padding: 12px 16px; background: var(--stone-2); text-decoration: none; margin-bottom: 10px; border-left: 3px solid var(--beige); }
.dropdown__hub strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; color: var(--navy); }
.dropdown__hub span { display: block; font-size: 1rem; color: var(--bronze); margin-top: 2px; }
.dropdown__hub:hover { background: var(--stone); }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  display: flex; align-items: center; min-height: 44px; padding: 6px 14px; border-left: 2px solid transparent;
  color: var(--text); text-decoration: none; font-size: 1.0625rem; line-height: 1.35;
}
.dropdown__link:hover { background: var(--paper); border-left-color: var(--blue); color: var(--blue); }
.dropdown__link.is-urgent { color: #9a3b1f; font-weight: 500; }
.dropdown--mega { left: 50%; transform: translate(-50%, 6px); width: min(940px, calc(100vw - 48px)); padding: 22px; }
.nav__item.is-open > .dropdown--mega { transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mega__foot p { margin: 0; color: var(--text-2); font-size: 1.0625rem; }
.dd-callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px; background: #fbeee8; border-left: 3px solid #9a3b1f; }
.dd-callout .ico { width: 34px; height: 34px; color: #9a3b1f; --ico-sw: 2.4; --ico-accent: #9a3b1f; }
.dd-callout p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--text); }
.dd-callout a { color: #7c2d16; font-weight: 600; }

.menu-actions, .menu-phones { display: none; }
.nav__btn-m { display: none; }

/* Desktop */
@media (min-width: 1280px) {
  .nav__item--compact { display: none; }
  .nav__menu { flex: 1; display: flex; justify-content: center; }
  .nav__list .nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .nav__list .nav__link:hover, .nav__list .nav__item.is-open > .nav__link { color: var(--blue); }
  .nav__list .nav__link:hover::after, .nav__list .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
  .nav__logo img { height: 50px; }
  .nav__list .nav__link { font-size: 1rem; padding: 0 10px; }
  .nav__btn { min-height: 48px; padding: 0 16px; font-size: 1rem; }
  .nav__book-label { display: none; }
  .topbar__suite { display: none; }
}
@media (min-width: 1440px) {
  .nav__logo img { height: 56px; }
  .nav__list .nav__link { font-size: 1.0625rem; padding: 0 14px; }
  .nav__list .nav__link::after { left: 14px; right: 14px; }
  .nav__btn { padding: 0 20px; }
  .topbar__suite { display: inline; }
}
@media (min-width: 1680px) { .nav__book-label { display: inline; } }

/* Tablet and mobile menu */
@media (max-width: 1279.98px) {
  .topbar { display: none; }
  .nav__logo img { height: 48px; }
  .nav__toggle { display: flex; }
  .nav__btn, .nav__book-label { display: none; }
  .nav__btn-m { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); overflow-y: auto;
    padding: 16px var(--gutter) 48px; display: none; z-index: 49; border-top: 1px solid var(--line);
  }
  .nav__menu.is-open { display: block; }
  .menu-actions { display: grid; gap: 10px; padding: 8px 0 20px; }
  .menu-actions .btn { width: 100%; }
  .menu-actions .link-arrow { justify-content: center; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .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.1875rem; }
  .nav__link svg { width: 14px; height: 14px; }
  .dropdown, .dropdown--two, .dropdown--brand, .dropdown--mega {
    position: static; min-width: 0; width: auto; border: 0; box-shadow: none; padding: 0 0 18px;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none; background: transparent;
  }
  .nav__item.is-open > .dropdown, .nav__item.is-open > .dropdown--mega { display: block; transform: none; }
  .dropdown__cols, .mega__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mega__foot { flex-direction: column; align-items: flex-start; }
  .menu-phones { display: grid; gap: 10px; margin-top: 24px; }
  .menu-phones a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--stone-2); text-decoration: none; color: var(--navy); font-size: 1.125rem; }
  .menu-phones strong { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--bronze); }
}
@media (max-width: 639.98px) {
  .dropdown__cols, .mega__grid { grid-template-columns: 1fr; }
  .nav__btn-m { min-height: 48px; padding: 0 18px; }
  .nav__logo img { height: 44px; }
}

/* --------------------------------------------------------------------------
   Hero: split, text on navy, the younger patient journey on the right
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); color: var(--white); isolation: isolate; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: clamp(580px, calc(100dvh - var(--header-h) - 112px), 820px);
}
.hero__text {
  display: flex; align-items: center;
  padding: clamp(56px, 6vw, 96px) clamp(32px, 4vw, 72px) clamp(56px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--container-wide)) / 2 + var(--gutter)));
}
.hero__content { max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: 0.5em; font-size: clamp(2.3rem, 1.2rem + 2.2vw, 3.4rem); }
.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__key { list-style: none; margin: 0 0 26px; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-block: 1px solid var(--line-dark); }
.hero__key li { display: grid; gap: 10px; align-content: start; padding-left: 16px; border-left: 2px solid var(--beige); }
.hero__key li + li { border-left-color: var(--blue-light); }
.hero__key img { height: 22px; width: auto; }
.hero__key span { color: var(--on-dark); font-size: 1.0625rem; line-height: 1.4; }
.hero__key strong { display: block; color: var(--white); font-weight: 500; }
.hero__lede { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.55; color: var(--on-dark); max-width: 54ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1280px) { .hero__actions .btn { padding: 0 20px; } }
.hero__sub { margin: 20px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 1.0625rem; color: var(--on-dark-dim); }
.hero__sub a { color: var(--beige); font-weight: 500; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.hero__sub a:hover { color: var(--white); }
.hero__media { position: relative; overflow: hidden; background: var(--navy-deep); min-height: 360px; }
.hero__focus { position: absolute; inset: -4%; filter: blur(16px) saturate(0.8); 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__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__video { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero.is-playing .hero__video { opacity: 1; }
.hero__media .frame-corners { inset: 22px; }
@media (prefers-reduced-motion: reduce) {
  .hero__focus { filter: none; transform: none; transition: none; }
  .hero h1 .w { opacity: 1; filter: none; transition: none; }
}

/* Facts strip under the hero */
.facts-bar { background: var(--white); color: var(--text); border-bottom: 1px solid var(--line); }
.facts-bar__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-bar__list li { display: flex; gap: 16px; align-items: center; padding: 24px 24px; border-left: 1px solid var(--line); }
.facts-bar__list li:first-child { border-left: 0; padding-left: 0; }
.facts-bar .ico { width: 46px; height: 46px; color: var(--blue); --ico-sw: 2; }
.facts-bar span { font-size: 1.0625rem; line-height: 1.4; color: var(--text-2); }
.facts-bar strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; color: var(--navy); margin-bottom: 2px; }

@media (max-width: 1279.98px) {
  .facts-bar__list { grid-template-columns: 1fr 1fr; }
  .facts-bar__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-bar__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1023.98px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .hero__text { padding: 44px var(--gutter) 56px; }
  .hero__content { max-width: 720px; }
}
@media (max-width: 599.98px) {
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__media .frame-corners { inset: 12px; --l: 22px; }
  .hero__key { grid-template-columns: 1fr; gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__sub { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero__sub span { display: none; }
  .facts-bar__list { grid-template-columns: 1fr; }
  .facts-bar__list li { border-left: 0 !important; padding: 18px 0; }
  .facts-bar__list li + li { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Start here: two clinic cards + referrer bar
   -------------------------------------------------------------------------- */
.start__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.clinic-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--beige); }
.clinic-card--eye { border-top-color: var(--blue); }
.clinic-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.clinic-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.clinic-card:hover .clinic-card__media img { transform: scale(1.04); }
.clinic-card__body { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.clinic-card__brand { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.clinic-card__brand img { height: 26px; width: auto; }
.clinic-card__kicker { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze); margin: 0 0 8px; }
.clinic-card h3 { margin-bottom: 0.5em; }
.clinic-card__body > p { color: var(--text-2); }
.chips { list-style: none; margin: 4px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 14px; background: var(--stone-2); border: 1px solid transparent;
  color: var(--navy); text-decoration: none; font-size: 1.0625rem; font-weight: 500;
}
.chips a:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.book-box { margin-top: auto; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.clinic-card--vision .book-box { border-left: 3px solid var(--beige); }
.clinic-card--eye .book-box { border-left: 3px solid var(--blue); }
.book-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.book-box__note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--text-2); }
.book-box__note .ico { width: 30px; height: 30px; color: var(--blue); --ico-sw: 2.4; margin-top: 1px; }
.book-box__note a { font-weight: 600; white-space: nowrap; }

.referrer-bar {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 36px;
  padding: clamp(26px, 3vw, 36px); background: var(--navy); color: var(--on-dark);
}
.referrer-bar h3 { color: var(--white); margin-bottom: 0.3em; }
.referrer-bar p { color: var(--on-dark); margin: 0; }
.referrer-bar .clinic-card__kicker { color: var(--beige); margin-bottom: 6px; }
.referrer-bar__actions { display: grid; gap: 6px; justify-items: start; }
@media (max-width: 1023.98px) {
  .start__grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .referrer-bar { grid-template-columns: auto 1fr; max-width: 720px; margin-inline: auto; }
  .referrer-bar__actions { grid-column: 1 / -1; }
}
@media (max-width: 599.98px) {
  .referrer-bar { grid-template-columns: 1fr; }
  .book-box { padding: 18px; }
  .book-box__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .referrer-bar__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Laser suitability check
   -------------------------------------------------------------------------- */
.suit__layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.suit__steps { list-style: none; margin: 32px 0 34px; padding: 0; display: grid; gap: 18px; }
.suit__steps li { display: flex; gap: 20px; align-items: center; }
.suit__steps .ico-frame { width: 72px; height: 72px; }
.suit__steps .ico-frame .ico { width: 44px; height: 44px; }
.suit__steps span { color: var(--on-dark); font-size: 1.125rem; line-height: 1.45; }
.suit__steps strong { display: block; color: var(--white); font-weight: 500; font-family: var(--font-head); font-size: 1.3rem; }
.suit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.suit__note { margin-top: 22px; font-size: 1.0625rem; color: var(--on-dark-dim); max-width: 60ch; }
.suit__note a { color: var(--beige); font-weight: 600; }
.suit__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-deep); }
.suit__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023.98px) { .suit__layout { grid-template-columns: 1fr; } .suit__media { aspect-ratio: 16 / 11; max-width: 720px; } }
@media (max-width: 599.98px) { .suit__actions .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   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: 36px 36px; margin-top: 40px; }
.point { display: grid; gap: 14px; align-content: start; }
.point h3 { font-size: 1.4rem; margin: 8px 0 0; }
.point p { color: var(--text-2); font-size: 1.125rem; }
.quote-card { position: relative; overflow: hidden; background: var(--navy); display: flex; flex-direction: column; margin: 0; border-top: 4px solid var(--beige); }
.quote-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 38% 30%; }
.quote-card .frame-corners { bottom: auto; height: calc(100% - 16px); inset-inline: 16px; top: 16px; }
.quote-card__body { position: relative; z-index: 3; padding: 34px 36px 38px; 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: 1.0625rem; 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 { max-width: 640px; } }
@media (max-width: 599.98px) { .why__points { grid-template-columns: 1fr; } .quote-card__body { padding: 26px; } }

/* --------------------------------------------------------------------------
   Decision helper
   -------------------------------------------------------------------------- */
.helper__layout { display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; }
.helper__tabs { display: grid; gap: 10px; }
.tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; min-height: 76px; padding: 12px 18px;
  border: 1px solid var(--line); border-left: 3px solid transparent; background: var(--white); cursor: pointer;
  font-size: 1.125rem; font-weight: 600; color: var(--navy);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tab:hover { border-left-color: var(--blue); transform: translateX(3px); }
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); border-left-color: var(--beige); }
.tab__icon { flex: none; color: var(--blue); }
.tab__icon .ico { width: 46px; height: 46px; --ico-sw: 2; }
.tab[aria-selected="true"] .tab__icon { color: var(--beige); --ico-accent: var(--paper); }
.helper__panel { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); min-height: 440px; }
.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: 24px; margin-bottom: 26px; }
.panel__clinic { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bronze); margin: 0 0 6px; }
.panel h3 { margin: 0 0 6px; }
.panel__head p:not(.panel__clinic) { color: var(--text-2); margin: 0; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); counter-increment: step; width: 44px; height: 44px; border: 1px solid var(--blue);
  color: var(--blue); font-weight: 600; display: grid; place-items: center; font-size: 1.0625rem; font-variant-numeric: tabular-nums;
}
.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: 1.0625rem; color: var(--text-2); margin: 0; flex: 1 1 280px; }
.panel__note a, .offer .fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@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: 64px; }
  .panel__head { flex-direction: column; gap: 14px; }
  .panel__head .ico-frame { width: 72px; height: 72px; }
  .panel__head .ico-frame .ico { width: 46px; height: 46px; }
  .panel__foot .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Technology (navy)
   -------------------------------------------------------------------------- */
.tech { position: relative; overflow: hidden; }
.reticle { position: absolute; right: -200px; top: -180px; width: 760px; height: 760px; pointer-events: none; opacity: 0.45; }
.reticle circle, .reticle path { fill: none; stroke: var(--beige); stroke-width: 1; }
.reticle .ring-2 { stroke-dasharray: 2 12; animation: spin 120s linear infinite; transform-origin: center; }
.reticle .ring-3 { stroke-dasharray: 40 8; animation: spin 160s linear infinite reverse; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reticle .ring-2, .reticle .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__media { position: relative; overflow: hidden; margin: 0; }
.tech__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.tech__media figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: rgba(14, 27, 42, 0.85); color: var(--white); padding: 10px 16px; font-size: 1.0625rem; }
.tech__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.tech-card {
  padding: 32px 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.3s var(--ease);
}
.tech-card:hover { background: rgba(253, 252, 246, 0.05); }
.tech-card--featured { background: var(--beige); color: var(--navy); }
.tech-card--featured:hover { background: var(--beige-deep); }
.tech-card--featured h3, .tech-card--featured p, .tech-card--featured .tech-card__label { color: var(--navy); }
.tech-card__icon { width: 72px; height: 72px; color: var(--beige); margin-bottom: 18px; --ico-accent: var(--paper); }
.tech-card--featured .tech-card__icon { color: var(--navy); --ico-accent: var(--paper); }
.tech-card__label { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige); font-weight: 600; margin: 0 0 12px; }
.tech-card h3 { font-size: 1.4rem; margin-bottom: 0.4em; }
.tech-card p { font-size: 1.125rem; 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; } }

/* --------------------------------------------------------------------------
   Meet your surgeon + doctors
   -------------------------------------------------------------------------- */
.surgeon { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.surgeon__media { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.surgeon__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.surgeon__role { color: var(--blue); font-weight: 500; font-size: 1.125rem; margin: -6px 0 18px; }
.surgeon__text > p:not(.eyebrow):not(.surgeon__role):not(.surgeon__subhead) { color: var(--text-2); }
.confirm-note { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 28px; padding: 16px 18px; background: var(--white); border: 1px dashed rgba(138, 90, 18, 0.55); }
.confirm-note p { margin: 0; font-size: 1.0625rem; color: var(--text-2); }
.surgeon__subhead { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.aff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.aff__tile { height: 104px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px; }
.aff__tile img { max-height: 70px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.surgeon__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.team { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.team__head { margin-bottom: 32px; }
.team__title { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); }
.doctors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.doctor { display: flex; flex-direction: column; }
.doctor__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-bottom: 22px; }
.doctor__media img { width: 100%; height: 100%; object-fit: cover; }
.doctor__media--placeholder { display: grid; place-items: center; background: linear-gradient(160deg, var(--stone) 0%, var(--stone-2) 100%); }
.doctor__initials { font-family: var(--font-head); font-size: 5rem; color: rgba(20, 38, 58, 0.25); letter-spacing: 0.04em; }
.doctor__media--placeholder .tag { position: absolute; left: 16px; bottom: 16px; }
.doctor h4 { margin-bottom: 4px; font-size: 1.5rem; }
.doctor__role { color: var(--blue); font-weight: 500; margin: 0 0 12px; font-size: 1.0625rem; }
.doctor p:not(.doctor__role) { color: var(--text-2); font-size: 1.125rem; }
.doctors__foot { margin-top: 40px; display: flex; justify-content: center; }
@media (max-width: 1023.98px) {
  .surgeon { grid-template-columns: 1fr; }
  .surgeon__media { aspect-ratio: 4 / 4.2; max-width: 560px; }
  .doctors__grid { gap: 20px; }
}
@media (max-width: 767.98px) {
  .confirm-note { flex-direction: column; gap: 10px; }
  .aff__grid { grid-template-columns: 1fr 1fr; }
  .aff__tile { height: 92px; }
  .doctors__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 40px; }
}

/* --------------------------------------------------------------------------
   Offer band
   -------------------------------------------------------------------------- */
.offer { background: var(--beige); color: var(--navy); }
.offer__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 48px; padding-block: 36px; }
.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: 1.0625rem; margin-top: 6px; }
@media (max-width: 767.98px) { .offer__inner { grid-template-columns: 1fr; } .offer .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   Visit: two suites, one address
   -------------------------------------------------------------------------- */
.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 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.clinic__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 42, 0.9) 0%, rgba(14, 27, 42, 0.86) 50%, rgba(14, 27, 42, 0.95) 100%); }
.clinic__inner { padding-block: clamp(80px, 10vw, 130px); }
.clinic__text { max-width: 700px; }
.clinic h2 { color: var(--white); }
.clinic p { color: var(--on-dark); }
.suites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-left: 1px solid var(--line-dark); }
.suite { padding: 30px 28px; background: rgba(14, 27, 42, 0.55); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); border-top: 3px solid var(--beige); }
.suite:nth-child(2) { border-top-color: var(--blue-light); }
.suite--shared { border-top-color: var(--on-dark-dim); }
.suite__logo { height: 24px; width: auto; margin-bottom: 16px; }
.clinic .suite__no { font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; color: var(--white); margin: 0 0 8px; }
.suite__what { font-size: 1.125rem; margin: 0 0 18px; }
.suite__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.suite__facts li { display: flex; gap: 12px; align-items: center; font-size: 1.0625rem; color: var(--on-dark); }
.suite__facts .ico { width: 30px; height: 30px; color: var(--beige); --ico-sw: 2.4; --ico-accent: var(--paper); }
.suite__facts a { color: var(--white); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.suite__facts a:hover { color: var(--beige); text-decoration: underline; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 56px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; 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) { .suites { grid-template-columns: 1fr 1fr; } .suite--shared { grid-column: 1 / -1; } }
@media (max-width: 767.98px) { .suites { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } .gallery figure { aspect-ratio: 16 / 10; } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact__layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: stretch; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); }
.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: 1.125rem; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border-radius: 0; border: 1.5px solid rgba(5, 20, 18, 0.24);
  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 3px rgba(46, 89, 132, 0.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field .error { display: none; color: #b3261e; font-size: 1.0625rem; 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: 1.0625rem; color: var(--text-2); margin: 0; flex: 1 1 260px; }
.form-success { display: none; padding: 20px 22px; background: var(--blue-soft); color: var(--navy); margin-top: 20px; border-left: 3px solid var(--blue); }
.form-success.is-visible { display: block; }
.contact-card { background: var(--navy); color: var(--white); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.contact-card h3 { color: var(--white); margin-bottom: 0; }
.contact-clinic { padding: 18px 0 18px 18px; border-left: 3px solid var(--beige); }
.contact-clinic + .contact-clinic { border-left-color: var(--blue-light); }
.contact-clinic img { height: 22px; width: auto; margin-bottom: 10px; }
.contact-clinic__what { color: var(--on-dark); margin: 0 0 4px; font-size: 1.0625rem; }
.contact-clinic .big { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.contact-clinic .big:hover { color: var(--beige); }
.contact-clinic__hours { color: var(--on-dark-dim); margin: 0; font-size: 1.0625rem; }
.contact-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.contact-row .ico { width: 40px; height: 40px; color: var(--beige); --ico-sw: 2.2; --ico-accent: var(--paper); }
.contact-row strong { display: block; font-weight: 500; color: var(--white); }
.contact-row span { color: var(--on-dark); font-size: 1.0625rem; }
.map { margin-top: 44px; 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.3fr 1fr 1fr 1fr 1.15fr; gap: 36px; 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: 1.0625rem; }
.footer h4 { color: var(--beige); font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.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: 1.0625rem; display: inline-block; padding: 9px 0; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer__contact li { display: grid; gap: 0; margin-bottom: 10px; font-size: 1.0625rem; }
.footer__contact a { padding: 4px 0; min-height: 44px; display: inline-flex; align-items: center; }
.footer__contact strong { color: var(--white); font-weight: 500; }
.footer .social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.footer .social a { padding: 0; width: 48px; height: 48px; 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: 1rem; color: var(--on-dark-dim); }
.footer__legal p { color: var(--on-dark-dim); }
.footer__legal-row { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.footer__legal-row ul { display: flex; gap: 20px; }
.footer__legal a { color: var(--on-dark-dim); font-size: 1rem; padding: 10px 0; }
@media (max-width: 1279.98px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767.98px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 519.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; } }
