/* =========================================================================
   Wolf Hair Restoration — shared stylesheet
   Brand: Fraunces (serif display) + Inter (body), earthy premium palette.
   Tokens drive everything; Tweaks rewrite the CSS variables at runtime.
   ========================================================================= */

:root {
  /* Wolf design-system palette: deep teal, pale yellow, light blue, beige */
  --ink:        #253031;   /* dark charcoal-green, primary text */
  --ink-soft:   #3b4644;
  --bone:       #f0ede5;   /* light beige, page background */
  --bone-2:     #e7e1d3;   /* deeper beige panel */
  --paper:      #ffffff;   /* card surface */
  --clay:       #022e40;   /* deep blue, accent for eyebrows/links/icons */
  --clay-deep:  #03435f;   /* deep blue hover */
  --clay-tint:  #d7e7ef;   /* light-blue tint, icon backgrounds/focus ring */
  --accent:     #fef3bd;   /* pale yellow, signature CTA */
  --accent-deep:#f4e392;   /* pale yellow hover */
  --deep:       #022e40;   /* deep blue, dark feature sections */
  --sky:        #6e8ca0;   /* dusty blue, secondary/tag text */
  --sky-tint:   #bfdeeb;   /* light blue */
  --beige:      #d6bf93;   /* dark beige, tertiary */
  --slate:      #5b6360;   /* muted body text */
  --gold:       #c2a24e;   /* stars */
  --line:       rgba(37,48,49,0.13);
  --line-soft:  rgba(37,48,49,0.07);

  /* Type families (tweakable display) — Denton -> Newsreader, Mona Sans -> Hanken Grotesk */
  --font-display: "Newsreader", Georgia, serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Shape (tweakable) */
  --radius:     16px;
  --radius-sm:  10px;
  --radius-pill: 999px;
  --btn-radius: 999px;

  --shadow-sm: 0 1px 2px rgba(34,27,20,.06), 0 2px 8px rgba(34,27,20,.05);
  --shadow-md: 0 6px 18px rgba(34,27,20,.08), 0 18px 48px rgba(34,27,20,.07);
  --shadow-lg: 0 12px 30px rgba(34,27,20,.10), 0 40px 80px rgba(34,27,20,.10);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---------- typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 460;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 4.8rem); font-weight: 420; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; }
p  { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink-soft); line-height: 1.5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .6;
}
.eyebrow.is-center::before { display: none; }

.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--bone2 { background: var(--bone-2); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--bone); }
.section--ink .lead { color: rgba(244,238,227,.78); }
.section--ink .eyebrow { color: #d9a07f; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 34px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 1.02em 1.7em; border-radius: var(--btn-radius);
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-md); }
.btn--ink { background: var(--ink); color: var(--bone); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--lg { padding: 1.18em 2em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }

.linkarrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--clay); }
.linkarrow svg { width: 1em; height: 1em; transition: transform .2s ease; }
.linkarrow:hover svg { transform: translateX(4px); }

