/* ============================================================
   YOUR COMPANY HERE · HVAC
   Dark, engineered, calm. Cyan = the system. Amber = comfort.
   Fonts: Space Grotesk (display) · Inter (body) · JetBrains Mono (technical)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg:            #080b11;
  --bg-2:          #0b0f17;
  --surface:       #0f141e;
  --surface-2:     #141a26;
  --border:        rgba(148, 178, 214, 0.12);
  --border-strong: rgba(148, 178, 214, 0.22);

  /* Text */
  --text:          #eef3fa;
  --text-muted:    #9aabc0;
  --text-dim:      #64748b;

  /* Brand */
  --cyan:          #2fe0e0;   /* the system / cooling / data */
  --cyan-deep:     #13a5b4;
  --cyan-glow:     rgba(47, 224, 224, 0.35);
  --amber:         #ff9838;   /* heat / comfort / action */
  --amber-deep:    #f0791a;
  --amber-glow:    rgba(255, 152, 56, 0.35);

  /* Semantic */
  --ring:          var(--cyan);

  /* Type scale (fluid) */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.7rem + 1.25vw, 3rem);
  --step-4:  clamp(2.5rem, 2rem + 2.5vw, 4.5rem);

  /* Spacing rhythm (8pt) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  --radius:    14px;
  --radius-lg: 22px;
  --container: 1180px;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --header-h:  72px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}

p { margin: 0 0 var(--s-3); max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan); color: #04222b; }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2 * var(--s-3), var(--container)); margin-inline: auto; }

.section { padding: var(--s-8) 0; position: relative; }
@media (max-width: 720px) { .section { padding: var(--s-7) 0; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.lead { font-size: var(--step-1); color: var(--text-muted); line-height: 1.5; }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-btn);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-0);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border-color: transparent;
  color: #241002;
  font-weight: 600;
  box-shadow: 0 8px 30px -8px var(--amber-glow);
}
.btn--primary:hover { box-shadow: 0 14px 40px -8px var(--amber-glow); }

.btn--ghost { background: rgba(255,255,255,0.03); }
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--cyan); }

.btn--cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  border-color: transparent;
  color: #032428;
  font-weight: 600;
  box-shadow: 0 8px 30px -8px var(--cyan-glow);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(8, 11, 17, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand__mark { width: 34px; height: 34px; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: var(--step--1);
  color: var(--text-muted);
  padding: 9px 13px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.header__cta { display: flex; align-items: center; gap: var(--s-2); }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--text);
}
.header__phone svg { width: 16px; height: 16px; color: var(--cyan); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1000px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { font-size: 1rem; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 9, 14, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88vw, 360px);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: calc(var(--header-h) + var(--s-3)) var(--s-4) var(--s-4);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__panel a { padding: 14px 12px; border-radius: 10px; font-family: var(--font-display); font-size: 1.1rem; color: var(--text-muted); }
.drawer__panel a:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.drawer__panel .btn { margin-top: var(--s-3); }
.drawer__close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: var(--text); cursor: pointer; }
.drawer__close svg { width: 26px; height: 26px; }

/* ---------- Scroll progress bar ---------- */
.scrollbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 150; background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 12px var(--cyan-glow); transition: width 0.08s linear;
}

/* ---------- Cinematic chapters (full-screen scroll-scrub) ---------- */
.chapter { position: relative; background: var(--bg); }
.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: #05070c;
}
.stage__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: contents;
}
.stage__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Directional scrims: darken only behind the text, keep the animation clear.
   Every stage also gets a soft top darkening so the fixed header stays legible. */
.stage__scrim::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,12,0.78) 0%, rgba(5,7,12,0) 22%),
              linear-gradient(0deg, rgba(5,7,12,0.35) 0%, rgba(5,7,12,0) 26%);
}
[data-align="bottom-left"] .stage__scrim { background: linear-gradient(to top right, rgba(5,7,12,0.92), rgba(5,7,12,0.55) 34%, transparent 64%); }
[data-align="left"]        .stage__scrim { background: linear-gradient(to right,    rgba(5,7,12,0.93), rgba(5,7,12,0.55) 36%, transparent 62%); }
[data-align="right"]       .stage__scrim { background: linear-gradient(to left,     rgba(5,7,12,0.93), rgba(5,7,12,0.5) 36%, transparent 62%); }
[data-align="bottom"]      .stage__scrim { background: linear-gradient(to top,      rgba(5,7,12,0.93), rgba(5,7,12,0.45) 36%, transparent 66%); }
[data-align="center"]      .stage__scrim { background: radial-gradient(120% 100% at 50% 60%, rgba(5,7,12,0.4), rgba(5,7,12,0.82) 90%); }

