/* =====================================================================
   CRELAN SOLAR FENCE — style.css
   Aesthetic: editorial European premium · forest + cream + solar gold
   Display: Fraunces (variable serif) · Body: Geist
===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --forest-900: #0E2118;
  --forest-800: #15301F;
  --forest-700: #1F3D2B;
  --forest-600: #2D5A3D;
  --forest-500: #4A7A5C;
  --forest-100: #D8E3D9;

  --cream-50:  #FBFAF6;
  --cream-100: #F5F1E8;
  --beige-200: #EFE9DD;
  --beige-300: #E2D9C5;
  --beige-400: #C9BFA6;

  --ink-900: #131613;
  --ink-700: #2A2F2A;
  --ink-500: #5A615A;
  --ink-300: #9CA29C;

  --gold-500: #E8B547;
  --gold-400: #F0C56B;
  --gold-300: #F4D589;
  --gold-100: #FBEDC9;

  --line: rgba(15, 36, 25, 0.12);
  --line-strong: rgba(15, 36, 25, 0.22);
  --line-light: rgba(245, 241, 232, 0.16);

  --shadow-sm: 0 1px 2px rgba(15,36,25,0.04), 0 1px 1px rgba(15,36,25,0.03);
  --shadow-md: 0 12px 28px -16px rgba(15,36,25,0.22), 0 4px 8px -4px rgba(15,36,25,0.06);
  --shadow-lg: 0 30px 60px -30px rgba(15,36,25,0.35), 0 10px 20px -10px rgba(15,36,25,0.08);

  /* Typography */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Geist", "Söhne", system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--forest-900);
}

p { margin: 0; }

em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80; }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 12px;
  background: var(--forest-900); color: var(--cream-50);
  padding: 8px 14px; border-radius: 6px;
  font-size: 13px; z-index: 9999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn svg { transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--forest-800);
  color: var(--cream-50);
}
.btn-primary:hover {
  background: var(--forest-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--forest-900);
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(232,181,71,0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--forest-900);
  color: var(--cream-50);
  border-color: var(--forest-900);
}

.btn-ghost--light {
  color: var(--cream-50);
  border-color: rgba(245,241,232,0.3);
}
.btn-ghost--light:hover {
  background: var(--cream-50);
  color: var(--forest-900);
  border-color: var(--cream-50);
}

.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}
.brand-sun {
  position: absolute;
  top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-300), var(--gold-500) 60%, #b88a25 100%);
  box-shadow: 0 0 0 3px rgba(232,181,71,0.18);
}
.brand-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 18px;
}
.brand-bars i {
  width: 3px; height: 16px;
  background: var(--forest-800);
  border-top: 2px solid var(--gold-500);
  display: block;
}
.brand-bars i:nth-child(2) { height: 18px; }
.brand-bars i:nth-child(3) { height: 14px; }
.brand-bars i:nth-child(4) { height: 17px; }

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 14, "SOFT" 40;
}
.brand-line-1 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-500); font-family: var(--font-sans); font-weight: 500; }
.brand-line-2 { font-size: 17px; color: var(--forest-900); font-weight: 500; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 30px;
}
.site-nav a {
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0; height: 1px;
  background: var(--forest-900);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}
.site-nav a:hover { color: var(--forest-900); }
.site-nav a:hover::after { width: 100%; left: 0; }

.header-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  border-radius: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--forest-900);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 90px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 1200px 600px at 75% 20%, rgba(244,213,137,0.35), transparent 60%),
    radial-gradient(ellipse 900px 700px at 10% 90%, rgba(45,90,61,0.07), transparent 70%),
    linear-gradient(180deg, #FBFAF6 0%, #F7F2E5 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 500;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(232,181,71,0.18);
  animation: pulseGold 2.2s var(--ease) infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,181,71,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(232,181,71,0.04); }
}