/* ---------- chips / badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .9em; border-radius: var(--radius-pill);
  background: var(--paper); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.chip svg { width: 1.05em; height: 1.05em; color: var(--clay); }
.section--ink .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(244,238,227,.9); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: var(--annc-h, 0px); z-index: 60;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 4px 24px rgba(34,27,20,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .55em; }
.brand-logo { height: 38px; width: auto; display: block; }
.site-header .brand-logo { height: 36px; }
.site-footer .brand-logo { height: 40px; filter: brightness(0) invert(1); opacity: .94; }
.brand-flame { width: 26px; height: 32px; flex: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: .92; }
.brand-text .word { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.brand-text .sub { font-family: var(--font-body); font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--ink-soft); transition: color .18s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .98rem; }
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--clay); }
.nav-toggle { display: none; }
#mobile-nav { display: none; padding-bottom: 18px; gap: 12px; }
#mobile-nav:not([hidden]) { display: grid; }
#mobile-nav a { font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
  .nav-toggle { display: inline-flex; padding: .7em 1em; }
}

/* ---------- hero (full-bleed image) ---------- */
.hero { position: relative; overflow: hidden; min-height: clamp(640px, 90vh, 900px); display: flex; align-items: center; background: #1a241f; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(96deg, rgba(16,24,20,.93) 0%, rgba(16,24,20,.62) 30%, rgba(16,24,20,.12) 55%, rgba(16,24,20,0) 72%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__grid { display: block; padding-block: clamp(48px, 7vw, 96px); }
.hero__copy { max-width: 588px; }
.hero h1 { margin-bottom: .35em; color: #fff; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__lead { margin-bottom: 1.7em; max-width: 40ch; color: rgba(255,255,255,.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .grating { color: rgba(255,255,255,.86); }
.hero .grating b { color: #fff; }
.hero .hero__checks li { color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.04); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

@media (max-width: 900px) {
  .hero__bg { object-position: 70% center; }
  .hero__scrim { background: linear-gradient(180deg, rgba(16,24,20,.58) 0%, rgba(16,24,20,.72) 52%, rgba(16,24,20,.92) 100%); }
}

/* hero variants (tweakable layout) */
.hero__form { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,3vw,32px); box-shadow: var(--shadow-md); color: var(--ink); }
.hero[data-layout="form"] .hero__form { display: block; position: relative; z-index: 3; margin-top: 30px; max-width: 430px; }
.hero[data-layout="centered"] .hero__copy { max-width: 760px; margin-inline: auto; text-align: center; }
.hero[data-layout="centered"] .hero__lead { margin-inline: auto; }
.hero[data-layout="centered"] .hero__cta, .hero[data-layout="centered"] .grating { justify-content: center; }
.hero[data-layout="centered"] .hero__checks { max-width: 380px; margin-inline: auto; }

/* ---------- google rating ---------- */
.grating { display: inline-flex; align-items: center; gap: .55em; margin-bottom: 1.2em; font-size: .95rem; color: var(--ink-soft); }
.grating .stars { display: inline-flex; gap: 1px; color: var(--gold); }
.grating .stars svg { width: 1.05em; height: 1.05em; }
.grating .g { width: 17px; height: 17px; }
.grating b { color: var(--ink); font-weight: 600; }

/* ---------- hero credibility checklist ---------- */
.hero__checks { list-style: none; margin: 0 0 1.9em; padding: 0; display: grid; gap: .9em; }
.hero__checks li { display: flex; align-items: center; gap: .75em; font-size: 1.04rem; font-weight: 500; color: var(--ink); }
.hero__checks .tick { width: 25px; height: 25px; border-radius: 50%; background: var(--sky-tint); color: var(--deep); display: grid; place-items: center; flex: none; }
.hero__checks .tick svg { width: 14px; height: 14px; }

/* ---------- hero proof: David name + before/after cards ---------- */
.hero__proof { position: absolute; z-index: 3; right: calc(max(0px, (100% - var(--maxw)) / 2) + var(--gutter)); bottom: clamp(20px, 4vh, 44px); text-align: right; pointer-events: none; }
.hero__name { font-family: var(--font-display); font-style: italic; font-weight: 400; color: #fff; font-size: clamp(1.4rem, 2.4vw, 2.1rem); margin-bottom: 12px; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero__davidcards { width: clamp(248px, 30vw, 380px); height: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.42)); }
@media (max-width: 900px) {
  .hero__proof { position: static; text-align: left; margin-top: 32px; }
}
@media (max-width: 560px) { .hero__davidcards { width: min(100%, 360px); } }

/* ---------- deep feature section ---------- */
.section--deep { background: var(--deep); color: var(--bone); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--bone); }
.section--deep .lead { color: rgba(240,237,229,.8); }
.section--deep .eyebrow { color: var(--sky-tint); }
.section--deep .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(240,237,229,.92); }
.section--deep .chip svg { color: var(--accent); }

/* ---------- footer brand on dark ---------- */
.site-footer .brand-flame, .site-footer .brand-text .word { color: var(--bone); }
.site-footer .brand-text .sub { color: rgba(240,237,229,.5); }

/* ---------- credential marquee ---------- */
.cred-bar { border-block: 1px solid var(--line); background: var(--paper); }
.cred-track { display: flex; align-items: center; gap: 0; 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); }
.cred-move { display: flex; align-items: center; gap: 54px; padding-block: 22px; padding-right: 54px; animation: marquee 34s linear infinite; }
@media (prefers-reduced-motion: reduce) { .cred-move { animation: none; } }
.cred-item { display: inline-flex; align-items: center; gap: .6em; white-space: nowrap; font-weight: 500; color: var(--ink-soft); font-size: 1rem; flex: none; }
.cred-item svg { width: 1.25em; height: 1.25em; color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stat counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { position: relative; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.section--ink .stat .num { color: var(--bone); }
.stat .num small { font-size: .55em; color: var(--clay); margin-left: .08em; }
.stat .lbl { margin-top: .55em; font-size: .96rem; color: var(--slate); max-width: 22ch; }
.section--ink .stat .lbl { color: rgba(244,238,227,.66); }

/* ---------- procedure cards ---------- */
.proc {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.proc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--clay) 40%, var(--line)); }
.proc__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; margin-bottom: 18px; }
.proc__ico svg { width: 24px; height: 24px; }
.proc h3 { margin-bottom: .4em; }
.proc p { color: var(--slate); font-size: .98rem; margin-bottom: 1.1em; }
.proc__tag { margin-top: auto; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sky); }

