/* =========================================
   TONZA ENERGY — Design System & Styles
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  /* ── Brand Rainbow (from Tonza logo arc) ── */
  --brand-red:    #ff2a0a;
  --brand-orange: #fb9c1e;
  --brand-blue:   #347ab8;
  --brand-green:  #65c142;
  --brand-teal:   #2eaed1;

  /* Derived tints / shades */
  --green-900: #1a3a14;
  --green-800: #28541f;
  --green-700: #3d7a2e;
  --green-600: #65c142;   /* brand-green */
  --green-500: #79d054;
  --green-400: #96dc78;
  --green-300: #b5e8a1;
  --green-200: #d4f2c8;
  --green-100: #e9f8e3;
  --green-50:  #f4fcf1;

  --teal-800:  #1a6e85;
  --teal-700:  #228da9;
  --teal-600:  #2eaed1;   /* brand-teal */
  --teal-500:  #4cbfdb;
  --teal-400:  #76d1e5;
  --teal-300:  #a3e2ef;
  --teal-200:  #cef0f7;
  --teal-100:  #e8f8fb;
  --teal-50:   #f2fbfd;

  --blue-700:  #285e8f;
  --blue-600:  #347ab8;   /* brand-blue */
  --blue-500:  #4a8ec7;

  --orange-600:#e88b14;
  --orange-500:#fb9c1e;   /* brand-orange */

  --red-600:   #e5220a;
  --red-500:   #ff2a0a;   /* brand-red */

  /* Neutrals */
  --gray-950: #0a0a0a;
  --gray-900: #171717;
  --gray-800: #262626;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50:  #fafafa;
  --white:    #ffffff;

  /* Semantic */
  --primary:       var(--brand-green);
  --primary-dark:  var(--green-800);
  --primary-light: var(--green-400);
  --accent:        var(--brand-orange);
  --accent-teal:   var(--brand-teal);
  --text-primary:  var(--gray-900);
  --text-secondary:var(--gray-600);
  --text-muted:    var(--gray-500);
  --bg-primary:    var(--white);
  --bg-secondary:  var(--green-50);
  --bg-dark:       #112a0e;  /* very deep green-black */

  /* Brand gradient (mirrors the rainbow arc) */
  --gradient-rainbow: linear-gradient(
    90deg,
    var(--brand-red) 0%,
    var(--brand-orange) 25%,
    var(--brand-green) 50%,
    var(--brand-teal) 75%,
    var(--brand-blue) 100%
  );

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(101,193,66,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--teal-300);
  border-color: rgba(255,255,255,.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--brand-teal);
  color: var(--white);
}

/* ---------- Section Utilities ---------- */
.section {
  padding: var(--section-py) 0;
}
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-rainbow);
  border-radius: 50px 0 0 50px;
}
.section-header {
  margin-bottom: 3rem;
}
.section-header.center {
  text-align: center;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: .75rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin-top: .5rem;
  background: var(--gradient-rainbow);
  border-radius: 2px;
}
.section-header.center h2::after {
  margin-left: auto;
  margin-right: auto;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-rainbow);
  opacity: 0;
  transition: var(--transition);
}
.navbar.scrolled::after {
  opacity: 1;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
  transition: var(--transition);
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.navbar.scrolled .nav-logo img {
  filter: none;
}
.navbar.scrolled .nav-logo {
  color: var(--gray-900);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-teal);
  transition: var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}
.navbar.scrolled .nav-links a {
  color: var(--text-primary);
}
.nav-links .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}
/* Animate to ✕ when open */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
/* Keep ✕ dark when menu is open (over white drawer) */
.nav-toggle.open span {
  background: var(--gray-800);
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(26,58,20,.94) 0%,
    rgba(40,84,31,.86) 40%,
    rgba(30,110,133,.8) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  color: var(--green-200);
  font-size: .85rem;
  font-weight: 600;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.15);
}
.hero-actions .btn-primary {
  background: var(--brand-green);
  border-color: var(--brand-green);
}
.hero-actions .btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat {
  border-left: 3px solid var(--brand-teal);
  padding-left: 1rem;
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  display: block;
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--brand-teal);
  border-bottom: 2px solid var(--brand-teal);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* =====================
   WHY IT MATTERS
   ===================== */
.why {
  background: var(--green-50);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.why-video {
  position: sticky;
  top: 6rem;
}
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-900);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe,
.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}
.why-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.why-card:hover {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-card.highlight {
  background: linear-gradient(135deg, var(--green-700), var(--teal-800));
  color: var(--white);
  border-color: transparent;
}
.why-card.highlight p { color: rgba(255,255,255,.9); }
.why-card.highlight strong { color: var(--white); }
.why-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-card p {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.why-card strong {
  color: var(--text-primary);
}

/* =====================
   FOR VENDORS
   ===================== */
.vendors {
  background: var(--bg-primary);
}
.vendors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.vendors-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--gray-200);
}
.vendors-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vendors-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.vendors-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: var(--radius-sm);
}
.benefit:nth-child(1) .benefit-icon { background: rgba(101,193,66,.12); }
.benefit:nth-child(2) .benefit-icon { background: rgba(255,42,10,.1); }
.benefit:nth-child(3) .benefit-icon { background: rgba(251,156,30,.1); }
.benefit:nth-child(4) .benefit-icon { background: rgba(46,174,209,.1); }
.benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .15rem;
  color: var(--text-primary);
}
.benefit p {
  font-size: .9rem;
  color: var(--text-secondary);
}
.vendors-note {
  font-size: .95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--brand-teal);
}

