/* =========================================================
   Green Tide Energy — Site stylesheet
   Fonts: Barlow (headings) + Urbanist (body)
   ========================================================= */

:root {
  --green:        #6b9635;
  --green-dark:   #567a28;
  --green-light:  #85b840;
  --green-glow:   rgba(107,150,53,0.25);
  --green-pale:   #f2f7eb;
  --green-pale2:  #e6f0d6;
  --green-mid:    #c8e29a;
  --blue:         #4a9dd4;
  --blue-light:   #78bce8;
  --dark:         #252525;
  --darker:       #181818;
  --charcoal:     #2e2e2e;
  --text-h:       #1a1a1a;
  --text-b:       #3d3d3d;
  --text-m:       #666;
  --border:       #dde8cc;
  --surface:      #ffffff;
  --orange:       #e07000;

  --ff-head: 'Barlow', sans-serif;
  --ff-body: 'Urbanist', sans-serif;

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
  --shadow-xl: 0 24px 72px rgba(0,0,0,0.22);
  --t: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-b);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--text-h);
  font-weight: 800;
  line-height: 1.08;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); line-height: 1.14; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.25; }
p { line-height: 1.75; max-width: 64ch; }

/* anchor scroll offset so fixed nav doesn't cover targets */
[id] { scroll-margin-top: 110px; }

