/* =========================================================================
   Apex Medical Center — site styles
   Palette from the logo: deep teal + ink, warm gold accent, warm neutrals.
   ========================================================================= */

@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/LibreFranklin-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/PublicSans-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/assets/fonts/PublicSans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/AtkinsonHyperlegible-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/fonts/AtkinsonHyperlegible-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0f1f1e;
  --text: #24302f;
  --muted: #55625f;
  --line: #e6e1d6;
  --line-2: #d8d2c4;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --sand: #f4efe3;
  --sand-2: #ece5d4;
  --teal-950: #082827;
  --teal-900: #0b3634;
  --teal-800: #0d4644;
  --teal-700: #105754;
  --teal-600: #17706b;
  --teal-500: #2b8f88;
  --teal-200: #bfe0db;
  --teal-100: #e2f1ee;
  --teal-50: #f1f8f6;
  --gold-700: #7c5f16;
  --gold-600: #9a7724;
  --gold-500: #c9a44c;
  --gold-400: #dcbf73;
  --gold-100: #f7eed6;
  --coral: #c8553d;
  --success: #1d7a4f;
  --error: #b3261e;

  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.09rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.24rem + 0.55vw, 1.7rem);
  --step-3: clamp(1.65rem, 1.45rem + 1vw, 2.3rem);
  --step-4: clamp(2rem, 1.65rem + 1.75vw, 3.1rem);
  --step-5: clamp(2.5rem, 1.9rem + 3vw, 4.6rem);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 30, .06), 0 1px 1px rgba(15, 31, 30, .04);
  --shadow: 0 10px 30px -12px rgba(15, 31, 30, .18), 0 2px 6px rgba(15, 31, 30, .05);
  --shadow-lg: 0 30px 60px -24px rgba(8, 40, 39, .35);
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--teal-600);
  --text-scale: 1;
  --line-height: 1.65;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
