/* ============================================================
   RoofMetric — Dark Theme Stylesheet
   Design: Roofle-inspired dark, #0a0a0a, orange #f97316 + cyan #22d3ee
   Fonts: Barlow Condensed 900 (display) + Outfit (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --orange:       #f97316;
  --orange-hover: #ea6400;
  --orange-glow:  rgba(249,115,22,0.35);
  --orange-soft:  rgba(249,115,22,0.12);
  --orange-mid:   rgba(249,115,22,0.25);
  --cyan:         #22d3ee;
  --green:        #22c55e;
  --green-soft:   rgba(34,197,94,0.12);
  --red:          #ef4444;

  /* Surfaces */
  --bg:           #0a0a0a;
  --bg-2:         #111111;
  --bg-3:         #1a1a1a;
  --surface:      #111111;
  --surface-2:    #1a1a1a;
  --surface-hover:#222222;

  /* Text */
  --text:         #f4f4f5;
  --text-2:       #a1a1aa;
  --text-3:       #71717a;
  --white:        #ffffff;

  /* Borders */
  --border:       #27272a;
  --border-2:     #3f3f46;
  --border-focus: #f97316;

  /* Legacy aliases — remapped for dark theme */
  --navy:         #f4f4f5;
  --navy-2:       #a1a1aa;
  --slate:        #a1a1aa;
  --slate-light:  #71717a;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Outfit', sans-serif;

  /* Layout */
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.7);
  --shadow:    0 4px 24px rgba(0,0,0,.7);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.85);
  --transition: 0.18s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Nav ───────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  transition: background var(--transition), border-color var(--transition);
}
.site-nav.scrolled {
  background: rgba(10,10,10,0.92);
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex; align-items: baseline; gap: 6px; text-decoration: none;
}
.nav-logo-name {
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  color: var(--white); letter-spacing: 0.01em; text-transform: uppercase;
}
.nav-logo-name span { color: var(--orange); }
.nav-logo-sub {
  font-size: 11px; color: var(--text-3); letter-spacing: 0.04em;
}
.nav-trust {
  display: flex; align-items: center; gap: 24px;
}
.nav-trust-item {
  font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 500;
}
.nav-trust-item svg { flex-shrink: 0; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 0%, transparent 25%,
    rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.85) 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    transparent 20%,
    transparent 75%,
    rgba(10,10,10,0.9) 100%
  );
}

/* ── Star Field ────────────────────────────────────────────── */
.hero-stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 0.7; transform: scale(1); }
}

/* ── Floating Price Tags ───────────────────────────────────── */
.hero-price-tags {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.price-tag {
  position: absolute;
  background: rgba(15,15,15,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--white);
  opacity: 0;
  animation: floatIn 0.6s ease forwards, floatBob 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.6s);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to   { opacity: 0.85; transform: translateY(0) scale(1); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Hero Content ──────────────────────────────────────────── */
.hero-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.hero-badge svg { color: var(--orange); }
.hero-headline {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(52px, 10vw, 100px);
  line-height: 0.95; letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
  margin-bottom: 8px;
}
.hero-headline-accent { color: var(--orange); display: block; }

/* Cloud image headline */
.hero-cloud-line {
  display: block;
  line-height: 1;
  margin-top: -4px;
}
.hero-cloud-img {
  display: block;
  width: min(820px, 88vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 40px rgba(255,255,255,0.18)) drop-shadow(0 2px 12px rgba(0,0,0,0.5));
  animation: cloudFloat 6s ease-in-out infinite;
}
@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-desc {
  display: inline-block;
  margin-top: 16px; margin-bottom: 32px;
  padding: 20px 32px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  max-width: 540px;
}
.hero-desc p:first-child {
  font-size: 17px; color: rgba(255,255,255,0.92);
  font-weight: 500; margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.hero-desc p:last-child {
  font-size: 14px; color: rgba(255,255,255,0.65);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.hero-cta-group {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 14px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 0 40px var(--orange-glow), 0 8px 24px rgba(0,0,0,0.4);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.hero-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 60px var(--orange-glow), 0 12px 32px rgba(0,0,0,0.5);
}
.hero-cta:active { transform: translateY(0); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
}
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.hero-trust-item svg { color: var(--cyan); width: 14px; height: 14px; }
.hero-trust-divider { color: rgba(255,255,255,0.2); font-size: 16px; }

/* ── Hero bottom fade ──────────────────────────────────────── */
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; z-index: 6;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ── Stats Section ─────────────────────────────────────────── */
.stats-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  color: var(--orange); line-height: 1;
  letter-spacing: 0.01em; margin-bottom: 4px;
}
.stat-label {
  font-size: 14px; color: var(--text-2); font-weight: 500;
}

/* ── Wizard Section (homepage embed) ──────────────────────── */
.wizard-section {
  background: var(--bg);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.wizard-section-header {
  text-align: center; max-width: 600px; margin: 0 auto 48px;
}
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 12px; display: block;
}
.section-heading {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white); line-height: 1; text-transform: uppercase;
  letter-spacing: 0.02em; margin-bottom: 12px;
}
.section-sub {
  font-size: 15px; color: var(--text-2); line-height: 1.7;
}

/* ── Wizard Shell ──────────────────────────────────────────── */
.wizard-shell {
  min-height: unset;
  padding-top: 0;
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}

/* ── Progress bar ──────────────────────────────────────────── */
.wizard-progress {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
  position: sticky; top: 68px; z-index: 100;
}
.progress-bar-track {
  flex: 1; height: 3px; background: var(--border); border-radius: 99px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--orange); border-radius: 99px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px var(--orange-glow);
}
.progress-label {
  font-size: 12px; color: var(--text-3); white-space: nowrap; min-width: 60px;
  text-align: right; font-family: var(--font-body);
}
.back-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-2); padding: 6px 0;
  transition: color var(--transition);
}
.back-btn:hover { color: var(--text); }
.back-btn svg { width: 14px; height: 14px; }
.back-btn[hidden] { display: none; }

