/* Local clinic landing pages (site/clinic/<slug>/, built by tools/build-local.js).
   PART 1 is a copy of the homepage styles (site/index.html) so the pages share its look;
   it is a copy on purpose, so changes here never affect the homepage. PART 2 is local-only. */

/* ===== PART 1: base styles copied from the homepage ===== */
body { margin: 0; } img { max-width: 100%; }
/* Layout: comparison-site marketing page. Navy hero with selector tiles + ZIP form beside a phone mock,
   then white bands: brand strip, journey rows, stats grid, stories, self-serve vs. concierge, comparison table, FAQ. */
:root {
  color-scheme: light;
  --navy: #13205c;
  --navy-2: #1f2f80;
  --navy-3: #2a3c99;
  --coral: #ff5a36;
  --coral-dark: #e4441f;
  --ink: #12152e;
  --muted: #565b7a;
  --line: #e2e4ef;
  --tint: #f3f4fa;
  --paper: #ffffff;
  --yes: #13865b;
  --no: #b3361d;
  --star: #00b67a;
  --tbd-bg: #fff4d6;
  --tbd-fg: #7a5600;
  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tbd { background: var(--tbd-bg); color: var(--tbd-fg); border: 1px dashed var(--tbd-fg); border-radius: 6px; padding: 0 6px; font-weight: 600; white-space: nowrap; }

/* Nav */
/* Over the navy hero the header is white with the navy logo. Once the hero scrolls past
   (.past-hero, set by the script near the end of the page), it turns navy with a white logo. */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); transition: background .25s, color .25s, box-shadow .25s; --logo-ink: var(--navy); --logo-bubble: #e3ecfb; }
