/* ============================ TOKENS ============================ */
:root {
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 80px);
  --r: 16px;
  --r-sm: 11px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(20,38,45,.06), 0 4px 14px rgba(20,38,45,.05);
  --shadow-md: 0 4px 12px rgba(20,38,45,.07), 0 18px 50px rgba(20,38,45,.10);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- color schemes ---- */
html[data-scheme="spruce"] {
  --brand: oklch(0.52 0.072 205);
  --brand-press: oklch(0.45 0.072 207);
  --brand-soft: oklch(0.95 0.022 200);
  --brand-deep: oklch(0.33 0.045 215);
  --accent: oklch(0.74 0.085 62);
  --accent-soft: oklch(0.95 0.03 70);
  --bg: oklch(0.985 0.006 180);
  --bg-tint: oklch(0.965 0.012 195);
  --ink: oklch(0.29 0.022 225);
  --muted: oklch(0.50 0.018 222);
  --line: oklch(0.91 0.012 205);
}
html[data-scheme="sage"] {
  --brand: oklch(0.54 0.062 158);
  --brand-press: oklch(0.47 0.062 160);
  --brand-soft: oklch(0.95 0.024 158);
  --brand-deep: oklch(0.34 0.04 162);
  --accent: oklch(0.74 0.08 82);
  --accent-soft: oklch(0.955 0.03 85);
  --bg: oklch(0.986 0.007 140);
  --bg-tint: oklch(0.964 0.014 150);
  --ink: oklch(0.30 0.02 160);
  --muted: oklch(0.50 0.016 158);
  --line: oklch(0.91 0.014 155);
}
html[data-scheme="clinical"] {
  --brand: oklch(0.55 0.105 248);
  --brand-press: oklch(0.48 0.105 250);
  --brand-soft: oklch(0.95 0.03 245);
  --brand-deep: oklch(0.34 0.06 255);
  --accent: oklch(0.70 0.075 215);
  --accent-soft: oklch(0.95 0.03 225);
  --bg: oklch(0.987 0.005 250);
  --bg-tint: oklch(0.964 0.012 250);
  --ink: oklch(0.29 0.028 258);
  --muted: oklch(0.50 0.022 255);
  --line: oklch(0.91 0.013 250);
}
html[data-scheme="clay"] {
  --brand: oklch(0.56 0.088 42);
  --brand-press: oklch(0.49 0.088 40);
  --brand-soft: oklch(0.95 0.03 50);
  --brand-deep: oklch(0.35 0.05 36);
  --accent: oklch(0.62 0.07 175);
  --accent-soft: oklch(0.95 0.028 170);
  --bg: oklch(0.987 0.008 70);
  --bg-tint: oklch(0.966 0.016 62);
  --ink: oklch(0.30 0.025 45);
  --muted: oklch(0.51 0.02 48);
  --line: oklch(0.91 0.016 58);
}

/* ---- warmth: tunes radius ---- */
html[data-warmth="clinical"] { --r: 8px;  --r-sm: 6px;  --r-lg: 14px; }
html[data-warmth="balanced"] { --r: 16px; --r-sm: 11px; --r-lg: 26px; }
html[data-warmth="warm"]     { --r: 22px; --r-sm: 15px; --r-lg: 34px; }

/* ---- type pairings ---- */
html[data-type="editorial"] { --font-head: "Newsreader", Georgia, serif;   --font-body: "Public Sans", system-ui, sans-serif; --head-weight: 500; --head-spacing: -0.01em; }
html[data-type="modern"]    { --font-head: "Outfit", system-ui, sans-serif; --font-body: "Public Sans", system-ui, sans-serif; --head-weight: 600; --head-spacing: -0.02em; }
html[data-type="classic"]   { --font-head: "Spectral", Georgia, serif;     --font-body: "Public Sans", system-ui, sans-serif; --head-weight: 500; --head-spacing: -0.005em; }

