/* ==========================================================================
   NanoGuard Solutions — dark editorial theme (survey-funnel edition)
   Inspired by the Power Design Electrical layout · purple accent
   ========================================================================== */

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 108, 240, 0.4); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 108, 240, 0.65); }
* { scrollbar-width: thin; scrollbar-color: rgba(139,108,240,0.4) transparent; }

:root {
  --bg: #0a0912;
  --bg-elev: #131120;
  --bg-card: #17142a;
  --bg-card-hov: #1e1a38;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  --ink: #f1ecff;
  --ink-dim: rgba(241, 236, 255, 0.64);
  --ink-faint: rgba(241, 236, 255, 0.4);

  --accent: #7c4dff;
  --accent-bright: #b39dff;
  --accent-deep: #5a2ecc;
  --accent-glow: rgba(124, 77, 255, 0.42);

  --display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Outfit', ui-sans-serif, system-ui, sans-serif;

  --rad-sm: 6px;
  --rad: 12px;
  --rad-lg: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
.fx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body {
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; font-style: normal; }
h1, h2, h3, .q-title { text-transform: capitalize; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.uplabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-bright); font-weight: 500; }
.display { font-family: var(--display); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; font-size: 15px; font-weight: 600;
  border-radius: var(--rad); border: 1px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 55%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -1px 0 rgba(0,0,0,0.2) inset, 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 14px 34px -8px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--ink-faint); }
.btn-sm { padding: 11px 17px; font-size: 13px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ── */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 120; pointer-events: none; }
.nav .container { max-width: none; padding: 0 24px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 128px; padding-top: 14px; pointer-events: auto; }
.brand { display: inline-flex; align-items: center; pointer-events: auto; }
.brand-logo { height: 120px; width: auto; display: block; }
.footer .brand-logo { height: 128px; }
@media (max-width: 620px) { .brand-logo { height: 80px; } .nav-inner { height: 92px; padding-top: 10px; } }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  pointer-events: auto; color: #fff; font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28); backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s; white-space: nowrap;
}
/* Home-page nav shows just the phone icon in a circular bubble. */
.nav .nav-phone { width: 46px; height: 46px; padding: 0; gap: 0; display: grid; place-content: center; }
.nav-phone:hover { background: rgba(0,0,0,0.42); border-color: rgba(255,255,255,0.32); }
.nav-phone svg { color: var(--accent-bright); }
.nav-hamburger {
  width: 46px; height: 46px; display: grid; gap: 5px; place-content: center;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28); backdrop-filter: blur(8px); cursor: pointer;
}
.nav-hamburger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Nav drawer ── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5,4,10,0.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 200; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--bg-elev); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: 201; display: flex; flex-direction: column; padding: 28px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-link { font-family: var(--display); font-weight: 600; font-style: normal; font-size: 28px; padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, padding-left .2s; }
.drawer-link:hover { color: var(--accent-bright); padding-left: 8px; }
.drawer-foot { margin-top: auto; }
.drawer-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: 15px; }
.drawer-phone svg { color: var(--accent-bright); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(140px, 18vh, 210px) 0 clamp(60px, 9vh, 96px); text-align: center;
  isolation: isolate;
}
/* Background video fills the hero and covers the site-wide animation. */
.hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  /* poster as element background too — even a failed source shows the roof, never a black box */
  background: var(--bg) url("../images/hero-bg-poster.jpg") center / cover no-repeat; }
.hero-veil { position: absolute; inset: -4px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,9,18,0.55) 0%, rgba(10,9,18,0.15) 30%, rgba(10,9,18,0.2) 62%, rgba(10,9,18,0.72) 100%),
    radial-gradient(75% 60% at 50% 46%, rgba(10,9,18,0.42) 0%, transparent 66%); }
