@charset "UTF-8";
/* Layout: wide editorial bands; each specialty owns a hue; eye-chart letters as the recurring motif */
:root {
  --paper: #F5F8F3;
  --surface: #FFFFFF;
  --ink: #15261C;
  --muted: #4F6156;
  --line: #D8E2D6;
  --brand: #3B7410;       /* logo green, deepened for text contrast */
  --brand-ink: #FFFFFF;
  --sky: #0193C2;         /* logo blue */
  --im: #2C5D9E;          /* internal medicine: cobalt */
  --wm: #4A8A0B;          /* weight management: leaf green */
  --eye: #0283AF;         /* eye care: logo sky */
  --sun: #F2B33D;         /* single warm highlight */
  --tint-im: #E7EDF7;
  --tint-wm: #EAF3E1;
  --tint-eye: #E0F2F9;
  --plate: transparent;
  --plate-pad: 0;
  --hero-a: #E4F2F7;
  --hero-b: #EEF6E6;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1712; --surface: #16231B; --ink: #E8F0E9; --muted: #A4B5A8; --line: #2A3D30; --brand: #8CCB5A; --brand-ink: #0D1F05; --sky: #4FC6EE; --im: #8DB3EA; --wm: #9DD06A; --eye: #5CC9EE; --sun: #F4C463; --tint-im: #18253A; --tint-wm: #1B2C14; --tint-eye: #0F2C38; --plate: #F7FAF5; --plate-pad: 6px 10px; --hero-a: #10252E; --hero-b: #16261A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1712; --surface: #16231B; --ink: #E8F0E9; --muted: #A4B5A8; --line: #2A3D30; --brand: #8CCB5A; --brand-ink: #0D1F05; --sky: #4FC6EE; --im: #8DB3EA; --wm: #9DD06A; --eye: #5CC9EE; --sun: #F4C463; --tint-im: #18253A; --tint-wm: #1B2C14; --tint-eye: #0F2C38; --plate: #F7FAF5; --plate-pad: 6px 10px; --hero-a: #10252E; --hero-b: #16261A; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
html { font-size: calc(100% * var(--fs, 1)); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.label { font: 500 0.78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-img { height: 52px; width: auto; display: block; }
.logo-chip { background: var(--plate); border-radius: 10px; padding: var(--plate-pad); display: inline-flex; }
.logo b { font: 700 1.2rem/1 var(--display); display: block; }
.logo small { font: 500 0.68rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: 0.95rem; padding: 8px 11px; border-radius: 8px; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; text-decoration: none; font-weight: 650; font-size: 0.98rem; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--brand-ink); white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); }
.nav .btn { padding: 9px 16px; color: var(--brand-ink); margin-left: 6px; }
.nav .btn:hover { background: var(--brand); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 650; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); display: grid; gap: 2px; }
.menu-panel a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 12px; color: var(--brand-ink); border-bottom: 2px solid var(--brand); }
@media (max-width: 1080px) { .nav { display: none; } .menu { display: block; } }

/* Top strip */
.strip { background: var(--brand); color: var(--brand-ink); font-size: 0.88rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-block: 7px; justify-content: space-between; }
.strip a { color: inherit; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { color: var(--brand); flex: none; }
.visit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 18px 40px -24px rgba(18, 38, 46, 0.35); display: grid; gap: 4px; }
.visit-card .label { margin-bottom: 8px; }
.vc-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.vc-row:last-of-type { border-bottom: 0; }
.vc-row .dot { width: 12px; height: 12px; border-radius: 50%; }
.vc-row b { font-family: var(--display); font-size: 1.12rem; display: block; }
.vc-row span { color: var(--muted); font-size: 0.9rem; }
.vc-row .age { font: 500 0.8rem var(--mono); color: var(--muted); white-space: nowrap; }
.vc-row:hover b { color: var(--brand); }
.vc-foot { margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 0.92rem; color: var(--muted); }

/* Eye-chart motif */
.chart-letters { font-family: var(--display); font-weight: 700; color: var(--eye); display: flex; align-items: baseline; gap: 0.35em; line-height: 1; user-select: none; }
.chart-letters span:nth-child(1) { font-size: 2.4rem; }
.chart-letters span:nth-child(2) { font-size: 1.8rem; }
.chart-letters span:nth-child(3) { font-size: 1.35rem; }
.chart-letters span:nth-child(4) { font-size: 1rem; }
.chart-letters span:nth-child(5) { font-size: 0.75rem; }
.chart-letters small { font: 500 0.72rem var(--mono); color: var(--muted); margin-left: 0.6em; letter-spacing: 0.08em; }

