/* ============================================================
   Zoomdoc NY — Shared Stylesheet  (v5 · branded + refined)
   Doctor's Navy foundations · Vital Lime as the single accent
   Fraunces (brand serif) + Plus Jakarta Sans
   ============================================================ */

:root {
  --navy: #0A1E44;         /* Doctor's Navy */
  --navy-deep: #071634;
  --navy-soft: #17325F;
  --lime: #DDF76A;         /* Vital Lime */
  --lime-deep: #B9D24B;
  --lime-tint: #F6FADF;
  --steel: #308DFC;        /* Response Blue */
  --mobility: #61A1FF;     /* Mobility Blue */
  --indigo: #143E91;       /* Fleet Indigo */
  --cloud: #B8D3F4;        /* Caring Cloud */
  --ink: #17233C;
  --slate: #566076;
  --muted: #8A92A4;
  --line: #DFE9F7;
  --bg: #FBFDFF;
  --panel: #EEF5FF;        /* Pulse Mist */
  --paper: #FFFFFF;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 12px 36px rgba(7, 22, 52, 0.07);
  --shadow-lg: 0 30px 70px rgba(7, 22, 52, 0.16);
  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

.container { width: min(1180px, 90%); margin: 0 auto; }
.container.narrow { width: min(850px, 90%); }

h1, h2 { font-family: var(--serif); color: var(--navy); line-height: 1.08; font-weight: 580; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 4.8vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-family: var(--font); color: var(--navy); font-size: 1.08rem; font-weight: 700; }
h4, h5 { font-family: var(--font); color: var(--navy); font-weight: 700; }
p { color: var(--slate); }
em.accent { font-style: italic; color: var(--steel); }
.lime { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 12px; font-weight: 800; font-size: 0.94rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: var(--font);
  transition: all .2s ease; text-decoration: none !important; line-height: 1.25;
}
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #D3EF54; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(185,210,75,.4); }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--indigo); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: #CBD5E3; color: var(--navy); background: var(--paper); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost-light { border-color: rgba(255,255,255,.36); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); }
.btn-sm { padding: 11px 21px; font-size: 0.86rem; border-radius: 10px; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--indigo); color: #CFE0F8; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--lime); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar svg { vertical-align: -2px; margin-right: 6px; }
.tb-emergency { color: #FFDDDD; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; gap: 24px; }
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 27px; align-items: center; }
.main-nav a {
  color: var(--slate); font-weight: 650; font-size: 0.93rem;
  padding: 6px 1px; position: relative; transition: color .18s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px;
  border-radius: 3px; background: var(--lime); transition: right .2s ease;
}
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after, .main-nav a:hover::after { right: 0; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 25px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--steel); font-weight: 700; font-size: 0.73rem;
  letter-spacing: .17em; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--lime); }