.hero-copy .hero-question, .hero-proof { text-shadow: 0 2px 20px rgba(6, 5, 12, 0.55); }
.hero .container { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.hero-title-panel { display: flex; flex-direction: column; align-items: center; padding: 28px 52px 32px; background: rgba(0,0,0,0.34); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; margin-bottom: 22px; }
.hero-hours { font-size: clamp(14px, 2vw, 17px); font-weight: 700; letter-spacing: 0.03em; color: #fff; margin: 0 0 12px; }
.hero-question { font-family: var(--sans); font-weight: 700; font-style: italic; font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.02em; line-height: 0.94; color: #fff; text-align: center; }
.hero-question em { font-style: normal; color: var(--accent-bright); }

/* Hero — split roof-check layout */
.hero { text-align: left; }
.hero-split { display: block; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-copy .hero-question { text-align: center; line-height: 1.0; font-size: clamp(42px, 5.6vw, 80px); }
.hero-eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); display: flex; align-items: center; gap: 14px; }
.hero-eyebrow::after { content: ""; width: 90px; height: 1px; background: var(--accent); opacity: .45; }
.hero-intro-sub { color: var(--ink-dim); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; margin: 0; max-width: 560px; }
.hero-cta-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.hero-start { padding: 18px 34px; font-size: 17px; border-radius: 13px; }
.hero-start .arrow { width: 15px; height: 11px; }
.hero-call { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-dim); font-size: 16px; font-weight: 500; transition: color .2s; padding: 10px 6px; margin: -10px -6px; }
.hero-call svg { color: var(--accent-bright); width: 17px; height: 17px; }
.hero-call:hover { color: var(--ink); }
.hero-proof { display: flex; align-items: center; gap: 12px; color: var(--ink-dim); font-size: 15px; }
.hero-proof b { color: var(--ink); }
.hero-proof .stars { color: #ffd166; letter-spacing: 2.5px; font-size: 16px; text-shadow: 0 0 14px rgba(255, 209, 102, 0.45); }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 620px) {
  .hero-copy { align-items: center; text-align: center; }
  .hero-copy .hero-question { text-align: center; }
  .hero-eyebrow::after { display: none; }
  .hero-cta-row, .intro-trust { justify-content: center; }
  /* stars stacked above the rating text so it reads as one centered unit */
  .hero-proof { flex-direction: column; gap: 5px; justify-content: center; text-align: center; }
}

.hero-tag-light {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; margin-bottom: 4px;
  border: 1px solid rgba(179,157,255,0.4); border-radius: 999px; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px); font-size: 13px; color: var(--accent-bright); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  animation: heroTagPulse 1.8s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes heroTagPulse {
  0% { box-shadow: 0 0 0 0 rgba(124,77,255,0.75); transform: scale(1); }
  50% { box-shadow: 0 0 0 26px rgba(124,77,255,0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(124,77,255,0); transform: scale(1); }
}

.hero-svc-grid { margin: 30px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 18px; }
@media (max-width: 620px) { .hero-svc-grid { grid-template-columns: 1fr; } }
.hero-svc {
  appearance: none; padding: 30px 28px; border: 2px solid rgba(255,255,255,0.92);
  background: linear-gradient(160deg, rgba(48,32,96,0.55), rgba(16,12,30,0.55));
  backdrop-filter: blur(14px); border-radius: 22px;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .32s cubic-bezier(.2,.8,.2,1); position: relative; overflow: hidden; text-align: center;
  box-shadow: 0 14px 36px -16px rgba(0,0,0,0.7);
}
.hero-svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(124,77,255,0.55), transparent 62%); opacity: 0; transition: opacity .35s; }
.hero-svc:hover { transform: translateY(-6px) scale(1.02); border-color: #fff; box-shadow: 0 30px 60px -18px var(--accent-glow); }
.hero-svc:hover::before { opacity: 0.5; }
.hero-svc-t { font-size: clamp(20px, 2.2vw, 25px); font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; position: relative; z-index: 1; }

.hero-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  margin: 28px auto 0; padding: 16px 30px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 10px 28px -14px var(--accent-glow); transition: all .26s ease;
}
.hero-phone svg { color: var(--accent-bright); width: 19px; height: 19px; }
.hero-phone:hover { border-color: var(--accent-bright); background: rgba(124,77,255,0.2); transform: translateY(-2px); color: #fff; }

.hero-certs { margin: 26px auto 0; display: flex; gap: 18px 34px; flex-wrap: wrap; justify-content: center; align-items: center; max-width: 820px; }
.hero-cert { display: inline-flex; align-items: center; gap: 11px; color: rgba(255,255,255,0.95); font-family: var(--mono); font-weight: 500; font-size: clamp(11px, 1.3vw, 13px); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-cert-check { color: var(--accent-bright); background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 5px; width: 26px; height: 26px; flex-shrink: 0; }

/* ── Trust marquee ── */
.trust { border-block: 1px solid var(--line); background: var(--bg-elev); padding: 26px 0; overflow: hidden; }
.trust-marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust-track { display: flex; gap: 52px; width: max-content; animation: trustScroll 38s linear infinite; }
.trust-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes trustScroll { to { transform: translateX(-50%); } }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-dim); font-size: 14px; font-weight: 500; white-space: nowrap; }
.trust-item svg { color: var(--accent-bright); flex-shrink: 0; }

/* ── Section ── */
.section { padding: clamp(72px, 11vw, 128px) 0; position: relative; }
.section > .container { position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2, .h2 { font-family: var(--display); font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.section-head h2 em, .h2 em { font-style: normal; color: var(--accent-bright); }
.section-head .lede { color: var(--ink-dim); font-size: 17px; margin-top: 18px; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { padding: 30px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--rad-lg); transition: border-color .3s, transform .3s; }
.stat:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.stat .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.stat .num { display: block; font-family: var(--display); font-weight: 700; font-style: normal; font-size: clamp(40px, 5vw, 60px); line-height: 1; margin: 12px 0 10px; color: var(--ink); }
.stat .num em { font-style: normal; color: var(--accent-bright); font-size: 0.55em; }
.stat .desc { font-size: 13.5px; color: var(--ink-dim); line-height: 1.5; }

/* ── How we work / process ── */
.process-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.process-media {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 77, 255, 0.08);
}
.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 60px -20px var(--accent-glow);
}
/* Video: drop-in replacement for the placeholder keeps the same frame */
.process-video,
.process-video-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}
.process-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-faint);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(124, 77, 255, 0.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--bg-elev);
}
.process-video-placeholder svg { width: 56px; height: 56px; color: var(--accent-bright); opacity: 0.8; }
.process-video-placeholder span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