/* ── Wizard stage ──────────────────────────────────────────── */
.wizard-stage {
  width: 100%; flex: 1;
}

/* ── Step transitions ──────────────────────────────────────── */
.step { display: none; animation: stepIn 0.3s ease both; }
.step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stepBack {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.step.reverse { animation-name: stepBack; }

/* ── Step heading ──────────────────────────────────────────── */
.step-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.step-heading {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 4vw, 38px); line-height: 1;
  color: var(--white); margin-bottom: 8px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.step-sub {
  font-size: 15px; color: var(--text-2); margin-bottom: 28px; line-height: 1.6;
}

/* ── Option cards ──────────────────────────────────────────── */
.option-cards {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px;
}
.option-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: left;
}
.option-card:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
}
.option-card.selected {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.option-card.selected .option-check { display: flex; }
.option-icon {
  width: 48px; height: 48px; border-radius: var(--radius); flex-shrink: 0;
  background: var(--bg-3); display: flex; align-items: center; justify-content: center;
  font-size: 24px; border: 1px solid var(--border);
}
.option-card.selected .option-icon { background: var(--orange-soft); border-color: var(--orange-mid); }
.option-text { flex: 1; }
.option-title {
  font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 2px;
}
.option-desc { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.option-check {
  display: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: white; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px;
}

/* ── Inputs ────────────────────────────────────────────────── */
.input-group { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.field-label {
  font-size: 11px; font-weight: 600; color: var(--text-2); margin-bottom: 6px;
  display: block; text-transform: uppercase; letter-spacing: 0.06em;
}
.required-star { color: var(--orange); font-weight: 700; }
.optional-label { color: var(--text-3); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.report-teaser-email { font-size: 15px; font-weight: 600; color: var(--cyan); margin: 4px 0 12px; }
.field-wrap { position: relative; }
.field-input, .field-select {
  width: 100%; padding: 13px 16px;
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.field-input::placeholder { color: var(--text-3); }
.field-input:focus, .field-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
}
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.field-select option { background: var(--bg-2); color: var(--text); }
.field-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ── Satellite card ────────────────────────────────────────── */
.satellite-card {
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.satellite-img-wrap {
  width: 100%; height: 260px; background: #050810;
  position: relative; overflow: hidden;
}
.satellite-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.satellite-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
}
.satellite-spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--orange); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.satellite-loading-text {
  font-size: 13px; color: var(--text-3); letter-spacing: 0.04em;
}
.satellite-crosshair {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.satellite-crosshair::before, .satellite-crosshair::after {
  content: ''; position: absolute; background: rgba(249,115,22,0.45);
}
.satellite-crosshair::before { width: 1px; height: 100%; }
.satellite-crosshair::after  { width: 100%; height: 1px; }
.satellite-info {
  padding: 16px 20px; border-top: 1px solid var(--border);
}
.satellite-address {
  font-weight: 600; font-size: 15px; color: var(--text); margin-bottom: 4px;
}
.satellite-coords {
  font-size: 12px; color: var(--text-3); font-feature-settings: "tnum";
}

/* ── GAF Material Selection ────────────────────────────────── */
.material-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 540px) {
  .material-cards { grid-template-columns: 1fr; }
}
.material-card {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
}
.material-card:hover {
  border-color: rgba(249,115,22,0.4);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.material-card.selected {
  border-color: var(--orange);
  background: rgba(249,115,22,0.07);
  box-shadow: 0 0 0 1px var(--orange);
}
.material-card--popular {
  border-color: rgba(249,115,22,0.35);
}
.material-card-top { margin-bottom: 8px; }
.material-card-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--bg-3); color: var(--text-3);
  border: 1px solid var(--border);
}
.material-card-badge--hot {
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border-color: rgba(249,115,22,0.35);
}
.material-card-name {
  font-family: var(--font-display); font-weight: 900;
  font-size: 17px; color: var(--text); letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.material-card-type {
  font-size: 12px; color: var(--text-3); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.material-card-price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--orange); margin-bottom: 10px;
}
.material-card-price span { font-size: 13px; color: var(--text-3); font-family: var(--font-body); font-weight: 400; }
.material-card-features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 12px;
}
.material-card-features li {
  font-size: 12px; color: var(--text-2); padding-left: 14px; position: relative;
}
.material-card-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--orange); font-weight: 700; font-size: 11px;
}
.material-card-check {
  font-size: 12px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: color var(--transition);
}
.material-card.selected .material-card-check { color: var(--orange); }