/* ----- Section label pill ----- */
.sec-label {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(107,150,53,0.1);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.sec-header { margin-bottom: 52px; }
.sec-header h2 { margin-bottom: 16px; }
.sec-header p { color: var(--text-m); }
.sec-header.centered { text-align: center; }
.sec-header.centered p { margin: 0 auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px var(--green-glow);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 8px 28px var(--green-glow); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-pill { border-radius: 50px; }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left  { opacity: 0; transform: translateX(-26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(26px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  position: relative;
  z-index: 1001;
  background: var(--darker);
  padding: 10px 0;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  color: rgba(210,225,200,0.8);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left a {
  color: rgba(210,225,200,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t);
}
.topbar-left a:hover { color: var(--green-mid); }
.topbar-divider { width: 1px; height: 14px; background: rgba(210,225,200,0.2); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(210,225,200,0.6);
}
.topbar-right strong { color: var(--green-mid); font-weight: 700; }
.topbar-ticker-wrap { overflow: hidden; width: 420px; height: 28px; display: flex; align-items: center; justify-content: flex-end; }
.topbar-ticker {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transform: translateX(440px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34,1.2,0.64,1), opacity 0.4s ease;
}
.topbar-ticker.slide-in { transform: translateX(0); opacity: 1; }
.topbar-ticker.slide-out {
  transform: translateX(440px);
  opacity: 0;
  transition: transform 0.4s ease-in, opacity 0.35s ease-in;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fce5f;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(95,206,95,0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 0 5px rgba(95,206,95,0); }
}

/* =========================================================
   NAVBAR  (transparent over hero -> solid white bar on scroll)
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: 62px;          /* gap below the topbar while at the top */
  background: transparent;
  transition: padding var(--t), background var(--t), box-shadow var(--t);
}
.navbar .container {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
  transition: height var(--t);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-brand img { height: 34px; width: auto; }
.navbar-brand .logo-dark { display: none; }   /* white logo is shown over the hero */

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 8px;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.15); }
.nav-cta {
  margin-left: 14px;
  flex-shrink: 0;
  border-radius: 50px !important;
  padding: 12px 26px !important;
  font-size: 0.86rem !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28) !important;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t); }
.nav-toggle.open span { background: var(--dark); }   /* X sits over the white mobile panel */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Solid state: scrolled past the hero, or interior/legal pages */
.navbar.scrolled,
.navbar.solid {
  padding-top: 0;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.navbar.scrolled .container,
.navbar.solid .container { height: 64px; }
.navbar.scrolled .navbar-brand .logo-light,
.navbar.solid .navbar-brand .logo-light { display: none; }
.navbar.scrolled .navbar-brand .logo-dark,
.navbar.solid .navbar-brand .logo-dark { display: block; }
.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a { color: var(--text-h); font-weight: 500; }
.navbar.scrolled .nav-links a:hover,
.navbar.solid .nav-links a:hover { color: var(--green); background: var(--green-pale); }
.navbar.scrolled .nav-cta,
.navbar.solid .nav-cta { box-shadow: 0 4px 18px var(--green-glow) !important; }
.navbar.scrolled .nav-toggle span,
.navbar.solid .nav-toggle span { background: var(--dark); }
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-h);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-cta { margin-top: 28px; width: 100%; justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(150deg, #0f4c8c 0%, #1a7dc0 50%, #2a9cd8 100%);
  padding: 124px 0 64px;
  overflow: hidden;
}
/* layered atmosphere */
.hero::before {
  content: '';
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
}
.hero-glow {
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,150,53,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 620px; gap: 44px; align-items: center; }

.hero-text .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.hero-text h1 { color: #fff; margin-bottom: 20px; }
.hero-text h1 em { font-style: normal; color: #ffe066; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  margin-bottom: 30px;
  max-width: 48ch;
}
.hero-sub .hl { color: #ffe066; }
.hero-bullets { margin-bottom: 36px; }
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-head);
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-bullets li:last-child { border-bottom: none; }
.h-tick {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-faces { display: flex; }
.hero-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--green-dark);
  object-fit: cover;
  margin-left: -10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
}
.hero-face:first-child { margin-left: 0; }
.hero-proof-text { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.hero-proof-text strong { color: #fff; }

/* Right column: form card */
.hero-form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
}
.form-card-header { background: var(--green); padding: 24px 28px 20px; text-align: center; }
.form-card-header h2 {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.form-card-header p { font-size: 0.82rem; color: rgba(255,255,255,0.82); max-width: none; margin: 0; }

/* Fillout embed inside the card body */
.form-card-body { padding: 8px 8px 12px; }
.fillout-embed { width: 100%; min-height: 520px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.fillout-embed iframe { border: none; width: 100%; }
.form-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-m);
  padding: 4px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* =========================================================
   INSTANT BENEFITS (6 quick blocks below hero)
   ========================================================= */
.quick-section { background: var(--surface); padding: 80px 0; border-bottom: 1px solid var(--border); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-text strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.quick-text span { font-size: 0.86rem; color: var(--text-m); line-height: 1.5; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section { background: var(--green-pale); padding: 100px 0; }
.process-banner { max-width: 520px; margin: 0 auto 48px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.process-banner img { width: 100%; height: auto; display: block; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps-grid.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e6edd8;
  position: relative;
}
.step-num {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(107,150,53,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text-h); }
.step-card p { font-size: 0.92rem; color: var(--text-m); line-height: 1.7; max-width: none; }

/* =========================================================
   PAIN POINTS (homeowner problems)
   ========================================================= */
.pains-section { background: var(--surface); padding: 96px 0; }
.pains-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pain-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.pain-photo img { width: 100%; height: 100%; object-fit: cover; }
.pain-text { padding: 20px 22px 24px; }
.pain-text h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-h); }
.pain-text p { font-size: 0.87rem; color: var(--text-m); line-height: 1.6; max-width: none; }

/* =========================================================
   HEAT PUMP SHOWCASE
   ========================================================= */
.showcase-section { background: var(--surface); padding: 96px 0; }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.showcase-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1 / 1; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.showcase-item:hover img { transform: scale(1.05); }

/* =========================================================
   WHY HEAT PUMPS (benefit cards)
   ========================================================= */
.benefits-section { background: #f7fbff; padding: 96px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  box-shadow: 0 2px 16px rgba(0,60,120,0.07);
  border: 1px solid #e8f0f8;
  display: flex;
  flex-direction: column;
}
.benefit-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.benefit-card h3 { font-size: 1.18rem; margin-bottom: 12px; color: var(--text-h); line-height: 1.2; }
.benefit-card p { font-size: 0.91rem; color: var(--text-m); line-height: 1.72; max-width: none; flex: 1; }
.benefit-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
}

/* running-cost comparison */
.compare-wrap {
  margin-top: 56px;
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: var(--radius-xl);
  padding: 40px 40px 34px;
  box-shadow: 0 2px 16px rgba(0,60,120,0.07);
}
.compare-wrap h3 { font-size: 1.25rem; margin-bottom: 6px; }
.compare-wrap > p { font-size: 0.9rem; color: var(--text-m); margin-bottom: 28px; }
.compare-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.compare-label { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--text-h); }
.compare-label span { display: block; font-weight: 500; font-size: 0.78rem; color: var(--text-m); }
.compare-bar-track { background: #eef3f8; border-radius: 50px; height: 38px; position: relative; overflow: hidden; }
.compare-bar {
  height: 100%;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  width: 0;
  transition: width 1.1s cubic-bezier(0.22,1,0.36,1);
}
.compare-bar.oil  { background: linear-gradient(90deg, #c0392b, #e0573f); }
.compare-bar.gas  { background: linear-gradient(90deg, #d98018, #e8a44a); }
.compare-bar.hp   { background: linear-gradient(90deg, var(--green-dark), var(--green-light)); }
.compare-foot { font-size: 0.76rem; color: var(--text-m); margin-top: 18px; }

/* =========================================================
   GRANT SECTION
   ========================================================= */
.grant-section { background: var(--darker); padding: 100px 0; position: relative; overflow: hidden; }
.grant-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,150,53,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.grant-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grant-content .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.grant-content h2 { color: #fff; margin-bottom: 20px; }
.grant-content p { color: rgba(255,255,255,0.7); font-size: 1.02rem; margin-bottom: 32px; }
.grant-features { display: flex; flex-direction: column; gap: 0; }
.grant-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.grant-feature:last-child { border-bottom: none; }
.grant-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(107,150,53,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-mid);
}
.grant-feature-text strong { display: block; font-family: var(--ff-head); font-size: 0.94rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.grant-feature-text span { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.grant-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.grant-card-eyebrow {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.grant-card-amount {
  font-family: var(--ff-head);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.grant-card-amount span { color: var(--green-light); }
.grant-card-label { font-family: var(--ff-head); font-size: 0.92rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.grant-card-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 28px 0; }
.grant-card-points { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.grant-card-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  font-family: var(--ff-head);
  font-weight: 500;
}
.grant-card-point::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.grant-cta { margin-top: 32px; width: 100%; justify-content: center; }

/* =========================================================
   TRUST / SOCIAL PROOF
   ========================================================= */
.trust-section { background: var(--green-pale); padding: 96px 0; }
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cred-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.cred-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.cred-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-h); }
.cred-card p { font-size: 0.92rem; color: var(--text-m); line-height: 1.7; max-width: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--surface); padding: 100px 0; }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 80px; }
.faq-intro .sec-label { margin-bottom: 16px; }
.faq-intro h2 { margin-bottom: 20px; }
.faq-intro p { color: var(--text-m); font-size: 0.95rem; }
.faq-intro .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-h);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--t);
}
.faq-trigger:hover { color: var(--green); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  transition: background var(--t), transform var(--t);
}
.faq-item.open .faq-icon { background: var(--green); color: #fff; transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body-inner p { padding-bottom: 22px; font-size: 0.93rem; color: var(--text-m); line-height: 1.75; max-width: none; }

/* =========================================================
   FOOTER CTA
   ========================================================= */
.footer-cta { background: linear-gradient(135deg, #3d5c18 0%, var(--green) 100%); padding: 80px 0; text-align: center; }
.footer-cta h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.footer-cta p { color: rgba(255,255,255,0.75); font-size: 1.02rem; margin: 0 auto 36px; }
.footer-cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--darker); padding: 56px 0 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;   /* col 1 = half width, cols 2 & 3 share the other half */
  align-items: start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-size: 0.98rem; color: rgba(210,225,200,0.72); max-width: 48ch; line-height: 1.65; margin-bottom: 22px; }
.footer-disclaimers { display: flex; flex-direction: column; gap: 12px; }
.footer-disclaimer { font-size: 0.78rem; color: rgba(210,225,200,0.42); max-width: 60ch; line-height: 1.6; margin: 0; }
.footer-links h4 {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(210,225,200,0.5);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(210,225,200,0.65); transition: color var(--t); }
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(210,225,200,0.4); max-width: none; }

/* =========================================================
   LEGAL / LONG-FORM PAGES
   ========================================================= */
.page-hero {
  background: linear-gradient(150deg, #0f4c8c 0%, #1a7dc0 60%, #2a9cd8 100%);
  padding: 170px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 64%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .sec-label { color: var(--green-mid); background: rgba(107,150,53,0.18); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 60ch; }

.legal-body { padding: 72px 0 96px; background: var(--surface); }
.legal-body .container { max-width: 820px; }
.legal-body h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
  padding-top: 8px;
  color: var(--text-h);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--text-h); }
.legal-body p { color: var(--text-b); margin-bottom: 16px; max-width: none; }
.legal-body ul { margin: 0 0 18px; padding-left: 4px; }
.legal-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-b);
  line-height: 1.7;
}
.legal-body ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.legal-body a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--green); }
.legal-updated {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-m);
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 36px;
}
.legal-toc {
  background: #f8faf4;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.legal-toc h4 {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-m);
  margin-bottom: 12px;
}
.legal-toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; }
.legal-toc li { padding-left: 0; margin: 0; }
.legal-toc li::before { display: none; }
.legal-toc a { color: var(--green-dark); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.legal-toc a:hover { color: var(--green); text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 48px; min-height: auto; }
  .hero-form-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .grant-layout { grid-template-columns: 1fr; gap: 48px; }
  .grant-card { max-width: 480px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid.steps-4 { grid-template-columns: repeat(2, 1fr); }
  .pains-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .navbar { padding-top: 10px; }
  .navbar.scrolled, .navbar.solid { padding-top: 0; }
  .navbar .container { height: 60px; }
  .steps-grid, .steps-grid.steps-4 { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .pains-grid { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; }
  .compare-wrap { padding: 28px 22px 24px; }
  .footer-cta-btns { flex-direction: column; }
  .footer-cta-btns .btn { width: 100%; max-width: 320px; }
  .legal-toc ul { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 56px; }
}

/* =========================================================
   Grant update — hero pill + announcement banner
   ========================================================= */
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-eyebrow-row .sec-label { margin-bottom: 0; }

.grant-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(224,112,0,0.35);
}
.grant-pill-arrow {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.grant-update-strip {
  display: block;
  background: var(--green-pale);
  border-top: 1px solid var(--green-mid);
  border-bottom: 1px solid var(--green-mid);
  text-decoration: none;
  transition: background var(--t);
}
.grant-update-strip:hover { background: var(--green-pale2); }
.grant-update-strip .container {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}
.grant-update-flag {
  flex-shrink: 0;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 5px 12px;
  border-radius: 5px;
}
.grant-update-msg { font-size: 0.95rem; line-height: 1.45; color: var(--text-b); }
.grant-update-msg strong { color: var(--green-dark); font-weight: 700; }
.grant-update-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--t);
}
.grant-update-strip:hover .grant-update-arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .grant-update-strip .container { gap: 10px; padding: 12px 0; flex-wrap: wrap; }
  .grant-update-flag { font-size: 0.68rem; }
  .grant-update-msg { font-size: 0.86rem; }
  .grant-update-arrow { display: none; }
}

/* =========================================================
   Cookie consent banner (injected by js/main.js)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-text {
  flex: 1;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-b);
}
.cookie-banner-text a { color: var(--green-dark); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 9px 22px; font-size: 0.9rem; }

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: none; }
}