.process-steps-label { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 30px; text-align: center; }
.process-steps-label::before, .process-steps-label::after {
  content: ""; height: 1px; width: 54px; flex: none;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--accent) 45%, transparent));
}
.process-steps-label::after { background: linear-gradient(270deg, transparent, color-mix(in oklab, var(--accent) 45%, transparent)); }
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pstep {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding-bottom: 34px;
  opacity: 0.4;
  transition: opacity .5s cubic-bezier(.2,.8,.2,1);
}
.pstep:last-child { padding-bottom: 0; }
.pstep.is-active { opacity: 1; }
/* vertical connector line between markers */
.pstep:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-deep), var(--line));
}
.pstep-num {
  position: relative;
  z-index: 1;
  flex: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--accent-bright);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.16), transparent 70%), var(--bg-card);
  box-shadow: 0 0 0 6px var(--bg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.pstep.is-active .pstep-num {
  color: #fff;
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 0 6px var(--bg), 0 0 26px -2px var(--accent-glow);
  transform: scale(1.08);
}
.pstep-body {
  padding-top: 4px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.pstep.is-active .pstep-body { transform: translateY(-2px); }
.pstep-body h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .4s;
}
.pstep.is-active .pstep-body h3 { color: var(--accent-bright); }
.pstep-body p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-wrap { grid-template-columns: 1fr; gap: 40px; }
  .process-video,
  .process-video-placeholder { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .pstep { grid-template-columns: 46px 1fr; gap: 16px; }
  .pstep:not(:last-child)::before { left: 22px; top: 50px; }
  .pstep-num { width: 46px; height: 46px; font-size: 17px; }
  .process-steps.sync-on { grid-template-columns: repeat(3, 46px); column-gap: 34px; }
  .process-steps.sync-on .pstep:not(:last-child) .pstep-num::after { left: calc(100% + 5px); width: 24px; }
}

/* ── Auto-playing process video with playback-synced steps ── */
/* Demonstration video is vertical (9:16) — frame matches so nothing is cropped, height-capped so it sits neatly beside the steps */
.process-media { align-self: center; width: auto; max-width: 100%; margin: 0 auto; background: #000; }
.process-video { display: block; width: auto; height: min(82vh, 760px); max-width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #000; }
/* floating "watch it work" chip on the video */
.process-live {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(10, 9, 18, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.process-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5470; animation: liveDot 1.6s ease-out infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 112, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(255, 84, 112, 0); } }
/* thin progress bar tracking the video's playback along the bottom of the frame */
.process-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.process-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px -1px var(--accent-glow);
  transition: width .25s linear;
}
/* Steps default to visible (no-JS / reduced-motion safe). When JS enables sync,
   the numbers form a horizontal progress rail and only the currently-playing
   step's text shows beneath them — large, centered, cinematic. */

/* registered so the ring/rail progress interpolates smoothly between
   the ~4Hz timeupdate ticks that drive it */
@property --stepp { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }

.process-steps.sync-on {
  display: grid;
  /* fixed tracks = medallion width, so the wide text panel below can't inflate
     the columns and push the medallions (and their connectors) apart */
  grid-template-columns: repeat(3, 54px);
  justify-content: center;
  justify-items: center;
  column-gap: 58px;
}
.process-steps.sync-on .pstep { display: contents; }
/* the old vertical connector doesn't apply to the horizontal layout */
.process-steps.sync-on .pstep::before { display: none; }
.process-steps.sync-on .pstep-num {
  grid-row: 1;
  position: relative;
  transition: transform .6s cubic-bezier(.34, 1.45, .4, 1), color .45s ease, border-color .45s ease, box-shadow .45s ease, background .45s ease;
}
/* conic ring around the active medallion — fills in real time with the clip */
.process-steps.sync-on .pstep.is-active .pstep-num::before {
  content: "";
  position: absolute; inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--accent-bright) calc(var(--stepp) * 360deg), rgba(255, 255, 255, 0.08) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 6px rgba(124, 77, 255, 0.55));
  transition: --stepp .45s linear;
  pointer-events: none;
}
/* connector rail between medallions — fills left→right like a progress bar:
   full behind completed steps, live-filling after the active one */
.process-steps.sync-on .pstep:not(:last-child) .pstep-num::after {
  content: "";
  position: absolute;
  left: calc(100% + 6px); top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 3px;
  border-radius: 999px;
  --fill: 0;
  background:
    linear-gradient(90deg, var(--accent-bright), var(--accent)) left center / calc(var(--fill) * 100%) 100% no-repeat,
    rgba(255, 255, 255, 0.09);
  transition: --fill .45s linear;
}
.process-steps.sync-on .pstep.is-active .pstep-num::after { --fill: var(--stepp); }
.process-steps.sync-on .pstep:has(~ .pstep.is-active) .pstep-num::after { --fill: 1; }
/* completed steps keep a lit ring so progress reads left→right */
.process-steps.sync-on .pstep:has(~ .pstep.is-active) .pstep-num {
  color: var(--accent-bright);
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 6px var(--bg), 0 0 18px -6px var(--accent-glow);
}
/* every step body occupies the same slot below the numbers → smooth crossfade, no height jumps */
.process-steps.sync-on .pstep-body {
  grid-row: 2;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(56ch, 88vw);
  margin-top: 40px;
  text-align: center;
  position: relative;
  isolation: isolate;
  opacity: 0;
  transition: opacity .5s ease;
}
/* giant ghost numeral floating behind the copy */
.process-steps.sync-on .pstep-body::before {
  content: "01";
  position: absolute;
  left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  z-index: -1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(130px, 15vw, 210px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(179, 157, 255, 0.055);
  pointer-events: none;
}
.process-steps.sync-on .pstep:nth-child(2) .pstep-body::before { content: "02"; }
.process-steps.sync-on .pstep:nth-child(3) .pstep-body::before { content: "03"; }
/* headline: bright gradient ink + animated underline flourish */
.process-steps.sync-on .pstep-body h3 {
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 0;
  background: linear-gradient(180deg, #fff 15%, var(--accent-bright) 115%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.process-steps.sync-on .pstep-body h3::after {
  content: "";
  display: block;
  width: 78px; height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent);
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.22, .9, .24, 1);
}
.process-steps.sync-on .pstep-body p {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.8;
  color: rgba(241, 236, 255, 0.92);
  text-shadow: 0 2px 14px rgba(10, 9, 18, 0.9);
  margin-top: 18px;
}
/* staggered entrance: headline rises, underline draws, paragraph follows */
.process-steps.sync-on .pstep-body h3,
.process-steps.sync-on .pstep-body p {
  transform: translateY(18px);
  transition: transform .65s cubic-bezier(.22, .9, .24, 1);
}
.process-steps.sync-on .pstep.is-active .pstep-body { opacity: 1; transition-delay: .1s; }
.process-steps.sync-on .pstep.is-active .pstep-body h3 { transform: none; transition-delay: .14s; }
.process-steps.sync-on .pstep.is-active .pstep-body h3::after { transform: scaleX(1); transition-delay: .38s; }
.process-steps.sync-on .pstep.is-active .pstep-body p { transform: none; transition-delay: .26s; }
/* dim only the inactive, not-yet-reached markers; active keeps its filled styling */
.process-steps.sync-on .pstep:not(.is-active):not(:has(~ .pstep.is-active)) .pstep-num { color: var(--ink-faint); border-color: var(--line); background: var(--bg-card); box-shadow: 0 0 0 6px var(--bg); }