.hero-title {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.98;
  margin-top: 26px;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  font-weight: 400;
  color: var(--forest-900);
}
.hero-title em {
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--forest-700);
}
.title-accent {
  position: relative;
  display: inline-block;
  color: var(--forest-900);
}
.title-accent::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  bottom: 0.08em;
  height: 0.18em;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  z-index: -1;
  border-radius: 2px;
  transform-origin: left;
  animation: drawUnderline 1.1s var(--ease-out) 0.6s both;
}
@keyframes drawUnderline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  color: var(--ink-700);
  max-width: 36ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}
.hero-trust li:last-child { border-right: none; padding-right: 0; }
.hero-trust li + li { padding-left: 16px; }
.trust-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36;
  font-size: 13px;
  color: var(--gold-500);
  letter-spacing: 0.06em;
}
.trust-label {
  font-size: 13.5px;
  color: var(--forest-900);
  font-weight: 500;
}

/* --- Hero visual (CSS-only) --- */
.hero-visual {
  position: relative;
}
.visual-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #F6E6BE 0%, #F0D08A 35%, #E8B566 65%, #B97E3C 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,36,25,0.06);
}
.visual-sky {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(255,250,230,0.6), transparent 70%);
}
.visual-sun {
  position: absolute;
  top: 12%; right: 14%;
  width: 38%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFEBB8, var(--gold-400) 55%, #C8852C 100%);
  box-shadow:
    0 0 0 20px rgba(255,235,184,0.18),
    0 0 0 40px rgba(255,235,184,0.10),
    0 0 80px rgba(232,181,71,0.5);
}
.visual-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.visual-rays span {
  position: absolute;
  top: 30%; right: 28%;
  width: 240px; height: 1px;
  background: linear-gradient(90deg, rgba(255,235,184,0.6), transparent);
  transform-origin: left center;
  opacity: 0.7;
}
.visual-rays span:nth-child(1) { transform: rotate(-12deg); }
.visual-rays span:nth-child(2) { transform: rotate(18deg); top: 32%; }
.visual-rays span:nth-child(3) { transform: rotate(42deg); top: 36%; width: 180px; }
.visual-rays span:nth-child(4) { transform: rotate(-30deg); top: 28%; width: 200px; }
.visual-rays span:nth-child(5) { transform: rotate(0deg); top: 30%; width: 220px; }

.visual-ground {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 22%;
  background:
    linear-gradient(180deg, rgba(15,36,25,0) 0%, rgba(15,36,25,0.3) 100%),
    linear-gradient(180deg, #5d6e4d 0%, #2d3d28 100%);
  border-top: 1px solid rgba(15,36,25,0.2);
}

.visual-fence {
  position: absolute;
  bottom: 14%;
  left: 6%; right: 6%;
  height: 58%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
  align-items: end;
}
.fence-panel {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, #1F3D2B 0%, #15301F 60%, #0E2118 100%);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  box-shadow: 0 6px 14px rgba(15,36,25,0.25);
}
.fence-panel::before {
  content: '';
  position: absolute;
  top: 6px; left: 4px; right: 4px;
  height: 38%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%),
    repeating-linear-gradient(0deg,
      rgba(20,40,28,0.6) 0 5px,
      rgba(60,100,80,0.25) 5px 6px),
    linear-gradient(180deg, #243d2e, #0c1d14);
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.4);
}
.fence-panel .cells {
  position: absolute;
  top: 7px; left: 6px; right: 6px;
  height: 36%;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.06) 0 1px,
      transparent 1px 16%);
}
.fence-panel:nth-child(odd)::before { opacity: 0.95; }
.fence-panel:nth-child(2) { transform: translateY(2%); }
.fence-panel:nth-child(5) { transform: translateY(-1%); }
.fence-panel:nth-child(8) { transform: translateY(1%); }

