/* ============================================================================
   HELIOX — energía solar residencial
   Vanilla CSS, sin frameworks. Variables abajo controlan toda la identidad.
   ============================================================================ */

:root {
  --accent: #2FE6A6;
  --accent-2: #2E8FD6;
  --accent-rgb: 47, 230, 166;
  --accent-2-rgb: 46, 143, 214;

  --bg: #071815;
  --bg-alt: #0a201c;
  --surface: #0d2822;
  --surface-2: #103129;
  --border: rgba(230, 245, 240, 0.09);
  --border-strong: rgba(230, 245, 240, 0.16);

  --text: #eef7f3;
  --text-muted: #9fc2ba;
  --text-dim: #6f8f88;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #04120e;
  padding: 0.8rem 1.2rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ----- Grain overlay ----- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----- Layout helpers ----- */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title em { color: var(--accent); font-style: normal; }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1fc98c);
  color: #04120e;
  box-shadow: 0 8px 30px -8px rgba(var(--accent-rgb), 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 36px -6px rgba(var(--accent-rgb), 0.7); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 0.65rem 1.35rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 24, 21, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-block: 0.8rem;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px -2px rgba(var(--accent-rgb), 0.7);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 20, 17, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: clamp(7rem, 14vw, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.62;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(7,24,21,0.97) 0%, rgba(7,24,21,0.88) 26%, rgba(7,24,21,0.5) 52%, rgba(7,24,21,0.14) 76%, rgba(7,24,21,0) 96%),
    linear-gradient(to top, rgba(7,24,21,0.85) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(7,24,21,0.7) 0%, transparent 22%);
}

.hero-content { position: relative; z-index: 1; max-width: 640px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.split-word { display: inline-block; }
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  margin-top: 1.9rem;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-trust li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.hero-stat-card {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  background: rgba(13, 40, 34, 0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 190px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  animation: float 6s ease-in-out infinite;
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-stat-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.hero-stat-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.hero-scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--text-muted), transparent);
}
.hero-scroll-cue p {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ----- Image placeholder component ----- */
.img-ph {
  position: relative;
  aspect-ratio: var(--ar, 4/3);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border-strong);
  background:
    repeating-linear-gradient(135deg, rgba(230,245,240,0.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--surface), var(--surface-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.img-ph svg { width: 34px; height: 34px; opacity: 0.6; }
.img-ph span { font-size: 0.8rem; max-width: 220px; line-height: 1.4; }

/* ============================================================================
   MARQUEE
   ============================================================================ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-track span[aria-hidden] { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-play-state: paused; }
}

/* ============================================================================
   STATS
   ============================================================================ */
.stats { padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem); }
.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 1.8rem 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--surface), transparent);
  border: 1px solid var(--border);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.3rem;
}
.stat-label { color: var(--text-muted); font-size: 0.88rem; }

/* ============================================================================
   SAVINGS CALCULATOR
   ============================================================================ */
.savings-calc { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem); background: var(--bg-alt); }
.calc-sub { color: var(--text-muted); max-width: 460px; margin: 0 auto; }

.calc-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
}

.calc-input-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}
.calc-input-row label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.calc-input-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
}

.calc-card input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--border-strong);
  margin-bottom: 2.1rem;
  cursor: pointer;
}
.calc-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px -2px rgba(var(--accent-rgb), 0.6);
  cursor: pointer;
  border: none;
}
.calc-card input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
}

.calc-results { border-top: 1px solid var(--border); padding-top: 1.6rem; }
.calc-result-main { text-align: center; margin-bottom: 1.6rem; }
.calc-result-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.calc-result-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc-result-cap { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.35rem; }

.calc-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.8rem; }
.calc-stat {
  text-align: center;
  padding: 0.9rem 0.5rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.calc-stat-lbl {
  display: block;
  font-size: 0.64rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.calc-stat-val { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }

.calc-cta { display: flex; width: 100%; justify-content: center; margin-bottom: 1rem; }
.calc-disclaimer { text-align: center; font-size: 0.74rem; color: var(--text-dim); line-height: 1.5; }

/* ============================================================================
   ADVANTAGES
   ============================================================================ */
.advantages { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem); }
.advantages-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.adv-card {
  padding: 2.1rem 1.8rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 24px 60px -30px rgba(var(--accent-rgb), 0.35);
}
.adv-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.3rem;
}
.adv-icon svg { width: 22px; height: 22px; }
.adv-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.adv-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