@media (max-width: 640px) {
  :root { --text-scale: .9; }
  :root input, :root select, :root textarea { font-size: max(16px, 1rem); }
}
html { -webkit-text-size-adjust: 100%; font-size: calc(100% * var(--text-scale)); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-sans); font-size: var(--step-0); line-height: var(--line-height); color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.022em; margin: 0 0 .5em; }
h3, h4, h5, h6 { letter-spacing: -.012em; font-weight: 650; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: var(--gold-100); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container.wide { width: min(100% - 2 * var(--gutter), 1360px); }
.container.narrow { width: min(100% - 2 * var(--gutter), 820px); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section.tight { padding-block: clamp(2.75rem, 5vw, 4.25rem); }
.section.sand { background: var(--sand); }
.section.teal { background: var(--teal-900); color: #dbeae7; }
.section.teal h2, .section.teal h3 { color: #fff; }
.section.white { background: var(--surface); }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .9rem; }
.section.teal .eyebrow, .on-dark .eyebrow { color: var(--gold-400); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lead { margin: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--teal-700); --b-fg: #fff; --b-bd: var(--teal-700); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); font-weight: 650; font-size: .98rem; line-height: 1.1; text-decoration: none; letter-spacing: .005em; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { --b-bg: var(--teal-900); --b-bd: var(--teal-900); color: var(--b-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn.gold { --b-bg: var(--gold-500); --b-bd: var(--gold-500); --b-fg: var(--ink); }
.btn.gold:hover { --b-bg: var(--gold-400); --b-bd: var(--gold-400); }
.btn.ghost { --b-bg: transparent; --b-fg: var(--teal-800); --b-bd: var(--line-2); }
.btn.ghost:hover { --b-bg: var(--teal-50); --b-bd: var(--teal-600); --b-fg: var(--teal-900); box-shadow: none; }
.btn.light { --b-bg: rgba(255,255,255,.08); --b-fg: #fff; --b-bd: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn.light:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn.white { --b-bg: #fff; --b-fg: var(--teal-900); --b-bd: #fff; }
.btn.white:hover { --b-bg: var(--gold-100); --b-bd: var(--gold-100); }
.btn.sm { min-height: 40px; padding: .55rem 1rem; font-size: .9rem; }
.btn.lg { min-height: 56px; padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn.block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; color: var(--teal-700); }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Utility bar ---------- */
.utility { background: var(--teal-950); color: #cfe2df; font-size: .875rem; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.utility a { color: #eaf4f2; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.utility a:hover { color: var(--gold-400); }
.utility .icon { width: 1rem; height: 1rem; color: var(--gold-400); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.utility .divider { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
@media (max-width: 860px) { .utility .hide-sm { display: none; } .utility .container { justify-content: center; } .utility-right { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 246, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,31,30,.35); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; background: none; border: 0; white-space: nowrap; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--teal-50); color: var(--teal-800); }
.nav-link[aria-current="page"], .nav-trigger.active { color: var(--teal-700); }
.nav-trigger svg { width: .9em; height: .9em; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-item { position: relative; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
.dropdown a:hover { background: var(--teal-50); color: var(--teal-800); }
.dropdown a small { display: block; color: var(--muted); font-weight: 450; font-size: .82rem; }
.dropdown .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.dropdown .ico svg { width: 20px; height: 20px; }

.mega { width: min(1100px, calc(100vw - 3rem)); padding: 1.5rem; display: grid; grid-template-columns: 2fr 1.15fr 1fr 1fr 1.25fr; gap: 1.25rem; left: 50%; }
.mega > div:first-child ul { columns: 2; column-gap: .5rem; }
.mega li { break-inside: avoid; }
.mega h3 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); margin: .2rem .5rem .5rem; font-weight: 700; }
.mega a { padding: .42rem .55rem; font-size: .92rem; font-weight: 520; }
.mega-feature { background: var(--teal-900); color: #d9ebe8; border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.mega-feature strong { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.mega-feature p { font-size: .9rem; margin: 0; }
.mega-feature .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 1180px) {
  .nav, .header-cta .hide-md { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 25, 24, .45); backdrop-filter: blur(2px); animation: fade .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; height: 100dvh; width: min(420px, 92vw); background: var(--bg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide-in .28s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: .75rem 1.25rem 2rem; flex: 1; min-height: 0; }
.drawer-body details { border-bottom: 1px solid var(--line); }
.drawer-body summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-weight: 650; font-size: 1.05rem; cursor: pointer; color: var(--ink); }
.drawer-body summary::-webkit-details-marker { display: none; }
.drawer-body summary svg { width: 18px; transition: transform .2s; }
.drawer-body details[open] summary svg { transform: rotate(180deg); }
.drawer-body ul { list-style: none; margin: 0 0 1rem; padding: 0; columns: 1; }
.drawer-body li a { display: block; padding: .5rem 0; color: var(--text); text-decoration: none; }
.drawer-body > a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.drawer-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.drawer-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; margin: .5rem 0 .2rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(30px); opacity: 0; } }

/* ---------- Hero (home) ---------- */
.hero { grid-template-columns: minmax(0, 1fr); position: relative; min-height: calc(100svh - var(--header-h) - 42px); min-height: max(560px, calc(100svh - var(--header-h) - 42px)); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; background: #1a1a1a; }
.hero-slides { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; list-style: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 70% 40%); transform: scale(1.06); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 18, 18, .82) 0%, rgba(10, 18, 18, .55) 38%, rgba(10, 18, 18, .05) 70%),
  linear-gradient(0deg, rgba(10, 18, 18, .75) 0%, rgba(10, 18, 18, 0) 45%); }
.hero-inner { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(1.75rem, 4vh, 3rem); display: grid; gap: 1.8rem; }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem); font-weight: 750; line-height: 1.06; letter-spacing: -.03em; margin-bottom: .9rem; text-wrap: balance; }
.hero p.lead { color: rgba(255,255,255,.86); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.55; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255,255,255,.9); }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust .icon { color: var(--gold-400); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-400); }
.stars svg { width: 1rem; height: 1rem; }
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-left: auto; }
@media (max-width: 640px) { .slide-caption { display: none; } .hero-controls { margin-left: 0; } .dots button { width: 26px; } .hero-actions .btn { width: 100%; } .trust { gap: .5rem 1.2rem; font-size: .88rem; } }
.slide-caption { font-size: .9rem; color: rgba(255,255,255,.85); min-width: 15ch; text-align: right; }
.slide-caption a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.slide-caption a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.dots { display: flex; gap: .45rem; }
.dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; display: grid; place-items: center; border-radius: 99px; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .3s var(--ease), background .3s; }
.dots button[aria-current="true"]::before { width: 22px; background: var(--gold-400); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(6px); }
.icon-btn:hover { background: #fff; color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Quick actions ---------- */
.quick { position: relative; z-index: 2; margin-top: -1px; background: var(--surface); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick a { display: flex; gap: 1rem; align-items: center; padding: 1.5rem 1.25rem; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); transition: background .2s; }
.quick a:first-child { border-left: 1px solid var(--line); }
.quick a:hover { background: var(--teal-50); }
.quick .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); flex: none; transition: background .2s, color .2s; }
.quick a:hover .ico { background: var(--teal-700); color: #fff; }
.quick .ico svg { width: 24px; height: 24px; }
.quick strong { display: block; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.quick span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: 1fr 1fr; } .quick a { border-bottom: 1px solid var(--line); } .quick a:nth-child(odd) { border-left: 1px solid var(--line); } }
@media (max-width: 520px) { .quick a { padding: 1.1rem .9rem; gap: .7rem; } .quick .ico { width: 42px; height: 42px; } .quick strong + span { display: none; } .quick strong { font-size: .98rem; line-height: 1.25; } }