/* ── Cards (services/values) ── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card { padding: 34px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--rad-lg); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--accent-bright), var(--accent)); transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7); }
.card:hover::before { transform: scaleY(1); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: color-mix(in oklab, var(--accent) 16%, transparent); border: 1px solid var(--line); color: var(--accent-bright); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); }
.card h3 { font-family: var(--display); font-size: 26px; margin: 6px 0 10px; color: var(--ink); }
.card p { color: var(--ink-dim); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-dim); font-size: 14.5px; }
.checks li svg { width: 20px; height: 20px; color: var(--accent-bright); flex-shrink: 0; margin-top: 1px; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial { display: block; padding: 32px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--rad-lg); transition: transform .3s, border-color .3s; }
.testimonial:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.testimonial-stars { color: var(--accent-bright); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-quote { font-family: var(--display); font-weight: 500; font-style: normal; font-size: 18px; line-height: 1.5; color: var(--ink); }
.testimonial-meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, var(--accent-bright), var(--accent-deep)); display: grid; place-items: center; font-weight: 700; color: #fff; }
.testimonial-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.testimonial-role { font-size: 12.5px; color: var(--ink-faint); }

/* ── Google reviews: badge + auto-scrolling marquee ── */
.greview-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-card);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.greview-badge:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--line-strong)); transform: translateY(-2px); box-shadow: 0 16px 34px -20px var(--accent-glow); }
.greview-g { width: 20px; height: 20px; flex: none; }
.greview-badge-txt { display: inline-flex; align-items: center; gap: 8px; }
.greview-badge-txt b { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); }
.greview-badge-stars { color: #ffc247; letter-spacing: 1px; font-size: 14px; }

/* Featured reviews — always visible, fully readable */
.greview-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
@media (max-width: 980px) { .greview-featured { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.greview-featured .greview-card { width: auto; position: relative; }
.greview-featured .greview-card::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent);
  background-size: 220% 100%; animation: tcardLine 5.5s linear infinite; opacity: .6;
}
.greview-featured .greview-quote { font-size: 16px; -webkit-line-clamp: 10; }

.greview-marquee {
  position: relative;
  margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.greview-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 8px 0;
  animation: greview-scroll 42s linear infinite;
}
.greview-marquee:hover .greview-track,
.greview-marquee:focus-within .greview-track { animation-play-state: paused; }
@keyframes greview-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); } /* half of track + half of one gap */
}
.greview-card {
  flex: 0 0 auto;
  width: 366px;
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  background: linear-gradient(170deg, rgba(124, 77, 255, 0.07), transparent 44%), var(--bg-card);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.greview-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(124, 77, 255, 0.4); }
.greview-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.greview-stars { color: #ffc247; letter-spacing: 3px; font-size: 16px; }
.greview-card-g { width: 22px; height: 22px; flex: none; opacity: .95; }
.greview-quote {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.greview-quote--rating { color: var(--ink-dim); -webkit-line-clamp: 2; }
.greview-quote--rating b { color: var(--ink); }
.greview-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.greview-avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 17px;
  background: linear-gradient(160deg, var(--gr-a, var(--accent-bright)), color-mix(in oklab, var(--gr-a, var(--accent-deep)) 60%, #000));
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3.5px color-mix(in oklab, var(--gr-a, var(--accent)) 70%, transparent);
}
.greview-who { display: flex; flex-direction: column; line-height: 1.35; }
.greview-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.greview-sub { font-size: 12px; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  .greview-marquee { overflow-x: auto; }
  .greview-track { animation: none; }
}
@media (max-width: 520px) {
  .greview-card { width: 300px; padding: 22px 22px; }
}

/* ── FAQ ── */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--rad); background: var(--bg-elev); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: color-mix(in oklab, var(--accent) 50%, var(--line-strong)); background: var(--bg-card); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: none; border: none; text-align: left; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 500; cursor: pointer; transition: color .2s; }
.faq-q:hover { color: var(--accent-bright); }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; }
.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-icon::after { width: 2px; height: 14px; transform: translate(-50%,-50%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.2,.8,.2,1); }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-dim); font-size: 15px; line-height: 1.6; }

/* ── CTA ── */
.cta-section { position: relative; }
.cta-card { text-align: center; max-width: 860px; margin: 0 auto; padding: clamp(44px, 7vw, 80px) 32px; border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line-strong));
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(124,77,255,0.22), transparent 65%), var(--bg-card);
  position: relative; overflow: hidden;
  box-shadow: 0 44px 100px -44px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.07); }
.cta-card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent);
  background-size: 220% 100%; animation: tcardLine 5.5s linear infinite;
}
.cta-card h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 56px); line-height: 1.04; color: var(--ink); margin: 14px 0 16px; }
.cta-card h2 em { font-style: normal; color: var(--accent-bright); }
.cta-card p { color: var(--ink-dim); max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Split (about) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 48px); line-height: 1.06; color: var(--ink); margin: 14px 0 18px; }
.split h2 em { font-style: normal; color: var(--accent-bright); }
.split p { color: var(--ink-dim); margin: 0 0 16px; }
.media-panel { aspect-ratio: 5/4; border-radius: var(--rad-lg); border: 1px solid var(--line); background:
  radial-gradient(circle at 35% 30%, rgba(124,77,255,0.3), transparent 60%),
  linear-gradient(160deg, var(--bg-card), var(--bg)); display: grid; place-items: center; overflow: hidden; position: relative; }
.media-panel svg { width: 42%; color: var(--accent-bright); opacity: 0.9; }
.pill { display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-elev); font-size: 13px; font-weight: 500; color: var(--ink-dim); transition: transform .25s, border-color .25s, color .25s; }
.pill:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-bright); }

