/* ============================================================
   Elevate Sport and Spine Center — Spec Preview by Woodcrest
   ============================================================ */

:root {
  /* Brand (from logo) */
  --navy:      #143a6b;
  --navy-deep: #0d2748;
  --blue:      #2f7fd1;
  --blue-lt:   #5ba8e0;
  --violet:    #6d54a4;

  /* Neutrals */
  --ink:    #0f1b2d;
  --ink-70: #3a4757;
  --paper:  #f5f8fc;
  --paper-2:#eef3fa;
  --white:  #ffffff;
  --line:   #dbe4f0;

  /* Semantic */
  --bg: var(--white);
  --accent: var(--blue);

  /* Type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;

  /* Fluid scale */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.7rem, 2rem + 3.5vw, 5rem);
  --step-5:  clamp(2.55rem, 1.55rem + 4.7vw, 6.2rem);

  /* Space */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --wrap: 1200px;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(13, 39, 72, 0.4);
  --shadow-soft: 0 12px 34px -18px rgba(13, 39, 72, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Fine film grain (self-contained SVG turbulence) to break up flat gradients */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
ul, ol { list-style: none; padding: 0; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue-lt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: normal;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex: none;
}
.eyebrow-light { color: var(--blue-lt); }

.section-title {
  font-size: var(--step-3);
  color: var(--ink);
  max-width: 16ch;
}
.plans .section-title,
.visit .section-title { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: var(--step--1);
  letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-solid {
  background: var(--blue); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(47, 127, 209, 0.85);
}
.btn-solid:hover { background: var(--navy); box-shadow: 0 20px 40px -16px rgba(20, 58, 107, 0.9); }

.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-ghost-dark {
  background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.4);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0.9rem 0;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { height: 40px; width: auto; filter: brightness(0) invert(1); transition: filter 0.35s var(--ease); }
.site-header.scrolled .brand img { filter: none; }

.nav { display: flex; gap: 1.7rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: var(--step--1);
  color: rgba(255,255,255,0.9);
  position: relative; padding: 0.2rem 0;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--blue-lt); transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }
.site-header.scrolled .nav a { color: var(--ink-70); }
.site-header.scrolled .nav a:hover { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.header-book .lbl-short { display: none; }
.phone-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 700; font-size: var(--step--1);
  color: #fff;
}
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,0.25); }
.site-header.scrolled .phone-link { color: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(600px, 90svh, 860px);
  display: flex; align-items: flex-end;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(5.5rem, 11vh, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 66% 28%;
  transform: scale(1.08);
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(6,17,35,0.94) 0%, rgba(8,22,44,0.7) 24%, rgba(9,26,50,0.24) 52%, rgba(9,26,50,0) 74%),
    linear-gradient(0deg, rgba(5,13,28,0.96) 0%, rgba(6,17,35,0.5) 26%, rgba(6,17,35,0) 54%),
    radial-gradient(115% 85% at 14% 96%, rgba(47,127,209,0.34), transparent 52%);
}
.hero-scrim::before {
  /* cinematic vignette so the athlete keeps depth instead of flattening to blue murk */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 120% at 62% 40%, transparent 42%, rgba(4,11,24,0.55) 100%);
  pointer-events: none;
}
.hero-scrim::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: 0.16; mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 44rem; }

/* Floating credential rail — top-right anchor, real credentials, builds
   diagonal balance against the bottom-left headline. */
.hero-creds {
  position: absolute; z-index: 2;
  top: 4.5rem; bottom: 4.5rem; margin-block: auto;
  height: max-content;
  right: var(--gutter);
  width: 17.5rem;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(160deg, rgba(15,36,64,0.82), rgba(8,22,44,0.72));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -34px rgba(4,12,26,0.95);
  backdrop-filter: blur(12px) saturate(150%);
}
.hero-creds::before {
  content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-lt), var(--violet));
}
.hero-creds .hc-label {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--blue-lt);
  margin-bottom: 0.95rem; padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero-creds ul { display: grid; gap: 0.7rem; }