/* ---------- doctors ---------- */
.doc { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px,3vw,40px); align-items: center; }
.doc--flip { grid-template-columns: 1.2fr 0.8fr; }
.doc--flip .doc__media { order: 2; }
.doc__media image-slot, .doc__media img { width: 100%; height: clamp(380px, 42vw, 520px); box-shadow: var(--shadow-md); }
.doc__media img { object-fit: cover; object-position: center top; border-radius: var(--radius); display: block; }
.doc__name { display: flex; align-items: baseline; gap: .5em; flex-wrap: wrap; margin-bottom: .15em; }
.doc__role { font-size: .92rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--clay); margin-bottom: 1em; }
.doc ul { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: .7em; }
.doc li { display: flex; gap: .65em; font-size: .98rem; color: var(--ink-soft); }
.doc li svg { width: 1.15em; height: 1.15em; color: var(--sky); flex: none; margin-top: .15em; }
@media (max-width: 740px) { .doc, .doc--flip { grid-template-columns: 1fr; } .doc--flip .doc__media { order: -1; } .doc__media { max-width: 360px; } }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 4px; }
.process-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; display: block; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: 1.5rem; color: var(--clay); width: 2.4rem; }
.step h3 { margin-bottom: .25em; }
.step p { color: var(--slate); margin: 0; max-width: 60ch; }