.visual-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(251,250,246,0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,36,25,0.08);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.badge-kw {
  font-family: var(--font-display);
  font-size: 22px;
  font-variation-settings: "opsz" 72, "SOFT" 50, "WONK" 1;
  color: var(--forest-900);
  line-height: 1;
}
.badge-kw small {
  font-size: 12px;
  margin-left: 3px;
  color: var(--forest-700);
  font-variation-settings: "opsz" 14;
  letter-spacing: 0.02em;
}
.badge-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Hero marquee */
.hero-marquee {
  margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,0.4);
  padding: 18px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 60, "WONK" 1;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--forest-700);
  animation: marquee 38s linear infinite;
}
.marquee-track span { display: inline-block; }
.marquee-track span:nth-child(even) { color: var(--gold-500); font-style: italic; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 7. Section primitives ---------- */
.section {
  padding-top: clamp(80px, 9vw, 140px);
  padding-bottom: clamp(80px, 9vw, 140px);
  position: relative;
}
.section--dark {
  background: var(--forest-900);
  color: var(--cream-50);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--cream-50); }

.section-head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head--light .section-num { color: var(--gold-400); }
.section-head--light .section-title { color: var(--cream-50); }
.section-head--light .section-title em { color: var(--gold-300); }

.section-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-600);
  font-weight: 500;
  margin-bottom: 18px;
  font-family: var(--font-sans);
}
.section-num--light { color: var(--gold-400); }

.section-title {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-weight: 400;
}
.section-title em {
  color: var(--gold-500);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
}

.section-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left .section-lead { margin-left: 0; }

/* ---------- 8. Problem ---------- */
.problem {
  background: var(--cream-100);
  border-top: 1px solid var(--line);
}

.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .problem-cards { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.problem-card {
  position: relative;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-card--asset {
  background: var(--forest-900);
  color: var(--cream-50);
  border-color: var(--forest-700);
}
.problem-card--asset h3 { color: var(--cream-50); }

.card-label {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.card-label--gold {
  color: var(--gold-300);
  border-color: rgba(232,181,71,0.35);
  background: rgba(232,181,71,0.06);
}

.problem-card h3 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  margin-bottom: 16px;
}
.problem-card p {
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 22px;
}
.problem-card--asset p { color: rgba(245,241,232,0.78); }
.problem-card em { color: var(--gold-500); }

.dash-list, .check-list {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px;
}
.dash-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-700);
  line-height: 1.5;
}
.problem-card--asset .check-list li { color: rgba(245,241,232,0.88); }

.dash-list li::before {
  content: '—';
  position: absolute; left: 0; top: 0;
  color: var(--ink-300);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--gold-500);
  border-bottom: 1.5px solid var(--gold-500);
  transform: rotate(-45deg);
}

/* ---------- 9. How it works ---------- */
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 800px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.how-step {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(45,90,61,0.12), transparent 30%),
    rgba(255,255,255,0.02);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.how-step:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(232,181,71,0.08), transparent 40%),
    rgba(255,255,255,0.03);
}

.step-num {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 28px;
  font-weight: 500;
}

.step-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232,181,71,0.1);
  color: var(--gold-300);
  margin-bottom: 22px;
  border: 1px solid rgba(232,181,71,0.2);
}

.how-step h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--cream-50);
  font-variation-settings: "opsz" 72, "SOFT" 50;
}

.how-step p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245,241,232,0.72);
}

/* ---------- 10. Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.benefit-card {
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cream-100);
  color: var(--forest-700);
  margin-bottom: 24px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.benefit-card:hover .benefit-icon {
  background: var(--gold-500);
  color: var(--forest-900);
}

.benefit-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-variation-settings: "opsz" 24, "SOFT" 40;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.benefit-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-500);
}

/* ---------- 11. Savings + Calculator ---------- */
.savings {
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
  border-top: 1px solid var(--line);
}

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(60px, 6vw, 100px);
}
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.compare-col {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  border: 1px solid var(--line);
}

.compare-col--solar {
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 100%);
  color: var(--cream-50);
  border: 1px solid var(--forest-700);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.compare-col--solar::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,181,71,0.18), transparent 70%);
  pointer-events: none;
}

