/* ============================================================
   EcoScore — marketing site
   Tokens mirror lib/app/theme.dart so the web feels like the app.
   ============================================================ */

:root {
  /* Brand */
  --primary-dark: #192126;
  --primary-green: #BBF246;     /* signature lime */
  --primary-green-deep: #98C935;

  /* Greys */
  --gray-400: #8B8F92;
  --gray-500: #5E6468;
  --gray-600: #384046;

  /* Surfaces */
  --background: #F3F0F7;
  --surface: #EDEAF3;
  --card-white: #FFFFFF;
  --card-dark: #2A2D30;

  /* Pastel bento tints (match app) */
  --tint-lime: #E7F8C8;
  --tint-lavender: #EDE8FB;
  --tint-coral: #FCE4E4;
  --tint-gold: #FCEFD3;
  --tint-mint: #E0F1F8;

  /* Accents */
  --purple: #A48AED;
  --red: #ED4747;
  --amber: #FCC46F;
  --blue: #95CCE3;

  /* Type */
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii (8pt grid; the app uses 16/20/24) */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--primary-dark);
  background: var(--card-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary-dark); color: var(--primary-green);
  padding: 12px 18px; border-radius: 0 0 12px 0; z-index: 1000;
}
.skip:focus { left: 0; }

.muted { color: var(--gray-500); font-size: 14px; }

/* -------- nav -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.brand__text {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.2px;
  color: #fff;
}
.nav__links {
  display: flex; gap: 28px;
}
.nav__links a {
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .15s;
}
.nav__links a:hover { color: var(--primary-green); }

.nav__toggle { display: none; }

/* -------- buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.1px;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn--primary {
  background: var(--primary-green);
  color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(187, 242, 70, .35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(187, 242, 70, .45); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }

/* -------- hero -------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px);
  background: var(--primary-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(187, 242, 70, .12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(164, 138, 237, .08), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 560px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.badge--lime {
  background: var(--primary-green);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(187, 242, 70, .2);
}

.display {
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 22px 0 18px;
  color: #fff;
}
.display__accent {
  background: linear-gradient(95deg, var(--primary-green-deep), var(--primary-green) 60%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin: 0 0 28px;
}

.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero__note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* Hero "download the app now" block — replaces the old waitlist input. */
.hero__download { margin: 0 0 4px; }

/* App-icon row at the top of the hero download block. Pairs the EcoScore
   icon with the app name + a small live-status pill so the download CTA
   reads as a real product card instead of a generic "join waitlist". */
.hero__app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}
.hero__app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  display: block;
  flex-shrink: 0;
}
.hero__app-meta { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.hero__app-name {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.2px;
}
.hero__app-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.hero__app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(187, 242, 70, 0.18);
}

/* Store buttons.
   --apple   : EcoScore-green pill (matches the nav "Get the app" CTA).
   --play    : neutral grey pill for Android.
   --soon    : applied on top of --play to render the disabled "Coming
               soon" affordance without changing the row's footprint. */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 16px;
  text-decoration: none;
  min-height: 60px;
  user-select: none;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-btn__logo { flex-shrink: 0; display: block; }
