/* ==========================================================================
   Blink Eye Clinic + Blink Vision Clinic · concept v3 (13 Nov 2026)
   From Kathryn's 2-3 Nov review: one simple gateway page, then a homepage
   per clinic. One typeface, five text styles. Square edges kept.
   Logos and palette from the Figma brand kit, Version 3.
   Eye = light with Blink Blue. Vision = ink with Blink Beige.
   ========================================================================== */

:root {
  --blue: #27496d;
  --blue-deep: #1e3a58;
  --blue-soft: #e7edf3;
  --beige: #cbac8d;
  --beige-deep: #b8946f;
  --beige-soft: #f3ebe0;
  --ink: #051412;
  --navy: #14263a;
  --stone: #ebe4da;
  --paper: #fdfcf6;
  --white: #ffffff;
  --text: #0f1d24;
  --text-2: #3a4650;
  --line: rgba(5, 20, 18, 0.14);
  --line-dark: rgba(253, 252, 246, 0.2);
  --on-dark: rgba(253, 252, 246, 0.94);
  --on-dark-2: rgba(253, 252, 246, 0.84);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* The whole type scale. Nothing else is allowed. */
  --t-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --t-h2: clamp(1.9rem, 1.4rem + 1.9vw, 2.875rem);
  --t-h3: 1.375rem;
  --t-body: 1.1875rem;
  --t-small: 1.0625rem;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 8vw, 112px);
  --topbar-h: 44px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Clinic themes */