/* Specialty tiles */
.specialties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec { --c: var(--brand); --t: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.spec.im { --c: var(--im); --t: var(--tint-im); }
.spec.wm { --c: var(--wm); --t: var(--tint-wm); }
.spec.eye { --c: var(--eye); --t: var(--tint-eye); }
.spec-top { background: var(--t); padding: 24px 24px 20px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.spec-top .label { color: var(--c); }
.spec-body { padding: 22px 24px 26px; display: grid; gap: 16px; flex: 1; align-content: start; }
.spec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.spec li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 0.97rem; }
.spec li::before { content: ""; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 50%; background: var(--c); }
.spec .more { margin-top: auto; font-weight: 650; color: var(--c); text-decoration: none; }
.spec .more:hover { text-decoration: underline; }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks svg { color: var(--brand); margin-top: 3px; }
.checks b { display: block; font-family: var(--display); font-size: 1.08rem; }
.checks span { color: var(--muted); }

/* Service grid on specialty pages */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.service h3 { font-size: 1.12rem; }
.service p { color: var(--muted); font-size: 0.97rem; }

/* Page hero for inner pages */
.page-hero { --c: var(--brand); --t: var(--surface); background: var(--t); border-bottom: 1px solid var(--line); padding-block: clamp(44px, 6vw, 76px); }
.page-hero.im { --c: var(--im); --t: var(--tint-im); }
.page-hero.wm { --c: var(--wm); --t: var(--tint-wm); }
.page-hero.eye { --c: var(--eye); --t: var(--tint-eye); }
.page-hero .label { color: var(--c); }
.page-hero h1 { margin-top: 12px; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.page-hero .lede { margin-top: 18px; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.pills li { font: 500 0.82rem var(--mono); padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: "Step " counter(s); font: 500 0.75rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.steps p { color: var(--muted); font-size: 0.96rem; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.96rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 650; font-family: var(--display); }

/* Doctors */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.doc-head { display: flex; gap: 18px; align-items: center; }
.avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 1.6rem var(--display); color: var(--surface); }
.avatar.im { background: var(--im); }
.avatar.eye { background: var(--eye); }
.doc h3 { font-size: 1.4rem; }
.doc .role { color: var(--muted); font-size: 0.95rem; }
.doc p { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 0.85rem; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* Insurance */
.ins { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ins li { font: 650 1rem var(--display); padding: 12px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font: 650 1.05rem var(--display); padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 1.5rem var(--body); color: var(--brand); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA */
.cta { background: var(--brand); color: var(--brand-ink); border-radius: 24px; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.cta h2 { color: inherit; }
.cta p { opacity: 0.88; margin-top: 10px; }
.cta .btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.cta .btn.ghost { background: transparent; color: var(--brand-ink); border-color: var(--brand-ink); }
.cta .actions { margin-top: 0; }
.cta > * { min-width: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-grid > * { min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.kv { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; margin: 0; }
.kv dt { font: 500 0.78rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.kv dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.note { font-size: 0.9rem; color: var(--muted); }
.callout { border-left: 4px solid var(--sun); background: var(--surface); padding: 16px 20px; border-radius: 0 12px 12px 0; }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 0.93rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot > * { min-width: 0; }
.foot h4 { font: 600 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--brand); text-decoration: underline; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero-grid, .split, .docs, .contact-grid, .cta { grid-template-columns: 1fr; }
  .specialties { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .foot { grid-template-columns: 1fr; }
  .strip .hide-sm { display: none; }
  .logo small { display: none; }
  .vc-row { grid-template-columns: 12px 1fr; }
  .vc-row .age { grid-column: 2; }
}

/* Hours + portal */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.hours .closed { color: var(--muted); font-style: italic; }
.code { font: 700 clamp(2rem, 6vw, 2.8rem)/1 var(--display); letter-spacing: 0.08em; color: var(--wm); border: 2px dashed var(--line); border-radius: 12px; padding: 14px 20px; text-align: center; background: var(--paper); user-select: all; }
.notice { background: var(--tint-im); border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.notice .wrap { padding-block: 9px; }
.sub { margin: 4px 0 0 26px; padding: 0; list-style: disc; color: var(--muted); font-size: 0.93rem; display: grid; gap: 2px; }
.tagline { font: 600 0.82rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); }

/* Brand hero: the clinic's full logo, front and center */
.brand-hero { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 7vw, 80px); }
.brand-inner { display: grid; justify-items: center; text-align: center; gap: 16px; }
.logo-plate { margin: 0; background: var(--plate); border-radius: 22px; padding: var(--plate-pad); line-height: 0; }
.logo-plate img { width: min(560px, 86vw); height: auto; display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-plate { padding: 22px 26px; } }
:root[data-theme="dark"] .logo-plate { padding: 22px 26px; }
.brand-call { font: 600 clamp(1.3rem, 3vw, 1.7rem)/1.2 var(--display); }
.brand-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(560px, 100%); margin-top: 4px; }
.brand-actions .btn { padding: 15px 18px; font-size: 1.05rem; white-space: normal; }
@media (max-width: 520px) { .brand-actions { grid-template-columns: 1fr; } }
.hero-h { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
.hero-h em { font-style: normal; color: var(--brand); }

/* ---- Modern home: flowing brand shapes + specialty doors ---- */
:root { --door-im: #1E4E8C; --door-im2: #2F79C2; --door-wm: #33680A; --door-wm2: #5E9E1F; --door-eye: #016C93; --door-eye2: #0AA6D6; --on-door: #FFFFFF; }
.brand-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 84px) clamp(110px, 12vw, 150px); }
.brand-hero .wave { position: absolute; top: 0; height: 100%; width: min(42vw, 420px); pointer-events: none; }
.wave-r { right: 0; animation: drift 14s ease-in-out infinite alternate; }
.wave-l { left: 0; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateY(-10px); } to { transform: translateY(12px); } }
.brand-inner { position: relative; z-index: 1; }
.brand-inner > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.brand-inner > :nth-child(2) { animation-delay: .08s; } .brand-inner > :nth-child(3) { animation-delay: .16s; } .brand-inner > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
.brand-call { font: 500 1rem var(--body); color: var(--muted); }
.brand-call span { font-family: var(--display); font-weight: 650; font-size: 1.15rem; color: var(--ink); }
.btn.glass { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent); backdrop-filter: blur(8px); }
.btn { transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 80%, transparent); }

.doors-sec { padding-block: 0 clamp(56px, 8vw, 90px); margin-top: clamp(-96px, -9vw, -70px); position: relative; z-index: 2; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.door { --a: var(--door-im); --b: var(--door-im2); position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-height: 360px; padding: 30px 28px 28px; border-radius: 26px; color: var(--on-door); text-decoration: none; background: linear-gradient(150deg, var(--a), var(--b)); box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--a) 85%, black); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.door.d-wm { --a: var(--door-wm); --b: var(--door-wm2); }
.door.d-eye { --a: var(--door-eye); --b: var(--door-eye2); }
.door::before { content: ""; position: absolute; inset: auto -30% -45% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); z-index: -1; transition: transform .5s ease; }
.door-art { position: absolute; top: 18px; right: 18px; width: 128px; height: 128px; opacity: .3; z-index: -1; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.door-tag { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: .88; max-width: 70%; }
.door h2 { color: inherit; font-size: clamp(1.8rem, 2.6vw, 2.25rem); margin-top: auto; padding-top: 70px; }
.door p { opacity: .92; font-size: 0.98rem; }
.door-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-weight: 650; align-self: flex-start; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.door-go i { font-style: normal; transition: transform .3s ease; }
.door:hover, .door:focus-visible { transform: translateY(-8px); box-shadow: 0 34px 60px -28px color-mix(in srgb, var(--a) 90%, black); }
.door:hover .door-art, .door:focus-visible .door-art { transform: scale(1.12) rotate(-4deg); opacity: .45; }
.door:hover::before { transform: scale(1.15); }
.door:hover .door-go i { transform: translateX(5px); }
.door:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.door-mini { margin-top: 20px; display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.door-mini:hover { border-color: var(--eye); transform: translateY(-2px); }
.door-mini .chart-letters span:nth-child(1) { font-size: 1.8rem; } .door-mini .chart-letters span:nth-child(2) { font-size: 1.3rem; } .door-mini .chart-letters span:nth-child(3) { font-size: .95rem; }
.door-mini > span:last-child { min-width: 0; color: var(--muted); }
.door-mini b { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 4px; }
.stat b { font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--display); background: linear-gradient(120deg, var(--wm), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Inner page heroes get the same flowing shapes, lighter */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); pointer-events: none; }
.page-hero > .wrap { position: relative; z-index: 1; }
.service { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -24px rgba(20, 40, 30, .45); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }

@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .door h2 { padding-top: 40px; }
  .door-art { width: 104px; height: 104px; }
}
@media (max-width: 520px) { .stats { gap: 10px; } .stat { padding: 16px; } .door-mini { align-items: flex-start; } }

/* ---- Welcome hero v3 ---- */
.logo-chip { background: none !important; padding: 0 !important; }
.logo-img.dk { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-img.lt { display: none; } :root:not([data-theme="light"]) .logo-img.dk { display: block; } }
:root[data-theme="dark"] .logo-img.lt { display: none; }
:root[data-theme="dark"] .logo-img.dk { display: block; }
.brand-hero { padding-block: clamp(48px, 7vw, 92px); }
.welcome { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.welcome > * { min-width: 0; }
.welcome-text { display: grid; gap: 18px; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.welcome-text h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.welcome-text h1 em { font-style: normal; background: linear-gradient(110deg, var(--wm), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.welcome-text .lede { margin: 0; }
.welcome .brand-actions { width: min(520px, 100%); margin: 6px 0 0; }
.welcome .facts { margin-top: 4px; }
.hello-card { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: grid; gap: 12px; box-shadow: 0 30px 60px -36px rgba(20, 50, 30, .45); animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.hello-doc { display: flex; align-items: center; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: 16px; text-decoration: none; color: var(--ink); transition: background .2s; }
.hello-doc:hover { background: var(--paper); }
.hello-doc .avatar { width: 56px; height: 56px; font-size: 1.15rem; }
.hello-doc b { display: block; font-family: var(--display); font-size: 1.08rem; }
.hello-doc small { color: var(--muted); font-size: .9rem; }
.hello-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .94rem; }
.hello-info p { margin-top: 4px; }
.hello-call { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.hello-call b { color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
.doors-sec { margin-top: 0; padding-block: clamp(56px, 8vw, 92px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 900px) { .welcome { grid-template-columns: 1fr; } }

/* Medicare Advantage plans */
.ma { margin-top: 22px; display: grid; gap: 12px; }
.ma-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ma-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 2px; }
.ma-list b { font: 650 1.08rem var(--display); }
.ma-list span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .ma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Centered, larger header logo */
.bar { flex-direction: column; justify-content: center; gap: 6px; padding-block: 14px 4px; }
.logo { justify-content: center; }
.logo-img { height: 74px; }
.nav { justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 4px; width: 100%; }
.nav .btn { margin-left: 10px; }
@media (max-width: 1080px) {
  .bar { flex-direction: row; padding-block: 12px; }
  .logo-img { height: 60px; }
  .menu { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
  .menu[open] { transform: none; top: 0; bottom: 0; display: flex; align-items: center; }
  .menu-panel { top: 100%; }
}
@media (max-width: 420px) { .logo-img { height: 52px; } .menu summary { padding: 7px 12px; } }
@media (max-width: 1080px) {
  .menu, .menu[open] { position: static; transform: none; display: block; }
  .menu summary { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
}
.avatar.photo { overflow: hidden; background: var(--paper); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--line); }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.doc .avatar { width: 96px; height: 96px; }

/* ---- Modern pass: portraits, glass header, soft cards ---- */
.site-header { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav a:not(.btn) { border-radius: 999px; padding: 8px 14px; }
.nav a[aria-current="page"]:not(.btn) { box-shadow: none; background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 999px; }
.btn { border-radius: 14px; }
.door, .doc, .card, .service, .steps li, .faq details, .ma-list li, .ins li, .stat, .table-wrap { border-radius: 22px; }
.service, .card, .steps li, .ma-list li, .stat { border-color: color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 1px 2px rgba(20,40,30,.04), 0 12px 32px -22px rgba(20,40,30,.28); }
.band { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--paper))); }

.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 28px; animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.portrait { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; box-shadow: 0 30px 60px -30px rgba(15, 40, 25, .55); text-decoration: none; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.portrait.p2 { transform: translateY(36px); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.portrait:hover img { transform: scale(1.05); }
.portrait:hover { transform: translateY(-6px); }
.portrait.p2:hover { transform: translateY(30px); }
.p-chip { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #15261C; display: grid; gap: 1px; }
.p-chip b { font: 650 .92rem/1.2 var(--display); }
.p-chip small { font-size: .78rem; color: #4F6156; }
.float-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .86rem; box-shadow: 0 14px 30px -14px rgba(15,40,25,.45); border: 1px solid var(--line); animation: bob 5s ease-in-out infinite alternate; }
.float-badge svg { color: var(--brand); }
.fb1 { top: 0; left: -14px; }
.fb2 { top: 0; right: -10px; animation-delay: -2.5s; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.duo-info { grid-column: 1 / -1; margin-top: 46px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.duo-info span { display: inline-flex; align-items: center; gap: 6px; }
.duo-info svg { color: var(--brand); }

.doc { padding: 0; overflow: hidden; gap: 0; }
.doc > :not(.doc-photo) { margin-inline: 28px; }
.doc > :last-child { margin-bottom: 28px; }
.doc > * + * { margin-top: 16px; }
.doc-photo { aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.doc-head { margin-top: 22px !important; }

@media (max-width: 900px) {
  .duo { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .duo { gap: 10px; }
  .portrait { border-radius: 20px; }
  .p-chip { left: 6px; right: 6px; bottom: 6px; padding: 7px 9px; border-radius: 12px; }
  .p-chip b { font-size: .78rem; } .p-chip small { font-size: .7rem; }
  .fb1 { left: 0; top: -6px; } .fb2 { right: 0; top: 18px; }
  .float-badge { font-size: .76rem; padding: 7px 11px; }
}

/* ---- Accessibility ---- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 10px; font-weight: 650; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
main:focus { outline: none; }
.a11y-btn { position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border-radius: 999px; border: 2px solid var(--surface); background: #1F4FA0; color: #FFFFFF; font: 650 .92rem var(--body); cursor: pointer; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); }
.a11y-btn:hover { background: #173E80; }
.a11y-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.a11y-panel { position: fixed; z-index: 41; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: min(320px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 8px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); }
.a11y-title { font: 650 1.05rem var(--display); margin-bottom: 4px; }
.a11y-size { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; padding-bottom: 6px; }
.a11y-size button, .a11y-opt, .a11y-foot button { font: 600 .95rem var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.a11y-size button { width: 46px; }
.a11y-size output { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 650; }
.a11y-opt { text-align: left; display: flex; justify-content: space-between; align-items: center; }
.a11y-opt::after { content: "Off"; font: 600 .78rem var(--mono); color: var(--muted); }
.a11y-opt[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.a11y-opt[aria-pressed="true"]::after { content: "On"; color: var(--brand); }
.a11y-size button:focus-visible, .a11y-opt:focus-visible, .a11y-foot button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; font-size: .9rem; }
footer { padding-bottom: 96px; }

html.a11y-contrast { --paper: #FFFFFF; --surface: #FFFFFF; --ink: #000000; --muted: #1A1A1A; --line: #000000; --brand: #1E4D00; --brand-ink: #FFFFFF; --sky: #00557A; --im: #0B3B7A; --wm: #1E4D00; --eye: #00557A; --tint-im: #FFFFFF; --tint-wm: #FFFFFF; --tint-eye: #FFFFFF; --hero-a: #FFFFFF; --hero-b: #FFFFFF; --door-im: #0B3B7A; --door-im2: #0B3B7A; --door-wm: #1E4D00; --door-wm2: #1E4D00; --door-eye: #00557A; --door-eye2: #00557A; color-scheme: light; }
html.a11y-contrast .logo-img.lt { display: block !important; } html.a11y-contrast .logo-img.dk { display: none !important; }
html.a11y-contrast .wave, html.a11y-contrast .door-art, html.a11y-contrast .page-hero::after { display: none; }
html.a11y-contrast .service, html.a11y-contrast .card, html.a11y-contrast .door-mini, html.a11y-contrast .stat, html.a11y-contrast .faq details { border-width: 2px; }
html.a11y-contrast .welcome-text h1 em, html.a11y-contrast .stat b { background: none; color: var(--brand); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-readable body { letter-spacing: .03em; word-spacing: .12em; line-height: 1.95; }
html.a11y-readable p, html.a11y-readable li { max-width: 70ch; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* Policy pages */
.prose-wide { max-width: 820px; display: grid; gap: 18px; }
.prose-wide h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 14px; }
.policy { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.policy li::marker { color: var(--brand); }

/* ---- Service cards with icon tiles ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.service { --c: var(--brand); --t: color-mix(in srgb, var(--c) 12%, var(--surface)); position: relative; overflow: hidden; isolation: isolate; padding: 28px 28px 26px; gap: 12px; background: var(--surface); }
.service.c-im { --c: var(--im); } .service.c-wm { --c: var(--wm); } .service.c-eye { --c: var(--eye); }
.service::after { content: ""; position: absolute; right: -46px; bottom: -46px; width: 140px; height: 140px; border-radius: 50%; background: var(--t); z-index: -1; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.service:hover::after { transform: scale(1.25); }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--t); color: var(--c); margin-bottom: 8px; transition: background .25s, color .25s; }
.service:hover .svc-icon { background: var(--c); color: var(--surface); }
.service h3 { font-size: 1.25rem; }
.service p { flex: 1; }
.svc-link { margin-top: 6px; font-weight: 650; color: var(--c); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; align-self: start; }
.svc-link span[aria-hidden] { transition: transform .25s; }
.service:hover .svc-link span[aria-hidden] { transform: translateX(4px); }
.svc-link:hover { text-decoration: underline; }
html.a11y-contrast .service::after { display: none; }

[hidden] { display: none !important; }

/* Plan-your-visit card */
.visit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.visit-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.visit-list .svc-icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.visit-list b { display: block; font-family: var(--display); font-size: 1.05rem; }
.visit-list span { color: var(--muted); font-size: .95rem; }
.hello-card .btn { margin-top: 6px; justify-self: start; }

/* Doctors page: photo beside bio */
.docs { grid-template-columns: 1fr; gap: 28px; }
.doc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: 36px; align-items: start; padding: 0; }
.doc > * { grid-column: 2; margin: 0 32px 0 0 !important; }
.doc > * + * { margin-top: 14px !important; }
.doc > .doc-photo { grid-column: 1; grid-row: 1 / span 12; margin: 0 !important; aspect-ratio: 4 / 5; height: 100%; min-height: 100%; }
.doc > .doc-head { margin-top: 30px !important; }
.doc > :last-child { margin-bottom: 30px !important; }
.doc .doc-head { display: block; }
.doc .doc-head h3 { font-size: 1.6rem; }
.doc .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc .actions .btn { padding: 9px 16px; font-size: .92rem; }
.doc .tags li { font-size: .82rem; }
@media (max-width: 760px) {
  .doc { grid-template-columns: 1fr; }
  .doc > * { grid-column: 1; margin: 0 22px !important; }
  .doc > * + * { margin-top: 14px !important; }
  .doc > .doc-photo { grid-row: auto; aspect-ratio: 1 / 1; height: auto; min-height: 0; margin: 0 !important; }
  .doc > .doc-head { margin-top: 22px !important; }
  .doc > :last-child { margin-bottom: 24px !important; }
}
.doc > .doc-photo { aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; align-self: stretch; width: 100%; }
.doc > .doc-photo img { height: 100%; min-height: 440px; }
@media (max-width: 760px) { .doc > .doc-photo { aspect-ratio: 1 / 1 !important; } .doc > .doc-photo img { min-height: 0; } }

/* Weight management feature */
.ma-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-feature { background: linear-gradient(140deg, var(--tint-wm), color-mix(in srgb, var(--tint-wm) 40%, var(--paper))); border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.wm-feature::before { content: ""; position: absolute; left: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--wm) 22%, transparent), transparent 70%); pointer-events: none; }
.wm-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wm-photo { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.wm-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 30px; display: block; box-shadow: 0 34px 70px -36px rgba(20, 50, 10, .6); }
.wm-badge { position: absolute; right: -14px; bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 18px 36px -18px rgba(20,50,10,.5); }
.wm-badge b { font: 700 1.5rem/1 var(--display); color: var(--wm); letter-spacing: .04em; }
.wm-badge small { font-size: .82rem; color: var(--muted); max-width: 150px; }
.wm-copy { display: grid; gap: 16px; }
.wm-copy .label { color: var(--wm); }
.wm-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.wm-copy .lede { margin: 0; }
.wm-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wm-points li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.wm-points svg { color: var(--wm); margin-top: 2px; }
.wm-copy .actions { margin-top: 6px; }
@media (max-width: 900px) { .wm-grid { grid-template-columns: 1fr; } .ma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .wm-badge { right: 8px; bottom: 14px; padding: 10px 14px; } .wm-photo { max-width: 340px; } }
.hmo { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.hmo > div:first-child { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 10px; }
.hmo .ins li { font-size: .95rem; padding: 9px 14px; }
.hmo-note { margin-top: 18px; max-width: 70ch; background: var(--surface); border-left: 4px solid var(--sun); border-radius: 0 12px 12px 0; padding: 12px 16px; font-size: .95rem; }
@media (max-width: 760px) { .hmo { grid-template-columns: 1fr; } }
.counties { display: grid; grid-template-columns: 1.6fr 1fr 0.7fr; gap: 18px; }
.county { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; min-width: 0; }
.county h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--brand); }
.county ul { list-style: none; margin: 0; padding: 0; columns: 3 140px; column-gap: 18px; }
.county li { break-inside: avoid; padding: 4px 0; font-size: .95rem; }
.center-note { text-align: center; margin-top: 18px; }
@media (max-width: 900px) { .counties { grid-template-columns: 1fr; } }
.counties { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.county { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.county h3 { margin: 0; color: var(--ink); font-size: 1.15rem; }
.county .svc-icon { margin: 0; width: 48px; height: 48px; flex: none; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
@media (max-width: 760px) { .counties { grid-template-columns: 1fr; } }

/* Weight feature art (no photo) */
.wm-art { position: relative; max-width: 420px; width: 100%; justify-self: center; aspect-ratio: 1; }
.wm-art svg { width: 100%; height: 100%; display: block; }
.wm-stat { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; display: grid; gap: 2px; box-shadow: 0 18px 36px -18px rgba(20,50,10,.45); max-width: 190px; }
.wm-stat b { font: 700 1.5rem/1 var(--display); color: var(--wm); }
.wm-stat small { font-size: .82rem; color: var(--muted); }
.wm-stat.s1 { left: 0; top: 14%; } .wm-stat.s2 { right: 0; bottom: 12%; }

/* Your doctor block on specialty pages */
.your-doc { --c: var(--brand); padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.your-doc.c-im { --c: var(--im); } .your-doc.c-wm { --c: var(--wm); } .your-doc.c-eye { --c: var(--eye); }
.yd-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.yd-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 26px; box-shadow: 0 26px 52px -30px rgba(15,40,25,.55); }
.yd-copy { display: grid; gap: 12px; max-width: 68ch; }
.yd-copy .label { color: var(--c); }
.yd-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.yd-copy .role { color: var(--muted); margin-top: -6px; }
.yd-copy .actions { margin-top: 4px; }
@media (max-width: 760px) { .yd-grid { grid-template-columns: 1fr; } .yd-photo { max-width: 280px; } }

/* Contact lens ordering */
.order-banner { margin-top: 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 26px; border-radius: 22px; background: linear-gradient(120deg, var(--tint-eye), var(--surface)); border: 1px solid var(--line); }
.order-banner .svc-icon { margin: 0; background: var(--eye); color: var(--surface); }
.order-banner h3 { font-size: 1.2rem; }
.order-banner p { color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .order-banner { grid-template-columns: 1fr; } .order-banner .btn { justify-self: start; } }
.seca { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: linear-gradient(135deg, var(--tint-wm), var(--surface)); border: 1px solid var(--line); }
.seca-copy { display: grid; gap: 12px; }
.seca-copy .label { color: var(--wm); }
.seca-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.seca-copy .svc-link { --c: var(--wm); }
.seca-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seca-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px; }
.seca-list b { font: 650 1.05rem var(--display); color: var(--wm); }
.seca-list span { font-size: .9rem; color: var(--muted); }
@media (max-width: 820px) { .seca { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .seca-list { grid-template-columns: 1fr; } }
.wm-grid { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.wm-copy { justify-items: start; }
.wm-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wm-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.wm-badges b { font-family: var(--display); color: var(--wm); font-size: 1rem; }
.wm-points { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 24px; width: 100%; }
.affils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.affils li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 6px; align-content: center; text-align: center; min-height: 110px; }
.affils b { font: 650 1.05rem/1.25 var(--display); }
.affils span { font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 900px) { .affils { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .affils { grid-template-columns: 1fr; } }
.vision-note { margin-top: 22px; }
.eye-ins { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.eye-ins > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; border-top: 4px solid var(--eye); }
.eye-ins b { font: 650 1.05rem var(--display); }
.eye-ins span { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .eye-ins { grid-template-columns: 1fr; } }
.pay-plan { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: clamp(22px, 4vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--wm); }
.pay-plan > div { display: grid; gap: 10px; }
.pay-plan .label { color: var(--wm); }
.pay-plan h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
@media (max-width: 640px) { .pay-plan { grid-template-columns: 1fr; } .pay-plan .btn { justify-self: start; } }
.wm-cover { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wm-cover > div { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--wm); border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; }
.wm-cover b { font: 650 1.05rem var(--display); }
.wm-cover span { color: var(--muted); font-size: .93rem; }
@media (max-width: 760px) { .wm-cover { grid-template-columns: 1fr; } }
.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .policy-grid { grid-template-columns: 1fr; } }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
.ma-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .ma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Show the whole portrait (no extra zoom) */
.doc > .doc-photo { align-self: start; aspect-ratio: 4 / 5 !important; height: auto !important; margin: 28px 0 28px 28px !important; border-radius: 20px; overflow: hidden; }
.doc > .doc-photo img { height: 100% !important; min-height: 0 !important; object-fit: cover; object-position: center top; }
.yd-photo, .wm-photo img, .portrait img { object-position: center top; }
@media (max-width: 760px) {
  .doc > .doc-photo { aspect-ratio: 4 / 5 !important; max-width: 340px; width: calc(100% - 44px); margin: 22px 22px 0 !important; }
}
.yd-photo, .wm-photo img, .portrait img { height: auto; }
.doc { column-gap: 40px; }
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 26px; border-radius: 24px; background: linear-gradient(140deg, var(--tint-eye), var(--surface)); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.program:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(1, 80, 110, .5); }
.program .svc-icon { margin: 0; background: var(--eye); color: var(--surface); }
.program .label { color: var(--eye); }
.program h3 { font-size: 1.4rem; margin: 4px 0 8px; }
.program p { color: var(--muted); }
.program .svc-link { --c: var(--eye); margin-top: 12px; display: inline-flex; }
@media (max-width: 760px) { .programs { grid-template-columns: 1fr; } .program { grid-template-columns: 1fr; } }
.doors { grid-template-columns: 1.35fr 1fr 1fr; }
.d-feature { min-height: 400px; }
.d-feature h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.focus-chip { display: inline-block; font: 700 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.95); color: var(--door-wm); padding: 4px 9px; border-radius: 999px; margin: 0 6px 6px 0; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } .d-feature { min-height: 0; } }
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.types article { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--eye); border-radius: 18px; padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.types .label { color: var(--eye); }
.types p:last-child { color: var(--muted); }
.risks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.risks > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; min-width: 0; }
.risks h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--eye); }
.risks ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .95rem; }
@media (max-width: 1000px) { .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .types, .risks { grid-template-columns: 1fr; } }
/* Condition education cards */
.conds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; align-items: start; }
.cond { --c: var(--brand); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.c-im .cond { --c: var(--im); } .c-wm .cond { --c: var(--wm); } .c-eye .cond { --c: var(--eye); }
.cond summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 20px; position: relative; display: grid; gap: 4px; border-left: 4px solid var(--c); }
.cond summary::-webkit-details-marker { display: none; }
.cond summary::after { content: "+"; position: absolute; right: 18px; top: 14px; font: 400 1.6rem var(--body); color: var(--c); }
.cond[open] summary::after { content: "\2013"; }
.cond-name { font: 650 1.1rem/1.3 var(--display); }
.cond-what { color: var(--muted); font-size: .94rem; }
.cond-body { padding: 0 20px 18px 24px; display: grid; gap: 10px; font-size: .95rem; border-left: 4px solid var(--c); }
.cond-body .svc-link { --c: inherit; color: var(--c); }
.cond summary:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }

/* ---- Language menu ---- */
.strip-right { display: inline-flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.lang-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 250px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.4); }
.lang-panel a, .lang-panel button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 .95rem var(--body); background: none; border: 0; cursor: pointer; }
.lang-panel a:hover, .lang-panel button:hover { background: var(--paper); }
.lang-h { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
.lang-note { font-size: .78rem; color: var(--muted); padding: 4px 12px 6px; }
:lang(gu) { font-family: "Noto Sans Gujarati", var(--body); }
:lang(hi) { font-family: "Noto Sans Devanagari", var(--body); }
[lang="gu"] h1, [lang="gu"] h2, [lang="gu"] h3 { font-family: "Noto Sans Gujarati", var(--display); line-height: 1.35; letter-spacing: 0; }
[lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3 { font-family: "Noto Sans Devanagari", var(--display); line-height: 1.35; letter-spacing: 0; }
.lang-hero .lede { max-width: 70ch; }
.lang-spec { text-decoration: none; color: var(--ink); }
.lang-spec .svc-link { color: var(--c); }
.lang-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lang-info .btn { justify-self: start; margin-top: 8px; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.auto-cta { margin-top: 22px; display: grid; gap: 8px; justify-items: start; }
@media (max-width: 760px) { .lang-info { grid-template-columns: 1fr; } }
/* Google Translate banner cleanup */
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
html.is-translated body { top: 0 !important; }
/* Social links */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.social a:hover { border-color: var(--brand); color: var(--brand); }
.social svg { color: var(--brand); }
.social.big a { padding: 11px 18px; font-size: 1rem; }
.ma-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ma-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ma-list li { align-content: start; }
.ma-list.comm span { font-size: .85rem; }
.ma-list.comm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ma-list.comm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ma-list.comm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1101px) {
  .ma-list.comm li:nth-last-child(2):nth-child(4n+1), .ma-list.comm li:last-child:nth-child(4n+2) { grid-column: span 2; }
}
.ma-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ma-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ma-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ins-link { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: clamp(22px, 4vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.ins-link:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(20,50,30,.45); }
.ins-link .svc-icon { margin: 0; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.ins-link h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 4px 0 6px; }
.ins-link p:last-child { color: var(--muted); }
@media (max-width: 700px) { .ins-link { grid-template-columns: 1fr; } .ins-link .btn { justify-self: start; } }
.ins-disclaimer { margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.ins-disclaimer b { color: var(--ink); }
.avail-note { margin-top: 16px; display: inline-block; padding: 10px 14px; border-radius: 12px; background: var(--surface); border-left: 4px solid var(--sun); font-size: .95rem; color: var(--ink); }
a.tel { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; white-space: nowrap; }
a.tel:hover { color: var(--brand); }
/* Patient education */
.cond-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cond-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.c-im .cond-links a { border-left: 4px solid var(--im); } .c-wm .cond-links a { border-left: 4px solid var(--wm); } .c-eye .cond-links a { border-left: 4px solid var(--eye); }
.cond-links a:hover { border-color: var(--brand); color: var(--brand); }
.cond-links a::after { content: "\2192"; color: var(--muted); }
.edu-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.edu-jump a { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.edu-group { --c: var(--brand); padding-block: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.edu-group.c-wm { --c: var(--wm); } .edu-group.c-eye { --c: var(--eye); } .edu-group.c-im { --c: var(--im); }
.edu-group:nth-of-type(even) { background: var(--surface); }
.edu-group .label { color: var(--c); }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.edu-card { display: grid; gap: 8px; padding: 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--c); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.edu-group:nth-of-type(even) .edu-card, .edu-group:nth-of-type(even) .cond { background: var(--paper); }
.edu-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(20,40,30,.45); }
.edu-card h3 { font-size: 1.12rem; }
.edu-card p { color: var(--muted); font-size: .94rem; }
.edu-card .svc-link { color: var(--c); }
.edu-group .cond { --c: inherit; }
[id] { scroll-margin-top: 170px; }
@media (max-width: 1080px) { [id] { scroll-margin-top: 100px; } }
/* Contact form */
.contact-form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.contact-form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.hp { position: absolute; left: -9999px; }
.form-status { color: var(--brand); font-weight: 600; min-height: 1px; }
@media (max-width: 860px) { .contact-form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }
/* Notices */
.taglines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.taglines li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; font-size: .93rem; }
.taglines b { font-size: 1rem; }
/* Forms card */
.forms-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: clamp(22px, 4vw, 32px); border-radius: 24px; background: linear-gradient(120deg, var(--tint-im), var(--surface)); border: 1px solid var(--line); }
.forms-card .svc-icon { margin: 0; background: var(--brand); color: var(--brand-ink); }
.forms-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 4px 0 6px; }
@media (max-width: 700px) { .forms-card { grid-template-columns: 1fr; } .forms-card .btn { justify-self: start; } }
/* Tips & articles */
.tip-card .label { color: var(--c, var(--brand)); }
.tips-grid .edu-card.c-eye { --c: var(--eye); } .tips-grid .edu-card.c-wm { --c: var(--wm); }
.article h2 { font-size: 1.35rem; margin-top: 10px; }
/* Reviews & gallery */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 12px; }
.review .stars { color: var(--sun); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-weight: 600; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery figcaption { padding: 10px 14px; color: var(--muted); font-size: .9rem; }
.contact-form-wrap > *, .contact-form > *, .contact-form input, .contact-form select, .contact-form textarea { min-width: 0; max-width: 100%; }
a.tel { unicode-bidi: isolate; }
a.tel.mail { white-space: normal; overflow-wrap: anywhere; }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; }
.rating-badge .stars { color: var(--sun); letter-spacing: 2px; }
.reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }
.review { grid-template-rows: auto 1fr auto; align-content: start; }
.prev-banner { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: clamp(22px, 4vw, 32px); border-radius: 24px; background: linear-gradient(120deg, var(--tint-im), var(--surface)); border: 1px solid var(--line); border-left: 6px solid var(--im); }
.prev-banner .svc-icon { margin: 0; background: var(--im); color: var(--surface); }
.prev-banner h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: 8px; }
.prev-banner p { color: var(--muted); }
@media (max-width: 600px) { .prev-banner { grid-template-columns: 1fr; } }
@media (min-width: 1081px) { .nav { gap: 0; } .nav a:not(.btn) { padding: 8px 10px; font-size: .92rem; } .nav .btn { margin-left: 6px; padding: 9px 14px; } }
@media (min-width: 1081px) and (max-width: 1240px) { .nav a:not(.btn) { padding: 8px 7px; font-size: .86rem; } }
/* Notes and badges inside colored page headers blend with the header */
.page-hero .avail-note, .page-hero .hmo-note { background: color-mix(in srgb, var(--c) 10%, transparent); border-left-color: var(--c); }
.page-hero .pills li { background: transparent; border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.tips-grid .edu-card.c-im { --c: var(--im); }
.tips-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .tips-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tips-grid { grid-template-columns: 1fr; } }
.tips-grid { align-items: stretch; }
.tip-card { grid-template-rows: auto auto 1fr auto; }
@media (min-width: 1081px) { .nav a:not(.btn) { padding: 8px 7px; font-size: .86rem; } .nav .btn { padding: 8px 12px; font-size: .88rem; margin-left: 4px; } }
@media (max-width: 1199px) {
  .nav { display: none; } .menu { display: block; }
  .bar { flex-direction: row; padding-block: 12px; } .logo-img { height: 60px; }
  .menu, .menu[open] { position: static; transform: none; display: block; }
  .menu summary { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
}
/* Patient Portal in header + quick actions in phone menu */
.nav .btn.ghost.portal-btn { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.nav .btn.ghost.portal-btn:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.menu-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-quick .btn { margin: 0; text-align: center; justify-content: center; padding: 11px 8px; border-bottom: 0; }
.menu-quick .btn:first-child { grid-column: 1 / -1; }
.menu-quick .btn.ghost { color: var(--brand); background: transparent; border: 1.5px solid var(--brand); }
/* Header tools: search + patient portal */
.hdr-tools { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); top: 26px; display: flex; align-items: center; gap: 8px; }
.search-btn { display: inline-flex; align-items: center; gap: 6px; font: 600 .92rem/1 var(--body, inherit); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.search-btn:hover { border-color: var(--brand); color: var(--brand); }
.hdr-tools .portal-btn { padding: 9px 16px; font-size: .92rem; color: var(--brand); background: transparent; border: 1.5px solid var(--brand); }
.hdr-tools .portal-btn:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
@media (max-width: 1199px) {
  .hdr-tools { left: max(20px, env(safe-area-inset-left, 0px)); right: auto; top: 50%; transform: translateY(-50%); }
  .hdr-tools .portal-btn { display: none; }
  .search-btn { padding: 8px 12px; }
}
@media (max-width: 560px) { .search-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .search-btn { padding: 9px; } }
/* Search popup */
.search-pop { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 10, .45); display: flex; justify-content: center; align-items: flex-start; padding: max(16px, 8vh) 16px 16px; }
.search-pop[hidden] { display: none; }
html.search-open { overflow: hidden; }
.search-box { width: min(680px, 100%); max-height: 84vh; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.25); padding: 14px; }
.search-field { display: flex; align-items: center; gap: 10px; border: 2px solid var(--brand); border-radius: 12px; padding: 4px 6px 4px 12px; color: var(--brand); }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.05rem; padding: 10px 0; }
.search-close { border: 0; background: var(--paper); color: var(--ink); font: 600 .85rem/1 inherit; border-radius: 8px; padding: 9px 12px; cursor: pointer; }
.search-hint { margin: 12px 4px 4px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.search-hint a { color: var(--brand); font-weight: 600; }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.search-results a { display: block; text-decoration: none; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.search-results a:hover, .search-results a:focus { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.search-results b { display: block; color: var(--brand); margin-bottom: 4px; }
.search-results span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.search-results mark { background: color-mix(in srgb, var(--brand) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-none { padding: 14px; color: var(--muted); }
/* Top bar: one clean row */
.strip .wrap { flex-wrap: nowrap; align-items: center; padding-block: 6px; }
.strip-call { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.strip-call:hover { text-decoration: underline; }
.strip-link { text-decoration: none; font-weight: 550; opacity: .95; }
.strip-link:hover { text-decoration: underline; }
.strip-right { gap: 18px; }
@media (max-width: 760px) {
  .strip-link { display: none; }
  .strip-call { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 14px; }
  .strip .lang summary { padding: 7px 14px; }
}
@media (max-width: 360px) { .strip .hide-xs { display: none; } }
/* Phone menu: scrolls on its own, nothing covers it */
.menu[open] .menu-panel { max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 24px 40px -20px rgba(0,0,0,.35); }
html.menu-open { overflow: hidden; }
html.menu-open .a11y-btn, html.menu-open .a11y-panel { display: none !important; }
.menu-a11y { text-align: left; font: 600 1rem/1.2 var(--body, inherit); color: #1F4FA0; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; cursor: pointer; }
:root[data-theme="dark"] .menu-a11y { color: #8FB4FF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .menu-a11y { color: #8FB4FF; } }
.door-sub { display: block; margin-top: 10px; }
.door-tag { max-width: calc(100% - 130px); }
/* Two plain (same-background) sections in a row: don't double the gap */
main section:not([class]) + section:not([class]) { padding-top: 0; }
/* Balanced footer */
.foot { grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 32px; align-items: start; }
.foot-visit li, .foot-hours li { line-height: 1.5; }
.foot-hours b { font-weight: 600; margin-right: 6px; }
.foot-brand .social { margin-top: 16px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; gap: 26px; } }
/* Condition pages: short topic sections don't need full-size spacing */
section.cond-sec { padding-block: 52px; }
@media (max-width: 700px) { section.cond-sec { padding-block: 36px; } }
/* Contact details: labels on one line */
.kv { grid-template-columns: 132px 1fr; }
.kv dt { white-space: nowrap; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
.contact-grid .card:first-child .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
.contact-grid .card:first-child .actions .btn { justify-content: center; text-align: center; margin: 0; }
/* SECA photo */
.seca { align-items: start; }
.seca-side { display: grid; gap: 14px; min-width: 0; }
.seca-photo { margin: 0; border-radius: 20px; overflow: hidden; background: #eef1f0; aspect-ratio: 4 / 3; }
.seca-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.seca-photo { aspect-ratio: 1 / 1; }
.seca-photo img { object-position: 50% 0%; }
@media (min-width: 821px) { .seca-photo { aspect-ratio: 5 / 4; } }
/* Weight management: nutrition & lifestyle photos */
.life { margin-top: 28px; display: grid; gap: 20px; }
.life-copy { display: grid; gap: 10px; max-width: 760px; }
.life-copy .label { color: var(--wm); }
.life-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.life-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.life-grid figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); }
.life-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-a { grid-row: 1 / 3; }
.lg-b { grid-column: 2 / 4; }
@media (max-width: 700px) {
  .life-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 170px; }
  .lg-a { grid-row: auto; grid-column: 1 / 3; }
  .lg-b { grid-column: 1 / 3; }
}
/* Photo slideshow */
.slides { position: relative; aspect-ratio: 16 / 8; border-radius: 22px; overflow: hidden; background: var(--paper); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #15261c; font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.18); display: grid; place-items: center; padding-bottom: 3px; }
.slide-btn:hover { background: #fff; }
.slide-btn.prev { left: 14px; } .slide-btn.next { right: 14px; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.6); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.slide-dots button.on { background: #fff; width: 24px; border-radius: 6px; }
@media (max-width: 700px) { .slides { aspect-ratio: 4 / 3; } .slide-btn { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
@media (min-width: 901px) {
  .life { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 36px; }
  .life .slides { aspect-ratio: 4 / 3; }
}
/* SECA: details left, two photos right */
.seca { align-items: stretch; }
.seca-copy .seca-list { margin-top: 6px; }
.seca-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.seca-photo { aspect-ratio: auto; min-height: 220px; }
.seca-photo-report { background: #fff; }
.seca-photo-report img { object-fit: contain; object-position: 50% 50%; padding: 8px; }
@media (max-width: 820px) { .seca-side { grid-template-rows: none; } .seca-photo { aspect-ratio: 4 / 3; min-height: 0; } }
.seca { align-items: start; }
.seca-copy { align-content: start; }
.seca-side { grid-template-rows: none; }
.seca-photo { aspect-ratio: 16 / 10; min-height: 0; }
.seca-photo img { object-position: 50% 12%; }
.seca-photo-report img { object-position: 50% 50%; }
.slides-seca { aspect-ratio: 1 / 1; }
.slide-white { background: #fff; }
.slide-white img { object-fit: contain; padding: 14px; }
.slides-seca .slide-dots button { background: rgba(21,38,28,.25); box-shadow: none; }
.slides-seca .slide-dots button.on { background: var(--wm); }
@media (max-width: 820px) { .slides-seca { aspect-ratio: 4 / 3; } }
/* Specialty panels: equal size */
.doors { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.door { min-height: 100%; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }
.d-feature { min-height: 0; }
.d-feature h2 { font-size: inherit; }
.doors .door h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
@media (max-width: 900px) { .doors .door { min-height: 420px; } }
/* Condition guides: line up with the page heading (left edge) */
.wrap.prose-wide { max-width: var(--max); }
.wrap.prose-wide > * { max-width: 820px; }
/* Photo bands (slideshows and banners on service and education pages) */
.photo-band { padding-block: 28px 0; }
.photo-band + section { padding-top: clamp(40px, 6vw, 72px); }
.slides-wide { aspect-ratio: 16 / 6.5; }
.photo-banner { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 5.5; background: var(--paper); }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .slides-wide { aspect-ratio: 4 / 3; } .photo-banner { aspect-ratio: 16 / 9; } }
.slides-wide { aspect-ratio: 16 / 6; }
@media (max-width: 700px) { .slides-wide { aspect-ratio: 4 / 3; } }
/* Photo band with text beside a portrait slideshow */
.pb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.pb-copy { display: grid; gap: 10px; max-width: 520px; }
.pb-copy h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.pb-copy p:last-child { color: var(--muted); }
.slides-tall { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; justify-self: center; max-width: 460px; }
@media (max-width: 760px) { .pb-split { grid-template-columns: 1fr; } .slides-tall { max-width: none; aspect-ratio: 4 / 4.4; } }
/* Condition guides: tall photo beside the first section */
.wrap.cond-first { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cond-fig { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.cond-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .wrap.cond-first { grid-template-columns: 1fr; } .cond-fig { aspect-ratio: 4 / 3.4; } }
/* Four-card rows (e.g. dilation) */
.services.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services.four .service { height: 100%; }
@media (max-width: 1000px) { .services.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services.four { grid-template-columns: 1fr; } }
/* Avoid single leftover cards */
@media (min-width: 1100px) {
  .steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .edu-grid.n7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1099px) { .steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } .edu-grid.n7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Steps placed beside text: one tidy column */
.split .steps { grid-template-columns: 1fr; gap: 12px; }
/* Bigger welcome line on the home page */
.welcome .tagline, .tagline { font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: .12em; font-weight: 700; }
/* Plan your visit card: nudge right on wide screens */
@media (min-width: 1240px) { .welcome .hello-card { margin-right: -48px; margin-left: 48px; } }
/* Specialty panels: headings line up near the top, button at the bottom */
.doors .door-tag { min-height: 6.4em; }
.doors .door h2 { margin-top: 0; padding-top: 22px; }
.doors .door-go { margin-top: auto; }
.doors .door p { margin-bottom: 8px; }
@media (max-width: 900px) { .doors .door { min-height: 0; } .doors .door-tag { min-height: 0; } }
/* Bold main menu */
.nav a:not(.btn) { font-weight: 700; }
.menu-panel > a { font-weight: 700; }
/* Doctor photos: square frames, whole photo centered */
.doc > .doc-photo { aspect-ratio: 1 / 1 !important; }
.doc > .doc-photo img, .yd-photo, .wm-photo img, .portrait img { object-position: center center !important; }
.yd-photo, .wm-photo img { aspect-ratio: 1 / 1; }
.portrait { aspect-ratio: 1 / 1; }