/* ============================ BASE ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); line-height: 1.08; color: var(--brand-deep); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Inline SVGs with no width attribute fall back to 300x150 if no rule matches.
   Declared early so every icon rule below still wins. */
svg:not([width]) { width: 1em; height: 1em; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); font-family: var(--font-body);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: calc(var(--r) - 2px); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-press); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--brand-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-light { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { font-size: 14px; padding: 10px 18px; }
.btn-block { width: 100%; }

/* ============================ HEADER ============================ */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.brand .mark i { width: 5px; border-radius: 3px; background: var(--brand); display: block; }
.brand .mark i:nth-child(1) { height: 12px; opacity: .45; }
.brand .mark i:nth-child(2) { height: 19px; opacity: .72; }
.brand .mark i:nth-child(3) { height: 26px; background: var(--accent); }
.brand .name { display: flex; flex-direction: column; line-height: 1; }
.brand .name b { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--brand-deep); letter-spacing: -.01em; }
.brand .name span { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--brand-deep); white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--brand); }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--brand-deep); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--brand-deep); }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 74px 0 0; z-index: 55; background: var(--bg); padding: 22px var(--pad); }
.mobile-menu a { display: block; font-size: 19px; font-weight: 500; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); }
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu.open { display: block; }

/* ============================ MEDIA FRAME / PLACEHOLDERS ============================ */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-tint); box-shadow: var(--shadow-md); }
/* Photos sit on top of the placeholder and fill the frame. Also declared
   inline on each <img> so a stale cached stylesheet can't blow up the layout. */
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph {
  position: relative; width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--bg-tint)) 0 14px, var(--bg-tint) 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.ph span { font-family: "Public Sans", monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; background: #fff; padding: 7px 13px; border-radius: 100px; box-shadow: var(--shadow-sm); color: var(--brand-deep); }

/* ============================ SECTION HEADINGS ============================ */
.sec { padding: clamp(54px, 7vw, 104px) 0; }
.sec-tint { background: var(--bg-tint); }
.sec-head { max-width: 640px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(29px, 3.6vw, 44px); margin-top: 16px; }
.sec-head p { font-size: 17px; color: var(--muted); margin-top: 16px; }

/* ============================ TRUST ROW ============================ */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-row .ti { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.trust-row .ti svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* ============================ HERO ACTIONS ============================ */
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

/* ============================ LANDING PAGE HERO ============================ */
.hero { padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); margin: 20px 0 0; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); margin-top: 22px; max-width: 32em; }
.hero-media { position: relative; }
.hero-media .frame { aspect-ratio: 4/4.5; }
.stat-card {
  position: absolute; left: -22px; bottom: 26px; z-index: 2;
  background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--line);
}
.stat-card .big { font-family: var(--font-head); font-weight: 600; font-size: 30px; color: var(--brand); line-height: 1; }
.stat-card small { font-size: 12.5px; color: var(--muted); font-weight: 500; display: block; max-width: 11ch; }