/* ---------- before / after ---------- */
.ba { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y; background: var(--bone-2); container-type: inline-size; }
.ba__layer { position: absolute; inset: 0; overflow: hidden; }
.ba__layer img { height: 100%; width: 100%; object-fit: cover; object-position: center top; display: block; }
.ba__clip img { width: 100cqw; max-width: none; }
.ba__clip { width: 50%; border-right: 2px solid var(--paper); }
.ba__tag { position: absolute; bottom: 14px; z-index: 4; padding: .4em .8em; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(4px); pointer-events: none; }
.ba__tag--before { left: 14px; background: rgba(37,48,49,.72); color: #fff; }
.ba__tag--after { right: 14px; background: var(--accent); color: var(--ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; width: 44px; transform: translateX(-50%); z-index: 5; cursor: ew-resize; display: grid; place-items: center; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(34,27,20,.15); }
.ba__knob { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--ink); }
.ba__knob svg { width: 20px; height: 20px; }

/* ---------- offer / pricing ---------- */
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,56px); align-items: center; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,3vw,38px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; color: var(--ink); }
.price-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--deep), var(--accent)); }
.price-card .from { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.price-card .amt { font-family: var(--font-display); font-size: clamp(3rem,7vw,4.4rem); line-height: 1; color: var(--ink); margin: .12em 0 .1em; }
.price-card .amt small { font-size: .32em; color: var(--slate); font-family: var(--font-body); font-weight: 500; }
.price-card ul { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: .85em; }
.price-card li { display: flex; gap: .65em; align-items: center; font-size: 1rem; }
.price-card li svg { width: 1.25em; height: 1.25em; color: var(--clay); flex: none; }
.price-note { font-size: .82rem; color: var(--slate); margin-top: 1em; }

/* ---------- reviews ---------- */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,2.6vw,30px); display: flex; flex-direction: column; gap: 14px; }
.review .stars { display: flex; gap: 2px; color: var(--gold); }
.review .stars svg { width: 1.05em; height: 1.05em; }
.review blockquote { margin: 0; font-size: 1.06rem; line-height: 1.5; color: var(--ink); font-family: var(--font-display); font-weight: 400; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; font-weight: 700; flex: none; }
.review .who b { font-size: .96rem; }
.review .who span { font-size: .84rem; color: var(--slate); display: block; }

/* ---------- reviews carousel ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.reviews-nav { display: flex; gap: 10px; flex: none; }
.reviews-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.reviews-nav button:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-2px); }
.reviews-nav svg { width: 20px; height: 20px; }
.reviews-vp { overflow: hidden; }
.reviews-track { display: flex; gap: 28px; will-change: transform; }
.reviews-track .review { box-sizing: border-box; }
.reviews-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.reviews-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: background .25s ease, width .25s ease; }
.reviews-dots button.on { background: var(--clay); width: 26px; border-radius: 99px; }
@media (max-width: 560px) { .reviews-head { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 26px 48px 26px 0; position: relative; font-family: var(--font-display); font-size: clamp(1.1rem,1.7vw,1.35rem); color: var(--ink); display: flex; }
.faq__q::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); background: no-repeat center/contain; transition: transform .3s ease; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022e40' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(135deg); }
.faq__a { overflow: hidden; height: 0; transition: height .34s ease; }
.faq__a > div { padding: 0 48px 26px 0; color: var(--slate); }
.faq__a p { margin: 0; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--clay); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .9em 1em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bone); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 3px var(--clay-tint); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--slate) 70%, transparent); }
.field textarea { resize: vertical; min-height: 90px; }
.consent { display: flex; gap: .7em; align-items: flex-start; font-size: .8rem; color: var(--slate); line-height: 1.45; }
.consent input { margin-top: .2em; width: 17px; height: 17px; accent-color: var(--clay); flex: none; }
.consent a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.form__legal { font-size: .74rem; color: var(--slate); line-height: 1.5; }
.form__ok { display: none; text-align: center; padding: 26px; background: var(--clay-tint); border-radius: var(--radius); color: var(--clay-deep); font-weight: 500; }
.form.is-sent .form__fields { display: none; }
.form.is-sent .form__ok { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,238,227,.7); padding-block: clamp(48px,7vw,84px) 32px; }
.site-footer a { color: rgba(244,238,227,.7); transition: color .18s ease; }
.site-footer a:hover { color: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,238,227,.45); margin: 0 0 16px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .96rem; }
.foot-brand .brand { color: var(--bone); margin-bottom: 14px; }
.foot-brand p { font-size: .96rem; line-height: 1.6; max-width: 32ch; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 26px; font-size: .82rem; color: rgba(244,238,227,.5); }
.foot-bottom .links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- sticky mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bone) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.callbar .btn { flex: 1; }
@media (max-width: 720px) { .callbar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- scroll reveal (JS-gated; safe for print/PDF/offscreen) ---------- */
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
}
/* hard safety: once set, snap everything visible with no transition dependency */
html.reveal-show .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- tweaks panel ---------- */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 290px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 16px 18px; font-family: var(--font-body); display: none; }
#tweaks.show { display: block; }
#tweaks h5 { margin: 0 0 2px; font-family: var(--font-display); font-size: 1.1rem; }
#tweaks .tk-sub { font-size: .76rem; color: var(--slate); margin-bottom: 14px; }
#tweaks .tk-x { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--bone); display: grid; place-items: center; color: var(--slate); }
#tweaks .tk-grp { margin-top: 14px; }
#tweaks .tk-lbl { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
#tweaks .tk-seg { display: flex; gap: 4px; background: var(--bone); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
#tweaks .tk-seg button { flex: 1; border: 0; background: none; padding: .5em .3em; border-radius: 7px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
#tweaks .tk-seg button.on { background: var(--ink); color: var(--bone); }
#tweaks .tk-sw { display: flex; gap: 8px; }
#tweaks .tk-sw button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
#tweaks .tk-sw button.on { border-color: var(--ink); }