.section.navy .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .hero .eyebrow { color: #FFFFFF; }

/* ---------- Hero (navy, branded) ---------- */
.hero {
  background:
    radial-gradient(880px 460px at 88% -8%, rgba(255,255,255,.2), transparent 62%),
    linear-gradient(165deg, var(--mobility) 0%, var(--steel) 55%, var(--indigo) 100%);
  padding: 92px 0 98px; overflow: hidden; position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero h1 .lime { color: var(--lime); }
.hero h1 em.accent { color: var(--lime); font-style: italic; }
.hero .lead { font-size: 1.08rem; margin: 26px 0 36px; max-width: 54ch; color: #F0F6FF; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-tags { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: rgba(255,255,255,.88); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.hero-tags span { display: inline-flex; align-items: center; gap: 12px; }
.hero-tags span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); display: inline-block; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; }
.hero-media::after {
  content: ""; position: absolute; inset: -12px -12px 12px 12px; z-index: 0;
  border: 1px solid rgba(221,247,106,.32); border-radius: 26px; pointer-events: none;
}
.hero-media img { position: relative; z-index: 1; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { text-align: center; padding: 35px 20px; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: 0; }
.stat-cell .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 580; color: var(--navy); line-height: 1; }
.stat-cell .n i { color: var(--steel); font-style: italic; }
.stat-cell .l { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 9px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.paper, .section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.navy { background: linear-gradient(170deg, var(--steel), var(--indigo)); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy h2 .lime, .section.navy h2 em.accent { color: var(--lime); }
.section.navy p { color: #E7F0FF; }
.section-head { max-width: 670px; margin: 0 auto 58px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow.center::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--lime); }
.section-head p { margin-top: 15px; font-size: 1.03rem; }
.section-head.left { margin: 0 0 50px; text-align: left; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 33px 29px; transition: all .25s ease; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #D6DEE9; }
.card .icon {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 19px;
}
.card:hover .icon { background: var(--lime-tint); border-color: #DCE8AC; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .92rem; }
.card .idx {
  position: absolute; top: 27px; right: 27px;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted); font-weight: 500;
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.split-media::after { display: none; }
.checklist { list-style: none; margin-top: 27px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 650; font-size: .96rem; }
.checklist li svg { flex: none; margin-top: 3px; }
.checklist li small { display: block; color: var(--slate); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.step { padding: 40px 33px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); transition: .25s; }
.step:hover { background: rgba(255,255,255,.085); transform: translateY(-3px); }
.step .num { font-family: var(--serif); font-style: italic; font-size: 2.3rem; font-weight: 520; color: var(--lime); line-height: 1; margin-bottom: 17px; display: block; }
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: #E7F0FF; font-size: .92rem; }
.section:not(.navy) .step { border-color: var(--line); background: var(--paper); }
.section:not(.navy) .step h3 { color: var(--navy); }
.section:not(.navy) .step p { color: var(--slate); }
.section:not(.navy) .step .num { color: var(--steel); }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; transition: .22s; }
.tile:hover { box-shadow: var(--shadow); border-color: #D6DEE9; }
.tile .icon { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; }
.tile h3 { font-size: .99rem; margin-bottom: 3px; }
.tile p { font-size: .86rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 34px 32px; border: 1px solid var(--line); }
.quote::before {
  content: "“"; font-family: var(--serif); font-size: 4rem; line-height: .6;
  color: var(--mobility); display: block; margin-bottom: 15px;
}
.quote .stars { color: var(--steel); letter-spacing: 3px; margin-bottom: 11px; font-size: .8rem; }
.quote p { font-size: 1.07rem; color: var(--navy); font-style: italic; font-family: var(--serif); font-weight: 490; line-height: 1.5; }
.quote footer { margin-top: 16px; font-weight: 700; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--steel), var(--indigo) 82%);
  border-radius: 24px; padding: 66px 62px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 310px; height: 310px;
  border-radius: 50%; border: 1px solid rgba(221,247,106,.3);
}
.cta-band::before {
  content: ""; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px;
  border-radius: 50%; border: 1px solid rgba(184,211,244,.18);
}
.cta-band h2 { color: #fff; margin-bottom: 11px; }
.cta-band p { color: #E7F0FF; max-width: 48ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; z-index: 1; }

/* ---------- Page hero (inner pages, navy) ---------- */
.page-hero {
  background:
    radial-gradient(620px 300px at 84% 0%, rgba(255,255,255,.18), transparent 62%),
    linear-gradient(160deg, var(--steel), var(--indigo));
  color: #fff; padding: 78px 0 68px; text-align: center; position: relative;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { color: #fff; }
.page-hero h1 em, .page-hero h1 .lime { font-style: italic; color: var(--lime); }
.page-hero p { color: #E7F0FF; max-width: 62ch; margin: 16px auto 0; font-size: 1.02rem; }
.crumbs { margin-top: 22px; font-size: .71rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); font-weight: 700; }
.crumbs a { color: #EAF3FF; }
.crumbs span { color: var(--lime); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 11px; }
.acc-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: .2s; }
.acc-item.open { border-color: #C6D2E2; box-shadow: var(--shadow); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 21px 25px; font: 700 .99rem var(--font); color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-q .chev { flex: none; width: 31px; height: 31px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; transition: .22s; }
.acc-item.open .acc-q .chev { background: var(--steel); border-color: var(--steel); transform: rotate(180deg); }
.acc-item.open .acc-q .chev svg path { stroke: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a p { padding: 0 25px 22px; font-size: .94rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .81rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font: 500 .95rem var(--font); color: var(--ink); background: var(--paper); transition: .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(48,141,252,.14);
}
.field textarea { min-height: 110px; resize: vertical; }
.check {
  display: flex; gap: 13px; align-items: flex-start; padding: 17px 19px;
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s;
}
.check:hover { border-color: #BFCBDC; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--steel); flex: none; cursor: pointer; }
.check span { font-size: .87rem; color: var(--slate); line-height: 1.6; }
.check b { color: var(--navy); display: block; margin-bottom: 2px; }
.check a { text-decoration: underline; text-underline-offset: 2px; color: var(--steel); }
.checks-inline { display: flex; flex-wrap: wrap; gap: 9px; }
.checks-inline label {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px;
  border: 1.5px solid var(--line); border-radius: 11px; cursor: pointer;
  font-weight: 600; font-size: .88rem; color: var(--ink); background: var(--paper); transition: .15s;
}
.checks-inline label:hover { border-color: var(--navy); }
.checks-inline input { accent-color: var(--steel); width: 16px; height: 16px; }
.form-note { font-size: .79rem; color: var(--muted); margin-top: 15px; }
.form-success {
  display: none; background: var(--lime-tint); border: 1.5px solid var(--lime-deep);
  color: #46520F; font-weight: 700; padding: 15px 20px; border-radius: 11px; margin-top: 18px; font-size: .9rem;
}
.form-success.show { display: block; }

/* ---------- Info cards / contact ---------- */
.info-card { text-align: center; padding: 40px 26px; }
.info-card .icon { margin: 0 auto 17px; }
.info-card a.big { font-family: var(--serif); font-size: 1.4rem; font-weight: 580; color: var(--navy); }
.info-card a.big:hover { color: var(--steel); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hours-table td:first-child { font-weight: 700; color: var(--navy); }
.hours-table td:last-child { text-align: right; color: var(--slate); }
.map-frame { border: 1px solid var(--line); width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Policy / legal / TCR ---------- */
.policy h2 { margin: 48px 0 15px; font-size: 1.75rem; }
.policy h2:first-of-type { margin-top: 0; }
.policy h3 { margin: 27px 0 9px; font-size: 1.04rem; }
.policy p, .policy li { color: var(--slate); font-size: .96rem; }
.policy p + p { margin-top: 12px; }
.policy ul, .policy ol { padding-left: 24px; margin: 13px 0; display: grid; gap: 8px; }
.policy .notice {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--navy);
  padding: 21px 25px; border-radius: 0 12px 12px 0; margin: 27px 0;
}
.policy .notice p { color: var(--navy); font-weight: 600; margin: 0; font-size: .94rem; }
.policy .notice.gold { border-left-color: var(--lime-deep); background: var(--lime-tint); }
.kw { display: inline-block; background: var(--indigo); color: #fff; font-weight: 800; padding: 2px 11px; border-radius: 6px; font-size: .8rem; letter-spacing: .07em; font-family: var(--font); }
.updated { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 35px; }

/* Program summary table (TCR) */
.spec-table { width: 100%; border-collapse: collapse; margin: 21px 0; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 15px 21px; text-align: left; font-size: .91rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--indigo); color: #fff; font-family: var(--font); font-weight: 700; width: 235px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { color: var(--slate); }

/* Sample SMS bubbles */
.sms-samples { display: grid; gap: 13px; margin: 23px 0; }
.sms-bubble {
  background: var(--indigo); color: #DAE3F2; padding: 16px 21px; max-width: 560px;
  border-radius: 16px 16px 16px 5px; font-size: .89rem; line-height: 1.62; font-family: var(--font);
}
.sms-bubble .from { display: block; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--lime); font-weight: 800; margin-bottom: 6px; }

/* Keyword cards */
.kw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 25px 0; }
.kw-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 27px; }
.kw-card h3 { margin: 0 0 9px !important; }
.kw-card p { font-size: .89rem; }

/* ---------- Badges ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.pill { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 17px; font-weight: 650; font-size: .82rem; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: #CFE0F8; padding: 72px 0 0; font-size: .91rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 54px; }
.site-footer .f-logo img { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: #FFFFFF; font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 19px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: #DCE9FB; transition: .15s; }
.site-footer a:hover { color: var(--lime); }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact svg { flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 23px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-emergency {
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  border-radius: 13px; padding: 14px 22px; margin-bottom: 45px; text-align: center; font-size: .85rem;
}
.footer-emergency b { color: #FFE1E1; }

/* ---------- FAQ search ---------- */
.faq-search { max-width: 530px; margin: 0 auto 46px; position: relative; }
.faq-search input {
  width: 100%; padding: 16px 21px 16px 51px; border-radius: 13px; border: 1.5px solid var(--line);
  font: 500 .97rem var(--font); background: var(--paper); box-shadow: var(--shadow);
}
.faq-search input:focus { outline: none; border-color: var(--navy); }
.faq-search svg { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); }
.faq-group-title { margin: 50px 0 21px; display: flex; align-items: center; gap: 13px; }
.faq-group-title .bar { width: 28px; height: 4px; border-radius: 4px; background: var(--lime); }
.faq-group-title h2 { font-size: 1.55rem; }
.faq-empty { display: none; text-align: center; color: var(--muted); padding: 30px 0; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .hero-media { max-width: 530px; }
  .grid-3, .tiles, .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: 0; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(-n+2) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media::after { display: none; }
  .main-nav { gap: 18px; }
}
@media (max-width: 720px) {
  .topbar .tb-right { display: none; }
  .grid-3, .grid-2, .tiles, .steps, .quotes, .kw-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 50px 28px; }
  .cta-band .actions { justify-content: center; }
  .section { padding: 64px 0; }
  .hero { padding: 58px 0 64px; }
  .logo img { height: 35px; }
  .form-card { padding: 28px 20px; }
  .spec-table th { width: 125px; padding: 12px 14px; }
  .spec-table td { padding: 12px 14px; }
}

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 640px; }
.compare th, .compare td { padding: 16px 22px; text-align: center; font-size: .92rem; border-bottom: 1px solid var(--line); color: var(--slate); }
.compare thead th { background: var(--indigo); color: #fff; font-weight: 700; border-bottom: 0; }
.compare thead th.zd-h { color: var(--lime); }
.compare td:first-child, .compare thead th:first-child { text-align: left; }
.compare td:first-child { font-weight: 700; color: var(--navy); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.zd { background: var(--lime-tint); font-weight: 700; color: var(--navy); }

/* ---------- Facility audience cards ---------- */
.aud-card { display: flex; flex-direction: column; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }
.aud-card ul { list-style: none; margin: 14px 0 22px; display: grid; gap: 9px; }
.aud-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--slate); }
.aud-card ul li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-top: 7px; }

/* ---------- v6: brand presence + a11y + requirements ---------- */
::selection { background: var(--lime); color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--steel); outline-offset: 2px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
.btn-call { white-space: nowrap; }
.btn-call svg { flex: none; }
.hero::after, .page-hero::after { display: none; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: none; pointer-events: none;
}
.site-footer > .container, .site-footer .footer-bottom { position: relative; z-index: 1; }
.f-tagline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--lime); margin: -8px 0 14px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .steps.four { grid-template-columns: 1fr; }
  .header-cta .btn-call span.call-label { display: none; }
  .header-cta .btn-call { padding: 11px 13px; }
}
/* Medical director card */
.md-card { display: flex; gap: 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow); }
.md-card .md-photo { width: 128px; height: 128px; border-radius: 50%; flex: none; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.md-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 580; }
.md-card .role { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-weight: 800; margin: 4px 0 10px; }
.md-card p { font-size: .93rem; }
@media (max-width: 720px) { .md-card { flex-direction: column; text-align: center; } }

/* 3-col review grid collapse */
@media (max-width: 1024px) { .quotes[style*="repeat(3"] { grid-template-columns: 1fr !important; } }

/* ---------- v7: designer pass — product chips, sticky CTA, motion ---------- */
.hero-media .chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.97); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px 10px 12px; box-shadow: var(--shadow-lg);
  font-weight: 800; font-size: .82rem; color: var(--navy); z-index: 2; white-space: nowrap;
}
.hero-media .chip .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.hero-media .chip small { display: block; font-weight: 600; color: var(--muted); font-size: .7rem; line-height: 1.2; }
.chip-1 { top: 26px; left: -34px; }
.chip-2 { bottom: 92px; right: -26px; }
.chip-3 { bottom: -18px; left: 34px; }
@media (max-width: 1024px) {
  .chip-1 { left: 6px; } .chip-2 { right: 6px; } .chip-3 { left: 24px; }
}
.kit-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.kit-points li { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-weight: 700; font-size: .88rem; color: var(--navy); }
.kit-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
@media (max-width: 720px) { .kit-points { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(7,22,52,.12);
}
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: .9rem; }