.t-home   { --accent: var(--blue);  --dark: var(--navy); --dark-accent: var(--beige); --btn-bg: var(--blue); --btn-ink: #fff; --btn-dark-bg: var(--beige); --btn-dark-ink: var(--ink); --head-bg: var(--paper); --head-ink: var(--text); --foot-bg: var(--navy); }
.t-eye    { --accent: var(--blue);  --dark: var(--blue); --dark-accent: var(--beige); --btn-bg: var(--blue); --btn-ink: #fff; --btn-dark-bg: #fff; --btn-dark-ink: var(--blue-deep); --head-bg: var(--paper); --head-ink: var(--text); --foot-bg: var(--navy); }
.t-vision { --accent: var(--beige-deep); --dark: var(--ink); --dark-accent: var(--beige); --btn-bg: var(--ink); --btn-ink: var(--beige); --btn-dark-bg: var(--beige); --btn-dark-ink: var(--ink); --head-bg: var(--ink); --head-ink: var(--on-dark); --foot-bg: var(--ink); }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--nav-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: var(--t-body); font-weight: 450; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--t-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
.small { font-size: var(--t-small); }
.muted { color: var(--text-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.g-dark :focus-visible, .site-header--dark :focus-visible, .topbar :focus-visible, .footer :focus-visible, .door--vision :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--section); }
.g-white { background: var(--white); }
.g-paper { background: var(--paper); }
.g-stone { background: var(--stone); }
.g-dark { background: var(--dark); color: var(--on-dark); }
.g-dark .muted { color: var(--on-dark-2); }
.g-beige { background: var(--beige); color: var(--ink); }

/* One label style, one link style ---------------------------------------- */
.label { display: flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 600; color: var(--text-2); }
.g-dark .label, .door--vision .label { color: var(--on-dark-2); }
.dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.dot--eye { background: var(--blue); }
.dot--vision { background: var(--beige); }
.g-dark .dot--eye, .topbar .dot--eye, .footer .dot--eye { background: #8fb0d2; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.g-dark .link, .door--vision .link { text-decoration-color: var(--dark-accent); }
.link:hover { text-decoration-color: currentColor; }
.arr { display: inline-block; width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--ease); }
a:hover > .arr, .btn:hover > .arr { transform: translateX(4px); }
.chev { width: 14px; height: 14px; flex: none; transition: transform 0.2s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.ico { width: 44px; height: 44px; flex: none; color: var(--accent); --ico-accent: var(--beige); --ico-sw: 1.7; }
.g-dark .ico, .door--vision .ico { color: var(--dark-accent); --ico-accent: #fff; }
.t-eye .g-dark .ico { color: #fff; --ico-accent: var(--beige); }
.ico--s { width: 28px; height: 28px; --ico-sw: 2; }
.ico--l { width: 56px; height: 56px; }

/* Buttons: one size, solid or outline ------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 12px 26px; font-size: var(--t-small); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn--solid { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.btn--solid:hover { background: transparent; color: var(--btn-bg); }
.t-vision .btn--solid:hover { color: var(--ink); }
.btn--outline { border-color: currentColor; }
.btn--outline:hover { background: var(--text); color: var(--paper); border-color: var(--text); }
.g-dark .btn--solid, .site-header--dark .btn--solid { background: var(--btn-dark-bg); color: var(--btn-dark-ink); border-color: var(--btn-dark-bg); }
.g-dark .btn--solid:hover, .site-header--dark .btn--solid:hover { background: transparent; color: var(--btn-dark-bg); }
.g-dark .btn--outline, .site-header--dark .btn--outline { color: var(--on-dark); border-color: var(--line-dark); }
.g-dark .btn--outline:hover, .site-header--dark .btn--outline:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.site-header--dark .btn--outline:hover { color: var(--ink); }
.g-beige .btn--solid { background: var(--ink); color: var(--beige); border-color: var(--ink); }
.g-beige .btn--solid:hover { background: transparent; color: var(--ink); }
.btn--eye { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--eye:hover { background: transparent; color: var(--blue); }
.btn--vision { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.btn--vision:hover { background: transparent; color: var(--beige); }
.btn--block { width: 100%; }
.btn .ico, .g-dark .btn .ico, .t-eye .g-dark .btn .ico { color: currentColor; --ico-accent: currentColor; }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__more { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }

/* Top bar ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.topbar { background: var(--ink); color: var(--on-dark); font-size: 1rem; font-weight: 500; }
.t-eye .topbar, .t-home .topbar { background: var(--navy); }
.topbar__in { display: flex; align-items: stretch; justify-content: space-between; min-height: var(--topbar-h); }
.topbar__clinics, .topbar__hubs { display: flex; align-items: stretch; }
.topbar__clinics > li { display: flex; align-items: center; gap: 12px; padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line-dark); }
.topbar__clinics > li:last-child { border-right: 0; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tb-clinic { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; }
.tb-clinic[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--beige); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tb-suite { color: var(--beige); }
.topbar__hubs > li { position: relative; display: flex; }
.topbar__hubs button { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 0 28px; font-weight: 500; }
.topbar__hubs button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Dropdown panels (top bar and nav) */
.dd { position: absolute; top: 100%; z-index: 120; min-width: 300px; padding: 22px 26px; background: var(--white); color: var(--text); border-top: 3px solid var(--accent); box-shadow: 0 24px 50px rgba(5, 20, 18, 0.18); font-size: var(--t-small); font-weight: 450; }
.t-vision .dd { border-top-color: var(--beige); }
.dd[hidden] { display: none; }
.dd--right { right: 0; }
.dd--left { left: -26px; }
.dd--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; min-width: 620px; }
.dd__h { display: flex; align-items: center; gap: 9px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.dd a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); }
.dd a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dd__sub { display: block; color: var(--text-2); }

/* Nav -------------------------------------------------------------------- */
.nav { background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s; }
.site-header--dark .nav { border-bottom-color: var(--line-dark); }
.is-stuck .nav { box-shadow: 0 10px 30px rgba(5, 20, 18, 0.12); }
.nav__in { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-height: var(--nav-h); }
.brand { display: flex; align-items: center; min-height: 48px; flex: none; }
.brand img { width: auto; }
.brand--combined img { height: 62px; }
.brand--eye img { height: 34px; }
.brand--vision img { height: 30px; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); flex: 1; min-width: 0; justify-content: flex-end; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 30px); margin-right: auto; }
.t-home .nav__list { margin-right: 0; margin-left: auto; }
.nav__list > li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--t-small); font-weight: 500; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link[aria-expanded="true"] { border-bottom-color: var(--dark-accent); }
.t-eye .nav__link:hover, .t-home .nav__link:hover, .t-eye .nav__link[aria-expanded="true"] { border-bottom-color: var(--blue); }
.nav__cta { display: flex; gap: 10px; }
.nav__cta .btn { min-height: 50px; padding: 10px 16px; white-space: nowrap; }
.nav__toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; margin-left: auto; }
.nav__toggle svg { width: 28px; height: 28px; }
.nav__toggle .x { display: none; }
.nav__toggle[aria-expanded="true"] .x { display: block; }
.nav__toggle[aria-expanded="true"] .bars { display: none; }
.nav__quick { display: none; }
.nav__extras { display: none; }