.store-btn__label {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.store-btn__top {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  opacity: 0.85;
  margin-bottom: 3px;
}
.store-btn__bot {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

/* Apple — EcoScore-green pill, matches the nav CTA so the visual
   language is consistent across header + hero. */
.store-btn--apple {
  background: var(--primary-green);
  color: var(--primary-dark);
  border: 1px solid var(--primary-green);
}
.store-btn--apple:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(187,242,70,.45);
}
.store-btn--apple:active { transform: translateY(0); }

/* Play Store — neutral pill. The --soon modifier is the actual
   "disabled" state; without --soon the same class can be reused as a
   real CTA when Android launches. */
.store-btn--play {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.store-btn--soon {
  cursor: default;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  padding-right: 64px;          /* room for the "Soon" chip */
}
.store-btn__chip {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 6px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
}

/* hero phone mock */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: .3;
}
.hero__blob--1 {
  width: 320px; height: 320px;
  background: var(--primary-green);
  top: -20px; right: -40px;
}
.hero__blob--2 {
  width: 260px; height: 260px;
  background: var(--purple);
  bottom: -40px; left: -20px;
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  aspect-ratio: 9 / 19.5;
  background: #111518;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .5),
    0 12px 24px rgba(0, 0, 0, .3),
    inset 0 0 0 1.5px rgba(255,255,255,.1);
}
.phone__notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  border-radius: 16px;
  background: #000;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--background);
  border-radius: 32px;
  padding: 50px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone__screen--carousel {
  padding: 0;
  position: relative;
}
.carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 32px;
}
.carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  height: 100%;
}
.carousel__slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}
.carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(25, 33, 38, .2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel__dot.active {
  background: var(--primary-dark);
  transform: scale(1.25);
}

/* -------- section base -------- */
.section { padding: 80px 0; }
.section--white { background: var(--card-white); }
.section--surface { background: var(--background); }
.section--dark { background: var(--primary-dark); color: #fff; }
.section--cta {
  background:
    radial-gradient(700px 500px at 80% 40%, rgba(187,242,70,.25), transparent 70%),
    var(--primary-dark);
  color: #fff;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  background: var(--primary-dark);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  margin: 0 0 14px;
}
.eyebrow--light {
  color: var(--primary-green);
  background: rgba(255,255,255,0.08);
}

.h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: var(--primary-dark);
  max-width: 780px;
}
.h2--light { color: #fff; }

.section__lede {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 0 48px;
  line-height: 1.72;
}
.section__lede--light { color: rgba(255,255,255,.72); }

/* -------- cards -------- */
.cards {
  display: grid;
  gap: 16px;
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(3, 1fr); }
.card {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .2s ease;
  min-height: 200px;
}
.card:hover { transform: translateY(-4px); }
.card--white {
  background: var(--card-white);
  box-shadow: 0 6px 22px rgba(25,33,38,.05);
  border: 1px solid rgba(25,33,38,.06);
}
.card--white:hover { box-shadow: 0 14px 36px rgba(25,33,38,.1); }
.card--lime { background: var(--tint-lime); }
.card--lavender { background: var(--tint-lavender); }
.card--coral { background: var(--tint-coral); }
.card--gold { background: var(--tint-gold); }
.card--mint { background: var(--tint-mint); }

.card__emoji { font-size: 32px; line-height: 1; }
.card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin: 4px 0 0;
  letter-spacing: -.2px;
  color: var(--primary-dark);
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-green);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* product groups */
.product { display: flex; flex-direction: column; gap: 48px; }
.product__group .group__title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  background: var(--primary-dark);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  margin: 0 0 16px;
}