/* estimate material tag */
.estimate-material-tag {
  display: inline-block;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange); border-radius: 999px;
  font-size: 13px; font-weight: 600;
  padding: 5px 14px; margin-bottom: 16px;
}

/* ── Details step ──────────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.skip-link {
  display: block; text-align: center; font-size: 13px; color: var(--text-3);
  text-decoration: underline; cursor: pointer; margin-bottom: 24px;
}
.skip-link:hover { color: var(--text-2); }

/* ── Estimate loading ──────────────────────────────────────── */
.estimate-loading { text-align: center; padding: 48px 0; }
.estimate-spinner {
  width: 56px; height: 56px; border: 4px solid var(--border);
  border-top-color: var(--orange); border-radius: 50%;
  animation: spin 0.9s linear infinite; margin: 0 auto 20px;
  box-shadow: 0 0 20px var(--orange-soft);
}
.estimate-loading-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 900;
  color: var(--text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em;
}
.estimate-loading-sub { font-size: 14px; color: var(--text-2); }
.scanning-steps { list-style: none; text-align: left; margin: 24px auto; max-width: 280px; }
.scanning-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-3); padding: 6px 0;
  opacity: 0.4; transition: opacity 0.3s;
}
.scanning-step.done { color: var(--green); opacity: 1; }
.scanning-step.active { color: var(--text); opacity: 1; }
.scanning-step-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.scanning-step.active .scanning-step-dot { animation: pulse-dot 1s ease infinite; }

/* ── Estimate display ──────────────────────────────────────── */
.estimate-display { animation: stepIn 0.4s ease both; }
.estimate-hero {
  background: linear-gradient(135deg, #18100a, #1a0c00);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 32px; text-align: center; margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.estimate-hero::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.2), transparent 70%);
}
.estimate-hero-label {
  font-size: 11px; color: var(--text-3); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 10px;
}
.estimate-range {
  font-family: var(--font-display); font-size: clamp(38px, 7vw, 56px);
  font-weight: 900; color: var(--white); margin-bottom: 6px;
  letter-spacing: 0.02em; line-height: 1;
}
.estimate-range span { color: var(--orange); }
.estimate-basis { font-size: 13px; color: var(--text-3); }
.estimate-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px;
}
.est-card {
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
}
.est-card-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 6px;
}
.est-card-value {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--text); line-height: 1;
}
.est-card-unit { font-size: 13px; font-weight: 400; color: var(--text-2); }
.estimate-disclaimer {
  font-size: 12px; color: var(--text-3); text-align: center;
  line-height: 1.6; margin-bottom: 20px;
}
.report-teaser {
  background: var(--orange-soft);
  border: 1.5px solid var(--orange-mid); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom: 24px;
}
.report-teaser-title {
  font-weight: 700; font-size: 14px; color: var(--orange); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px;
}
.report-teaser-items {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.report-teaser-items li {
  font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px;
}
.report-teaser-items li::before { content: '✓'; color: var(--orange); font-weight: 800; }

/* ── Lead form ─────────────────────────────────────────────── */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Primary CTA button ────────────────────────────────────── */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px;
  background: var(--orange); color: white;
  border-radius: var(--radius-lg); font-family: var(--font-display);
  font-weight: 900; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px var(--orange-glow);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--orange-hover); transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--orange-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary svg { width: 18px; height: 18px; }