@media (max-width: 1179.98px) {
  :root { --topbar-h: 0px; --nav-h: 72px; }
  .topbar { display: none; }
  .nav__in { gap: 12px; }
  .brand--combined img { height: 52px; }
  .brand--eye img { height: 28px; }
  .brand--vision img { height: 24px; }
  .nav__toggle { display: inline-flex; margin-left: 0; }
  .nav__quick { display: inline-flex; margin-left: auto; min-height: 46px; padding: 8px 16px; }
  .t-home .nav__toggle { margin-left: auto; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: var(--head-bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; box-shadow: 0 24px 40px rgba(5, 20, 18, 0.18); }
  .nav__menu.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .site-header--dark .nav__list > li { border-bottom-color: var(--line-dark); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-size: var(--t-body); border-bottom: 0; }
  .dd { position: static; box-shadow: none; border-top: 0; padding: 0 0 14px; min-width: 0; background: transparent; color: inherit; }
  .dd a { color: inherit; padding: 11px 0 11px 16px; }
  .nav__cta { flex-direction: column; margin-top: 22px; }
  .nav__cta .btn { min-height: 56px; }
  .nav__extras { display: block; margin-top: 26px; }
  .nav__extras-h { font-size: var(--t-small); font-weight: 600; margin-bottom: 4px; }
  .callrow { display: flex; align-items: center; gap: 10px; min-height: 52px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .site-header--dark .callrow { border-bottom-color: var(--line-dark); }
  .callrow span:last-child { margin-left: auto; font-weight: 600; }
}

/* Gateway ---------------------------------------------------------------- */
.intro { padding-block: clamp(32px, 3.6vw, 52px) clamp(24px, 2.6vw, 36px); }
.intro__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px clamp(18px, 2.4vw, 32px); align-items: end; }
.intro h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); }
.intro__jump { display: none; }
.intro p { font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.375rem); color: var(--text-2); max-width: 40ch; padding-bottom: 0.35em; }

.doors { padding-bottom: var(--section); }
.doors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
.door { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--blue); }
.door--vision { background: var(--ink); color: var(--on-dark); border-color: var(--ink); border-top-color: var(--beige); }
.door__media { display: block; aspect-ratio: 16 / 5.6; overflow: hidden; background: var(--stone); }
.door__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 0.9s var(--ease); }
.door:hover .door__media img { transform: scale(1.03); }
.door__body { display: flex; flex-direction: column; gap: 20px; flex: 1; padding: clamp(24px, 3vw, 40px); }
.door__logo { height: 38px; width: auto; }
.door--vision .door__logo { height: 33px; }
.door__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.door__body > p:not(.door__title):not(.label) { color: var(--text-2); }
.door--vision .door__body > p:not(.door__title):not(.label) { color: var(--on-dark-2); }
.dotlist { display: grid; gap: 8px 28px; }
.dotlist--2 { grid-template-columns: 1fr 1fr; }
.dotlist li { position: relative; padding-left: 22px; font-weight: 500; }
.dotlist li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.door--vision .dotlist li::before, .t-vision .dotlist li::before { background: var(--beige); }
.door__facts { display: grid; gap: 0; margin-top: auto; border-top: 1px solid var(--line); }
.door--vision .door__facts { border-top-color: var(--line-dark); }
.door__facts li { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 5px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.door--vision .door__facts li { border-bottom-color: var(--line-dark); }
.door__facts a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.door__facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.door__facts strong { font-weight: 600; }

.helper { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.helper__head { display: grid; gap: 16px; }
.helper__list { border-top: 1px solid var(--line); }
.helper__list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 28px; padding: 24px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.helper__q { font-size: var(--t-h3); font-weight: 500; line-height: 1.3; }
.helper__a { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 600; white-space: nowrap; }
.helper__list a:hover .helper__q { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--beige-deep); }
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; background: var(--white); border-left: 4px solid var(--blue); font-size: var(--t-small); }
.notice .ico { width: 34px; height: 34px; color: var(--blue); }
.notice a { font-weight: 600; white-space: nowrap; }

.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.find__text { display: grid; gap: 26px; align-content: start; }
.find__map { min-height: 380px; background: var(--stone); border: 1px solid var(--line); }
.find__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.iconlist { display: grid; gap: 14px; }
.iconlist li { display: flex; align-items: center; gap: 16px; }
.iconlist .ico { width: 36px; height: 36px; }
.clinicpair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.clinicpair > div { display: grid; gap: 6px; padding: 22px 24px; align-content: start; }
.clinicpair > div + div { border-left: 1px solid var(--line); }
.clinicpair .tel { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-h3); font-weight: 600; text-decoration: none; }
.clinicpair .tel:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Clinic hero ------------------------------------------------------------ */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); background: var(--dark); color: var(--on-dark); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 72px) clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hero__lede { font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.375rem); color: var(--on-dark); max-width: 34ch; }
.hero__note { font-size: var(--t-small); color: var(--on-dark-2); }
.hero__media { position: relative; min-height: clamp(380px, 46vw, 640px); background: var(--navy); overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--dark) 55%, transparent) 0%, transparent 28%); pointer-events: none; }

