/* =========================================================
   Rocky Mountain Spine & Disc — spec preview
   Woodcrest Marketing
   Palette drawn from the clinic's brand: deep navy ink,
   cream stone, warm gold, terracotta accent wall.
   ========================================================= */

:root {
  --ink:      #0d2837;
  --navy:     #123a52;
  --navy-2:   #0a212e;
  --teal:     #1f6f8b;
  --gold:     #bf9540;
  --gold-lt:  #d8b86a;
  --terra:    #9c4a32;
  --cream:    #f6f1e8;
  --cream-2:  #efe6d6;
  --paper:    #fbf8f2;
  --line:     rgba(13, 40, 55, 0.12);
  --text:     #21333d;
  --muted:    #5b6c76;
  --on-dark:  #eef3f4;
  --on-dark-muted: rgba(238, 243, 244, 0.72);

  --shadow-sm: 0 2px 8px rgba(13, 40, 55, 0.08);
  --shadow-md: 0 18px 44px -18px rgba(13, 40, 55, 0.45);
  --shadow-lg: 0 40px 80px -32px rgba(13, 40, 55, 0.55);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.18vw, 1.12rem);
  --fs-lead:    clamp(1.15rem, 1.05rem + 0.55vw, 1.42rem);
  --fs-h3:      clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.3vw, 3.3rem);
  --fs-h1:      clamp(2.18rem, 1.2rem + 4vw, 5.1rem);
  --fs-mega:    clamp(3rem, 1.6rem + 6.4vw, 7rem);

  --space:   clamp(4.5rem, 3rem + 6vw, 9rem);
  --gutter:  clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
  --maxw:    1280px;
  --radius:  14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.1em; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.is-dark { color: var(--gold-lt); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--text); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #1d1606;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s;
  box-shadow: 0 10px 22px -10px rgba(191, 149, 64, 0.7);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(191, 149, 64, 0.85); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: rgba(238, 243, 244, 0.4);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(238,243,244,0.08); border-color: var(--gold-lt); color: #fff; box-shadow: none; }

.btn.ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  box-shadow: var(--shadow-md);
}
.btn.ink:hover { background: var(--navy); }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; color: var(--teal); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: gap .25s, border-color .25s, color .25s;
}
.textlink:hover { gap: .85em; border-color: currentColor; }

:where(a, button, .btn, summary):focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding-block: clamp(.7rem, .4rem + .6vw, 1.1rem);
}
/* legibility floor for the nav over the bright side of the hero */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,22,32,.6) 0%, rgba(7,22,32,.18) 55%, rgba(7,22,32,0) 100%);
  opacity: 1; transition: opacity .35s ease;
}
.site-header.scrolled::before { opacity: 0; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(13,40,55,.5);
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--on-dark); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(13,40,55,.25);
  flex: none;
  overflow: hidden;
}
.brand__mark img { width: 90%; height: 90%; object-fit: contain; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: .01em;
}
.brand__name span {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .8;
}
.site-header.scrolled .brand { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--on-dark);
  position: relative;
  padding: .2em 0;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.nav a:hover::after { transform: scaleX(1); }
.site-header.scrolled .nav a { color: var(--text); }

.header-cta {
  display: inline-flex; align-items: center; gap: .55em;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  color: var(--ink);
  background: var(--gold);
  padding: .6em 1.2em; border-radius: 999px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 8px 20px -10px rgba(191,149,64,.8);
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(191,149,64,.95); }
.header-cta .ph { font-size: 1.05em; }

.nav-desktop { display: flex; }
.menu-toggle { display: none; }
/* mobile overlay nav stays hidden until the mobile breakpoint opens it */
.nav-mobile { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transform: scale(1.06); }
/* fine photographic grain for depth — keeps the snapshot from reading flat */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
  opacity: .055; mix-blend-mode: overlay;
}
.js .hero__media img { animation: heroZoom 22s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, rgba(7,24,34,.96) 0%, rgba(9,30,42,.88) 38%, rgba(10,33,46,.62) 70%, rgba(10,33,46,.34) 100%),
    linear-gradient(to top, rgba(6,20,29,.94) 0%, rgba(7,24,34,.1) 42%, rgba(7,24,34,0) 60%),
    radial-gradient(130% 100% at 14% 82%, rgba(31,111,139,.3), transparent 56%);
}
/* subtle vignette to seat the image into the page */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: inset 0 -120px 120px -60px rgba(6,20,28,.9);
}
.hero .wrap { width: 100%; padding-block: clamp(7rem, 18vh, 11rem) clamp(3.5rem, 8vh, 6rem); }
.hero__inner { max-width: 47rem; }
.hero__loc {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem;
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.4rem;
}
.hero__loc .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: var(--fs-lead);
  max-width: 38rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 2.2rem;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; max-width: 100%; }