/* ── Page hero (interior) ── */
.page-hero { position: relative; padding: clamp(150px, 20vh, 220px) 0 clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; }
.page-hero .container { position: relative; z-index: 3; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent-bright); }
.page-hero h1 { font-family: var(--display); font-size: clamp(44px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.025em; color: #fff; }
.page-hero h1 em { font-style: normal; color: var(--accent-bright); }
.page-hero .lede { color: var(--ink-dim); font-size: 18px; max-width: 620px; margin: 22px auto 0; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 30px; background: var(--bg-elev); }
.footer-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-row { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-tag { color: var(--ink-dim); font-size: 15px; margin-top: 18px; max-width: 34ch; }
.footer-tag em { font-style: normal; color: var(--ink); }
.footer h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a, .footer li { color: var(--ink-dim); font-size: 15px; transition: color .2s; }
/* comfortable tap targets on touch without changing the layout rhythm */
.footer ul a { display: inline-block; padding: 6px 0; margin: -6px 0; }
.footer a:hover { color: var(--accent-bright); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }

/* ── Sticky call bar ── */
.call-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%);
  z-index: 90; display: flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 22px; border-radius: 999px;
  background: rgba(19,17,32,0.9); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -12px rgba(0,0,0,0.7);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.call-bar.visible { transform: translate(-50%, 0); }
.call-bar-text { font-weight: 600; font-size: 14.5px; }
.call-bar-num { color: var(--ink-dim); font-size: 14px; }
@media (max-width: 620px) {
  .call-bar-num { display: none; }
  /* full-width slim bar: anchored to both edges, text on one line, button flush right */
  .call-bar {
    left: 12px; right: 12px; width: auto;
    transform: translateY(160%);
    justify-content: space-between; gap: 8px; padding: 9px 9px 9px 16px; bottom: 14px;
  }
  .call-bar.visible { transform: translateY(0); }
  .call-bar-text { font-size: clamp(11px, 3.5vw, 13.5px); white-space: nowrap; }
  .call-bar .btn-sm { padding: 10px 14px; font-size: clamp(11px, 3.4vw, 13px); }
}
/* extra-narrow phones (≤360px): tighten so everything stays on one line */
@media (max-width: 360px) {
  .call-bar { left: 8px; right: 8px; gap: 6px; padding: 8px 8px 8px 12px; }
  .call-bar-text { font-size: 10.5px; }
  .call-bar .btn-sm { padding: 9px 12px; font-size: 11px; }
}

/* ── Reveal ── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   Survey funnel
   ========================================================================== */
.survey {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; opacity: 0; pointer-events: none;
  transform: scale(0.985); transition: opacity .42s cubic-bezier(.4,0,.2,1), transform .42s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.survey.open { opacity: 1; pointer-events: auto; z-index: 190; transform: scale(1); }
.survey::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background:
  radial-gradient(60% 50% at 50% 0%, rgba(124,77,255,0.14), transparent 70%),
  radial-gradient(40% 40% at 80% 100%, rgba(124,77,255,0.08), transparent 70%); }
.survey-grid { position: absolute; inset: 0; z-index: 0; opacity: 0.35; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%); }
/* Same molecular constellation as the home page, behind the questions. */
.survey-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
/* Dimmed roofing photo slideshow — only on the first survey question (show-roofbg) */
.survey-roofbg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity .5s ease;
}
.survey.show-roofbg .survey-roofbg { opacity: 1; }
/* Hide the animated constellation on the first question — the roof photo is the background there */
.survey.show-roofbg .survey-fx { display: none; }
/* …and on every other question — the constellation is kept for the confirmation page only */
.survey.no-fx .survey-fx { display: none; }
/* individual photos crossfade one at a time, filling the whole page */
.rbg-slide {
  position: absolute; inset: 0; background: center / cover no-repeat;
  opacity: 0; transition: opacity 1.2s ease;
}
.rbg-slide.is-active { opacity: 1; }
/* dim overlay sits on top of the photos so text stays readable */
.survey-roofbg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(10,8,18,0.80), rgba(10,8,18,0.90));
}