/* ---------- Welcome / about split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / .95; }
.collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.collage figure:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage-badge { position: absolute; left: -18px; bottom: 22px; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; gap: .9rem; align-items: center; max-width: 280px; }
.collage-badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 750; letter-spacing: -.03em; color: var(--teal-700); line-height: 1; }
.collage-badge span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 560px) { .collage-badge { left: 10px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.stats div { display: grid; gap: .2rem; }
.stats strong { font-family: var(--font-display); font-weight: 750; letter-spacing: -.03em; font-size: var(--step-3); color: var(--teal-700); line-height: 1; }
.stats span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

details.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--teal-700); margin-top: .5rem; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { width: 1em; transition: transform .2s; }
details.more[open] summary svg { transform: rotate(180deg); }
details.more[open] summary .when-closed, details.more:not([open]) summary .when-open { display: none; }

/* ---------- Service cards ---------- */
.svc-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.svc-tabs button { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.svc-tabs button[aria-selected="true"] { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.svc-tabs button[aria-selected="true"] .muted { color: #b9d6d2; }
.svc-tabs button:hover:not([aria-selected="true"]) { border-color: var(--teal-600); color: var(--teal-800); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; min-height: 170px; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-200); color: var(--ink); }
.svc-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; transition: background .25s, color .25s; }
.svc-card:hover .ico { background: var(--teal-700); color: #fff; }
.svc-card .ico svg { width: 28px; height: 28px; }
.svc-card h3 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 700; margin: 0; letter-spacing: 0; }
.svc-card p { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0; }
.svc-card .arrow { position: absolute; top: 1.4rem; right: 1.4rem; width: 20px; height: 20px; color: var(--line-2); transition: color .2s, transform .2s var(--ease); }
.svc-card:hover .arrow { color: var(--teal-600); transform: translate(2px, -2px); }
.svc-group + .svc-group { margin-top: 3rem; }
.svc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.svc-group-head h3 { margin: 0; font-size: var(--step-2); }
.svc-group-head p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Why choose ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); }
.checklist .tick { width: 28px; height: 28px; border-radius: 99px; background: var(--gold-500); color: var(--ink); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 16px; height: 16px; }
.why-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(8, 40, 39, .78); backdrop-filter: blur(8px); color: #fff; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .92rem; }