/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
.hero-media.portrait { max-width: 400px; margin: 0 auto; }

/* ---------- v9: footer lockup ---------- */
.site-footer .f-logo img { height: 54px; }


/* ---------- v10: clean & simple pass ---------- */
.card { border-color: #E9EEF6; box-shadow: none; }
.section.paper, .section.tint { border-top: 0; border-bottom: 0; }
.tile-mini {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1.5px solid #E9EEF6; border-radius: 14px;
  padding: 18px 20px; font-weight: 700; color: var(--navy); font-size: .95rem;
  transition: .18s;
}
.tile-mini:hover { border-color: var(--steel); transform: translateY(-2px); }
.tile-mini .icon { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--panel); display: grid; place-items: center; }
.grid-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1024px) { .grid-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-tiles { grid-template-columns: 1fr; } }

/* simple two-column benefits (icon + one line) */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 60px; max-width: 960px; margin: 0 auto; }
.benefit { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.benefit .icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.benefit h3 { font-size: 1rem; margin-bottom: 2px; }
.benefit p { font-size: .9rem; }
@media (max-width: 720px) { .benefits { grid-template-columns: 1fr; } }

/* header contact menu */
.contact-menu { position: relative; }
.contact-menu .cm-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1100;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px; display: none; min-width: 250px;
}
.contact-menu.open .cm-panel, .contact-menu:focus-within .cm-panel { display: block; }
.cm-row { display: flex; gap: 10px; }
.cm-row a {
  flex: 1; text-align: center; padding: 12px 8px; border-radius: 11px; background: var(--panel);
  font-weight: 700; font-size: .78rem; color: var(--navy); letter-spacing: .04em; text-transform: uppercase;
}
.cm-row a:hover { background: var(--cloud); }
.cm-num { text-align: center; font-weight: 800; color: var(--navy); margin-top: 12px; font-size: .95rem; }
@media (max-width: 900px) { .contact-menu { display: none; } }