.nav.past-hero { background: var(--navy); color: #fff; box-shadow: none; --logo-ink: #fff; --logo-bubble: rgba(255, 255, 255, 0.18); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo svg { flex: none; }
.logo-mark { color: var(--logo-ink, var(--navy)); }
.logo-mark .bubble { fill: var(--logo-bubble, #e3ecfb); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pill.solid { background: #fff; color: var(--navy); border-color: #fff; }
.pill.call { cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pill.call:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav:not(.past-hero) .pill { border-color: rgba(19, 32, 92, 0.3); }
.nav:not(.past-hero) .pill.call:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 1000px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav .pill.call .num { display: none; } .nav .pill.call { padding: 10px; } }

/* Hero */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; padding-block: 44px 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
.hero h1 em { font-style: normal; color: #ffb39f; }
.hero .lede { margin-top: 16px; font-size: 18px; color: #d6daf3; max-width: 34em; }
.who { margin-top: 26px; }
.who-label { font-size: 14px; font-weight: 600; color: #c4c9ec; margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); color: #fff; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.2; text-align: center; transition: background .15s, border-color .15s; }
.tile:hover { background: rgba(255,255,255,0.1); }
.tile[aria-pressed="true"] { background: rgba(255,255,255,0.18); border-color: #fff; }
.tile svg { width: 26px; height: 26px; }
.zip { margin-top: 18px; display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 6px; max-width: 520px; box-shadow: 0 10px 30px rgba(5, 10, 40, 0.35); }
.zip label { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 8px 4px 22px; color: var(--muted); font-size: 13px; }
.zip input { border: 0; outline: 0; padding: 0; font-size: 18px; font-weight: 600; color: var(--ink); background: transparent; width: 100%; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 16px 28px; font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s; }
.cta:hover { background: var(--coral-dark); }
.zip-msg { margin-top: 12px; min-height: 1.5em; font-size: 15px; color: #e7e9fa; max-width: 520px; }
.zip-msg.err { color: #ffc2b3; }
.rating { margin-top: 10px; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.35; color: #d6daf3; }
.rating > span:last-child { min-width: 0; }
.stars { display: inline-flex; flex: none; gap: 2px; }
.stars i { width: 20px; height: 20px; background: var(--star); display: grid; place-items: center; }
.stars i.part { background: linear-gradient(90deg, var(--star) 80%, #c9cde6 80%); }
.stars i::before { content: ""; width: 13px; height: 13px; background: #fff; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.hero-foot { margin-top: 18px; font-size: 15px; color: #c4c9ec; }
.hero-foot a { color: #fff; font-weight: 600; }

/* Hero visual */
.visual { position: relative; min-height: 470px; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings span { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.12); }
.rings span:nth-child(1) { width: 260px; height: 260px; background: rgba(255,255,255,0.05); }
.rings span:nth-child(2) { width: 380px; height: 380px; }
.rings span:nth-child(3) { width: 500px; height: 500px; border-color: rgba(255,255,255,0.07); }
.phone { position: absolute; right: 8%; top: 4px; width: 250px; background: #0b1238; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.screen { background: #fff; color: var(--ink); border-radius: 26px; padding: 18px 14px 16px; min-height: 440px; }
.screen .notch { width: 80px; height: 18px; background: #0b1238; border-radius: 0 0 12px 12px; margin: -18px auto 12px; }
.screen h4 { margin: 0; font-family: var(--f-display); font-size: 15px; }
.screen .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.clinic { border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; margin-top: 10px; display: grid; gap: 3px; font-size: 12px; }
.clinic b { font-size: 13px; }
.clinic .row { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); }
.clinic .slot { margin-top: 4px; display: inline-flex; align-self: start; background: var(--tint); color: var(--navy-2); font-weight: 600; border-radius: 999px; padding: 3px 9px; font-size: 11.5px; }
.clinic.best { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); }
.example-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 10px; }
.float-card { position: absolute; left: 0; bottom: 18px; width: 268px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px 16px 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.float-card .t { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.float-card .s { font-size: 12px; color: var(--muted); }
.float-card svg { display: block; width: 100%; height: auto; margin-top: 6px; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .visual { min-height: 500px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zip { flex-direction: column; align-items: stretch; border-radius: 20px; gap: 6px; }
  .zip label { padding: 8px 14px; }
  .visual { min-height: 560px; }
  .phone { right: 50%; transform: translateX(50%); }
  .float-card { left: 50%; transform: translateX(-50%); bottom: 0; width: min(268px, 100%); }
  .rings span:nth-child(3) { display: none; }
}

/* Brand strip */
.brands { border-bottom: 1px solid var(--line); }
.brands .wrap { padding-block: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; }
.brands .lbl { width: 100%; text-align: center; }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 24px; color: #2b3159; letter-spacing: -0.01em; opacity: .8; }
.brand-logo { display: block; height: auto; max-width: 100%; }
.brand.more { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: 1; color: var(--muted); }

/* Section scaffolding */
section.band { padding-block: 84px; }
section.band.tint { background: var(--tint); }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--navy); }
.head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Journey */
.steps { display: grid; gap: 72px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.step:nth-child(even) .step-art { order: -1; }
.step-num { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--coral-dark); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.step-num span { width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; letter-spacing: 0; }
.step h3 { margin-top: 12px; font-size: clamp(24px, 2.6vw, 32px); color: var(--navy); }
.step p { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 30em; }
.step .link { display: inline-block; margin-top: 18px; color: var(--navy-2); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--coral); }
.step-art { background: var(--tint); border-radius: 22px; padding: 32px; display: grid; place-items: center; min-height: 300px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(19, 32, 92, 0.1); padding: 18px 20px; width: 100%; max-width: 380px; }
.card .t { font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--navy); }
.qrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 14px; color: var(--ink); }
.chip.on { border-color: var(--navy-2); background: var(--navy-2); color: #fff; }
.bar { height: 6px; background: var(--line); border-radius: 99px; margin-top: 16px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 66%; background: var(--coral); }
.mini { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.timeline { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; font-size: 14px; }
.timeline .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.timeline .done .dot { background: var(--yes); border-color: var(--yes); }
.timeline .done .dot::after { content: ""; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.timeline .now .dot { border-color: var(--coral); }
.timeline .now .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.timeline small { display: block; color: var(--muted); }

/* Stats */
.mission { text-align: center; max-width: 820px; margin: 0 auto; }
.mission h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.mission p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.stats { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { text-align: center; padding: 28px 22px; border-top: 1px solid var(--line); }
.stat:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.stat .n { font-family: var(--f-display); font-weight: 700; font-size: 48px; color: var(--navy-2); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .k { font-family: var(--f-display); font-weight: 600; font-size: 20px; margin-top: 10px; color: var(--ink); }
.stat .d { margin-top: 10px; font-size: 14.5px; color: var(--muted); max-width: 24em; margin-inline: auto; }
@media (max-width: 760px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat:not(:nth-child(3n+1)) { border-left: 0; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step:nth-child(even) .step-art { order: 0; }
  section.band { padding-block: 60px; }
}

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.story blockquote { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.story blockquote::before { content: "\201C"; display: block; font-family: var(--f-display); font-size: 54px; line-height: .6; color: var(--coral); margin-bottom: 8px; }
.story .who2 { margin-top: auto; font-size: 14px; color: var(--muted); }
.story .who2 b { color: var(--ink); display: block; }
.source-note { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .stories { grid-template-columns: minmax(0, 1fr); } }

/* Glasses reframe */
.reframe { background: var(--navy); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.reframe h2 { font-size: clamp(26px, 3vw, 36px); }
.reframe p { margin-top: 14px; color: #d6daf3; font-size: 17px; }
.reframe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reframe li { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 14px 16px; font-size: 15.5px; }
.reframe li b { display: block; font-family: var(--f-display); font-size: 17px; margin-bottom: 2px; }
@media (max-width: 860px) { .reframe { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; } }

/* Two paths */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.path { border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.path h3 { font-size: 26px; color: var(--navy); }
.path p { color: var(--muted); font-size: 16.5px; }
.path .cta { align-self: start; margin-top: auto; }
.cta.ghost { background: transparent; color: var(--navy-2); box-shadow: inset 0 0 0 2px var(--navy-2); }
.cta.ghost:hover { background: var(--tint); }
.path .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--navy-2); }
@media (max-width: 760px) { .paths { grid-template-columns: minmax(0, 1fr); } .path { padding: 24px; } }

/* Support */
.support { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.support-list { display: grid; gap: 26px; }
.support-list h3 { font-size: 20px; color: var(--navy); }
.support-list p { margin-top: 6px; color: var(--muted); }
.callbox { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(19, 32, 92, 0.08); }
.callbox h3 { font-size: 22px; color: var(--navy); }
.callbox .num { font-family: var(--f-display); font-size: 30px; font-weight: 700; margin-top: 12px; color: var(--ink); }
.hours { margin-top: 14px; display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.callbox .cta { margin-top: 20px; width: 100%; }
@media (max-width: 860px) { .support { grid-template-columns: minmax(0, 1fr); } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 820px; font-size: 15px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--muted); background: var(--tint); }
thead th.us { background: var(--navy); color: #fff; }
td.us { background: #f2f4ff; font-weight: 600; }
tbody th { font-weight: 600; color: var(--ink); width: 22%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.ty, .tn, .tm { display: inline-flex; align-items: center; gap: 6px; }
.ty::before, .tn::before, .tm::before { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.ty::before { content: "\2713"; background: var(--yes); }
.tn::before { content: "\2715"; background: var(--no); }
.tm::before { content: "~"; background: #9a9db5; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--coral); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 22px 22px; color: var(--muted); display: grid; gap: 10px; }
.faq .a a { color: var(--navy-2); font-weight: 600; }
.byline { max-width: 860px; margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.byline b { color: var(--ink); }


/* Final CTA + footer */
.final { background: var(--navy); color: #fff; text-align: center; }
.final .wrap { padding-block: 72px; display: grid; justify-items: center; gap: 16px; }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); }
.final p { color: #d6daf3; font-size: 17px; max-width: 36em; }
footer { background: #0c1540; color: #c4c9ec; font-size: 15px; }
footer .wrap { padding-block: 56px 32px; }
footer .logo { color: #fff; font-size: 24px; --logo-ink: #fff; --logo-bubble: rgba(255, 255, 255, 0.18); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.foot-line { display: inline-flex; align-items: center; gap: 10px; color: #c4c9ec; text-decoration: none; }
.foot-line svg { flex: none; color: #fff; }
.foot-line b { color: #fff; font-weight: 700; }
a.foot-line:hover b { text-decoration: underline; }
.foot-line .sep { color: #fff; opacity: .6; margin-inline: 6px; }
.foot-line .nw { white-space: nowrap; }
.foot-links { display: grid; gap: 12px; align-content: start; min-width: 180px; }
.foot-links a { color: #c4c9ec; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 10px; font-size: 13px; color: #aab0d6; }
.foot-bottom .copy { color: #fff; font-size: 14px; }

/* Quiz illustration in How it works (the quiz itself: shared/mhh-quiz.css) */
.card.snap { margin: 0; background: var(--tint); box-shadow: 0 14px 34px rgba(19, 32, 92, 0.14); border: 1px solid var(--line); padding: 18px 16px 20px; max-width: 400px; }
.snap .quiz-timer { font-size: 12px; }
.snap .stages { margin-top: 12px; gap: 6px; }
.snap .stage-ico, .snap .stage-ico svg { width: 20px; height: 20px; }
.snap .stage-line { height: 3px; }
.snap .q-title { margin-top: 16px; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--ink); }
.snap .opts { margin-top: 12px; gap: 8px; }
.snap .opt { padding: 9px 10px; gap: 10px; font-size: 13.5px; border-radius: 12px; cursor: default; }
.snap .opt:hover { border-color: transparent; }
.snap .opt[aria-pressed="true"] { border-color: var(--navy-2); }
.snap .opt .oi { width: 30px; height: 30px; border-radius: 9px; }
.snap .opt .oi svg { width: 17px; height: 17px; }
.snap .opt .tick { width: 18px; height: 18px; }

/* ===== PART 2: local-page components (lc- prefix, so they never collide with PART 1) ===== */
.lc-place { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12); color: #fff; border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.lc-place svg { color: #ffb39f; flex: none; }
.lc-guide { margin-top: 14px; font-size: 15px; color: #c4c9ec; max-width: 34em; }
.lc-guide b { color: #fff; }

/* Featured clinic card (hero, right column) */
.lc-feature { background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(5, 10, 40, 0.35); max-width: 480px; width: 100%; justify-self: center; }
.lc-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; background: #fff4ef; border-bottom: 1px solid #ffd9cc; }
.lc-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); }
.lc-feature-top small { font-size: 12.5px; color: var(--muted); }
.lc-map { position: relative; height: 154px; overflow: hidden; background: #e6e9f2; }
/* Google embed: the top 36px (its "Maps" link-out button) is cropped and clicks are blocked.
   The iframe stays 190px tall: at 200px+ Google adds more controls. */
.lc-map iframe { position: absolute; left: 0; top: -36px; width: 100%; height: 190px; border: 0; pointer-events: none; }
.lc-map .shield { position: absolute; inset: 0; }
.lc-feature-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.lc-feature h2 { font-size: 22px; color: var(--navy); }
.lc-rating { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.lc-rating b { color: var(--ink); }
.lc-rating .st { color: var(--star); letter-spacing: 1px; }
.lc-facts { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px 10px; font-size: 14.5px; color: var(--ink); }
.lc-facts svg { width: 18px; height: 18px; color: var(--navy-2); margin-top: 2px; }
.lc-facts a { color: var(--navy-2); font-weight: 600; }
.lc-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 6px; }
.lc-actions .cta { padding: 13px 14px; font-size: 15px; }
@media (max-width: 420px) { .lc-actions { grid-template-columns: minmax(0, 1fr); } }

/* Trust strip under the hero */
.lc-trust { border-bottom: 1px solid var(--line); background: #fff; }
.lc-trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 26px; text-align: center; }
.lc-trust b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--navy-2); line-height: 1.1; }
.lc-trust span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .lc-trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } }

/* Compare nearby */
/* Featured + up to 3 nearby: one row on wide screens, 2 x 2 on medium, stacked on phones. */
.lc-compare { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1060px) { .lc-compare { grid-template-columns: repeat(min(var(--n, 4), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .lc-compare { grid-template-columns: minmax(0, 1fr); } }
.lc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.lc-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lc-card .lc-facts { font-size: 14px; grid-template-columns: 16px minmax(0, 1fr); gap: 6px 8px; }
.lc-card .lc-facts svg { width: 16px; height: 16px; }
.lc-card .lc-facts a { color: var(--navy-2); font-weight: 600; }
.lc-card.is-featured { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.lc-card .lc-badge { font-size: 11px; }
.lc-card h3 { font-size: 18px; color: var(--navy); }
.lc-card .lc-dist { font-size: 13.5px; font-weight: 600; color: var(--navy-2); }
.lc-card p { font-size: 14.5px; color: var(--muted); }
.lc-card .lc-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14.5px; font-weight: 700; }
.lc-card .lc-links a { color: var(--navy-2); text-decoration: none; border-bottom: 2px solid var(--coral); }
.lc-help { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; text-align: center; color: var(--muted); }

/* How it works: 4 compact steps */
.lc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.lc-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.lc-step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; }
.lc-step h3 { margin-top: 12px; font-size: 18px; color: var(--navy); }
.lc-step p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .lc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lc-steps { grid-template-columns: minmax(0, 1fr); } }

/* Clinic details */
.lc-details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: stretch; }
.lc-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.lc-box h3 { font-size: 20px; color: var(--navy); }
.lc-box + .lc-box, .lc-photo + .lc-box { margin-top: 18px; }
.lc-hours { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; font-size: 15px; }
.lc-hours dt { font-weight: 700; color: var(--ink); }
.lc-hours dd { margin: 0; color: var(--muted); }
.lc-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--tint); }
/* Details photo fills the full height of the two boxes beside it (stacked on narrow screens). */
.lc-details-media { display: flex; }
.lc-details-media .lc-photo { flex: 1; aspect-ratio: auto; min-height: 280px; }
.lc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* No clinic photo: the map stretches to the height of "Hours & location" + "Ready to book?". */
.lc-details-map { flex: 1; display: flex; padding: 0; overflow: hidden; min-height: 280px; }
.lc-details-map .lc-map { flex: 1; height: auto; }
.lc-details-map .lc-map iframe { height: calc(100% + 36px); }
/* Tall maps also get Google's place card ("Open in Maps") in the top corner: crop it off too.
   Only the top is cropped, so Google's attribution at the bottom stays visible. */
@media (min-width: 861px) { .lc-details-map .lc-map iframe { top: -132px; height: calc(100% + 132px); } }
@media (max-width: 860px) { .lc-details { grid-template-columns: minmax(0, 1fr); } .lc-details-media .lc-photo { aspect-ratio: 3 / 2; min-height: 0; } .lc-details-map { aspect-ratio: 3 / 2; min-height: 0; } }

/* Why book through My Hearing Helper */
.lc-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lc-why div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.lc-why h3 { font-size: 18px; color: var(--navy); }
.lc-why p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .lc-why { grid-template-columns: minmax(0, 1fr); } }

.lc-disclaimer { font-size: 13px; color: #aab0d6; }

/* Provider spotlight (only on clinics with a provider in the CSV) */
/* Photo (left) runs exactly from the name to the buttons (right); the label sits above the name. */
.lc-pro { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 56px; row-gap: 10px; max-width: 980px; }
.lc-pro > .eyebrow { grid-column: 2; grid-row: 1; }
.lc-pro-body { grid-column: 2; grid-row: 2; }
.lc-pro-photo { position: relative; grid-column: 1; grid-row: 2; border-radius: 24px; overflow: hidden; background: var(--tint); box-shadow: 0 20px 50px rgba(19, 32, 92, 0.16); }
.lc-pro-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.lc-pro h2 { margin-top: 0; line-height: 1.05; font-size: clamp(32px, 4vw, 46px); color: var(--navy); }
.lc-pro-at { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--coral-dark); }
.lc-pro-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lc-pro-facts li { background: var(--tint); color: var(--navy-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.lc-pro-bio { margin-top: 18px; font-size: 17px; color: var(--ink); max-width: 36em; }
.lc-pro-quote { margin: 18px 0 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--coral); font-size: 17px; font-style: italic; color: var(--muted); max-width: 36em; }
.lc-pro-actions { margin-top: 24px; max-width: 420px; }
/* No provider photo: one centered column. */
.lc-pro.lc-pro--nophoto { grid-template-columns: minmax(0, 1fr); max-width: 760px; text-align: center; justify-items: center; }
.lc-pro--nophoto > .eyebrow, .lc-pro--nophoto .lc-pro-body { grid-column: 1; }
.lc-pro--nophoto .lc-pro-facts { justify-content: center; }
.lc-pro--nophoto .lc-pro-bio, .lc-pro--nophoto .lc-pro-quote { margin-inline: auto; }
.lc-pro--nophoto .lc-pro-quote { border-left: 0; padding: 0; }
.lc-pro--nophoto .lc-pro-quote::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--coral); margin: 0 auto 12px; }
.lc-pro--nophoto .lc-pro-actions { margin-inline: auto; width: 100%; }
@media (max-width: 860px) {
  .lc-pro { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .lc-pro > .eyebrow, .lc-pro-photo, .lc-pro-body { grid-column: 1; grid-row: auto; }
  .lc-pro-photo { max-width: 260px; aspect-ratio: 4 / 5; }
}

/* Provider line in the hero's featured card */
.lc-pro-mini { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--tint); text-decoration: none; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.lc-pro-mini img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.lc-pro-mini b { display: block; color: var(--navy); font-size: 15px; }
.lc-pro-mini:hover b { text-decoration: underline; }

/* Featured clinic card in the hero: no buttons (the ZIP form beside it is the action), so the
   clinic details are shown larger. The map keeps its height: a taller Google embed adds controls. */
.lc-feature { max-width: 540px; border-radius: 24px; }
.lc-feature-top { padding: 16px 24px; }
.lc-feature .lc-badge { font-size: 13.5px; }
.lc-feature-top small { font-size: 14px; }
.lc-feature-body { padding: 24px 28px 28px; gap: 16px; }
.lc-feature h2 { font-size: 28px; line-height: 1.15; }
.lc-feature .lc-rating { font-size: 16px; gap: 8px; }
.lc-feature .lc-rating .st { font-size: 18px; }
.lc-feature .lc-facts { font-size: 17px; grid-template-columns: 22px minmax(0, 1fr); gap: 12px 12px; }
.lc-feature .lc-facts svg { width: 22px; height: 22px; margin-top: 1px; }
.lc-feature .lc-pro-mini { padding: 12px 14px; gap: 14px; font-size: 15px; border-radius: 14px; }
.lc-feature .lc-pro-mini img { width: 52px; height: 52px; }
.lc-feature .lc-pro-mini b { font-size: 18px; }
@media (max-width: 480px) {
  .lc-feature-top small { display: none; }
  .lc-feature-body { padding: 20px; gap: 14px; }
  .lc-feature h2 { font-size: 24px; }
  .lc-feature .lc-facts { font-size: 16px; }
}

/* Hero start button (in place of the homepage's ZIP form) */
/* As wide as the who-tiles row above it, so the two line up. */
.lc-start { margin-top: 20px; display: grid; justify-items: center; gap: 10px; max-width: 520px; }
.lc-start .cta { width: 100%; font-size: 19px; padding: 19px 40px; box-shadow: 0 10px 30px rgba(5, 10, 40, 0.35); }
.lc-start + .rating { margin-top: 24px; }

/* Phones: tighter hero so "Get matched" shows on the first screen. The "national guide" line moves
   below the button (flex order), and the tiles become compact rows. */
@media (max-width: 520px) {
  .hero .wrap { padding-block: 20px 30px; }
  .hero .wrap > div:first-child { display: flex; flex-direction: column; }
  .lc-place { align-self: flex-start; margin-bottom: 10px; padding: 4px 12px 4px 8px; font-size: 13px; }
  .hero h1 { font-size: 30px; line-height: 1.12; }
  .hero .lede { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .lc-guide { order: 5; margin-top: 18px; font-size: 14px; }
  .who { margin-top: 16px; } .who-label { margin-bottom: 8px; }
  .tiles { gap: 8px; }
  .tile { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px 12px; min-height: 48px; text-align: left; }
  .tile svg { width: 22px; height: 22px; flex: none; }
  .lc-start { margin-top: 12px; }
  .lc-start .cta { font-size: 18px; padding: 21px 24px; }
}
