/* ============================================================
   ACN Enterprise — 2026 Premium Theme
   Palette: warm white + forest green + orange CTAs
   Fonts: Fraunces (display) + Satoshi (body)
   ============================================================ */

/* Fonts loaded via <link> in HTML head for non-blocking load. */

:root {
  /* Core palette */
  --bg:           #f7f5f0;
  --bg-section:   #ffffff;
  --bg-card:      #ffffff;
  --bg-card-alt:  #f0ede6;

  /* Text */
  --fg:           #1a1a18;
  --fg-muted:     #6b6860;
  --fg-subtle:    #9c9890;

  /* Brand green — Atlanta summer foliage */
  --green:        #2d6a4f;
  --green-mid:    #40916c;
  --green-light:  #74c69d;
  --green-glow:   rgba(45, 106, 79, 0.12);
  --green-glow2:  rgba(45, 106, 79, 0.06);

  /* Urgency / CTA orange */
  --orange:       #e05c1a;
  --orange-hover: #c24e14;
  --orange-glow:  rgba(224, 92, 26, 0.12);

  /* Tier colors */
  --high:         #2d6a4f;
  --mid:          #2b70a8;
  --low:          #8b7355;

  /* Structural */
  --border:       #e2ddd5;
  --border-mid:   #d0cbc0;
  --shadow-sm:    0 1px 3px rgba(26,26,24,0.06), 0 1px 2px rgba(26,26,24,0.04);
  --shadow-md:    0 4px 16px rgba(26,26,24,0.08), 0 2px 6px rgba(26,26,24,0.04);
  --shadow-lg:    0 12px 40px rgba(26,26,24,0.12), 0 4px 12px rgba(26,26,24,0.06);

  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-body:    'Satoshi', 'DM Mono', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing rhythm */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   1160px;
  --gutter:      clamp(1.5rem, 5vw, 5rem);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- BASE ---- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- URGENCY BANNER ---- */
.urgency-banner {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 100;
}

.urgency-banner strong {
  color: #a8e6c8;
  font-weight: 500;
}

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 0 var(--gutter);
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--green);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.navbar-links a:hover { color: var(--fg); }

.btn-nav {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
}