/* =========================================================================
   Inner landing pages (cost-financing, fue-artas, hair-transplant-cincinnati)
   Reuses the homepage tokens and components; adds only what these pages need.
   Nothing here is used by index.html, so the homepage is unaffected.
   ========================================================================= */

/* generic helpers */
.center { max-width: 760px; margin-inline: auto; text-align: center; }
.center .lead { margin-inline: auto; }
.measure-wide { max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); }
.card--soft { background: var(--bone-2); box-shadow: none; }

/* page hero (no full-bleed photo) */
.phero { background: var(--bone); border-bottom: 1px solid var(--line); padding-block: clamp(48px, 7vw, 104px); }
.phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }
.phero h1 { margin: .3em 0 .4em; }
.phero h1 em { font-style: italic; color: var(--clay); font-weight: 400; }
.phero .lead { max-width: 46ch; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.7em; }
.phero__note { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.5em; font-size: .95rem; color: var(--slate); }
.phero__note .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--sky-tint); color: var(--deep); display: grid; place-items: center; flex: none; }
.phero__note .tick svg { width: 13px; height: 13px; }

/* media placeholder slot */
.media-slot { aspect-ratio: 4/3; border-radius: var(--radius); border: 2px dashed color-mix(in srgb, var(--clay) 35%, var(--line)); background: var(--bone-2); display: grid; place-items: center; padding: 24px; text-align: center; }
.media-slot span { font-size: .95rem; color: var(--slate); max-width: 24ch; }

/* trust bar */
.trustbar { background: var(--ink); color: var(--bone); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; padding-block: 20px; }
.trustbar .ti { font-size: .98rem; color: rgba(244,238,227,.78); }
.trustbar .ti b { color: var(--bone); font-weight: 600; }

/* checklist */
.checklist { list-style: none; margin: 1.3em 0 0; padding: 0; display: grid; gap: .8em; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; color: var(--ink-soft); font-size: 1rem; }
.checklist li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--sky-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022e40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .98rem; vertical-align: top; }
.compare thead th { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); background: var(--bone); }
.compare thead th.col-wolf { color: var(--clay-deep); }
.compare td.cell-wolf, .compare th.col-wolf { background: var(--clay-tint); color: var(--ink); font-weight: 500; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--clay-deep); font-weight: 700; }

/* GHL form embed (path B), inside a homepage-style card */
.lead-form-head { margin-bottom: 16px; }
.lead-form-head h3 { margin-bottom: .25em; }
.lead-form-head p { color: var(--slate); font-size: .95rem; margin: 0; }
.ghl-embed { width: 100%; min-height: 640px; border: 0; border-radius: var(--radius-sm); background: var(--paper); display: block; }
.disclosure { margin-top: 14px; }
.disclosure p { font-size: .72rem; color: var(--slate); line-height: 1.5; margin: 0 0 .6em; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

/* hero proof image (replaces the media placeholder on inner pages) */
.phero__proof { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-md); }
.phero__proof img { width: 100%; border-radius: calc(var(--radius) - 6px); display: block; }
.phero__proof figcaption { margin-top: 10px; text-align: center; font-size: .88rem; color: var(--slate); font-weight: 500; }