/* ── Trust bar ─────────────────────────────────────────────── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 20px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-3); font-weight: 500;
}
.trust-item svg { width: 14px; height: 14px; color: var(--green); }

/* ── How It Works Section ──────────────────────────────────── */
.hiw-section {
  background: var(--bg-2);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.hiw-inner { max-width: 1000px; margin: 0 auto; }
.hiw-header { text-align: center; margin-bottom: 60px; }
.hiw-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hiw-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 24px;
  text-align: center; position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.hiw-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.hiw-card-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 72px; line-height: 1; color: var(--orange-soft);
  position: absolute; top: 16px; right: 20px;
  color: rgba(249,115,22,0.12);
}
.hiw-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-soft); border: 1px solid var(--orange-mid);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 24px;
}
.hiw-card-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 18px; color: var(--white); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hiw-card-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Testimonials Section ──────────────────────────────────── */
.testimonials-section {
  background: var(--bg); padding: 100px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.testimonials-header { text-align: center; margin-bottom: 56px; padding: 0 24px; }
.testimonials-track-wrap {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.testimonials-track {
  display: flex; gap: 20px;
  animation: testimonialScroll 50s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  width: 320px; flex-shrink: 0;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--border-2); }
.testimonial-stars {
  display: flex; gap: 3px; margin-bottom: 14px;
  color: var(--orange); font-size: 16px;
}
.testimonial-text {
  font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-3); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 16px;
  color: var(--orange); flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 2px;
}
.testimonial-location { font-size: 12px; color: var(--text-3); }

/* ── CTA Band ──────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden;
  padding: 100px 48px 100px;
  background-image: url('/static/img/hero-bg.jpg');
  background-size: cover; background-position: center 40%;
}
/* dark blue-slate overlay matching reference */
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 14, 32, 0.82) 0%,
    rgba(10, 18, 42, 0.75) 50%,
    rgba(6, 12, 26, 0.68) 100%
  );
  pointer-events: none;
}
.cta-band-inner {
  position: relative; z-index: 1;
  max-width: 1140px; margin: 0 auto;
}
/* floating price badge — top right */
.cta-band-price-badge {
  position: absolute; top: 32px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 22px; border-radius: 999px;
  background: rgba(34,211,238,0.15);
  border: 1.5px solid rgba(34,211,238,0.5);
  backdrop-filter: blur(10px);
  animation: floatBob 5s ease-in-out infinite;
}
.cta-price-main {
  font-family: var(--font-display); font-weight: 900;
  font-size: 24px; color: #fff; letter-spacing: 0.02em;
  line-height: 1;
}
.cta-price-sub {
  font-size: 11px; color: var(--cyan); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 2px;
}
/* eyebrow line */
.cta-band-eyebrow {
  font-size: clamp(16px, 2vw, 22px); color: rgba(255,255,255,0.9);
  font-weight: 500; line-height: 1.4; margin-bottom: 4px;
}
.cta-band-eyebrow em {
  font-style: italic; font-weight: 700; color: #fff;
}
/* stacked mega heading */
.cta-band-heading {
  display: flex; flex-direction: column;
  margin: 0 0 40px; line-height: 0.92;
}
.cta-line-orange {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(72px, 12vw, 140px);
  font-style: italic; text-transform: uppercase;
  color: var(--orange);
  text-shadow:
    0 0 20px rgba(249,115,22,0.9),
    0 0 60px rgba(249,115,22,0.5),
    0 0 120px rgba(249,115,22,0.25);
  letter-spacing: -0.01em;
}
.cta-line-white {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(68px, 11.5vw, 135px);
  text-transform: uppercase; color: #fff;
  letter-spacing: -0.01em;
}
/* teal outlined pill CTA */
.cta-pill-teal {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px;
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-pill-teal:hover {
  background: var(--cyan); color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34,211,238,0.45), 0 8px 20px rgba(0,0,0,0.4);
}
/* legacy aliases */
.cta-glow-word { font-style:normal; color:var(--orange); }
.cta-brand-accent { color: var(--cyan); }
.cta-band-btn, .cta-pill-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 48px; background: var(--orange); color: white;
  border-radius: 999px; font-family: var(--font-display);
  font-weight: 900; font-size: 20px; text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 50px var(--orange-glow), 0 8px 24px rgba(0,0,0,0.5);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cta-band-btn:hover, .cta-pill-primary:hover {
  background: var(--orange-hover); transform: translateY(-2px);
  box-shadow: 0 0 70px var(--orange-glow), 0 12px 32px rgba(0,0,0,0.6);
}
@media (max-width: 640px) {
  .cta-band { padding: 80px 24px; }
  .cta-band-price-badge { top: 16px; right: 24px; }
  .cta-line-orange, .cta-line-white { font-size: clamp(52px, 16vw, 80px); }
}