/* =====================
   THE SOLUTION
   ===================== */
.solution {
  background: var(--teal-50);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-teal);
}
.feature-img {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.feature-card:hover .feature-img img {
  transform: scale(1.05);
}
.feature-card:nth-child(1) { border-top: 3px solid var(--brand-red); }
.feature-card:nth-child(2) { border-top: 3px solid var(--brand-orange); }
.feature-card:nth-child(3) { border-top: 3px solid var(--brand-teal); }
.feature-card:nth-child(4) { border-top: 3px solid var(--brand-blue); }
.feature-body {
  padding: 1.25rem;
}
.feature-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .5rem;
}
.feature-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.feature-body p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.solution-tagline {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.solution-tagline strong {
  color: var(--brand-green);
}

/* =====================
   IMPACT & VISION
   ===================== */
.impact {
  background: var(--bg-primary);
}
.impact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}
.impact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.impact-quote {
  font-size: 1.1rem;
  color: var(--text-secondary);
  border-left: 4px solid var(--brand-orange);
  padding-left: 1.25rem;
  font-style: italic;
}
.impact-metrics {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.metric {
  text-align: center;
  padding: 2rem;
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  min-width: 160px;
  border: 1px solid var(--teal-200);
}
.metric-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-teal);
  line-height: 1;
  margin-bottom: .5rem;
}
.metric-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.impact-card {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.impact-card:nth-child(1) { border-top-color: var(--brand-green); }
.impact-card:nth-child(2) { border-top-color: var(--brand-teal); }
.impact-card:nth-child(3) { border-top-color: var(--brand-blue); }
.impact-card:hover {
  background: var(--green-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.impact-card span {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .75rem;
}
.impact-card p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.impact-cta {
  text-align: center;
}
.impact-cta p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* =====================
   FUND A CART
   ===================== */
.fund {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--green-50) 100%);
  text-align: center;
}
.fund-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}
.fund-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 2px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fund-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.fund-card.featured {
  border-color: var(--brand-green);
  background: linear-gradient(180deg, var(--green-100) 0%, var(--white) 40%);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.fund-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.fund-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .4rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
}
.fund-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}
.fund-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: .35rem;
}
.fund-card.featured .fund-amount {
  color: var(--brand-green);
}
.fund-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.fund-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
/* Outline button for fund cards */
.btn-outline-fund {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--text-secondary);
  cursor: default;
  transition: var(--transition);
  width: 100%;
}
.btn-outline-fund:disabled {
  opacity: .65;
}
.fund-card.featured .btn.btn-primary.fund-btn {
  width: 100%;
  justify-content: center;
}
.fund-card.featured .btn.btn-primary.fund-btn:disabled {
  opacity: .7;
  cursor: default;
}
.fund-card.featured .btn.btn-primary.fund-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}
.fund-custom {
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  border: 1px solid var(--gray-200);
}
.fund-custom p {
  font-size: .95rem;
  color: var(--text-secondary);
}
.fund-note {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--text-muted);
  background: rgba(101,193,66,.08);
  padding: .7rem 1.5rem;
  border-radius: 50px;
}
.fund-note svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  position: relative;
  padding-top: 0;
}
.footer-wave {
  position: relative;
  top: -1px;
  width: 100%;
  line-height: 0;
}
.footer-wave::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--gradient-rainbow);
}
.footer-wave svg {
  width: 100%;
  height: 80px;
}
.footer-top {
  text-align: center;
  padding: 2rem 0 3rem;
}
.footer-headline h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: .75rem;
  color: var(--white);
}
.footer-headline p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-about {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.footer-location, .footer-email {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-email a {
  color: var(--brand-teal);
  transition: var(--transition);
}
.footer-email a:hover {
  color: var(--white);
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--brand-teal);
}
.footer-col p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* =====================
   ANIMATIONS (scroll reveal)
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fund-tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .fund-card { padding: 2rem 1.25rem; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: right .4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    color: var(--text-primary) !important;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-video {
    position: relative;
    top: 0;
  }

  /* Vendors */
  .vendors-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .vendors-image {
    aspect-ratio: 16/10;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Impact */
  .impact-layout {
    grid-template-columns: 1fr;
  }
  .impact-metrics {
    justify-content: flex-start;
  }
  .impact-cards {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Fund */
  .fund-tiers {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
  }
  .fund-card.featured {
    transform: scale(1);
    order: -1;
  }
  .fund-card.featured:hover {
    transform: translateY(-6px);
  }
  .fund-custom {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }
  .fund-note {
    flex-direction: column;
    text-align: center;
    border-radius: var(--radius-md);
    padding: .75rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    justify-content: center;
    width: 100%;
  }
  .impact-metrics {
    flex-direction: column;
  }
}