/* layout fix: stack inline two-column section grids on small screens */
@media (max-width: 760px) {
  .wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ---------- sticky header: light at top, fades to footer-dark on scroll ---------- */
.site-header--ink .brand-logo { transition: filter .3s ease, opacity .3s ease; }
.site-header--ink.is-stuck { background: var(--ink); backdrop-filter: none; border-color: rgba(255,255,255,.10); box-shadow: 0 4px 24px rgba(0,0,0,.28); }
.site-header--ink.is-stuck .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
.site-header--ink.is-stuck .nav-links a { color: rgba(244,238,227,.82); }
.site-header--ink.is-stuck .nav-links a:hover { color: var(--bone); }
.site-header--ink.is-stuck .nav-phone { color: var(--bone); }
.site-header--ink.is-stuck .nav-phone svg { color: var(--sky-tint); }
.site-header--ink.is-stuck .nav-toggle.btn--ghost { color: var(--bone); border-color: rgba(255,255,255,.28); }
.site-header--ink.is-stuck .nav-toggle.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--bone); }
.site-header--ink.is-stuck #mobile-nav a { color: rgba(244,238,227,.85); }

/* ---------- announcement / offer bar (sticky, above the nav) ---------- */
.annc { position: sticky; top: 0; z-index: 70; background: var(--sky); color: #fff; }
.annc__in { max-width: var(--maxw); margin: 0 auto; padding: 10px clamp(40px, 6vw, 64px); text-align: center; font-size: .92rem; font-weight: 500; line-height: 1.3; }
.annc__in strong { font-weight: 700; }
.annc__cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; white-space: nowrap; margin-left: .25em; }
.annc__cta:hover { text-decoration-thickness: 2.5px; }
.annc__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: rgba(255,255,255,.85); font-size: 1.4rem; line-height: 1; width: 30px; height: 30px; border-radius: 7px; cursor: pointer; }
.annc__x:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- hide hero imagery on mobile (image-free hero) ---------- */
@media (max-width: 760px) {
  .hero__bg, .hero__scrim { display: none; }
  .hero { min-height: auto; }
  .hero__proof { display: none; }   /* homepage David before/after cards */
  .phero__proof { display: none; }  /* inner-page hero proof image */
}

/* ---------- chat widget ---------- */
.wchat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.15em; border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--bone); box-shadow: var(--shadow-lg); font-family: var(--font-body); font-weight: 600; font-size: .98rem; cursor: pointer; transition: transform .18s ease, background .2s ease; }
.wchat-launch:hover { transform: translateY(-2px); background: #000; }
.wchat-launch svg { width: 1.2em; height: 1.2em; }
.wchat-launch.is-hidden { display: none; }
@media (max-width: 720px) { .wchat-launch { right: 14px; bottom: 84px; } }

.wchat { position: fixed; right: 20px; bottom: 20px; z-index: 96; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 40px)); background: var(--bone); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.wchat.is-open { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 720px) { .wchat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } }

.wchat__head { background: var(--ink); color: var(--bone); padding: 13px 16px; display: flex; align-items: center; gap: 12px; }
.wchat__head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; flex: none; }
.wchat__head .av svg { width: 22px; height: 22px; }
.wchat__head h4 { margin: 0; font-family: var(--font-display); font-size: 1.05rem; color: var(--bone); line-height: 1.1; }
.wchat__head p { margin: 2px 0 0; font-size: .74rem; color: rgba(244,238,227,.7); }
.wchat__x { margin-left: auto; background: transparent; border: 0; color: rgba(244,238,227,.8); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.wchat__x:hover { background: rgba(255,255,255,.1); color: var(--bone); }

.wchat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.wmsg { max-width: 86%; padding: .68em .9em; border-radius: 14px; font-size: .95rem; line-height: 1.45; word-wrap: break-word; }
.wmsg--bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.wmsg--user { align-self: flex-end; background: var(--deep); color: var(--bone); border-bottom-right-radius: 4px; }
.wmsg--bot a { color: var(--clay); text-decoration: underline; }
.wmsg--user a { color: var(--bone); text-decoration: underline; }
.wsugg { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 2px; }
.wsugg button { text-align: left; max-width: 90%; padding: .55em .85em; border: 1px solid var(--clay-tint); border-radius: 13px; background: var(--paper); color: var(--clay-deep); font-family: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .15s ease; }
.wsugg button:hover { background: var(--clay-tint); border-color: var(--clay); transform: translateY(-1px); }
.wtyping { align-self: flex-start; display: inline-flex; gap: 4px; padding: .85em .9em; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.wtyping span { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: wbounce 1.2s infinite ease-in-out; }
.wtyping span:nth-child(2) { animation-delay: .15s; }
.wtyping span:nth-child(3) { animation-delay: .3s; }
@keyframes wbounce { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

.wchat__foot { border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); }
.wchat__row { display: flex; gap: 8px; align-items: flex-end; }
.wchat__row textarea { flex: 1; resize: none; max-height: 120px; min-height: 42px; font-family: inherit; font-size: .95rem; color: var(--ink); padding: .6em .8em; border: 1px solid var(--line); border-radius: 12px; background: var(--bone); }
.wchat__row textarea:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 3px var(--clay-tint); }
.wchat__send { flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s ease; }
.wchat__send:hover { background: var(--accent-deep); }
.wchat__send:disabled { opacity: .5; cursor: default; }
.wchat__quick { margin-top: 9px; }
.wchat__book { display: flex; align-items: center; justify-content: center; gap: .5em; width: 100%; padding: .72em 1em; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s ease, transform .15s ease; }
.wchat__book:hover { background: var(--accent-deep); transform: translateY(-1px); }
.wchat__book svg { flex: none; }
.wchat__note { margin: .55em 2px 0; font-size: .68rem; color: var(--slate); text-align: center; }

/* ---------- click-to-directions address link ---------- */
.dir-link { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .18s ease, color .18s ease; cursor: pointer; }
.dir-link:hover { text-decoration-style: solid; }
.site-footer .dir-link:hover { color: var(--bone); }

/* ---------- assistant avatar (photo with monogram fallback) ---------- */
.wav { position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--deep); display: grid; place-items: center; flex: none; }
.wav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wav__i { font-family: var(--font-display); color: var(--bone); font-weight: 600; font-size: 1.05rem; }
.wav--sm { width: 26px; height: 26px; }
.wav--sm .wav__i { font-size: .8rem; }
.wchat-launch .wav { background: var(--deep); box-shadow: 0 0 0 2px rgba(255,255,255,.18); }

/* ---------- proactive teaser bubble near the launcher ---------- */
.wtease { position: fixed; right: 20px; bottom: 78px; z-index: 95; width: min(300px, calc(100vw - 40px)); display: flex; align-items: flex-start; gap: 10px; padding: 12px 34px 12px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; border-bottom-right-radius: 6px; box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.wtease.is-show { opacity: 1; transform: none; pointer-events: auto; }
.wtease__body { font-size: .9rem; line-height: 1.4; color: var(--ink); }
.wtease__body b { display: block; font-size: .82rem; color: var(--clay); margin-bottom: 1px; }
.wtease__x { position: absolute; right: 6px; top: 6px; background: transparent; border: 0; color: var(--slate); font-size: 1.1rem; line-height: 1; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; }
.wtease__x:hover { background: var(--bone-2); color: var(--ink); }
@media (max-width: 720px) { .wtease { right: 14px; bottom: 142px; } }