.hero-creds li {
  position: relative; padding-left: 1.7rem;
  color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.86rem;
  line-height: 1.32;
}
.hero-creds li::before {
  content: ""; position: absolute; left: 0; top: 0.18em;
  width: 6px; height: 11px;
  border-right: 2px solid var(--blue-lt); border-bottom: 2px solid var(--blue-lt);
  transform: rotate(42deg);
  filter: drop-shadow(0 0 4px rgba(91,168,224,0.5));
}
.hero-title {
  font-size: var(--step-5);
  color: #fff;
  margin: 0.5rem 0 0;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(4,12,26,0.35);
}
.hero-rule {
  display: block;
  width: 68px; height: 4px;
  margin: 1.5rem 0 1.4rem;
  background: linear-gradient(90deg, var(--blue-lt), var(--violet));
  border-radius: 4px;
}
.hero-lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.92);
  max-width: 36ch;
  line-height: 1.55;
  font-weight: 400;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  margin: 1.8rem 0 0;
  padding: 0.6rem 1.1rem 0.6rem 0.8rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: #fff; font-weight: 700; font-size: var(--step--1);
  backdrop-filter: blur(6px);
}
.hero-badge-mark {
  position: relative; width: 20px; height: 20px; flex: none;
  border-radius: 50%; background: rgba(91,168,224,0.22);
  box-shadow: inset 0 0 0 1px rgba(91,168,224,0.6);
}
.hero-badge-mark::after {
  content: ""; position: absolute; left: 7px; top: 4px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--blue-lt); border-bottom: 2px solid var(--blue-lt);
  transform: rotate(42deg);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  padding: 0.85rem 0;
  background: rgba(9,25,48,0.55);
  border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 1.4rem;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-serif); font-style: italic;
  color: rgba(255,255,255,0.85); font-size: var(--step--1);
  animation: marquee 34s linear infinite;
}
.marquee-track .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-lt); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { padding: var(--section-y) 0; background: var(--white); }
.problem-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.problem-lead { position: sticky; top: 6rem; }
.problem-body > p:first-child { color: var(--ink-70); font-size: var(--step-1); line-height: 1.55; }
.problem-body p { color: var(--ink-70); }
.pain-lead {
  font-weight: 700; color: var(--ink); margin-top: 1.6rem;
  font-size: var(--step-0);
}
.pain-list { display: grid; gap: 0.65rem; margin: 1rem 0 0; }
.pain-list li {
  position: relative; padding-left: 2.3rem; color: var(--ink); font-weight: 500;
}
.pain-list li::before {
  content: ""; position: absolute; left: 0; top: 0.05em;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: rgba(47,127,209,0.1);
  box-shadow: inset 0 0 0 1px rgba(47,127,209,0.28);
}
.pain-list li::after {
  content: ""; position: absolute; left: 0.5rem; top: 0.35em;
  width: 5px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(42deg);
}
.problem-kicker {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--step-2); color: var(--navy);
  border-left: 4px solid var(--violet); padding-left: 1.35rem;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.28; max-width: 20ch;
}

/* ============================================================
   DIFFERENTIATOR STRIP
   ============================================================ */