.survey-head { position: relative; z-index: 3; padding: 34px 24px 0; display: flex; align-items: center; justify-content: space-between; height: 92px; }
.survey-progress-track { position: relative; z-index: 3; height: 3px; background: rgba(255,255,255,0.07); margin: 14px 32px 0; border-radius: 999px; overflow: hidden; }
.survey-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width .5s cubic-bezier(.2,.8,.2,1); border-radius: inherit; }
.survey-stage { flex: 1; position: relative; z-index: 2; overflow: hidden; min-height: 0; }
.survey-page { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 24px 48px 32px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
/* Center the step when it fits; scroll fully (no clipped top/bottom) when it doesn't. */
.survey-page > .qstack, .survey-page > .promo-split { margin-block: auto; }
.survey-page.enter-fwd { animation: sEnterFwd .5s cubic-bezier(.2,.8,.2,1) both; }
.survey-page.enter-back { animation: sEnterBack .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sEnterFwd { 0% { transform: translate(40px,0); opacity: 0; filter: blur(6px); } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes sEnterBack { 0% { transform: translate(-40px,0); opacity: 0; filter: blur(6px); } 100% { transform: none; opacity: 1; filter: none; } }
@media (max-width: 720px) { .survey-page { padding: 20px 20px 28px; } }

.qstack { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 22px; }
.q-counter { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent-bright); display: flex; align-items: center; gap: 12px; }
.q-counter::after { content: ""; flex: 1; max-width: 80px; height: 1px; background: var(--accent); opacity: .4; }
.q-title { font-family: var(--sans); font-weight: 700; font-style: normal; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.q-title em { font-style: normal; color: var(--accent-bright); }
.q-title em.plain { font-style: normal; }
.q-sub { color: var(--ink-dim); font-size: 16px; line-height: 1.55; margin: 0; max-width: 560px; }
.q-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.q-options.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .q-options, .q-options.three { grid-template-columns: 1fr; } }
.q-opt { padding: 22px; border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--ink); border-radius: var(--rad); cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 6px; transition: all .25s ease; position: relative; overflow: hidden; }
.q-opt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.q-opt:hover { border-color: var(--accent-bright); background: var(--bg-card-hov); transform: translateY(-2px); }
.q-opt:hover::before { transform: scaleY(1); }
.q-opt.selected { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, transparent); }
.q-opt.selected::before { transform: scaleY(1); }
.q-opt-t { font-size: 17px; font-weight: 600; line-height: 1.2; }
.q-opt-d { font-size: 13px; color: var(--ink-dim); line-height: 1.4; }
.q-input { width: 100%; padding: 18px 22px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--rad); color: var(--ink); font: 500 18px var(--sans); transition: border-color .25s, background .25s; }
.q-input:focus { outline: none; border-color: var(--accent); background: var(--bg-card-hov); }
.q-input.invalid { border-color: #fb7185; }
.q-input::placeholder { color: var(--ink-faint); }
.q-textarea { min-height: 68px; padding-block: 12px; resize: none; line-height: 1.5; }
.q-helper { font-size: 12.5px; color: var(--ink-faint); }
.q-helper b { color: var(--ink-dim); font-weight: 600; }
.q-err { font-size: 13px; color: #fb7185; line-height: 1.55; }
.q-err a { color: inherit; text-decoration: underline; font-weight: 600; }

/* Intro step */
.intro-stack { gap: 20px; }
.intro-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.intro-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.intro-chip svg { color: var(--accent-bright); flex-shrink: 0; width: 16px; height: 16px; }

.survey-foot { position: relative; z-index: 3; padding: 22px 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; }
.survey-back { background: none; border: none; color: var(--ink-dim); font-size: 14px; cursor: pointer; font-family: inherit; transition: color .2s; }
.survey-back:hover { color: var(--ink); }
.survey-foot .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
@media (max-width: 720px) { .survey-head, .survey-foot { padding-inline: 20px; } }

/* Promo step */
.promo-split { width: 100%; max-width: 1180px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
/* grid items default to min-width:auto, which would let the carousel's cards force the column wider than the screen */
.promo-split > * { min-width: 0; }
@media (max-width: 860px) { .promo-split { grid-template-columns: 1fr; gap: 24px; } }
.promo-card { display: flex; flex-direction: column; gap: 14px; }
.promo-card .q-title { font-size: clamp(28px, 4vw, 46px); }
.promo-stamp {
  align-self: flex-start; padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: 1.5px solid rgba(179, 157, 255, 0.65); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  display: inline-flex; align-items: center; gap: 8px;
  animation: heroTagPulse 1.8s cubic-bezier(.4,0,.6,1) infinite;
}
/* Warranty / one-day bar under the claim headline */
.promo-perks {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 13px 22px; border-radius: 14px;
  background: linear-gradient(120deg, color-mix(in oklab, var(--accent) 16%, transparent), color-mix(in oklab, var(--accent) 7%, transparent));
  border: 1px solid color-mix(in oklab, var(--accent-bright) 38%, transparent);
  box-shadow: 0 14px 34px -18px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.07);
}
.promo-perk { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.promo-perk svg { color: var(--accent-bright); flex-shrink: 0; }
.promo-perk-sep { width: 1px; align-self: stretch; background: color-mix(in oklab, var(--accent-bright) 35%, transparent); }
@media (max-width: 620px) {
  .promo-perks { gap: 10px; padding: 12px 16px; }
  .promo-perk { font-size: 13px; }
  .promo-perk-sep { display: none; }
}
.promo-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
/* Review carousel beside the claim form — arrows, dots, and swipe */
.tcar { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* positioning context for the flanking arrows — centres them on the card, not the whole widget */
.tcar-stage { position: relative; min-width: 0; }
.tcar-viewport {
  overflow: hidden; border-radius: var(--rad-lg);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.tcar-viewport:active { cursor: grabbing; }
.tcar-track { display: flex; align-items: stretch; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
/* min-width:0 lets the fixed 366px card width from .greview-card collapse to the track */
.tcar-card {
  flex: 0 0 100%; width: 100%; min-width: 0;
  position: relative; overflow: hidden;
  padding: 30px 34px 28px;
  border-color: color-mix(in oklab, var(--accent) 26%, var(--line));
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(124, 77, 255, 0.16), transparent 55%),
    linear-gradient(170deg, rgba(124, 77, 255, 0.08), transparent 46%), var(--bg-card);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 60px -34px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06);
}
/* animated accent line across the top, same as the home-page featured reviews */
.tcar-card::before {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent);
  background-size: 220% 100%; animation: tcardLine 5.5s linear infinite; opacity: .65;
}
/* oversized quotation mark behind the text */
.tcar-card::after {
  content: "\201C"; position: absolute; top: 34px; right: 22px; z-index: 0; pointer-events: none;
  font-family: Georgia, serif; font-size: 150px; line-height: 1; color: var(--accent);
  opacity: 0.14;
}
.tcar-card > * { position: relative; z-index: 1; }
/* full review text — the home-page clamp would truncate it here */
.tcar-card .greview-quote { -webkit-line-clamp: unset; display: block; overflow: visible; font-size: 16.5px; line-height: 1.7; }
/* the card already sits inside a moving track; no lift on hover */
.tcar-card:hover { transform: none; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 60px -34px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.06); }
/* arrows flank the card, vertically centred on the viewport */
.tcar-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink);
  background: rgba(19, 17, 32, 0.82); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.tcar-prev { left: -22px; }
.tcar-next { right: -22px; }
.tcar-arrow:hover { border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(30, 25, 52, 0.92); transform: translateY(-50%) scale(1.08); }
.tcar-arrow:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.tcar-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.tcar-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: none; background: var(--line-strong); transition: background .25s, transform .25s;
}
.tcar-dot:hover { background: var(--ink-faint); }
.tcar-dot.is-active { background: var(--accent-bright); transform: scale(1.4); }
.tcar-dot:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
@media (max-width: 860px) {
  /* phones: arrows would cover the text if they flanked the card — sit them beside the dots instead
     (static stage makes them anchor to .tcar, whose bottom is the dots row) */
  .tcar-stage { position: static; }
  .tcar-dots { min-height: 42px; }
  .tcar-arrow { width: 42px; height: 42px; top: auto; bottom: 0; transform: none; }
  .tcar-arrow:hover { transform: none; }
  .tcar-prev { left: calc(50% - 105px); }
  .tcar-next { right: calc(50% - 105px); }
  .tcar-card { padding: 26px 24px 24px; }
  .tcar-card::after { font-size: 110px; top: 30px; right: 14px; }
  .tcar-card .greview-quote { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .tcar-track { transition: none; } .tcar-card::before { animation: none; } }

.survey-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 560px; margin: 0 auto; }
.survey-done-mark { width: 92px; height: 92px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 20%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent); display: grid; place-items: center; color: var(--accent-bright); animation: confirmPop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes confirmPop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Italic accent words in headings (matches Power Design styling) */
.section-head h2 em, .h2 em, .page-hero h1 em, .cta-card h2 em, .split h2 em,
.stat .num em, .footer-tag em, .hero-question em, .q-title em, .card h3 em { font-style: italic; }
.q-title em.plain { font-style: normal; }

/* ==========================================================================
   V2 OVERHAUL — cinematic polish layer
   ========================================================================== */

:root { --water: #5ad1ff; --water-glow: rgba(90, 209, 255, 0.4); }

/* Film grain over everything for a premium finish */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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: 0.04; mix-blend-mode: overlay;
}
/* Film grain forces an extra full-screen composite pass — skip it on phones. */
@media (max-width: 720px) { body::after { display: none; } }