/* ============================================================================
   PROCESS
   ============================================================================ */
.process { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem); background: var(--bg-alt); }
.process-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.process-visual { position: sticky; top: 6.5rem; }
.process-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  border: 1px solid var(--border-strong);
}
.process-list {
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--accent), var(--accent-2), transparent);
  opacity: 0.35;
}
.process-item {
  display: flex;
  gap: 1.8rem;
  padding-bottom: 3rem;
  position: relative;
}
.process-item:last-child { padding-bottom: 0; }
.process-step {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.process-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-body p { color: var(--text-muted); font-size: 0.95rem; max-width: 480px; }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testimonials { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem); }
.testi-disclaimer { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.8rem; }
.testi-wrap { max-width: 760px; margin: 0 auto; }
.testi-track { position: relative; min-height: 260px; }
.testi-card {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.testi-card.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; position: relative; }
.testi-stars { display: flex; gap: 0.25rem; margin-bottom: 1.2rem; color: var(--accent); }
.testi-stars svg { width: 16px; height: 16px; }
.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.6rem;
}
.testi-footer { display: flex; align-items: center; gap: 0.9rem; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #04120e;
  flex-shrink: 0;
}
.testi-author { font-weight: 600; font-size: 0.95rem; }
.testi-role { color: var(--text-muted); font-size: 0.85rem; }
.testi-savings {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}
.testi-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.testi-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background 0.25s ease, transform 0.25s ease;
}
.testi-dots button.is-active { background: var(--accent); transform: scale(1.3); }

/* ============================================================================
   CTA BANNER
   ============================================================================ */
.cta-banner {
  position: relative;
  max-width: calc(var(--container) - 2rem);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.16), rgba(var(--accent-2-rgb),0.16));
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  overflow: hidden;
}
.cta-banner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}
.cta-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, rgba(7,24,21,0.94), rgba(7,24,21,0.8) 45%, rgba(var(--accent-2-rgb),0.28));
}
.cta-banner-blob {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb),0.3), transparent 60%);
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
.cta-banner h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
  z-index: 1;
}
.cta-banner p { position: relative; color: var(--text-muted); margin-bottom: 2rem; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============================================================================
   CONTACT
   ============================================================================ */
.contact { padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(5rem, 9vw, 7rem); }
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-copy .section-title { text-align: left; margin-bottom: 1rem; }
.contact-copy .eyebrow { display: block; }
.contact-sub { color: var(--text-muted); margin-bottom: 2rem; max-width: 440px; }

.contact-info { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.contact-info li { display: flex; align-items: center; gap: 0.9rem; }
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-label { display: block; font-size: 0.78rem; color: var(--text-dim); }
.contact-info div a, .contact-info div span { font-size: 0.95rem; font-weight: 500; }

.coverage-map-wrap {
  max-width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}
.coverage-map { width: 100%; height: 100%; display: block; }

.contact-form {
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.form-row { margin-bottom: 1.2rem; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-dim); margin-top: 0.9rem; }
.form-success {
  display: none;
  text-align: center;
  font-size: 0.88rem;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  margin-top: 1rem;
}
.form-success.is-visible { display: block; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { border-top: 1px solid var(--border); padding: clamp(3rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem) 2rem; background: var(--bg-alt); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; color: var(--text-muted); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (min-width: 981px) {
  .hero-stat-card {
    position: absolute;
    right: clamp(1.5rem, 5vw, 4rem);
    bottom: clamp(2rem, 6vw, 4rem);
  }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav .btn-small { display: none; }

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

  .process-layout { grid-template-columns: 1fr; }
  .process-visual { position: static; order: -1; max-width: 480px; margin: 0 auto 1rem; }

  .hero-stat-card { align-self: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding-top: 6.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1.3rem 0.8rem; }
  .calc-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }

  .testi-savings { margin-left: 0; }
  .testi-footer { flex-wrap: wrap; }

  .footer-inner { flex-direction: column; }
}