.compare-col header { margin-bottom: 24px; }
.compare-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  margin-bottom: 14px;
}
.compare-tag--gold {
  color: var(--gold-300);
  border-color: rgba(232,181,71,0.4);
  background: rgba(232,181,71,0.08);
}

.compare-col h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.1;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.compare-col--solar h3 { color: var(--cream-50); }

.compare-list {
  display: flex; flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-700);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.compare-col--solar .compare-list li {
  color: rgba(245,241,232,0.88);
  border-top-color: rgba(245,241,232,0.1);
}
.compare-list li:first-child { padding-top: 0; border-top: 0; }

.x-mark, .check-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
}
.x-mark {
  background: var(--beige-200);
  color: var(--ink-500);
  border: 1px solid var(--line);
}
.check-mark {
  background: var(--gold-500);
  color: var(--forest-900);
}

/* Calculator */
.calculator {
  background: var(--cream-50);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.calculator::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(232,181,71,0.18), transparent 65%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .calculator {
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
  }
}

.calc-head {
  position: relative;
}
.calc-head h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  margin: 8px 0 16px;
  font-variation-settings: "opsz" 72, "SOFT" 50;
  letter-spacing: -0.015em;
}
.calc-head p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 38ch;
}

.calc-form {
  display: grid;
  gap: 20px;
}