.stage__content {
  position: absolute; inset: 0; z-index: 2;
  display: grid;
  padding: clamp(24px, 5vw, 92px);
  padding-top: calc(var(--header-h) + clamp(16px, 3vw, 40px));
  padding-bottom: clamp(48px, 7vh, 96px);
}
/* Every beat sits in the SAME grid cell so captions stack in one spot and
   crossfade in place (never tile side-by-side). Placement per chapter align. */
.stage__content > .beat { grid-area: 1 / 1; }
[data-align="bottom-left"] .beat { align-self: end;    justify-self: start; }
[data-align="left"]        .beat { align-self: center; justify-self: start; }
[data-align="right"]       .beat { align-self: center; justify-self: end; }
[data-align="bottom"]      .beat { align-self: end;    justify-self: start; }
[data-align="center"]      .beat { align-self: center; justify-self: center; text-align: center; }

/* Chapter HUD label */
.stage__hud {
  position: absolute; z-index: 3;
  top: calc(var(--header-h) + 16px); right: clamp(16px, 4vw, 48px);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 9px;
}
.stage__hud .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.4; transform: scale(0.7);} }

/* Text beats */
.beat {
  max-width: 640px;
  will-change: opacity, transform;
}
[data-align="center"] .beat { max-width: 760px; margin-inline: auto; }
[data-align="bottom"] .beat { max-width: 760px; }
.beat h1 { font-size: var(--step-4); margin-bottom: var(--s-3); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.beat h1 .accent { color: var(--cyan); }
.beat h2 { font-size: var(--step-3); margin-bottom: var(--s-3); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.beat__lead { font-size: var(--step-1); color: #d6e0ee; line-height: 1.5; max-width: 54ch; }
[data-align="center"] .beat__lead { margin-inline: auto; }
.beat__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 var(--s-3); }
.beat__list { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.beat__list li { position: relative; padding-left: 22px; color: #cbd6e6; font-size: var(--step--1); }
.beat__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border: 1.5px solid var(--cyan); border-radius: 2px; }

/* Finale CTA beat: centered regardless of the chapter's alignment, with its
   own soft radial scrim so it stays legible over the whole-home frame. */
.beat--fill {
  align-self: center !important; justify-self: center !important;
  text-align: center; max-width: min(820px, 100%);
  padding: clamp(24px, 4vw, 56px);
  background: radial-gradient(120% 120% at 50% 50%, rgba(5,7,12,0.72), rgba(5,7,12,0.4) 55%, transparent 100%);
  border-radius: 28px;
}
.beat--fill__inner { max-width: 760px; }
.beat--fill .beat__lead { margin-inline: auto; }
.beat--fill .beat__cta { justify-content: center; }

.trustline { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); list-style: none; padding: 0; margin: var(--s-1) 0 0; }
.trustline li { display: inline-flex; align-items: center; gap: 9px; font-size: var(--step--1); color: var(--text-muted); }
.trustline svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }

/* Scroll cue */
.scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}
.scrollcue svg { width: 20px; height: 20px; color: var(--cyan); animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Mobile: force all chapter captions to a legible bottom-left block */
@media (max-width: 760px) {
  .chapter .beat, .chapter .beat--fill { align-self: end !important; justify-self: start !important; text-align: left !important; max-width: 100% !important; margin-inline: 0 !important; }
  .chapter .stage__scrim { background: linear-gradient(to top, rgba(5,7,12,0.95) 4%, rgba(5,7,12,0.5) 42%, transparent 74%) !important; }
  .beat__lead { margin-inline: 0 !important; }
  .beat__cta { justify-content: flex-start !important; }
  .stage__hud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__hud .dot, .scrollcue svg { animation: none; }
  .scrollcue { display: none; }
}

/* ---------- Section head ---------- */
.section-head { max-width: 60ch; margin-bottom: var(--s-5); }
.section-head h2 { font-size: var(--step-3); }

/* Check lists */
.checks { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: 2px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--border); }
.checks li:last-child { border-bottom: none; }
.checks .ic { flex: none; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.checks span { color: var(--text-muted); }

/* Tag chips */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-4); }
.chip {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em;
  color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 8px 15px;
}
.chip--cyan { color: var(--cyan); border-color: rgba(47,224,224,0.3); }

/* Side labels (system logic) */
.sidelabels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-4); }
.sidelabel { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.sidelabel::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--cyan); }