/* ── FAQ Section (Homepage) ────────────────────────────────── */
.faq-section {
  background: var(--bg-2); padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 740px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%; text-align: left; padding: 20px 0;
  font-size: 16px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; background: none; border: none; font-family: inherit;
  transition: color var(--transition); line-height: 1.4;
}
.faq-btn:hover { color: var(--orange); }
.faq-btn::after {
  content: '+'; font-size: 24px; color: var(--orange); flex-shrink: 0;
  transition: transform 0.25s; line-height: 1; font-family: var(--font-display); font-weight: 900;
}
.faq-item.open .faq-btn::after { transform: rotate(45deg); }
.faq-item.open .faq-btn { color: var(--orange); }
.faq-answer {
  display: none; font-size: 14px; color: var(--text-2); line-height: 1.8;
  padding-bottom: 20px;
}
.faq-item.open .faq-answer { display: block; }

/* ── PSEO Shell ────────────────────────────────────────────── */
.pseo-shell { padding-top: 60px; background: var(--bg); }
.pseo-hero {
  background: linear-gradient(to bottom, #0f0f0f, var(--bg));
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 64px;
}
.pseo-hero-inner { max-width: 900px; margin: 0 auto; }
.pseo-breadcrumb {
  font-size: 13px; color: var(--text-3); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.pseo-breadcrumb a { color: var(--text-3); text-decoration: none; }
.pseo-breadcrumb a:hover { color: var(--orange); }
.pseo-h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(32px, 5vw, 56px); letter-spacing: 0.02em;
  line-height: 1; margin-bottom: 20px; text-transform: uppercase;
  color: var(--white);
}
.pseo-h1 em { font-style: normal; color: var(--orange); }
.pseo-lead { font-size: 16px; color: var(--text-2); max-width: 620px; line-height: 1.7; }

/* ── PSEO hero with city photo ─────────────────────────────── */
.pseo-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.pseo-hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(10,10,10,0.92) 100%
  );
}
.pseo-hero--photo .pseo-hero-inner { position: relative; z-index: 1; }
.pseo-hero--photo .pseo-breadcrumb a,
.pseo-hero--photo .pseo-breadcrumb { color: rgba(255,255,255,0.5); }
.pseo-hero--photo .pseo-breadcrumb a:hover { color: var(--orange); }

/* ── PSEO CTA Widget ───────────────────────────────────────── */
.pseo-widget-wrap {
  max-width: 900px; margin: -32px auto 0; padding: 0 24px; position: relative; z-index: 10;
}
.pseo-widget {
  background: var(--bg-2); border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 24px 28px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.pseo-widget-label {
  font-weight: 600; font-size: 14px; flex-shrink: 0; color: var(--text);
}
.pseo-widget input {
  flex: 1; min-width: 200px; padding: 12px 16px;
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body);
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color var(--transition);
}
.pseo-widget input::placeholder { color: var(--text-3); }
.pseo-widget input:focus { border-color: var(--orange); }
.pseo-widget .btn-primary { width: auto; flex-shrink: 0; font-size: 15px; padding: 12px 24px; }