/* Button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-scroll-line { position: relative; width: 1px; height: 42px; background: linear-gradient(rgba(179,157,255,0.6), transparent); overflow: hidden; }
.hero-scroll-line::after { content: ""; position: absolute; left: -1px; top: -10px; width: 3px; height: 10px; border-radius: 2px; background: #fff; animation: scrollDrop 2.1s cubic-bezier(.55,0,.65,1) infinite; }
@keyframes scrollDrop { 0% { top: -12px; opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { top: 46px; opacity: 0; } }
@media (max-width: 720px), (max-height: 700px) { .hero-scroll { display: none; } }

/* ── Stats: gradient numbers + glow ── */
.stat { position: relative; background: linear-gradient(180deg, rgba(124,77,255,0.05), transparent 45%), var(--bg-card); }
.stat::before { content: ""; position: absolute; top: 0; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(179,157,255,0.55), transparent); }
.stat:hover { box-shadow: 0 22px 48px -22px rgba(124, 77, 255, 0.45); border-color: rgba(179, 157, 255, 0.32); }
.stat .num {
  background: linear-gradient(115deg, #ffffff 30%, var(--accent-bright) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent-bright);
}

/* ── Cards: hover glow bloom ── */
.card::after {
  content: ""; position: absolute; top: -42%; right: -32%; width: 75%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(124, 77, 255, 0.26), transparent 65%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card-icon { box-shadow: 0 0 26px -8px rgba(124, 77, 255, 0.55); }

/* ── The NanoGuard effect (canvas demo) ── */
.effect-wrap { max-width: 1040px; margin: 0 auto; }
.effect-panel {
  position: relative; aspect-ratio: 16 / 7; border-radius: var(--rad-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(124, 77, 255, 0.16), transparent 62%),
    radial-gradient(50% 60% at 85% 100%, rgba(90, 209, 255, 0.07), transparent 70%),
    linear-gradient(170deg, #141123 0%, #0c0a17 100%);
  box-shadow: 0 34px 80px -32px rgba(0, 0, 0, 0.85), 0 0 70px -30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.08);
}
@media (max-width: 720px) { .effect-panel { aspect-ratio: 4 / 3; } }
.effect-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ── Before / After slider ── */
.ba-wrap { max-width: 940px; margin: 0 auto; }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 8.4; border-radius: var(--rad-lg);
  border: 1px solid var(--line-strong); overflow: hidden;
  cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none;
  box-shadow: 0 34px 80px -32px rgba(0, 0, 0, 0.85), 0 0 60px -30px var(--accent-glow);
  outline: none;
}
.ba:focus-visible { border-color: var(--accent-bright); }
.ba-layer { position: absolute; inset: 0; }
.ba-after {
  background:
    radial-gradient(5px 5px at 22% 34%, rgba(160, 226, 255, 0.75) 40%, transparent 60%),
    radial-gradient(4px 4px at 47% 62%, rgba(160, 226, 255, 0.6) 40%, transparent 60%),
    radial-gradient(6px 6px at 71% 40%, rgba(160, 226, 255, 0.7) 40%, transparent 60%),
    radial-gradient(4px 4px at 86% 68%, rgba(160, 226, 255, 0.55) 40%, transparent 60%),
    radial-gradient(5px 5px at 34% 80%, rgba(160, 226, 255, 0.6) 40%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 60px),
    linear-gradient(115deg, transparent 28%, rgba(179, 157, 255, 0.13) 44%, transparent 60%),
    linear-gradient(165deg, #37315c 0%, #262047 48%, #1a1533 100%);
}
.ba-after::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.09) 46%, transparent 58%);
  transform: translateX(-110%); animation: baSheen 5.5s ease-in-out infinite;
}
@keyframes baSheen { 0%, 55% { transform: translateX(-110%); } 90%, 100% { transform: translateX(110%); } }
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background:
    radial-gradient(150px 95px at 18% 32%, rgba(64, 55, 40, 0.6), transparent 70%),
    radial-gradient(180px 120px at 64% 58%, rgba(45, 40, 32, 0.65), transparent 70%),
    radial-gradient(130px 85px at 86% 24%, rgba(94, 82, 60, 0.5), transparent 70%),
    radial-gradient(110px 80px at 38% 82%, rgba(52, 46, 36, 0.55), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.36) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0 2px, transparent 2px 60px),
    linear-gradient(165deg, #7d7565 0%, #605849 48%, #4b4439 100%);
}
.ba-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 9, 18, 0.65); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px);
}
.ba-badge.right { left: auto; right: 14px; background: rgba(124, 77, 255, 0.4); border-color: rgba(179, 157, 255, 0.55); color: #fff; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; z-index: 3;
  background: rgba(255, 255, 255, 0.85); transform: translateX(-1px);
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.9); pointer-events: none;
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 12px 30px -8px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.ba-note { text-align: center; color: var(--ink-faint); font-size: 13.5px; margin: 18px 0 0; }
.ba-note b { color: var(--ink); font-weight: 600; }