/* ---------- Diagnostics / process steps ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); margin-top: var(--s-6); counter-reset: step; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-3);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.step__n { counter-increment: step; font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); margin-bottom: var(--s-3); display: block; }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: var(--step--1); color: var(--text-muted); margin: 0; }

/* ---------- Cards / services ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 900px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.card:hover::before { opacity: 1; }
.card__ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(47,224,224,0.18), rgba(47,224,224,0.04));
  border: 1px solid rgba(47,224,224,0.25);
  margin-bottom: var(--s-3);
}
.card__ic svg { width: 24px; height: 24px; color: var(--cyan); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: var(--step--1); color: var(--text-muted); margin: 0; }

/* ---------- Why-choose value grid ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--bg-2); padding: var(--s-4); display: flex; gap: var(--s-3); align-items: flex-start; transition: background 0.3s; }
.value:hover { background: var(--surface); }
.value .ic { flex: none; width: 26px; height: 26px; color: var(--cyan); margin-top: 3px; }
.value h4 { font-size: 1.08rem; margin-bottom: 6px; }
.value p { font-size: var(--step--1); color: var(--text-muted); margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.review__stars { display: flex; gap: 3px; color: var(--amber); }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.review__who { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); margin-top: auto; }

.proofbar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); justify-content: center; }
.proof {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 11px 20px;
  font-size: var(--step--1); color: var(--text-muted);
}
.proof strong { color: var(--text); font-family: var(--font-display); }
.proof svg { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- Service area ---------- */
.area { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); align-items: center; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; gap: var(--s-4); } }
.citylist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-4); }
.city {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 11px 16px; background: var(--surface);
  display: inline-flex; align-items: center; gap: 9px;
}
.city svg { width: 14px; height: 14px; color: var(--cyan); }
.area__map {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; position: relative;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(47,224,224,0.12), transparent 70%),
    var(--surface);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--border); }
.qa__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  color: var(--text); font-family: var(--font-display); font-size: 1.16rem; font-weight: 500;
  padding: var(--s-4) 44px var(--s-4) 0; position: relative;
  display: flex; align-items: center; gap: var(--s-2);
}
.qa__q .plus { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--cyan); transition: transform 0.3s var(--ease); flex: none; }
.qa.open .qa__q .plus { transform: translateY(-50%) rotate(45deg); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.qa__a-inner { padding: 0 0 var(--s-4); color: var(--text-muted); }
.qa__a p { margin: 0; }

/* ---------- Final CTA ---------- */
.finalcta { position: relative; overflow: hidden; padding: 0; }
.finalcta__media { position: absolute; inset: 0; z-index: 0; }
.finalcta__media video { width: 100%; height: 100%; object-fit: cover; }
.finalcta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg) 0%, rgba(8,11,17,0.72) 40%, rgba(8,11,17,0.8) 100%); }
.finalcta__inner { position: relative; z-index: 2; padding: var(--s-8) 0; text-align: center; }
.finalcta h2 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.finalcta .lead { max-width: 60ch; margin: 0 auto var(--s-5); }
.finalcta__btns { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }

/* ---------- Contact / form ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-6); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--s-4); } }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--s-2); }
.field label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 7px; font-family: var(--font-mono); letter-spacing: 0.03em; }
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px;
  color: var(--text); font-family: var(--font-body); font-size: var(--step-0);
  padding: 13px 14px; min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47,224,224,0.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.form__note { font-size: 0.82rem; color: var(--text-dim); margin: var(--s-2) 0 0; }
.form__success { display: none; text-align: center; padding: var(--s-4) 0; }
.form__success.show { display: block; }
.form__success svg { width: 54px; height: 54px; color: var(--cyan); margin-bottom: var(--s-2); }

.contact__list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-2); }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border); }
.contact__list .ic svg { width: 19px; height: 19px; color: var(--cyan); }
.contact__list b { display: block; font-family: var(--font-display); font-weight: 500; }
.contact__list span { font-size: var(--step--1); color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: var(--s-7) 0 var(--s-4); background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: var(--s-4); } }
.footer__brand p { color: var(--text-muted); font-size: var(--step--1); max-width: 42ch; margin-top: var(--s-2); }
.footer h5 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 var(--s-2); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__links a { color: var(--text-muted); font-size: var(--step--1); transition: color 0.2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: space-between; align-items: center; margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-dim); }
.footer__bottom .mono { font-family: var(--font-mono); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .vtag .dot { animation: none; }
}

/* subtle top ambient glow per section */
.glow-top::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