/* hero centered */
html[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
html[data-hero="centered"] .hero .lede { max-width: 46ch; }
html[data-hero="centered"] .hero-actions, html[data-hero="centered"] .trust-row { justify-content: center; }
html[data-hero="centered"] .hero-media { width: 100%; margin-top: 10px; }
html[data-hero="centered"] .hero-media .frame { aspect-ratio: 16/7; }
html[data-hero="centered"] .stat-card { left: 24px; }
html[data-hero="centered"] .eyebrow { justify-content: center; }

/* hero full-bleed */
html[data-hero="fullbleed"] .hero { padding: 0; }
html[data-hero="fullbleed"] .hero .wrap { max-width: none; padding: 0; }
html[data-hero="fullbleed"] .hero-grid { grid-template-columns: 1fr; gap: 0; }
html[data-hero="fullbleed"] .hero-media { grid-row: 1; min-height: 88vh; }
html[data-hero="fullbleed"] .hero-media .frame { position: absolute; inset: 0; border-radius: 0; height: 100%; }
html[data-hero="fullbleed"] .hero-copy {
  grid-row: 1; z-index: 3; align-self: center; justify-self: start;
  margin: 0 var(--pad); max-width: 600px;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px);
  padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
html[data-hero="fullbleed"] .stat-card { display: none; }

/* ============================ SERVICES (landing page grid) ============================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.svc .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 18.5px; color: var(--brand-deep); }
.svc p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============================ APPROACH ============================ */
.appr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.appr { padding: 30px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.appr .n { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--accent); letter-spacing: .04em; }
.appr h3 { font-size: 21px; margin: 14px 0 10px; }
.appr p { font-size: 15px; color: var(--muted); }

/* ============================ DOCTOR (landing page) ============================ */
.doc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.doc-media .frame { aspect-ratio: 4/5; }
.doc-body h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 16px; }
.doc-body .role { font-size: 15px; color: var(--accent); font-weight: 600; margin-top: 14px; }
.doc-body p { font-size: 16.5px; color: var(--muted); margin-top: 18px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.creds li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.creds li svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 2px; }
.creds li b { font-weight: 600; }
.doc-quote {
  margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--accent);
  font-family: var(--font-head); font-size: 18px; font-style: italic;
  color: var(--brand-deep); line-height: 1.5;
}

/* ============================ TESTIMONIALS ============================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; }
.tst blockquote { font-size: 16px; color: var(--ink); line-height: 1.6; font-family: var(--font-head); font-weight: 400; }
html[data-type="modern"] .tst blockquote { font-weight: 500; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.tst .who b { font-size: 14.5px; display: block; }
.tst .who span { font-size: 12.5px; color: var(--muted); }

/* ============================ CTA BAND ============================ */
.cta { background: var(--brand-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 5vw, 68px); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 60%, transparent); opacity: .35; filter: blur(10px); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); max-width: 18ch; }
.cta p { color: color-mix(in srgb, #fff 78%, transparent); margin-top: 14px; font-size: 16.5px; max-width: 40ch; }
.cta .cta-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.cta .btn-ghost { color: #fff; border-color: color-mix(in srgb, #fff 35%, transparent); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ============================ LOCATION ============================ */
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.loc-map { min-height: 420px; position: relative; }
.loc-map .ph { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--bg-tint)) 0 16px, var(--bg-tint) 16px 32px); }
.loc-info { padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; }
.loc-info h2 { font-size: clamp(25px, 2.8vw, 34px); }
.loc-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.loc-item { display: flex; gap: 15px; }
.loc-item .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.loc-item .ic svg { width: 20px; height: 20px; }
.loc-item .tx b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; display: block; margin-bottom: 3px; }
.loc-item .tx p, .loc-item .tx a { font-size: 15.5px; color: var(--ink); }
.loc-item .tx a:hover { color: var(--brand); }
.hours { display: grid; grid-template-columns: auto auto; gap: 6px 18px; font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { color: var(--ink); font-weight: 600; text-align: right; }
.loc-info .btn { margin-top: 28px; }

/* ============================ FOOTER ============================ */
footer { background: var(--brand-deep); color: #fff; padding: clamp(54px, 6vw, 80px) 0 32px; margin-top: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer .brand .name b { color: #fff; }
footer .brand .name span { color: color-mix(in srgb, #fff 55%, transparent); }
.foot-about { color: color-mix(in srgb, #fff 72%, transparent); font-size: 15px; margin-top: 20px; max-width: 34ch; }
.foot-privia { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 13px; color: color-mix(in srgb, #fff 60%, transparent); }
.foot-privia .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.foot-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); font-weight: 700; margin-bottom: 18px; }
.foot-col a, .foot-col p { display: block; color: color-mix(in srgb, #fff 70%, transparent); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: color-mix(in srgb, #fff 55%, transparent); }
.foot-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }

/* ============================ SERVICE PAGES ============================ */

/* breadcrumb */
.breadcrumb { background: var(--bg-tint); border-bottom: 1px solid var(--line); padding: 13px 0; }
.breadcrumb .wrap { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }

/* service page hero */
.svc-hero { padding: clamp(36px, 5vw, 68px) 0 clamp(44px, 5vw, 72px); }
.svc-hero .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.svc-hero h1 { font-size: clamp(34px, 4.5vw, 56px); margin: 18px 0 0; }
.svc-hero .lede { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); margin-top: 20px; max-width: 34em; }
.svc-hero .frame { aspect-ratio: 5/4; }
.svc-stat { position: absolute; left: -20px; bottom: 24px; z-index: 2; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.svc-stat .big { font-family: var(--font-head); font-weight: 600; font-size: 26px; color: var(--brand); line-height: 1; }
.svc-stat small { font-size: 12px; color: var(--muted); font-weight: 500; display: block; max-width: 12ch; }

/* overview + symptoms */
.ov-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ov-text h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 16px; }
.ov-text p { font-size: 16px; color: var(--muted); margin-top: 18px; line-height: 1.7; }
.sym-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.sym-box .sym-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.sym-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sym-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink); }
.sym-list li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.sym-cta { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.sym-cta p { font-size: 14px; color: var(--muted); margin-bottom: 13px; }

/* dr strip */
.dr-strip { padding: clamp(36px, 4vw, 56px) 0; }
.dr-strip-inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 44px); }
.dr-strip-img { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; flex: none; }
.dr-strip-body h3 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 10px; }
.dr-strip-body .role { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 8px; }
.dr-strip-body p { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 54ch; }
.dr-strip-body .btn { margin-top: 18px; }

/* related services grid */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.rel-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.rel-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.rel-card .ico svg { width: 22px; height: 22px; }
.rel-card strong { font-family: var(--font-head); font-weight: 500; font-size: 17px; color: var(--brand-deep); line-height: 1.2; }
.rel-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.rel-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); margin-top: auto; padding-top: 6px; }
.rel-card .more svg { width: 13px; height: 13px; transition: transform .2s; }
.rel-card:hover .more svg { transform: translateX(4px); }