.hero__promise {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .55rem .7rem;
  font-weight: 600; color: #fff; font-size: .98rem; max-width: 100%;
}
.hero__promise .chip {
  font-family: var(--font-body);
  font-weight: 800; letter-spacing: .04em; font-size: .7rem; text-transform: uppercase;
  color: var(--gold-lt);
  border: 1px solid rgba(216,184,106,.5);
  padding: .4em .7em; border-radius: 999px;
}

/* hero on-load stagger */
.hero__loc, .hero h1, .hero__sub, .hero__cta { will-change: transform, opacity; }
.js .hero__loc, .js .hero h1, .js .hero__sub, .js .hero__cta {
  opacity: 0; transform: translateY(26px);
  animation: heroRise .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.js .hero__loc  { animation-delay: .15s; }
.js .hero h1    { animation-delay: .30s; }
.js .hero__sub  { animation-delay: .48s; }
.js .hero__cta  { animation-delay: .64s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scroll-hint .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: drop 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(31,111,139,.22), transparent 52%),
    linear-gradient(180deg, #0f2e3f 0%, var(--ink) 62%);
  color: var(--on-dark);
  border-top: 2px solid var(--gold);
}
.trust .wrap { padding-block: clamp(2.3rem, 1.6rem + 2.2vw, 3.4rem); }
.trust__lead {
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt); margin: 0 0 1.7rem;
  display: inline-flex; align-items: center; gap: .7em;
}
.trust__lead::before { content: ""; width: 2rem; height: 1px; background: var(--gold); display: inline-block; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: end;
}
.trust__item {
  display: flex; flex-direction: column; gap: .5rem;
  padding-inline: clamp(1.2rem, 3vw, 2.8rem);
}
.trust__item:first-child { padding-left: 0; }
.trust__item + .trust__item { border-left: 1px solid rgba(255,255,255,.13); }
.trust__item b {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 2.1vw, 2.9rem);
  color: #fff; line-height: 1; letter-spacing: -.01em;
}
.trust__item .stars {
  color: var(--gold-lt);
  font-size: clamp(1.35rem, .9rem + 1.3vw, 1.85rem);
  line-height: 1; letter-spacing: .08em;
}
.trust__item > span:last-child { font-size: .82rem; color: var(--on-dark-muted); letter-spacing: .02em; line-height: 1.4; }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--paper); position: relative; }
.about .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; z-index: 0;
  left: -1.1rem; top: -1.1rem; width: 46%; height: 42%;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: var(--radius);
  opacity: .65;
}
.about__media .frame {
  z-index: 1;
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.5;
}
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.about__media:hover .frame img { transform: scale(1.05); }
.about__media .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,40,55,0) 55%, rgba(13,40,55,.28));
}
.about__badge {
  position: absolute; right: -1.1rem; bottom: -1.4rem; z-index: 2;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
  max-width: 17rem;
}
.about__badge .yr { font-family: var(--font-display); font-size: 2.5rem; color: var(--terra); line-height: 1; }
.about__badge .txt { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.about__badge .txt b { color: var(--ink); display: block; font-family: var(--font-body); font-size: .9rem; }

.about__body h2 { font-size: var(--fs-h2); margin-bottom: 1.3rem; text-wrap: balance; }
.about__body .lead { margin-bottom: 1.3rem; }
.about__tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.about__tags li {
  font-size: .82rem; font-weight: 600; color: var(--navy);
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: .45em .95em; border-radius: 999px;
}
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.about__pillar { border-top: 2px solid var(--gold); padding-top: .9rem; }
.about__pillar b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.about__pillar span { font-size: .85rem; color: var(--muted); }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--cream); position: relative; }
.services__head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}
.services__head h2 { font-size: var(--fs-h2); text-wrap: balance; }
.services__head p { margin: 0; color: var(--muted); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.svc {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  min-height: 260px;
  display: flex;
  isolation: isolate;
  text-decoration: none;
}
.svc img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.58) contrast(1.06) brightness(.82);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .4s;
}
/* navy duotone veil pulls the neon clinical imagery into the brand palette */
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, rgba(11,36,50,.78), rgba(31,111,139,.42) 52%, rgba(13,40,55,.62));
  mix-blend-mode: multiply;
}
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,28,40,.16) 0%, rgba(8,28,40,.55) 52%, rgba(6,20,28,.95) 100%);
  transition: background .4s;
}
.svc:hover img { transform: scale(1.07); filter: saturate(.74) contrast(1.06) brightness(.9); }
.svc:hover::after { background: linear-gradient(180deg, rgba(8,28,40,.28) 0%, rgba(8,28,40,.62) 52%, rgba(6,20,28,.96) 100%); }
/* gold hairline that draws on hover */
.svc__body { margin-top: auto; padding: clamp(1.2rem, 2vw, 1.8rem); position: relative; z-index: 1; }
.svc__kicker { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); display: inline-flex; align-items: center; gap: .6em; margin-bottom: .55rem; }
.svc__kicker::before { content: ""; width: 1.5rem; height: 1px; background: var(--gold); display: inline-block; }
.svc h3 { color: #fff; font-size: var(--fs-h3); margin-bottom: .4rem; }
.svc p { color: rgba(255,255,255,.82); font-size: .92rem; margin: 0; max-width: 32ch; }
.svc__more { display: inline-flex; align-items: center; gap: .4em; margin-top: .9rem; font-weight: 700; font-size: .85rem; color: var(--gold-lt); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.svc:hover .svc__more, .svc:focus-visible .svc__more { opacity: 1; transform: none; }

/* feature spans */
.svc--feature { grid-column: span 3; grid-row: span 2; min-height: 420px; }
.svc--tall    { grid-column: span 3; min-height: 300px; }
.svc--wide    { grid-column: span 3; }
.svc--third   { grid-column: span 2; }

/* therapies sub-band inside services */
.therapies {
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.therapy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.therapy::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .4s;
}
.therapy:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.therapy:hover::before { transform: scaleY(1); }
.therapy .num { font-family: var(--font-display); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.therapy h4 { font-size: 1.28rem; margin: .5rem 0 .5rem; }
.therapy p { font-size: .92rem; color: var(--muted); margin: 0; }

/* =========================================================
   Testimonials
   ========================================================= */
.proof { background: var(--navy-2); color: var(--on-dark); position: relative; overflow: hidden; }
.proof::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(31,111,139,.35), transparent 60%),
    radial-gradient(50% 70% at 95% 100%, rgba(191,149,64,.16), transparent 55%);
  z-index: 0;
}
.proof .wrap { position: relative; z-index: 1; }
.proof__head { max-width: 40rem; margin-bottom: clamp(2.4rem, 4vw, 3.5rem); }
.proof__head h2 { color: #fff; font-size: var(--fs-h2); text-wrap: balance; }
.proof__stars { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.proof__stars .stars5 { color: var(--gold-lt); font-size: 1.3rem; line-height: 1; letter-spacing: .1em; }
.proof__stars span { font-size: .85rem; color: var(--on-dark-muted); letter-spacing: .04em; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2vw, 1.8rem); }
figure.quote {
  margin: 0;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.2vw, 2.1rem);
  display: flex; flex-direction: column;
  transition: transform .4s, background .4s, border-color .4s;
}
figure.quote:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(216,184,106,.4); }
figure.quote .mark { font-family: var(--font-display); font-size: 3.2rem; line-height: .6; color: var(--gold); height: 1.4rem; }
figure.quote blockquote {
  margin: .8rem 0 0;
  font-size: 1.04rem;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
figure.quote figcaption {
  margin-top: 1.4rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 700; font-size: .9rem; color: var(--gold-lt);
  display: flex; align-items: center; gap: .6rem;
}
figure.quote figcaption .who { color: #fff; }
figure.quote figcaption .cond { color: var(--on-dark-muted); font-weight: 500; font-size: .82rem; }
.proof__foot { margin-top: clamp(2rem, 3vw, 3rem); }

/* =========================================================
   New patient special CTA band
   ========================================================= */
.special { background: var(--cream); }
.special .wrap {
  background: linear-gradient(120deg, var(--ink), var(--navy) 60%, var(--teal));
  border-radius: calc(var(--radius) + 6px);
  color: var(--on-dark);
  padding: clamp(2.4rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.special .wrap::after {
  content:""; position:absolute; right:-10%; top:-40%; width:50%; height:180%;
  background: radial-gradient(circle, rgba(216,184,106,.18), transparent 65%);
}
.special__badge { width: clamp(86px, 11vw, 132px); height: auto; position: relative; z-index: 1; filter: drop-shadow(0 14px 24px rgba(0,0,0,.3)); }
.special__txt { position: relative; z-index: 1; }
.special__txt h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); text-wrap: balance; margin-bottom: .6rem; }
.special__txt p { color: rgba(255,255,255,.85); margin: 0; max-width: 42ch; }
.special__act { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.special__act .ph { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-lt); text-decoration: none; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--paper); }
.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.contact__info h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; text-wrap: balance; }
.contact__rows { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 1.3rem; }
.contact__rows li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact__rows .ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--cream-2); color: var(--teal);
  display: grid; place-items: center; font-size: 1.1rem;
  border: 1px solid var(--line);
}
.contact__rows .k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact__rows .v { font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.contact__rows a.v { text-decoration: none; transition: color .25s; }
.contact__rows a.v:hover { color: var(--teal); }
.contact__hours { font-size: .95rem; color: var(--text); }
.contact__hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); max-width: 22rem; }
.contact__hours div span:last-child { color: var(--muted); }