/* -------- energy section -------- */
.energy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.energy__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.energy__lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0;
}
.energy__card {
  background: var(--background);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  transition: transform .15s ease, box-shadow .2s ease;
}
.energy__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(25, 33, 38, .08);
}
.energy__img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.energy__img-wrap--tall {
  flex: 1;
}
.energy__img-wrap--tall img {
  object-fit: contain;
  max-height: 520px;
}
.energy__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
.energy__card h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.3px;
  margin: 0;
  color: var(--primary-dark);
}
.energy__card p {
  margin: 0;
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* -------- impact stats -------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__value {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1;
  color: var(--primary-green);
}
.stat__label {
  font-size: 14px;
  color: rgba(255,255,255,.66);
  line-height: 1.4;
}

/* -------- about -------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.about__card {
  background: var(--background);
  border-radius: 20px;
  padding: 36px;
}
.about__card--accent {
  background: var(--primary-dark);
  color: #fff;
}
.about__card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.3px;
}
.about__card--accent h3 { color: var(--primary-green); }
.bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.about__card--accent .bullets li { color: rgba(255,255,255,.85); }
.bullets--cross li::before,
.bullets--check li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-block;
}
.bullets--cross li::before {
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M6.4 5L5 6.4 10.6 12 5 17.6 6.4 19l5.6-5.6L17.6 19 19 17.6 13.4 12 19 6.4 17.6 5 12 10.6z'/></svg>") center / 60% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M6.4 5L5 6.4 10.6 12 5 17.6 6.4 19l5.6-5.6L17.6 19 19 17.6 13.4 12 19 6.4 17.6 5 12 10.6z'/></svg>") center / 60% no-repeat;
}
.bullets--check li::before {
  background: var(--primary-green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 65% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 65% no-repeat;
}

/* -------- founders -------- */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 36px;
}
.founder {
  background: var(--background);
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.founder__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-dark);
  border: 4px solid var(--tint-lime);
  margin: 0 auto 20px;
  flex-shrink: 0;
}
.founder__photo--lavender {
  border-color: var(--tint-lavender);
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder__name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 4px;
  text-align: center;
}
.founder__role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
  background: var(--primary-dark);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.founder__bio {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

/* -------- CTA -------- */
.cta { text-align: center; max-width: 720px; margin: 0 auto; }
.cta .h2 { margin-left: auto; margin-right: auto; max-width: none; }
.cta .section__lede { margin-left: auto; margin-right: auto; text-align: center; }
.cta__form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 8px;
  margin: 8px auto 16px;
  max-width: 540px;
}
.cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font: inherit;
  color: #fff;
  font-size: 16px;
  outline: none;
}
.cta__form input::placeholder { color: rgba(255,255,255,.5); }
.cta__note { color: rgba(255,255,255,.55); font-size: 13px; }
.cta__note.is-success { color: var(--primary-green); font-weight: 800; }
.cta__note.is-error { color: var(--red); font-weight: 800; }

/* Featured download card (bottom CTA section). Centered, vertical
   layout: large EcoScore icon → name → tagline → store buttons. Reads
   like an App Store mini-product page. */
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin: 32px auto 0;
  padding: 36px 32px 32px;
  max-width: 600px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
}
.download-card__icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  margin-bottom: 18px;
  display: block;
}
.download-card__name {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.4px;
}
.download-card__sub {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}
.store-buttons--cta {
  justify-content: center;
  gap: 14px;
}

@media (max-width: 640px) {
  .download-card {
    padding: 32px 22px 28px;
  }
  .download-card__icon { width: 96px; height: 96px; border-radius: 22px; }
  .download-card__name { font-size: 24px; }
  .store-buttons { justify-content: center; }
}

/* -------- footer -------- */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 56px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.footer__brand-col { display: flex; flex-direction: column; gap: 24px; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand img { border-radius: 8px; }
.footer__brand strong { font-size: 18px; font-weight: 900; }
.footer__brand .muted { color: rgba(255,255,255,.55); margin: 4px 0 0; font-size: 13px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h5 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin: 0 0 14px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 4px 0;
  transition: color .15s;
}
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom .muted { color: rgba(255,255,255,.45); font-size: 13px; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a {
  font-size: 13px;
  transition: color 0.15s ease;
}
.footer__legal a:hover { color: #fff; }

/* -------- reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav .btn { display: none; }
  .nav__toggle {
    display: inline-flex;
    flex-direction: column; gap: 4px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 12px;
  }
  .nav__toggle span {
    width: 22px; height: 2.5px; border-radius: 2px;
    background: #fff;
  }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--primary-dark);
    padding: 16px var(--gutter) 24px;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav.is-open .nav__links a {
    padding: 12px 0;
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav.is-open .btn { display: inline-flex; margin-top: 8px; }
  .nav.is-open .nav__links a:hover { color: var(--primary-green); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 460px; order: -1; }
  .phone { transform: scale(.9); }

  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .energy__grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .display { letter-spacing: -1.4px; }
  .cards--4, .cards--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .cta__form { flex-direction: column; padding: 12px; }
  .cta__form .btn { width: 100%; }
  .founder { padding: 28px; }
  .stat__value { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