/* ============================ REVEAL ============================ */
.reveal { }
@media (prefers-reduced-motion: no-preference) {
  .reveal.pre { transform: translateY(26px); }
  .reveal.in  { transform: none; transition: transform .65s var(--ease); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .svc-grid, .tst-grid, .appr-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .doc-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  html[data-hero="split"] .hero-media .frame { aspect-ratio: 16/10; }
  .doc-media { max-width: 460px; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { min-height: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .creds { grid-template-columns: 1fr; }
  /* service pages */
  .svc-hero .hero-grid { grid-template-columns: 1fr; }
  .svc-hero .hero-media { order: -1; max-width: 500px; }
  .svc-hero .frame { aspect-ratio: 16/9; }
  .ov-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .dr-strip-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { padding: 11px 16px; font-size: 14px; }
  .svc-grid, .tst-grid, .appr-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-about { grid-column: 1 / -1; }
  .stat-card { left: 12px; }
  /* service pages */
  .appr-grid, .rel-grid { grid-template-columns: 1fr; }
  .svc-stat { left: 10px; }
}

/* ============================ AI VOICE WIDGET ============================ */
elevenlabs-convai {
  --el-brand: oklch(0.52 0.072 205);
  --el-background: oklch(0.985 0.006 180);
}

/* ============================ BOOKING PAGE ============================ */
.book-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.book-trust .ti { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--ink); }
.book-trust .ti svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.booking-embed {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(10px, 2vw, 22px);
  min-height: 640px; overflow: hidden;
}
.booking-embed #my-cal-inline-new-patient-consultation { min-height: 620px; }
.book-fallback { margin-top: 20px; font-size: 15px; color: var(--muted); }
.book-fallback a { color: var(--brand); font-weight: 600; }