.field {
  display: flex; flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 500;
}
.input-wrap {
  position: relative;
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input-wrap:focus-within {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(15,36,25,0.06);
}
.input-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 18px 0 18px 18px;
  font-size: 18px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 60;
  color: var(--forest-900);
  width: 100%;
  min-width: 0;
}
.input-wrap input::placeholder {
  color: var(--ink-300);
}
.input-wrap input[type=number]::-webkit-outer-spin-button,
.input-wrap input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.input-wrap input[type=number] { -moz-appearance: textfield; }
.input-unit {
  font-size: 13px;
  color: var(--ink-500);
  padding: 0 18px 0 12px;
  border-left: 1px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.calc-result {
  grid-column: 1 / -1;
  background: var(--cream-100);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  min-height: 84px;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.calc-result.is-active {
  background: var(--forest-900);
  border-color: var(--forest-800);
  color: var(--cream-50);
}
.calc-result.is-active .calc-placeholder { display: none; }
.calc-placeholder {
  font-size: 14px;
  color: var(--ink-500);
}
.calc-headline {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  color: var(--gold-400);
}
.calc-headline small {
  font-size: 14px;
  color: rgba(245,241,232,0.6);
  font-family: var(--font-sans);
  font-variation-settings: normal;
  letter-spacing: 0.02em;
}
.calc-detail {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(245,241,232,0.72);
  font-family: var(--font-sans);
}

.calc-disclaimer {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.5;
  padding-top: 6px;
}

/* ---------- 12. Trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-item {
  position: relative;
  padding: 36px 32px 36px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .trust-item:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { padding-left: 32px; }
}
@media (min-width: 1000px) {
  .trust-item { padding: 40px 32px; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { padding-left: 32px; border-right: 1px solid var(--line); }
  .trust-item:nth-child(3n) { border-right: none; }
}

.trust-bullet {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-bottom: 18px;
}
.trust-item h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-variation-settings: "opsz" 24, "SOFT" 40;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.trust-item p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* ---------- 13. Use cases ---------- */
.usecases { background: var(--cream-100); }

.usecase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 800px) {
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
}

.usecase {
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.usecase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.usecase-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.usecase-image--home {
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(244,213,137,0.5), transparent 60%),
    linear-gradient(180deg, #E6DCC4 0%, #BBC9B0 60%, #8BA08B 100%);
}
.usecase-image--farm {
  background:
    radial-gradient(ellipse 80% 60% at 30% 15%, rgba(255,220,140,0.6), transparent 65%),
    linear-gradient(180deg, #F5DFA8 0%, #D9B66E 45%, #8B6E3A 100%);
}
.usecase-image--biz {
  background:
    radial-gradient(ellipse 70% 60% at 70% 15%, rgba(244,213,137,0.4), transparent 60%),
    linear-gradient(180deg, #D5DCD6 0%, #8C9991 55%, #4A554F 100%);
}

.img-sun {
  position: absolute;
  top: 14%; right: 18%;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFEBB8, var(--gold-400) 60%, #C8852C);
  box-shadow: 0 0 30px rgba(232,181,71,0.6), 0 0 0 12px rgba(255,235,184,0.18);
}

.img-ground, .img-field, .img-paving {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
}
.img-ground {
  background: linear-gradient(180deg, #6B7E62, #364530);
}
.img-field {
  background:
    repeating-linear-gradient(85deg, rgba(80,60,30,0.15) 0 6px, transparent 6px 14px),
    linear-gradient(180deg, #C2A467 0%, #6B5230 100%);
}
.img-paving {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #909A93 0%, #4F5751 100%);
}

.img-house {
  position: absolute;
  bottom: 28%; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 36%;
  background: linear-gradient(180deg, #FBFAF6, #E8E2D2);
  border: 1px solid rgba(15,36,25,0.18);
  border-radius: 4px;
}
.img-house::before {
  content: '';
  position: absolute;
  top: -22%; left: -8%; right: -8%;
  height: 28%;
  background: linear-gradient(180deg, #2D3D2A, #15201A);
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}
.img-house::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%;
  width: 24%; height: 50%;
  background: var(--forest-900);
}

.img-barn {
  position: absolute;
  bottom: 28%; left: 40%;
  width: 46%; height: 34%;
  background: linear-gradient(180deg, #8B4A2E, #5A2F1E);
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 2px;
}
.img-barn::before {
  content: '';
  position: absolute;
  top: -28%; left: -6%; right: -6%;
  height: 32%;
  background: linear-gradient(180deg, #2D3D2A, #15201A);
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.img-building {
  position: absolute;
  bottom: 28%; left: 20%;
  width: 64%; height: 44%;
  background: linear-gradient(180deg, #C9CFCA, #6A736E);
  border: 1px solid rgba(15,36,25,0.2);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.img-building::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  background:
    repeating-linear-gradient(90deg, rgba(15,36,25,0.4) 0 6px, transparent 6px 22px),
    repeating-linear-gradient(0deg, rgba(15,36,25,0.4) 0 6px, transparent 6px 28px);
  opacity: 0.6;
}

.img-fence-row, .img-fence-long {
  position: absolute;
  left: 4%; right: 4%;
  bottom: 22%;
  height: 16%;
  display: flex;
  gap: 4px;
}
.img-fence-row::before,
.img-fence-long::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg,
    var(--forest-900) 0 6px,
    transparent 6px 12px);
}
.img-fence-row::after {
  content: '';
  position: absolute; left: 0; right: 0;
  top: 14%;
  height: 24%;
  background: repeating-linear-gradient(90deg,
    rgba(232,181,71,0.85) 0 6px,
    transparent 6px 12px);
}
.img-fence-long {
  bottom: 22%;
  height: 12%;
}
.img-fence-long::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 18%;
  height: 28%;
  background: repeating-linear-gradient(90deg,
    rgba(232,181,71,0.85) 0 5px,
    transparent 5px 10px);
}

.usecase-body {
  padding: 28px;
}
.usecase-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-700);
  font-weight: 500;
  margin-bottom: 14px;
}
.usecase h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  letter-spacing: -0.01em;
}
.usecase p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ---------- 14. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
  }
  .faq .section-head { margin-bottom: 0; position: sticky; top: 100px; }
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item[open] { border-bottom-color: var(--forest-700); }

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 50px 22px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-variation-settings: "opsz" 24, "SOFT" 50;
  font-weight: 500;
  color: var(--forest-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--forest-700); }
.faq-item[open] summary { color: var(--forest-900); }

.faq-mark {
  position: relative;
  display: inline-block;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.faq-mark::before, .faq-mark::after {
  content: '';
  position: absolute;
  background: var(--forest-900);
  border-radius: 1px;
}
.faq-mark::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq-mark::after {
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-mark::after { transform: translateX(-50%) scaleY(0); }

.faq-body {
  overflow: hidden;
  padding-bottom: 24px;
  padding-right: 60px;
  animation: faqIn 0.4s var(--ease-out);
}
.faq-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-500);
}
.faq-body strong { color: var(--forest-900); font-weight: 600; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item--disclosure summary {
  color: var(--forest-700);
}
.faq-item--disclosure[open] .faq-body {
  border-left: 2px solid var(--gold-500);
  padding-left: 18px;
  margin-bottom: 8px;
}

/* ---------- 15. Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.final-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--forest-900);
}
.final-sun {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232,181,71,0.4) 0%,
    rgba(232,181,71,0.12) 35%,
    transparent 70%);
  filter: blur(20px);
  animation: sunFloat 14s ease-in-out infinite;
}
@keyframes sunFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(20px); }
}
.final-grain {
  position: absolute; inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.91 0 0 0 0 0.71 0 0 0 0 0.28 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.final-inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-title {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.02;
  color: var(--cream-50);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 18px 0 24px;
}
.final-title em {
  color: var(--gold-300);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.final-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(245,241,232,0.78);
  max-width: 52ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(245,241,232,0.7);
  border-top: 1px solid rgba(245,241,232,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: clamp(60px, 6vw, 90px);
  padding-bottom: 40px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand .brand-mark--footer { margin-bottom: 16px; }
.footer-brand .brand-mark--footer .brand-bars i { background: var(--cream-50); }

.footer-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream-50);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  margin-bottom: 10px;
}
.footer-tag {
  font-size: 13px;
  color: rgba(245,241,232,0.55);
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: rgba(245,241,232,0.78);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(245,241,232,0.08);
  font-size: 12.5px;
  color: rgba(245,241,232,0.5);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-fineprint { color: rgba(245,241,232,0.4); }

/* ---------- 17. Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: var(--forest-900);
  color: var(--cream-50);
  border-radius: 18px;
  border: 1px solid var(--forest-700);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 14px;
  color: rgba(245,241,232,0.88);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .btn-ghost {
  color: rgba(245,241,232,0.78);
  border-color: rgba(245,241,232,0.2);
}
.cookie-actions .btn-ghost:hover {
  background: rgba(245,241,232,0.08);
  color: var(--cream-50);
}
.cookie-actions .btn-primary {
  background: var(--gold-500);
  color: var(--forest-900);
}
.cookie-actions .btn-primary:hover { background: var(--gold-400); }

/* ---------- 18. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 19. Mobile nav ---------- */
@media (max-width: 880px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 0;
    background: var(--cream-50);
    border-top: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
    margin: 0;
    padding: 40px var(--gutter);
    z-index: 50;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .site-nav a {
    display: block;
    padding: 18px 0;
    font-size: 22px;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 36, "SOFT" 50;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- 20. Misc small screens ---------- */
@media (max-width: 600px) {
  .hero-trust { grid-template-columns: 1fr; gap: 14px; }
  .hero-trust li { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
  .hero-trust li:last-child { border-bottom: 0; padding-bottom: 0; }
  .hero-trust li + li { padding-left: 0; padding-top: 14px; }

  .btn { padding: 14px 20px; font-size: 14.5px; }
  .hero-ctas .btn { flex: 1 1 auto; }

  .visual-stage { aspect-ratio: 4 / 4.4; }
}

/* ---------- 21. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   ADDITIONS — logo asset, stats, testimonials, contact form,
   floating CTA, back-to-top, social icons
===================================================================== */

/* ---------- A. Brand logo (SVG replacement) ---------- */
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease-out);
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }

.brand-logo--footer {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

/* ---------- B. Stats strip ---------- */
.stats {
  background: var(--cream-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 6vw, 64px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.stats-grid::before,
.stats-grid::after { content: none; }
.stat {
  padding: 8px clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--forest-900);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.stat-num small {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.4;
}
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- C. Testimonials ---------- */
.testimonials { background: var(--cream-50); }
.testimonial-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testimonial {
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, var(--cream-100) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 1;
  color: var(--gold-300);
  opacity: 0.45;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.testimonial-rating {
  color: var(--gold-500);
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 60;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--forest-900);
  font-weight: 400;
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest-800), var(--forest-600));
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.t-meta { display: flex; flex-direction: column; line-height: 1.3; }
.t-meta strong { color: var(--forest-900); font-size: 14.5px; font-weight: 600; }
.t-meta span { color: var(--ink-500); font-size: 12.5px; }

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

/* ---------- D. Final CTA split layout ---------- */
.final-inner--split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.final-copy { color: var(--cream-50); }
.final-copy .final-title { color: var(--cream-50); }

.final-bullets {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(245,241,232,0.85);
  font-size: 15px;
}
.final-bullets li { display: flex; align-items: flex-start; gap: 12px; }
.final-bullets li span {
  color: var(--gold-400);
  font-weight: 700;
  flex: 0 0 auto;
  margin-top: 1px;
}

.final-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: rgba(245,241,232,0.85);
}
.final-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fc-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
}
.final-contact a {
  color: var(--cream-50);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.final-contact a:hover { border-bottom-color: var(--gold-400); }

@media (max-width: 880px) {
  .final-inner--split { grid-template-columns: 1fr; }
  .final-contact { grid-template-columns: 1fr; }
}

/* ---------- E. Quote form ---------- */
.quote-form {
  background: var(--cream-50);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-form-head { margin-bottom: 4px; }
.form-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 10px;
}
.quote-form-head h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-variation-settings: "opsz" 60, "SOFT" 40;
  color: var(--forest-900);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12.5px;
  color: var(--ink-700);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.field .optional {
  color: var(--ink-300);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
  font-family: var(--font-sans);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230E2118' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: 0 0 0 4px rgba(45,90,61,0.12);
  background: #fff;
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not(:placeholder-shown) {
  border-color: #C46A6A;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox input {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--forest-700);
}
.checkbox a {
  color: var(--forest-800);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.form-fineprint {
  font-size: 12px;
  color: var(--ink-500);
  text-align: center;
  margin-top: 2px;
}
.form-result {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid;
}
.form-result.is-success {
  background: rgba(45,90,61,0.08);
  border-color: rgba(45,90,61,0.3);
  color: var(--forest-800);
}
.form-result.is-error {
  background: #FDECEC;
  border-color: #E9B5B5;
  color: #8A3434;
}

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

/* ---------- F. Footer social ---------- */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  background: rgba(15,36,25,0.04);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover {
  color: var(--gold-500);
  background: var(--forest-900);
  border-color: var(--forest-900);
  transform: translateY(-2px);
}

/* ---------- G. Floating CTA (call) ---------- */
.floating-cta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 16px;
  background: var(--forest-900);
  color: var(--cream-50);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: 0 16px 36px -16px rgba(15,36,25,0.55), 0 4px 10px -4px rgba(15,36,25,0.25);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.floating-cta::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid var(--gold-500);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.floating-cta:hover {
  background: var(--forest-800);
  transform: translateY(-2px);
}
.floating-cta:hover::before { opacity: 0.55; }
.floating-cta svg {
  background: var(--gold-500);
  color: var(--forest-900);
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .floating-cta-label { display: none; }
  .floating-cta { padding: 10px; }
}

/* ---------- H. Back-to-top ---------- */
.back-to-top {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 89;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--forest-900);
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--forest-900);
  color: var(--gold-300);
}