.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip__grid > li { display: flex; gap: 16px; align-items: flex-start; padding: 28px 24px; border-left: 1px solid var(--line); }
.strip__grid > li:first-child { border-left: 0; padding-left: 0; }
.strip__grid strong { display: block; font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.strip__grid span { display: block; font-size: var(--t-small); color: var(--text-2); line-height: 1.45; margin-top: 4px; }

/* Section heads and common layouts --------------------------------------- */
.head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.head p { color: var(--text-2); }
.g-dark .head p { color: var(--on-dark-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__text { display: grid; gap: 24px; align-content: start; }
.split__text p { color: var(--text-2); }
.g-dark .split__text p { color: var(--on-dark-2); }
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.frame--tall img { aspect-ratio: 4 / 5; }

/* Row list (procedures) */
.rows { border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) auto; gap: 8px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3 { display: flex; align-items: center; gap: 14px; }
.rows p { color: var(--text-2); }
.rows a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--text); transition: background 0.2s, color 0.2s; }
.rows a:hover { background: var(--ink); color: var(--beige); border-color: var(--ink); }

/* Cards */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); background: var(--white); border: 1px solid var(--line); }
.card p { color: var(--text-2); }
.g-dark .card { background: transparent; border-color: var(--line-dark); }
.g-dark .card p { color: var(--on-dark-2); }
.card--link { text-decoration: none; transition: border-color 0.2s, transform 0.3s var(--ease); }
.card--link:hover { border-color: var(--blue); transform: translateY(-3px); }
.card .more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; font-size: var(--t-small); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--white); }
.steps > li { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.steps > li:first-child { border-left: 0; }
.steps p { color: var(--text-2); }
.after { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 32px; }
.after p { flex: 1 1 380px; font-size: var(--t-small); color: var(--text-2); }
.g-dark .after p { color: var(--on-dark-2); }

.ticks { display: grid; gap: 16px; }
.ticks li { display: flex; gap: 16px; align-items: flex-start; }
.ticks strong { display: block; font-weight: 600; color: inherit; }
.ticks span { display: block; font-size: var(--t-small); color: var(--on-dark-2); }
.g-stone .ticks span, .g-paper .ticks span, .g-white .ticks span { color: var(--text-2); }
.ticks .ico { width: 40px; height: 40px; }

/* Surgeon and badges */
.surgeon { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.surgeon__text { display: grid; gap: 22px; }
.surgeon__text > p { color: var(--text-2); }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.badges--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
.badges li { display: flex; align-items: center; justify-content: center; height: 124px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badges img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; }

/* Doctors */
.doc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.doc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--stone); }
.doc__body { display: grid; gap: 8px; padding: 22px 22px 26px; }
.doc__role { font-size: var(--t-small); font-weight: 600; color: var(--blue); }
.doc__body p:last-child { font-size: var(--t-small); color: var(--text-2); }