.diff { background: var(--paper); border-block: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.diff-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.diff-head .section-title { max-width: 22ch; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.diff-item {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3rem) 0;
  border-left: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}
.diff-item:not(:first-child) { padding-left: clamp(1.5rem, 3vw, 2.4rem); }
.diff-item::before {
  content: ""; position: absolute; left: -1px; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transition: width 0.4s var(--ease);
}
.diff-item:hover { background: var(--white); }
.diff-item:hover::before { width: calc(100% + 1px); }
.diff-item:first-child { border-left: none; }
.diff-num {
  font-family: var(--font-serif); font-size: var(--step-2); font-style: italic;
  color: var(--blue-lt); display: block; margin-bottom: 0.6rem;
}
.diff-item h3 { font-size: var(--step-1); color: var(--navy); margin-bottom: 0.6rem; }
.diff-item p { color: var(--ink-70); font-size: var(--step--1); line-height: 1.6; }

/* ============================================================
   DOCTOR / ABOUT
   ============================================================ */
.doctor { padding: var(--section-y) 0; }
.doctor-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.doctor-media { position: relative; }
.doctor-monogram {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(109,84,164,0.5), transparent 55%),
    radial-gradient(130% 100% at 0% 100%, rgba(47,127,209,0.42), transparent 52%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.doctor-monogram::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--grain); opacity: 0.07; mix-blend-mode: overlay;
}
.dm-mark {
  position: absolute; z-index: 0;
  top: clamp(-0.6rem, -1vw, -1rem); right: clamp(0.5rem, 2vw, 1.5rem);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(9rem, 22vw, 16rem); line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(147,190,232,0.4);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.dm-lockup { position: relative; z-index: 1; }
.dm-logo { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.dm-loc {
  color: rgba(255,255,255,0.82); font-size: var(--step--1); line-height: 1.5;
  font-weight: 500;
}
.dm-chips {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem;
  padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.dm-chips li {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-lt);
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: rgba(91,168,224,0.12);
  border: 1px solid rgba(91,168,224,0.32);
}

.doctor-copy .lead-para,
.lead-para { font-size: var(--step-1); line-height: 1.5; color: var(--ink); font-weight: 400; margin-bottom: 1.1rem; }
.doctor-copy p { color: var(--ink-70); }
.doctor-copy .lead-para { color: var(--ink); }
.creds { display: grid; gap: 0.65rem; margin: 1.7rem 0; }
.creds li {
  position: relative; padding-left: 2rem; font-weight: 600; color: var(--navy);
}
.creds li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); opacity: 0.16;
}
.creds li::after {
  content: ""; position: absolute; left: 6px; top: 0.5em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}

/* ============================================================
   PLANS
   ============================================================ */