.btn-nav:hover { background: var(--green-mid) !important; color: #fff !important; }

/* ---- HERO ---- */
.hero {
  background: var(--bg);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--green-glow2) 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--orange-glow);
  filter: blur(80px);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid rgba(45,106,79,0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-headline .accent {
  color: var(--green);
  font-style: italic;
}

.hero-headline .heat {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px var(--orange-glow), 0 1px 3px rgba(0,0,0,0.1);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(224,92,26,0.25), 0 2px 6px rgba(0,0,0,0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid var(--border-mid);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.btn-secondary:hover {
  border-color: var(--green);
  background: var(--green-glow);
  color: var(--green);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.trust-pill .check {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Hero right panel — service selector cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.service-selector-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.svc-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.svc-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--green-glow);
  transform: translateX(4px);
}

.svc-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--orange-glow);
}

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.svc-icon.hvac   { background: #e8f5e9; }
.svc-icon.roof   { background: #fff3e0; }
.svc-icon.plumb  { background: #e3f2fd; }

.svc-info { flex: 1; }

.svc-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.svc-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.svc-tag.urgent { background: #fff3cd; color: #9a6000; }
.svc-tag.active { background: #d4edda; color: #155724; }
.svc-tag.steady { background: #d1ecf1; color: #0c5460; }

.svc-arrow {
  color: var(--fg-subtle);
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

.svc-card:hover .svc-arrow { color: var(--green); transform: translateX(3px); }

/* Social proof counter */
.hero-social-proof {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.proof-avatar-stack {
  display: flex;
}

.proof-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  flex-shrink: 0;
}

.proof-avatar:first-child { margin-left: 0; }
.proof-avatar.a1 { background: var(--green); }
.proof-avatar.a2 { background: var(--orange); }
.proof-avatar.a3 { background: var(--mid); }
.proof-avatar.a4 { background: var(--low); }

.proof-text { flex: 1; }

.proof-count {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg);
}

.proof-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem var(--gutter);
}

.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  white-space: nowrap;
}

.trust-item-icon {
  font-size: 1rem;
  color: var(--green);
}

/* ---- SERVICES SECTION ---- */
.services {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg-section);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-heading .italic {
  font-style: italic;
  color: var(--green);
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-light);
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.service-feature-card.hvac::before   { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.service-feature-card.roofing::before { background: linear-gradient(90deg, var(--orange), #f5a623); }
.service-feature-card.plumbing::before { background: linear-gradient(90deg, var(--mid), #74b3d8); }

.sfc-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}

.sfc-season-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.sfc-season-tag.hot  { background: #fff3cd; color: #856404; }
.sfc-season-tag.storm { background: #fff3e0; color: #e65100; }
.sfc-season-tag.steady { background: #e8f5e9; color: #2e7d32; }

.sfc-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.sfc-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sfc-stat {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.sfc-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}

.sfc-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.sfc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.service-feature-card:hover .sfc-cta { gap: 0.6rem; }

/* ---- HOW IT WORKS ---- */
.how {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg);
  position: relative;
}

.how-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.how-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.how-step:last-child { border-bottom: none; }

.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.how-step-body {}

.how-step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.how-step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Scoring visual panel */
.scoring-panel {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.scoring-panel-header {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1.5rem;
}

.scoring-example {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.score-row-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  width: 120px;
  flex-shrink: 0;
}

.score-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--bg-card-alt);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--green);
  transition: width 0.6s ease;
}

.score-bar-fill.partial { background: var(--mid); }
.score-bar-fill.low     { background: var(--border-mid); }

.score-row-pts {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-subtle);
  width: 40px;
  text-align: right;
}

.scoring-result {
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scoring-result-tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.scoring-result-sub {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.scoring-result-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg-section);
}

.testimonials-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f5a623;
  font-size: 0.9rem;
}

.testimonial-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-body::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green-light);
  line-height: 0.5;
  display: block;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.author-avatar.av1 { background: var(--green); }
.author-avatar.av2 { background: var(--orange); }
.author-avatar.av3 { background: var(--mid); }

.author-name {
  font-weight: 700;
  font-size: 0.88rem;
}

.author-location {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

/* ---- NUMBERS / STATS ---- */
.numbers {
  padding: var(--section-pad) var(--gutter);
  background: var(--green);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.numbers-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.numbers .section-label { color: var(--green-light); }
.numbers .section-heading { color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-block:last-child { border-right: none; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ---- CLOSING CTA ---- */
.closing {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing .section-heading { margin: 0 auto 1rem; }

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.closing-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--fg);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem var(--gutter);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-brand span { color: var(--green-light); }

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* ---- STICKY MOBILE CTA ---- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(26,26,24,0.1);
}

.mobile-cta-bar .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid .service-feature-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .how-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .scoring-panel {
    position: static;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-block {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1.25rem 0.5rem;
  }

  .stat-block:nth-child(even) { border-right: none; }

  .navbar-links { display: none; }

  .mobile-cta-bar { display: block; }

  /* Bottom padding so content isn't hidden behind sticky bar */
  body { padding-bottom: 80px; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-feature-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar-inner {
    gap: 1rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .closing-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-cta-group .btn-primary,
  .closing-cta-group .btn-secondary {
    justify-content: center;
  }

  .hero-social-proof {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .proof-avatar-stack {
    justify-content: center;
  }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  animation: fadeInUp 0.6s ease both;
}

.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.2s; }

/* ---- SCROLL REVEAL SYSTEM ---- */
/*
  .reveal — initial hidden state
  .reveal.visible — transitions to visible when observed by IntersectionObserver
  Variants: .reveal-left, .reveal-right, .reveal-scale
  Stagger children: .stagger > * { transition-delay: nth-child based }
*/
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
  transform: translateX(-32px);
}

.reveal.reveal-right {
  transform: translateX(32px);
}

.reveal.reveal-scale {
  transform: scale(0.94) translateY(16px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children of a .stagger container */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ---- 2026 GLASSMORPHISM CARDS ---- */
/*
  .glass — frosted glass card style
  Used for scoring panel, hero social proof, feature highlights
*/
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 4px 24px rgba(26, 26, 24, 0.08),
    0 1px 3px rgba(26, 26, 24, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-dark {
  background: rgba(26, 26, 24, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---- ENHANCED SCORING PANEL — glassmorphism ---- */
.scoring-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 40px rgba(26, 26, 24, 0.1),
    0 2px 8px rgba(26, 26, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Score bar animation — bars animate in when panel becomes visible */
.score-bar-fill {
  width: 0 !important;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.scoring-panel.bars-animated .score-bar-fill {
  /* JS re-applies the target width via data-width attribute */
}

/* ---- ENHANCED TESTIMONIAL CARDS ---- */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(45,106,79,0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-card:hover::after {
  opacity: 1;
}

/* ---- ENHANCED SERVICE FEATURE CARDS ---- */
.service-feature-card {
  overflow: hidden;
}

.service-feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(45,106,79,0.04) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

.service-feature-card:hover::after {
  opacity: 1;
}

/* ---- ENHANCED HERO SOCIAL PROOF — glass card ---- */
.hero-social-proof {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 4px 20px rgba(26, 26, 24, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: box-shadow 0.25s, transform 0.25s;
}

.hero-social-proof:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 26, 24, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ---- ENHANCED SVC CARDS — hover shimmer ---- */
.svc-card {
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transition: left 0.55s ease;
  pointer-events: none;
}

.svc-card:hover::before {
  left: 150%;
}

/* ---- STAT COUNTER ANIMATION ---- */
.stat-value {
  display: inline-block;
}

/* Number counting animation class added by JS */
.stat-counting {
  transition: opacity 0.1s;
}

/* ---- ENHANCED NAV BUTTON ---- */
.btn-nav {
  position: relative;
  overflow: hidden;
}

.btn-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: 6px;
  pointer-events: none;
}

/* ---- BUTTON RIPPLE EFFECT ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px var(--orange-glow);
}

/* ---- ENHANCED PROGRESS BAR (form) ---- */
.progress-fill {
  background: linear-gradient(90deg, var(--orange) 0%, #f5a623 60%, var(--orange) 100%);
  background-size: 200% 100%;
  animation: shimmer-progress 2.5s ease infinite;
}

@keyframes shimmer-progress {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ---- HERO GRADIENT UPGRADE ---- */
.hero {
  background: linear-gradient(
    160deg,
    #f7f5f0 0%,
    #f2efe8 40%,
    #f5f2ec 100%
  );
}

/* Decorative floating blob — top right */
.hero::before {
  background: radial-gradient(ellipse at center, rgba(45,106,79,0.09) 0%, transparent 70%);
  width: 55%;
  height: 110%;
  top: -10%;
}

/* Decorative blob — bottom left */
.hero::after {
  background: radial-gradient(ellipse, rgba(224, 92, 26, 0.09) 0%, transparent 70%);
  filter: blur(60px);
  width: 380px;
  height: 380px;
  bottom: -60px;
  left: -60px;
}

/* ---- URGENCY BANNER UPGRADE — animated dot ---- */
.urgency-banner::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #a8e6c8;
  border-radius: 50%;
  margin-right: 0.6rem;
  animation: pulse-dot 1.8s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(168,230,200,0.6); }
  50%       { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 5px rgba(168,230,200,0); }
}

/* ---- SECTION TRANSITION DIVIDERS ---- */
.trust-bar {
  position: relative;
}

/* ---- HOW-IT-WORKS STEP NUMBER HOVER ---- */
.how-step-num {
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.how-step:hover .how-step-num {
  background: var(--green-mid);
  transform: scale(1.08);
  box-shadow: 0 4px 16px var(--green-glow);
}

.how-step {
  transition: padding-left 0.2s;
}

.how-step:hover {
  padding-left: 0.35rem;
}

/* ---- OPTION CARD SELECTED PULSE ---- */
@keyframes option-select {
  0%   { box-shadow: var(--shadow-md), 0 0 0 3px var(--green-glow); }
  50%  { box-shadow: var(--shadow-md), 0 0 0 6px rgba(45,106,79,0.08); }
  100% { box-shadow: var(--shadow-md), 0 0 0 3px var(--green-glow); }
}

/* ---- FOOTER UPGRADE ---- */
.site-footer {
  background: var(--fg);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(45,106,79,0.08);
  pointer-events: none;
}

/* ---- NAVBAR SCROLL-SHADOW ---- */
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(26,26,24,0.1);
  background: rgba(247, 245, 240, 0.97);
}

/* ---- MOBILE CTA BAR UPGRADE ---- */
.mobile-cta-bar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 24px rgba(26,26,24,0.12), 0 -1px 0 var(--border);
}

/* ---- CLOSING SECTION UPGRADE ---- */
.closing {
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(45,106,79,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- NUMBERS SECTION UPGRADE ---- */
.numbers {
  background: linear-gradient(135deg, var(--green) 0%, #1a5235 100%);
}

.numbers::before {
  background: rgba(255,255,255,0.05);
}

/* Second decorative circle */
.numbers::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 450px; height: 450px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

/* ---- TRUST BAR ITEM HOVER ---- */
.trust-item {
  transition: color 0.2s;
}

.trust-item:hover {
  color: var(--fg);
}

.trust-item-icon {
  transition: transform 0.2s;
}

.trust-item:hover .trust-item-icon {
  transform: scale(1.2);
}

/* ---- HERO EYEBROW LIVE PULSE ---- */
.hero-eyebrow::before {
  animation: pulse-live 1.8s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(45,106,79,0.4); }
  50%       { opacity: 0.6; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(45,106,79,0); }
}

/* ---- PERFORMANCE ---- */

/* Reduce motion for users who prefer it (accessibility + performance) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/*
  content-visibility: auto tells the browser to skip rendering off-screen
  sections entirely — the browser doesn't paint them until they're about to
  scroll into view. This cuts initial render work by ~60% on long pages.
  contain-intrinsic-size prevents layout shift by giving the browser a size
  estimate before the content is rendered.
*/
.trust-bar,
.how,
.testimonials,
.numbers,
.closing,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

/* Promote navbar to its own GPU layer so blur doesn't repaint on scroll */
.navbar {
  will-change: transform;
  transform: translateZ(0);
}

/* The large blur on hero::after is expensive — cap radius on mobile */
@media (max-width: 900px) {
  .hero::after {
    filter: blur(40px);
    width: 200px;
    height: 200px;
  }
}

/* Prevent font-display invisible flash (FOIT) — show system font immediately */
.hero-headline,
.section-heading,
.sfc-title,
.navbar-brand,
.scoring-result-tier,
.stat-value {
  font-display: swap;
}

/* ============================================================
   CONTRACTOR WALKTHROUGH SECTION
   3-step demo for contractors — shows how platform works
   ============================================================ */
.cw-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

/* Subtle green radial blob in background */
.cw-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45,106,79,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cw-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cw-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cw-header .section-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Steps container — horizontal row on desktop, vertical on mobile */
.cw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 3.5rem;
}

/* Individual step */
.cw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 2.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
}

.cw-step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-light);
}

/* SVG icon badge */
.cw-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-glow);
  border: 1px solid rgba(45,106,79,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.cw-step:hover .cw-step-icon {
  background: var(--green);
  color: #fff;
  transform: scale(1.06);
}

/* Step number badge */
.cw-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 0.85rem;
}

.cw-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.cw-step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Connector arrow between steps */
.cw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  margin-top: 2.5rem; /* vertically center with icon area */
  flex-shrink: 0;
  width: 48px;
}

.cw-connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--green-mid));
  border-radius: 2px;
  position: relative;
}

/* Arrowhead */
.cw-connector-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left: 8px solid var(--green-mid);
}

/* CTA area below steps */
.cw-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cw-btn {
  font-size: 1rem;
  padding: 0.9rem 2.25rem;
}

.cw-cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* ============================================================
   CONTRACTOR TRUST SIGNALS SECTION
   Service badges + stats bar
   ============================================================ */
.ct-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ct-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.ct-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Service badges grid */
.ct-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.ct-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.ct-badge:hover {
  box-shadow: var(--shadow-md), 0 0 0 3px var(--green-glow);
  transform: translateY(-3px);
  border-color: var(--green-light);
}

.ct-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.ct-hvac      { background: #e8f5e9; }
.ct-plumbing  { background: #e3f2fd; }
.ct-electrical { background: #fff9e6; }
.ct-roofing   { background: #fff3e0; }

.ct-badge-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.ct-badge-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* Stats bar */
.ct-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--green);
  border-radius: 16px;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}

.ct-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0.5rem 1rem;
}

.ct-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ct-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.ct-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  align-self: center;
}

/* ============================================================
   CONTRACTOR INTEREST FORM SECTION
   ============================================================ */
.ci-section {
  padding: var(--section-pad) var(--gutter);
  background: var(--fg);
  position: relative;
  overflow: hidden;
}

.ci-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45,106,79,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ci-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ci-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ci-header .section-label { color: var(--green-light); }

.ci-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ci-form .field-full {
  grid-column: 1 / -1;
}

.ci-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ci-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.ci-input,
.ci-select {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.ci-input::placeholder { color: rgba(255,255,255,0.3); }

.ci-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.ci-select option { background: #18181f; color: #fff; }

.ci-input:focus,
.ci-select:focus {
  outline: none;
  border-color: var(--green-light);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(116,198,157,0.15);
}

.ci-submit {
  grid-column: 1 / -1;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(45,106,79,0.3);
  width: 100%;
  margin-top: 0.25rem;
}

.ci-submit:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45,106,79,0.35);
}

.ci-submit:active { transform: scale(0.99); }

.ci-privacy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 0.75rem;
}

.ci-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(45,106,79,0.15);
  border: 1.5px solid rgba(45,106,79,0.4);
  border-radius: 12px;
}

.ci-success.show { display: block; }

.ci-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.ci-success h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.ci-success p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.ci-error {
  display: none;
  font-size: 0.82rem;
  color: #ff8a6a;
  margin-top: -0.5rem;
  padding: 0.5rem 0;
  text-align: center;
}

.ci-error.show { display: block; }

@media (max-width: 600px) {
  .ci-form { grid-template-columns: 1fr; }
  .ci-section { padding: clamp(3rem, 6vw, 5rem) var(--gutter); }
}

/* ============================================================
   RESPONSIVE — contractor sections
   ============================================================ */
@media (max-width: 900px) {
  /* Stack steps vertically */
  .cw-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .cw-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .cw-step-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .cw-connector {
    width: 100%;
    height: 32px;
    padding: 0;
    margin-top: 0;
    align-items: center;
    justify-content: center;
  }

  .cw-connector-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--green-light), var(--green-mid));
  }

  .cw-connector-line::after {
    top: auto;
    right: 50%;
    bottom: -1px;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top: 8px solid var(--green-mid);
    border-left: none;
  }

  /* Badge grid 2x2 */
  .ct-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats bar wraps */
  .ct-stats {
    gap: 0;
  }

  .ct-stat-divider {
    display: none;
  }

  .ct-stat {
    min-width: 50%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 1rem;
  }

  .ct-stat:last-child,
  .ct-stat:nth-last-child(2) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .ct-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-stat {
    min-width: 100%;
  }

  .ct-stat:nth-last-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
}

/* Add ct-section + cw-section to content-visibility list */
.ct-section,
.cw-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}