/* ---------- v11: distinct Zoomdoc contact button ---------- */
.btn-contact {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: .84rem; letter-spacing: .03em;
  padding: 12px 20px; border-radius: 999px; transition: .2s; line-height: 1.2;
}
.btn-contact:hover { background: var(--indigo); transform: translateY(-1px); }
.btn-contact .caret { opacity: .65; }
.contact-menu .cm-panel { background: var(--navy-deep); border: 0; }
.cm-row a { background: rgba(255,255,255,.09); color: #fff; }
.cm-row a:hover { background: var(--lime); color: var(--navy); }
.cm-num { color: #EEF5FF; }

/* ---------- v12: brand contact icons + header fit ---------- */
.btn, .btn-contact { white-space: nowrap; }
.tb-right { display: flex; align-items: center; gap: 20px; }
.cm-row a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); text-transform: none; letter-spacing: 0;
  font-size: .8rem; font-weight: 600; color: #EEF5FF; padding: 13px 8px 11px;
}
.cm-row a:hover { background: rgba(255,255,255,.14); color: #fff; }
.cm-row .ci { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
@media (max-width: 1200px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 17px; }
  .btn-contact { padding: 11px 15px; font-size: .77rem; gap: 7px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 11px 16px; font-size: .8rem; }
}

/* ---------- v13: policies hub + header policies menu ---------- */
.legal-menu { position: relative; }
.lm-btn { background: none; border: 0; cursor: pointer; padding: 10px 4px; display: flex; flex-direction: column; gap: 5px; }
.lm-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.lm-panel {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 1100; display: none;
  background: var(--mobility); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px 0; min-width: 248px;
}
.legal-menu.open .lm-panel { display: block; }
.lm-panel a { display: block; padding: 11px 24px; color: var(--navy); font-weight: 700; font-size: .93rem; }
.lm-panel a:hover { background: rgba(255,255,255,.28); }
@media (max-width: 900px) { .legal-menu { display: none; } }

.pol-nav { position: sticky; top: 72px; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); }
.pol-nav .container { display: flex; gap: 10px; overflow-x: auto; padding-top: 13px; padding-bottom: 13px; }
.pol-nav a { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--panel); color: var(--navy); font-weight: 700; font-size: .85rem; }
.pol-nav a:hover { background: var(--cloud); }
.pol-head { padding: 66px 0 0; }
.pol-head h2 { border-top: 1px solid var(--line); padding-top: 46px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.pol-head + .section { padding-top: 40px; }
.pol-head, #opt-in, #opt-out { scroll-margin-top: 150px; }

/* ---------- v14: mobile-first hardening ---------- */
.field input, .field select, .field textarea, .faq-search input { font-size: 16px; }
.nav-legal { display: none; }
@media (max-width: 900px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px 24px 20px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 1.02rem; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-legal { display: block; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
  .nav-legal a { padding: 9px 0; font-size: .92rem; color: var(--slate); font-weight: 600; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .pol-nav { top: 64px; }
  .pol-nav a { padding: 11px 18px; }
}
@media (max-width: 480px) {
  .logo img { height: 33px; }
  .header-cta .btn-lime { display: none; }
  h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-cell .n { font-size: 1.9rem; }
  .section { padding: 56px 0; }
}

/* ---------- v15: hamburger = quick actions + policies ---------- */
.main-nav .nav-portal { display: none; }
.lm-panel a b { font-weight: 800; }
.lm-div { height: 1px; background: rgba(255,255,255,.4); margin: 8px 18px; }
@media (max-width: 900px) {
  .main-nav .nav-portal { display: block; }
}

/* ---------- v16: mobile menu home + contact options on phone ---------- */
.main-nav .nav-home { display: none; }
@media (max-width: 900px) {
  .main-nav .nav-home { display: block; }
  .contact-menu { display: block; }
  .btn-contact .bc-label, .btn-contact .caret { display: none; }
  .btn-contact { padding: 11px 13px; }
}
@media (max-width: 560px) {
  .contact-menu .cm-panel { position: fixed; left: 14px; right: 14px; top: 72px; min-width: 0; }
}

/* ---------- v17: real menus ---------- */
.nav-legal a { display: block; }
.lm-panel { min-width: 218px; }

/* ---------- v18: desktop hamburger mirrors mobile menu ---------- */
.lm-panel { max-height: calc(100vh - 110px); overflow-y: auto; }
.lm-panel a { padding: 10px 24px; }

/* v19: remove offset frame behind hero photo */
.hero-media::after { display: none; }