/* Bands */
.band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(36px, 4.4vw, 56px); }
.band__text { display: grid; gap: 12px; }
.band .small { max-width: 70ch; }
.urgent { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding-block: 34px; }
.urgent h2 { font-size: var(--t-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; }
.urgent p { font-size: var(--t-small); color: var(--on-dark-2); margin-top: 6px; max-width: 78ch; }

/* Visit and contact */
.visit__facts { display: grid; gap: 14px; }
.visit__facts li { display: flex; gap: 16px; align-items: center; }
.visit__facts .ico { width: 36px; height: 36px; }
.other { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue); font-size: var(--t-small); }
.t-eye .other { border-left-color: var(--beige); }
.other .link { display: inline-flex; align-items: center; min-height: 44px; }
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font-size: var(--t-small); font-weight: 600; }
.form input, .form textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-weight: 450; color: var(--text); background: var(--paper); border: 1.5px solid #6d7880; border-radius: 0; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.form .err { display: none; font-weight: 500; color: #a11919; }
.form .invalid .err { display: block; }
.form .invalid input { border-color: #a11919; }
.form__note { font-size: var(--t-small); color: var(--text-2); }
.form__ok { padding: 16px 18px; background: var(--blue-soft); border-left: 4px solid var(--blue); font-size: var(--t-small); }
.callcard { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--dark); color: var(--on-dark); }
.callcard .tel { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.callcard .tel:hover { text-decoration: underline; text-underline-offset: 6px; }
.callcard .tel .ico { width: 38px; height: 38px; color: var(--dark-accent); }
.callcard p { color: var(--on-dark-2); font-size: var(--t-small); }
.callcard ul { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: var(--t-small); }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--foot-bg); color: var(--on-dark-2); font-size: var(--t-small); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand img { width: 190px; height: auto; }
.footer h2 { display: flex; align-items: center; gap: 10px; font-size: var(--t-body); font-weight: 600; letter-spacing: 0; color: var(--beige); margin-bottom: 14px; }
.footer ul { display: grid; gap: 0; }
.footer li:not(:has(a)) { padding: 6px 0; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; text-decoration: none; color: var(--on-dark); }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .tel { font-size: var(--t-h3); font-weight: 600; color: #fff; }
.footer .social { display: flex; gap: 10px; margin-top: 14px; }
.footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-dark); }
.footer .social a:hover { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.footer .social svg { width: 22px; height: 22px; }
.footer__legal { display: grid; gap: 18px; padding-block: 0 36px; }
.footer__legal::before { content: ""; display: block; border-top: 1px solid var(--line-dark); margin-bottom: 10px; }
.footer__legal p { max-width: 110ch; }
.footer__base { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.footer__base ul { display: flex; gap: 24px; }

/* Quiet reveal ----------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .door__media img, .arr, .card--link { transition: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1023.98px) {
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__grid > li { padding: 22px 20px; }
  .strip__grid > li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip__grid > li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cards--4 { grid-template-columns: 1fr 1fr; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .cards--3.cards--keep3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .rows > li { grid-template-columns: minmax(0, 1fr) auto; }
  .rows p { grid-column: 1; grid-row: 2; }
  .rows a { grid-row: 1 / span 2; grid-column: 2; }
}
@media (max-width: 899.98px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { padding: 44px var(--gutter) 40px; }
  .hero__media { min-height: 0; aspect-ratio: 5 / 4; order: 2; }
  .hero__media::after { display: none; }
  .hero__lede { max-width: none; }
  .doors__grid, .helper, .find, .split, .surgeon, .contact { grid-template-columns: 1fr; }
  .intro__in { grid-template-columns: 1fr; }
  .intro p { padding-bottom: 0; }
  .intro__jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
  .intro__jump .btn { width: 100%; height: 100%; padding: 12px 14px; text-align: left; justify-content: flex-start; }
  .intro__jump small { display: block; margin-top: 3px; font-size: 1rem; font-weight: 500; opacity: 0.92; }
  .intro__jump .btn--vision:hover { color: var(--ink); border-color: var(--ink); }
  .steps { grid-template-columns: 1fr; }
  .steps > li { border-left: 0; border-top: 1px solid var(--line); }
  .steps > li:first-child { border-top: 0; }
  .band { grid-template-columns: 1fr; }
  .urgent { grid-template-columns: auto minmax(0, 1fr); }
  .urgent .btn { grid-column: 1 / -1; }
  .surgeon .frame { max-width: 420px; }
  .split--flip .frame { order: -1; }
}
@media (max-width: 639.98px) {
  :root { --t-body: 1.125rem; }
  .intro { padding-block: 26px 22px; }
  .door__media { aspect-ratio: 16 / 7; }
  .door__body { gap: 16px; }
  .strip__grid { grid-template-columns: 1fr; }
  .strip__grid > li, .strip__grid > li:nth-child(odd) { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); }
  .strip__grid > li:first-child { border-top: 0; }
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .cards--4.cards--docs { grid-template-columns: 1fr 1fr; }
  .cards--docs .doc__body { padding: 16px 14px 18px; }
  .helper__list a { grid-template-columns: 1fr; }
  .clinicpair { grid-template-columns: 1fr; }
  .clinicpair > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .badges--3 { grid-template-columns: 1fr 1fr 1fr; }
  .badges li { height: 104px; padding: 14px; }
  .badges--3 li { padding: 10px; }
  .footer__top { grid-template-columns: 1fr; }
  .btnrow .btn { width: 100%; }
  .dotlist--2 { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
}
@media (max-width: 419.98px) {
  .dotlist--2 { grid-template-columns: 1fr; }
  .cards--4.cards--docs { grid-template-columns: 1fr; }
}