/* ── PSEO Body ─────────────────────────────────────────────── */
.pseo-body { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.pseo-section { margin-bottom: 64px; }
.pseo-section-title {
  font-family: var(--font-display); font-weight: 900; font-size: 28px;
  letter-spacing: 0.03em; color: var(--white); margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 2px solid var(--border);
  text-transform: uppercase;
}
.pseo-roofing-note {
  background: var(--orange-soft); border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px;
  font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 32px;
}

/* ── Card components (PSEO) ────────────────────────────────── */
.stat-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 12px; margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; text-align: center;
}
.stat-card-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 6px;
}
.stat-card-value {
  font-family: var(--font-display); font-size: 22px; font-weight: 900;
  color: var(--text); line-height: 1; margin-bottom: 4px;
}
.stat-card-unit { font-size: 12px; color: var(--text-3); }
.feature-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px;
}
.feature-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--border-2); }
.feature-card-title {
  font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px;
}
.feature-card-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.step-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px;
}
.step-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; position: relative;
}
.step-card-num {
  font-family: var(--font-display); font-size: 48px; font-weight: 900;
  color: rgba(249,115,22,0.12); line-height: 1; margin-bottom: 8px;
}
.step-card-title {
  font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 4px;
}
.step-card-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── Neighborhood grid ─────────────────────────────────────── */
.neighborhood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.neighborhood-card {
  display: block; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  transition: border-color var(--transition), background var(--transition);
}
.neighborhood-card:hover { border-color: var(--orange); background: var(--orange-soft); }
.neighborhood-card-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.neighborhood-card-meta { font-size: 12px; color: var(--text-3); }

/* ── Cost table ────────────────────────────────────────────── */
.cost-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.cost-table thead tr { background: var(--bg-3); }
.cost-table th { padding: 12px 16px; text-align: left; color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.cost-table td { padding: 10px 16px; border-top: 1px solid var(--border); color: var(--text-2); }
.cost-table td:first-child { font-weight: 600; color: var(--text); }
.cost-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.cost-table-note { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* ── CTA block inside PSEO ─────────────────────────────────── */
.pseo-cta-block {
  background: linear-gradient(135deg, #18100a, var(--bg-3));
  border: 1px solid var(--border-2); border-radius: 16px;
  padding: 40px; text-align: center;
}
.pseo-cta-block h2 { color: var(--white); font-family: var(--font-display); font-weight: 900; font-size: 24px; margin: 0 0 10px; text-transform: uppercase; }
.pseo-cta-block p { color: var(--text-2); font-size: 14px; margin: 0 0 24px; line-height: 1.6; }
.pseo-cta-block a { display: inline-flex; width: auto; text-decoration: none; padding: 14px 36px; font-size: 17px; }

/* ── Thank You page ────────────────────────────────────────── */
.ty-shell {
  min-height: 100vh; padding-top: 60px;
  display: flex; align-items: center; justify-content: center; padding: 120px 24px 80px;
  background: var(--bg);
}
.ty-card { max-width: 520px; width: 100%; text-align: center; }
.ty-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-soft); border: 2px solid rgba(34,197,94,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 32px; color: var(--green);
}
.ty-heading {
  font-family: var(--font-display); font-weight: 900; font-size: 48px;
  letter-spacing: 0.02em; color: var(--white); margin-bottom: 14px;
  text-transform: uppercase; line-height: 1;
}
.ty-sub { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 36px; }
.ty-steps {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px; text-align: left; list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.ty-step {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ty-step:last-child { border-bottom: none; }
.ty-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-soft); border: 1px solid var(--orange-mid);
  color: var(--orange); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ty-step-text { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.ty-step-text strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 32px 40px; font-size: 13px;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; margin-bottom: 40px; flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 24px;
  color: var(--white); letter-spacing: 0.04em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { color: var(--text-3); font-size: 13px; max-width: 280px; line-height: 1.5; }
.footer-cities {
  display: flex; flex-wrap: wrap; gap: 8px 16px; max-width: 420px;
}
.footer-cities a {
  color: var(--text-3); text-decoration: none;
  font-size: 13px; transition: color var(--transition);
}
.footer-cities a:hover { color: var(--orange); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.footer-copy { color: var(--text-3); font-size: 12px; }

/* ── Utilities ─────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.error-msg { font-size: 12px; color: var(--red); margin-top: 4px; display: none; }
.error-msg.visible { display: block; }

/* ── Scroll reveal ─────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}
@media (max-width: 640px) {
  .site-nav { padding: 0 16px; }
  .nav-trust { display: none; }
  .hero-headline { font-size: clamp(40px, 11vw, 72px); }
  .hero-cloud-img { width: min(96vw, 520px); }
  .hero-desc { padding: 16px 20px; }
  .hero-cta { padding: 14px 28px; font-size: 17px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .wizard-progress { padding: 12px 16px; }
  .detail-grid { grid-template-columns: 1fr; }
  .estimate-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pseo-hero { padding: 48px 16px 56px; }
  .pseo-widget { flex-direction: column; align-items: stretch; }
  .pseo-widget .btn-primary { width: 100%; justify-content: center; }
  .pseo-body { padding: 60px 16px; }
  .wizard-section { padding: 60px 16px; }
}