.contact__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__map-pin {
  position: absolute; left: 1.3rem; bottom: 1.3rem; right: 1.3rem;
  background: rgba(251,248,242,.94);
  backdrop-filter: blur(6px);
  border-radius: 12px; padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.contact__map-pin b { font-family: var(--font-display); color: var(--ink); }
.contact__map-pin span { font-size: .82rem; color: var(--muted); display: block; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; }
.foot-brand .brand__mark { width: 50px; height: 50px; }
.foot-brand b { font-family: var(--font-display); font-size: 1.2rem; }
.foot-brand span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.site-footer p { color: var(--on-dark-muted); font-size: .92rem; max-width: 34ch; }
.foot-col h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-col a { color: var(--on-dark-muted); text-decoration: none; font-size: .92rem; transition: color .25s; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: var(--on-dark-muted);
}

/* spec footer (mandatory) */
.spec-footer {
  background: #07171f;
  color: rgba(238,243,244,.62);
  text-align: center;
  font-size: .82rem;
  padding: 1.1rem var(--gutter);
  line-height: 1.5;
}
.spec-footer a { color: var(--gold-lt); }

/* =========================================================
   Reveal animations
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-delay="4"] { transition-delay: .32s; }
.js [data-reveal][data-delay="5"] { transition-delay: .40s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .svc--feature { grid-column: span 3; grid-row: span 1; min-height: 320px; }
  .svc--tall, .svc--wide { grid-column: span 3; }
  .svc--third { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .header-cta .label { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(238,243,244,.12); border: 1px solid rgba(238,243,244,.25);
    color: var(--on-dark); cursor: pointer;
  }
  .site-header.scrolled .menu-toggle { color: var(--ink); background: var(--cream-2); border-color: var(--line); }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .3s, opacity .3s;
  }
  .menu-toggle span::before { position: absolute; top: -6px; }
  .menu-toggle span::after { position: absolute; top: 6px; }
  body.nav-open .menu-toggle span { background: transparent; }
  body.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav-mobile {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(10,33,46,.97);
    backdrop-filter: blur(8px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.6rem;
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity .35s, transform .35s;
  }
  body.nav-open .nav-mobile { opacity: 1; pointer-events: auto; transform: none; }
  .nav-mobile a { color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-size: 1.6rem; }
  .nav-mobile a:hover { color: var(--gold-lt); }
  .nav-mobile .btn { font-family: var(--font-body); font-size: 1rem; margin-top: 1rem; }

  .about .wrap { grid-template-columns: 1fr; }
  .about__media { max-width: 30rem; }
  .about__pillars { grid-template-columns: repeat(3, 1fr); }
  .services__head { grid-template-columns: 1fr; gap: 1rem; }
  .contact .wrap { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 1.9rem 0; }
  .trust__item { padding-inline: 0; }
  .trust__item + .trust__item { border-left: none; }
  .trust__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.13); padding-left: clamp(1.2rem, 4vw, 1.8rem); }
}

@media (max-width: 560px) {
  .hero { min-height: 78vh; align-items: flex-end; }
  .hero__media img { object-position: 60% center; }
  .hero .wrap { padding-block: clamp(5rem, 11vh, 6.5rem) clamp(2.4rem, 5vh, 3.4rem); }
  .hero h1 { font-size: clamp(1.95rem, 7.6vw, 2.5rem); letter-spacing: -0.01em; overflow-wrap: break-word; }
  .hero__sub { margin-bottom: 1.7rem; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .hero__promise { font-size: .92rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--feature, .svc--tall, .svc--wide, .svc--third { grid-column: span 1; min-height: 280px; }
  .therapies { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: 1fr; gap: .8rem; }
  .about__badge { right: 0; }
  .special .wrap { grid-template-columns: 1fr; text-align: left; }
  .special__act { align-items: stretch; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact__hours div { max-width: none; }
}

@media (max-width: 380px) {
  .trust__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .trust__item:nth-child(even) { border-left: none; padding-left: 0; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .hero__loc, .js .hero h1, .js .hero__sub, .js .hero__cta { opacity: 1; transform: none; animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .scroll-hint .line { animation: none; }
}