/* ── Restore vs Replace ── */
.vs-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 24px; max-width: 1040px; margin: 0 auto; align-items: stretch; position: relative; }
@media (max-width: 900px) { .vs-grid { grid-template-columns: 1fr; } }
/* floating VS medallion between the two cards */
.vs-badge {
  position: absolute; left: 51.5%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 7px var(--bg), 0 0 34px -4px var(--accent-glow);
}
@media (max-width: 900px) { .vs-badge { display: none; } }
.vs-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 40px 36px 34px; border-radius: var(--rad-lg);
  border: 1px solid var(--line); background: var(--bg-card);
}
.vs-win {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong));
  background: radial-gradient(120% 90% at 50% 0%, rgba(124, 77, 255, 0.18), transparent 62%), var(--bg-card);
  box-shadow: 0 34px 80px -34px var(--accent-glow);
}
.vs-flag {
  position: absolute; top: -14px; left: 32px; padding: 7px 15px; border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: 0 10px 24px -8px var(--accent-glow);
}
.vs-card h3 { font-family: var(--display); font-size: 27px; color: var(--ink); }
.vs-price { font-size: 15px; color: var(--ink-dim); }
.vs-price em { font-style: italic; font-family: var(--display); color: var(--accent-bright); font-size: 1.25em; }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.vs-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-dim); line-height: 1.5; }
.vs-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-bright); }
.vs-lose { opacity: 0.93; }
.vs-lose .vs-list li svg { color: #fb7185; }
.vs-lose h3 { color: var(--ink-dim); }
.vs-foot { font-size: 13px; color: var(--ink-faint); border-top: 1px dashed var(--line); padding-top: 15px; margin-top: auto; line-height: 1.5; }
.vs-win .btn { margin-top: 10px; align-self: flex-start; }

/* ── Treatments v2 ── */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .tgrid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.tcard {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 38px 32px 30px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(124, 77, 255, 0.06), transparent 42%), var(--bg-card);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.tcard::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--accent), transparent);
  background-size: 220% 100%; animation: tcardLine 5.5s linear infinite; opacity: .75;
}
@keyframes tcardLine { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.tcard:hover { transform: translateY(-7px); border-color: rgba(179, 157, 255, 0.35); box-shadow: 0 30px 64px -26px rgba(124, 77, 255, 0.5); }
.tcard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.tcard-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  color: var(--accent-bright); box-shadow: 0 0 32px -8px rgba(124, 77, 255, 0.65);
  animation: iconBob 4.6s ease-in-out infinite;
}
.tcard:nth-child(2) .tcard-icon { animation-delay: .8s; }
.tcard:nth-child(3) .tcard-icon { animation-delay: 1.6s; }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.tcard-icon svg { width: 28px; height: 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tcard:hover .tcard-icon svg { transform: scale(1.16) rotate(-5deg); }
.tcard-tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-bright); padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
}
.tcard h3 { font-family: var(--display); font-size: 30px; color: var(--ink); margin: 0; }
.tcard-lede { margin: 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.65; }
.tcard-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.tcard-list li {
  display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 1.5;
  opacity: 0; transform: translateX(-12px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}
.tcard-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-bright); }
.tcard.in .tcard-list li { opacity: 1; transform: none; }
.tcard.in .tcard-list li:nth-child(1) { transition-delay: .3s; }
.tcard.in .tcard-list li:nth-child(2) { transition-delay: .45s; }
.tcard.in .tcard-list li:nth-child(3) { transition-delay: .6s; }
.tcard-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 12px; }
.tcard-best { font-size: 13px; color: var(--ink-faint); line-height: 1.5; }
.tcard-best b { color: var(--ink-dim); font-weight: 600; }
.tcard-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  /* padded hit area (44px min) without shifting the visual layout */
  padding: 12px 12px 12px 0; margin: -12px 0;
  color: var(--accent-bright); font-family: inherit; font-size: 15px; font-weight: 600;
}
.tcard-link svg { transition: transform .25s ease; }
.tcard-link:hover svg { transform: translateX(4px); }
.tcard-hot {
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line-strong));
  background: radial-gradient(120% 90% at 50% 0%, rgba(124, 77, 255, 0.17), transparent 62%), var(--bg-card);
  box-shadow: 0 32px 72px -30px var(--accent-glow);
}
@media (min-width: 981px) {
  .tcard-hot { transform: translateY(-10px); }
  .tcard-hot:hover { transform: translateY(-17px); }
}
.tcard-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 15px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 10px 26px -8px var(--accent-glow);
}
@media (max-width: 980px) { .tcard-hot { transform: none; } .tcard-hot:hover { transform: translateY(-7px); } }

/* ── Footer FAQ ── */
.footer-faq { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.footer-faq h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; font-weight: 700; }
.footer-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; align-items: start; }
@media (max-width: 760px) { .footer-faq-grid { grid-template-columns: 1fr; } }
.footer-faq .faq-item { background: transparent; border-radius: 10px; }
.footer-faq .faq-item.open { background: var(--bg-card); }
.footer-faq .faq-q { padding: 14px 16px; font-size: 14.5px; }
.footer-faq .faq-a-inner { padding: 0 16px 14px; font-size: 13.5px; }
.footer-faq .faq-icon { width: 20px; height: 20px; }
.footer-faq .faq-icon::before { width: 8px; }
.footer-faq .faq-icon::after { height: 8px; }

/* ── Testimonials: glass + giant quote ── */
.testimonial { position: relative; overflow: hidden; background: linear-gradient(170deg, rgba(124, 77, 255, 0.08), transparent 42%), var(--bg-card); }
.testimonial::before {
  content: "\201C"; position: absolute; top: 2px; right: 20px; z-index: 0;
  font-family: var(--display); font-style: italic; font-size: 120px; line-height: 1;
  color: rgba(124, 77, 255, 0.20); pointer-events: none;
}
.testimonial > * { position: relative; z-index: 1; }
.testimonial:hover { box-shadow: 0 24px 50px -24px rgba(124, 77, 255, 0.4); }
.testimonial-avatar { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3.5px var(--accent); }

/* ── FAQ: circled icon ── */
.faq-icon { border: 1px solid var(--line-strong); border-radius: 50%; width: 26px; height: 26px; transition: background .3s, border-color .3s, color .3s; }
.faq-icon::before { width: 10px; }
.faq-icon::after { height: 10px; }
.faq-item.open .faq-icon { background: color-mix(in oklab, var(--accent) 25%, transparent); border-color: var(--accent); color: var(--accent-bright); }

/* ── CTA: animated conic border ── */
@property --ng-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta-card { position: relative; isolation: isolate; border: 1px solid transparent; background-clip: padding-box; }
.cta-card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--ng-a), transparent 0turn, transparent 0.32turn, var(--accent) 0.42turn, var(--accent-bright) 0.5turn, var(--accent) 0.58turn, transparent 0.68turn, transparent 1turn), rgba(255, 255, 255, 0.14);
  animation: ctaSpin 5.5s linear infinite;
}
@keyframes ctaSpin { to { --ng-a: 360deg; } }
.cta-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(70% 120% at 50% 0%, rgba(124, 77, 255, 0.22), transparent 65%), var(--bg-card);
}

/* Trust marquee polish */
.trust { position: relative; z-index: 2; }
.trust-item svg { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .05ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .bead, .scene-scan { opacity: 0 !important; }
  body::after { display: none; }
}