/* ---------- Feature cards (stimwave, spa, ktnv) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.features.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .features, .features.two { grid-template-columns: 1fr; } }

/* As seen on KTNV: click-to-load YouTube (nothing loads from YouTube until a visitor presses play) */
.news { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.news-copy h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: .6em; }
.news-copy p { color: #cfe1dd; margin: 0 0 1.4rem; max-width: 44ch; }
.section.teal .link-arrow { color: var(--gold-400); }
.section.teal .link-arrow:hover { color: #fff; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt img { object-fit: cover; }
.yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-start; gap: .9rem; padding-left: clamp(1.25rem, 7%, 3.5rem); color: #fff; text-decoration: none; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0) 50%); }
.yt-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--gold-400); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s var(--ease); }
.yt-btn svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.yt-label { font-weight: 650; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { transform: scale(1.07); }
.yt-play:hover, .yt-play:focus-visible { color: #fff; }
.yt-play:focus-visible { outline: 3px solid var(--gold-400); outline-offset: -6px; }
@media (max-width: 900px) { .news { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .yt-label { display: none; } .yt-btn { width: 64px; height: 64px; } }
.feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.feature-media { aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; display: grid; place-items: center; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-media.contain img { object-fit: contain; padding: 1.5rem 2rem; }
.feature-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.feature-body h3 { font-size: 1.35rem; margin: 0; }
.feature-body p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature-body .link-arrow { margin-top: auto; padding-top: .6rem; }
.tag { display: inline-flex; align-self: flex-start; gap: .35rem; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); border-radius: 999px; padding: .3rem .7rem; }
.tag.gold { background: var(--gold-100); color: var(--gold-700); }

/* ---------- Providers ---------- */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.prov-grid.home { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.prov-grid.home .prov-body h3 { font-size: 1rem; }
.prov-grid.home .prov-body p { font-size: .84rem; }
@media (max-width: 1100px) { .prov-grid.home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prov-grid.home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
/* Medical reviewer byline on blog posts */
.reviewed-by { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; margin-bottom: 1.5rem; background: var(--teal-50); border: 1px solid var(--line); border-radius: var(--radius); }
.reviewed-by .rb-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.reviewed-by p { margin: 0; line-height: 1.35; }
.reviewed-by span { color: var(--muted); font-size: .9rem; }
.reviewed-by a { font-weight: 700; color: var(--ink); }
.reviewed-by small { display: block; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.prov-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.prov-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.prov-photo { position: relative; aspect-ratio: 1 / 1.05; background: linear-gradient(160deg, var(--teal-100), var(--sand)); overflow: hidden; display: grid; place-items: center; }
.prov-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.prov-card:hover .prov-photo img { transform: scale(1.03); }
.initials { font-family: var(--font-display); font-size: 3rem; color: var(--teal-700); font-weight: 700; letter-spacing: -.01em; }
.prov-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .3rem; }
.prov-body h2, .prov-body h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; margin: 0; letter-spacing: 0; line-height: 1.3; }
.prov-body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 650; color: var(--success); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: currentColor; }

/* ---------- Reviews ---------- */
.reviews-wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rating-card { background: var(--teal-900); color: #d6e9e6; border-radius: var(--radius-lg); padding: 2rem; }
@media (min-width: 961px) { .rating-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.rating-card .rc-count { display: none; }
@media (max-width: 960px) {
  .reviews-wrap { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .rating-card { padding: 1.4rem 1.4rem 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.4rem; align-items: center; }
  .rating-card > * { grid-column: 1 / -1; }
  .rating-card .eyebrow { margin-bottom: .5rem; }
  .rating-card .score { grid-column: 1; font-size: 3rem; }
  .rating-card .score small { font-size: 1.05rem; }
  .rating-card .rc-sum { grid-column: 2; }
  .rating-card .rc-count { display: block; margin: .25rem 0 0; font-size: .9rem; }
  .rating-card .rc-about { display: none; }
  .rating-card .dist { margin: 1rem 0 1.2rem; gap: .35rem; }
}
.rating-card .score { font-family: var(--font-display); font-size: 4.2rem; color: #fff; line-height: 1; font-weight: 750; letter-spacing: -.04em; }
.rating-card .score small { font-size: 1.4rem; color: #9fc2bd; }
.rating-card .stars svg { width: 1.3rem; height: 1.3rem; }
.rating-card p { margin: .8rem 0 1.4rem; }
.rating-card h2 { color: #fff; }
.rating-card .eyebrow { color: var(--gold-400); }
.slider { position: relative; min-width: 0; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.slider-track::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .slider-track { grid-auto-columns: calc((100% - 2rem) / 2.15); } }
.quote-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; margin: 0; }
.quote-card blockquote { margin: 0; font-family: var(--font-sans); font-size: 1.12rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); display: block; }
.avatar { width: 42px; height: 42px; border-radius: 99px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; font-weight: 700; flex: none; }
.who { display: flex; gap: .7rem; align-items: center; }
.slider-nav { display: flex; gap: .5rem; margin-top: 1.25rem; }
.slider-nav button { width: 46px; height: 46px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; color: var(--ink); }
.slider-nav button:hover { border-color: var(--teal-600); color: var(--teal-700); }
.slider-nav svg { width: 18px; height: 18px; }
.g-logo { width: 22px; height: 22px; }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.loc-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); position: relative; }
.loc-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-media .tag { position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.94); }
.loc-body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: .9rem; flex: 1; align-content: start; }
.loc-body h3 { margin: 0; font-size: 1.4rem; }
.loc-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.loc-meta li { display: flex; gap: .65rem; align-items: flex-start; }
.loc-meta .icon { color: var(--teal-600); margin-top: .2em; width: 1.1em; height: 1.1em; }
.loc-meta a { color: var(--text); }
.loc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .4rem; }
.socials { display: flex; gap: .4rem; }
.socials a { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.socials a:hover { color: var(--teal-700); border-color: var(--teal-600); }
.socials svg { width: 17px; height: 17px; }
.notice { display: flex; gap: .8rem; align-items: flex-start; background: var(--gold-100); border: 1px solid #ecdcae; color: #4a3a10; border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .95rem; }
.notice .icon { color: var(--gold-700); margin-top: .15em; }
.open-status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .85rem; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 9px; background: var(--muted); }
.open-status.is-open { color: var(--success); }
.open-status.is-open::before { background: var(--success); box-shadow: 0 0 0 4px rgba(29,122,79,.15); }
.open-status.is-closed { color: var(--muted); }

/* ---------- Insurance ---------- */
.ins-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 960px) { .ins-wrap { grid-template-columns: minmax(0, 1fr); } }
.ins-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.ins-logos li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); height: 84px; display: grid; place-items: center; padding: .8rem 1rem; }
.ins-logos img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .25s, opacity .25s; }
.ins-logos li:hover img { filter: none; opacity: 1; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; font-weight: 550; }
.pill-list.gold li { background: var(--gold-100); border-color: #ecdcae; color: #4a3a10; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-body time, .meta { font-size: .82rem; color: var(--muted); font-weight: 550; letter-spacing: .02em; }
.post-body h3 { font-size: 1.18rem; margin: 0; line-height: 1.28; }
.post-body p { margin: 0; font-size: .93rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.featured { display: grid; grid-template-columns: 1.2fr 1fr; grid-column: 1 / -1; }
.post-card.featured .post-media { aspect-ratio: auto; min-height: 340px; }
.post-card.featured .post-body { padding: clamp(1.5rem, 4vw, 3rem); justify-content: center; }
.post-card.featured h3 { font-size: var(--step-3); }
@media (max-width: 800px) { .post-card.featured { grid-template-columns: 1fr; } .post-card.featured .post-media { min-height: 220px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal-900); color: #d7e9e6; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,76,.35), transparent 65%); z-index: -1; }
.cta-band h2 { color: #fff; font-size: var(--step-4); margin-bottom: .6rem; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-tile { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); flex: none; }
.contact-tile .ico svg { width: 24px; height: 24px; }
.contact-tile h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin: 0 0 .2rem; letter-spacing: 0; }
.contact-tile p { margin: 0; font-size: .92rem; color: var(--muted); }
.contact-tile a.big { font-size: 1.2rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--teal-900); overflow: hidden; isolation: isolate; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,32,31,.94) 0%, rgba(8,32,31,.78) 45%, rgba(8,32,31,.35) 100%); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 70% 40%; filter: grayscale(.15); }
.page-hero:not(.has-img)::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,76,.22), transparent 62%); z-index: -1; }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; font-size: var(--step-5); font-weight: 750; letter-spacing: -.03em; line-height: 1.05; max-width: 20ch; margin-bottom: .4em; }
.page-hero p { color: rgba(255,255,255,.85); font-size: var(--step-1); max-width: 60ch; margin: 0; }
.page-hero p.eyebrow { font-size: .8rem; color: var(--gold-400); margin-bottom: 1rem; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.page-hero .hero-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--gold-400); margin-bottom: 1.2rem; }
.page-hero .hero-ico svg { width: 34px; height: 34px; }
.crumbs { font-size: .85rem; margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--gold-400); text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Content layout with sidebar ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
@media (max-width: 1000px) { .aside { position: static; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.panel h2, .panel h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.panel.dark { background: var(--teal-900); border-color: var(--teal-900); color: #d6e9e6; }
.panel.dark h2, .panel.dark h3 { color: #fff; }
.panel .btn { margin-top: .4rem; }
.panel ul.links { list-style: none; margin: 0; padding: 0; display: grid; }
.panel ul.links a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .95rem; }
.panel ul.links li:last-child a { border-bottom: 0; }
.panel ul.links a:hover { color: var(--teal-700); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: .1rem; }
.toc a { display: block; padding: .45rem .7rem; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--teal-800); border-left-color: var(--teal-600); background: var(--teal-50); }

/* ---------- Prose ---------- */
.prose { font-size: 1.075rem; line-height: 1.75; color: var(--text); max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-3); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--step-2); margin: 1.7em 0 .5em; }
.prose h4, .prose h5, .prose h6 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin: 1.6em 0 .4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--teal-600); }
.prose a { color: var(--teal-700); font-weight: 550; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.3em; border-left: 3px solid var(--gold-500); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose > :first-child { margin-top: 0; }
.prose.qa h2 { padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose.qa > h2:first-child { padding-top: 0; border-top: 0; }
.article-media { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 2.2rem; aspect-ratio: 16 / 9; background: var(--sand); }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-lead { font-size: 1.2rem; line-height: 1.65; color: var(--ink); margin-bottom: 2rem; }
.summary-lead p + p { margin-top: 1em; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 650; font-size: .93rem; color: var(--ink); }
.field .req { color: var(--error); margin-left: .15rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355625f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b19f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(23, 112, 107, .16); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { color: var(--error); font-size: .86rem; font-weight: 600; display: flex; gap: .35rem; align-items: center; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--teal-700); flex: none; }
.check strong { color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .93rem; cursor: pointer; background: #fff; }
.choice input:checked + label { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-900); }
.choice input:focus-visible + label { box-shadow: var(--focus); }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 550; }
.form-status.ok { background: #e6f4ec; color: #14573a; border: 1px solid #b8dcc7; }
.form-status.err { background: #fbe9e7; color: #7d1a14; border: 1px solid #f0c3bd; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.privacy-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); background: var(--teal-50); border-radius: 12px; padding: .8rem 1rem; }
.privacy-note .icon { color: var(--teal-600); margin-top: .1em; }

/* ---------- Downloads (forms page) ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; }
.doc { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.doc:hover { border-color: var(--teal-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.doc .ico { width: 46px; height: 54px; border-radius: 8px; background: var(--sand); color: var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; flex: none; font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.doc .ico svg { width: 22px; height: 22px; }
.doc strong { display: block; font-weight: 650; line-height: 1.3; }
.doc span { font-size: .82rem; color: var(--muted); }
.doc .dl { margin-left: auto; width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); flex: none; }
.doc .dl svg { width: 18px; height: 18px; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 1.5rem; font-weight: 750; color: var(--gold-600); display: block; margin-bottom: .4rem; }
.steps strong { display: block; color: var(--ink); margin-bottom: .2rem; }
.steps p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Gallery / video ---------- */
.gallery { columns: 3 280px; column-gap: 1rem; }
.gallery button { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); break-inside: avoid; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.video-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.video-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.video-card .play { width: 42px; height: 42px; border-radius: 99px; background: var(--teal-700); color: #fff; display: grid; place-items: center; flex: none; }
.video-card .play svg { width: 16px; height: 16px; margin-left: 2px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin-bottom: 2rem; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filter-bar .field { flex: 1 1 180px; }
.filter-bar .field label { font-size: .82rem; }
.filter-bar .check { align-self: center; color: var(--ink); font-weight: 600; font-size: .93rem; }
.result-count { font-size: .9rem; color: var(--muted); margin: -1rem 0 1.4rem; }

/* ---------- Dialog / lightbox ---------- */
dialog { border: 0; padding: 0; border-radius: var(--radius-lg); max-width: min(960px, 94vw); width: 100%; box-shadow: var(--shadow-lg); background: #fff; color: var(--text); }
dialog::backdrop { background: rgba(8, 20, 20, .7); backdrop-filter: blur(3px); }
/* Tebra scheduler (dialog + /schedule page) and Tebra email/text-link notices */
dialog.book-dialog { max-width: min(980px, 96vw); height: min(860px, 94dvh); overflow: hidden; }
dialog.book-dialog[open] { display: flex; flex-direction: column; }
.book-frame { flex: 1; min-height: 0; }
.book-frame iframe, .book-inline-frame, .notice-frame { display: block; width: 100%; height: 100%; border: 0; }
.book-help { margin: 0; padding: .7rem 1.3rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.book-inline { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; min-width: 0; }
.book-inline-frame { height: 860px; }
dialog.notice-dialog { max-width: min(640px, 94vw); }
.notice-frame { height: min(560px, 70dvh); }
@media (max-width: 640px) {
  dialog.book-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .book-inline-frame { height: 780px; }
}
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 1.2rem; margin: 0; }
.dialog-close { width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.dialog-close svg { width: 18px; }
.dialog-body { padding: 1.3rem; }
.video-frame { aspect-ratio: 16 / 10; width: 100%; border: 0; border-radius: 12px; background: #000; }
dialog.lightbox { background: transparent; box-shadow: none; max-width: 94vw; }
dialog.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
dialog.lightbox .lb-bar { display: flex; justify-content: center; gap: .6rem; margin-top: 1rem; }

/* ---------- Testimonials page ---------- */
.dist { display: grid; gap: .45rem; margin: 1.2rem 0 1.6rem; }
.dist div { display: grid; grid-template-columns: 2.6rem 1fr 3rem; align-items: center; gap: .6rem; font-size: .86rem; }
.dist .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.dist .bar span { display: block; height: 100%; background: var(--gold-400); border-radius: inherit; }
.review-list { display: grid; gap: 1rem; }
@media (max-width: 640px) {
  .filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; padding: 1rem; margin-bottom: 1.25rem; }
  .filter-bar .field:first-child { grid-column: 1 / -1; }
  .review-list { gap: .75rem; }
  .review { padding: 1.1rem 1.15rem; }
  .review header { align-items: flex-start; flex-wrap: wrap; gap: .3rem .8rem; }
  .review .avatar { width: 38px; height: 38px; }
  .pager { gap: .3rem; }
  .pager a, .pager button, .pager span { min-width: 40px; height: 40px; padding: 0 .7rem; }
}
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.review header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.review p { margin: 0; color: var(--text); }
.review .stars { color: var(--gold-500); }
.review time { font-size: .82rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: 2.2rem; }
.pager a, .pager button, .pager span { min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: inline-grid; place-items: center; font-weight: 600; color: var(--ink); text-decoration: none; font-size: .93rem; }
.pager [aria-current="page"] { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.pager a:hover, .pager button:hover:not([aria-current]) { border-color: var(--teal-600); color: var(--teal-800); }
.pager button:disabled { opacity: .45; cursor: default; }
.pager span.gap { border: 0; background: none; min-width: auto; padding: 0 .2rem; }

/* ---------- Provider detail ---------- */
.prov-hero { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .prov-hero { grid-template-columns: minmax(0, 1fr); } }
.prov-portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.8; background: linear-gradient(160deg, var(--teal-100), var(--sand)); display: grid; place-items: center; box-shadow: var(--shadow); }
.prov-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.prov-portrait .initials { font-size: 6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .82rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .3rem; }
.facts dd { margin: 0; font-weight: 550; color: var(--ink); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--teal-800); font-weight: 700; }
.map-frame { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius-lg); background: var(--sand); }
.map-placeholder { display: grid; place-items: center; text-align: center; gap: .8rem; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--teal-50) center / cover; border: 1px solid var(--line); padding: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-950); color: #b8d0cc; font-size: .94rem; }
.site-footer a { color: #e3efed; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem) 3rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 150px; background: #fff; border-radius: 14px; padding: 10px 14px; }
.footer-brand p { margin: 1.2rem 0; max-width: 36ch; }
.site-footer h2 { font-family: var(--font-sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-locs { border-top: 1px solid rgba(255,255,255,.1); padding-block: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .footer-locs { grid-template-columns: 1fr; } }
.footer-locs address { font-style: normal; line-height: 1.55; }
.footer-locs strong { color: #fff; display: block; margin-bottom: .3rem; font-weight: 650; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer .socials a { border-color: rgba(255,255,255,.18); color: #e3efed; }
.site-footer .socials a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.emergency { font-size: .85rem; color: #9fbab6; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .8rem 1rem; display: flex; gap: .6rem; }
.emergency .icon { color: var(--gold-400); margin-top: .1em; }

/* ---------- Accessibility panel ---------- */
.a11y-fab { position: fixed; left: 18px; bottom: 18px; z-index: 150; width: 54px; height: 54px; border-radius: 99px; border: 2px solid #fff; background: var(--teal-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.a11y-fab:hover { background: var(--teal-950); }
.a11y-fab svg { width: 28px; height: 28px; }
.a11y-panel { position: fixed; left: 18px; bottom: 84px; z-index: 151; width: min(360px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.2rem; }
.a11y-panel h2 { font-size: 1.2rem; margin: 0; }
.a11y-panel .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.a11y-opt { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: .85rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; font-weight: 600; font-size: .88rem; color: var(--ink); min-height: 86px; }
.a11y-opt svg { width: 22px; height: 22px; color: var(--teal-700); }
.a11y-opt[aria-pressed="true"] { border-color: var(--teal-700); background: var(--teal-50); }
.a11y-size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; font-size: .9rem; }
.a11y-size div { display: flex; gap: .35rem; }
.a11y-size button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; }
.a11y-panel .reset { margin-top: .8rem; width: 100%; }
.a11y-panel p.note { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }

/* Accessibility modes */
html.a11y-contrast { --text: #000; --muted: #1f2a29; --line: #6c7775; --line-2: #4b5554; --bg: #fff; --sand: #fff; --teal-50: #e9f5f3; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .hero::before { background: rgba(0,0,0,.72); }
html.a11y-contrast .page-hero.has-img::before { background: rgba(4, 24, 23, .92); }
html.a11y-contrast .ins-logos img { filter: none; opacity: 1; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff3c4; color: #00332f !important; }
html.a11y-readable { --font-sans: "Atkinson Hyperlegible", Verdana, sans-serif; --font-display: "Atkinson Hyperlegible", Verdana, sans-serif; }
html.a11y-spacing { --line-height: 1.95; }
html.a11y-spacing body { letter-spacing: .03em; word-spacing: .12em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.4em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 2 2, auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-slide img { transform: none !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.a11y-motion .reveal, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Misc ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.divider-line { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); }
.share a, .share button { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: #fff; }
.share a:hover, .share button:hover { color: var(--teal-700); border-color: var(--teal-600); }
.share svg { width: 17px; height: 17px; }
.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 140; width: 48px; height: 48px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top svg { width: 20px; }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 46px; }
  body { padding-bottom: 72px; }
  .a11y-fab { bottom: 84px; }
  .a11y-panel { bottom: 150px; }
  .back-top { bottom: 84px; }
  /* Phones: the bottom bar is the one place to call or book, so the landing screen stays uncluttered */
  .utility { display: none; }
  .header-cta > .btn { display: none; }
  .hero { min-height: max(480px, calc(100svh - var(--header-h) - 64px)); }
  .a11y-fab { width: 48px; height: 48px; left: 14px; }
  .hero .eyebrow, .hero-actions { display: none; }
  .hero h1 { margin-bottom: .7rem; }
  .hero-inner { gap: 1.5rem; }
  .hero-bottom { padding-top: 1.1rem; }
  .trust li:not(:first-child) { display: none; }
  .hero-controls { margin-left: auto; }
}
.year-group + .year-group { margin-top: 2.5rem; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.archive-list time { color: var(--muted); font-size: .88rem; padding-top: .15rem; }
.archive-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.archive-list a:hover { color: var(--teal-700); text-decoration: underline; }
@media (max-width: 560px) { .archive-list li { grid-template-columns: 1fr; gap: .2rem; } }
.not-found { text-align: center; padding-block: 6rem; }
.not-found .big { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; letter-spacing: -.05em; color: var(--teal-700); line-height: 1; }

@media print {
  .utility, .site-header, .site-footer, .a11y-fab, .a11y-panel, .mobile-cta, .back-top, .hero-controls { display: none !important; }
  body { background: #fff; }
}

/* Direct contact options, shown while the message forms aren't connected */
.contact-ways{list-style:none;margin:1rem 0 1.2rem;padding:0;display:grid;gap:.7rem}
.contact-ways a{display:flex;gap:.9rem;align-items:flex-start;padding:.9rem 1rem;border:1px solid var(--line);border-radius:var(--radius);background:#fff;text-decoration:none;color:var(--ink)}
.contact-ways a:hover{border-color:var(--teal-600)}
.contact-ways .ico{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:99px;background:var(--teal-50);color:var(--teal-700)}
.contact-ways .ico svg{width:20px;height:20px}
.contact-ways strong{display:block;font-size:1.05rem}
.contact-ways strong+span{display:block;color:var(--muted);font-size:.9rem}
.review-links{list-style:none;margin:.6rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.review-links a{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem .9rem;border:1px solid var(--line-2);border-radius:99px;text-decoration:none;color:var(--ink);background:#fff;font-weight:600;font-size:.93rem}
.review-links a:hover{border-color:var(--teal-600)}
.review-links svg{width:16px;height:16px}