.plans {
  position: relative; overflow: hidden;
  padding: var(--section-y) 0;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(109,84,164,0.4), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.plans::before, .visit::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--grain);
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none;
}
.plans .wrap, .visit .wrap { position: relative; z-index: 1; }
.plans-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.plans-sub { color: rgba(255,255,255,0.78); font-size: var(--step-1); margin-top: 1rem; max-width: 40ch; font-weight: 400; }
.plan-list { display: grid; gap: 0; }
.plan-row {
  display: grid; grid-template-columns: minmax(88px, 0.28fr) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  align-items: start;
}
.plan-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.16); }
.plan-index span {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(91,168,224,0.7);
  line-height: 0.9;
  transition: color 0.4s var(--ease);
}
.plan-row:hover .plan-index span { color: rgba(91,168,224,0.16); }
.plan-title { font-size: var(--step-2); color: #fff; }
.plan-tagline {
  font-family: var(--font-serif); font-style: italic;
  color: var(--blue-lt); font-size: var(--step-1); margin: 0.35rem 0 1rem;
}
.plan-content p { color: rgba(255,255,255,0.8); font-weight: 400; }
.plan-for {
  margin-top: 0.9rem; color: #fff; font-weight: 600;
  font-size: var(--step--1);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(47,127,209,0.08), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-block: 1px solid var(--line);
}
.stats .eyebrow { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat {
  text-align: left;
  padding: 0.4rem clamp(1.4rem, 3vw, 2.8rem) 0.4rem 0;
  margin-left: clamp(1.4rem, 3vw, 2.8rem);
  border-left: 1px solid var(--line);
}
.stat:first-child { margin-left: 0; padding-left: 0; border-left: none; }
.stat-num {
  display: block; font-weight: 800;
  font-size: var(--step-4);
  color: var(--navy); line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stat::before {
  content: ""; display: block;
  width: 2.4rem; height: 4px; margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: 4px;
}
.stat p { color: var(--ink-70); font-size: var(--step-0); max-width: 26ch; margin-top: 0.85rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.voices { padding: var(--section-y) 0; background: var(--white); }
.voices .eyebrow { text-align: left; margin-bottom: 1.8rem; }
.voices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); }
.quote {
  background: var(--paper); border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.quote::before {
  content: "\201C"; position: absolute; top: 0.1rem; left: 1.2rem;
  font-family: var(--font-serif); font-size: 5rem; color: var(--blue); opacity: 0.16;
  line-height: 1;
}
.quote blockquote {
  font-size: var(--step-1); line-height: 1.5; color: var(--ink);
  font-weight: 500; position: relative;
}
.quote figcaption {
  margin-top: 1.2rem; font-weight: 700; color: var(--navy); font-size: var(--step--1);
  letter-spacing: 0.02em;
}

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit {
  position: relative; overflow: hidden;
  padding: var(--section-y) 0;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(47,127,209,0.5), transparent 55%),
    linear-gradient(150deg, var(--navy-deep) 0%, #0a1f3c 100%);
  color: #fff;
}
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.visit-lede { color: rgba(255,255,255,0.82); font-size: var(--step-1); max-width: 38ch; margin: 1.2rem 0 2rem; font-weight: 400; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.visit-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  backdrop-filter: blur(8px);
}
.vc-row { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,0.12); }
.vc-row:first-child { border-top: none; padding-top: 0; }
.vc-row h3 {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-lt); font-weight: 700; margin-bottom: 0.5rem;
}
.vc-row p, .vc-row a { color: #fff; font-weight: 500; text-decoration: none; }
.vc-row a:hover { text-decoration: underline; }
.hours { display: grid; gap: 0.4rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,0.85); font-size: var(--step--1); }
.hours li span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #08182e; color: rgba(255,255,255,0.7); padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 32ch; font-size: var(--step--1); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols h4 { color: #fff; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.8rem; font-weight: 700; }
.footer-cols p, .footer-cols a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: var(--step--1); line-height: 1.9; }
.footer-cols a:hover { color: var(--blue-lt); }
.footer-cols ul { display: grid; gap: 0.2rem; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  padding-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.footer-base span:last-child { font-family: var(--font-serif); font-style: italic; }

/* ---------- Spec footer (mandatory) ---------- */
.spec-footer {
  background: #05101f; color: rgba(255,255,255,0.55);
  text-align: center; font-size: 0.8rem; line-height: 1.6;
  padding: 1.4rem var(--gutter);
}
.spec-footer a { color: var(--blue-lt); }

/* ============================================================
   MOTION / REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { --d: 1; }
[data-reveal-delay="2"] { --d: 2; }
[data-reveal-delay="3"] { --d: 3; }
[data-reveal-delay="4"] { --d: 4; }

/* JS-off / no-JS fallback: everything visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-creds { display: none; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { gap: 0.7rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-lead { position: static; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-media { max-width: 25rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item,
  .diff-item:not(:first-child) { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-right: 0; }
  .diff-item:first-child { border-top: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stat {
    margin-left: 0; padding-right: 0;
    border-left: none; padding-top: 0.2rem;
    border-top: 1px solid var(--line);
  }
  .stat:first-child { border-top: none; }
  .stat::before { margin-top: 1.6rem; }
  .stat:first-child::before { margin-top: 0; }
  .voices-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .header-cta .phone-link { display: none; }
  .plan-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .plan-index span { font-size: 3rem; }
}

@media (max-width: 480px) {
  .brand img { height: 32px; }
  .header-cta .btn { padding: 0.65rem 1.05rem; font-size: 0.82rem; }
  .header-book .lbl-full { display: none; }
  .header-book .lbl-short { display: inline; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { justify-content: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: none; }
  .marquee-track { animation: none; }
}
