/* ============================================================
   Green Tree Solar Solution — Organic Biophilic design system
   Palette: deep forest + emerald + solar gold on warm cream
   Type: Satoshi (display) / General Sans (body) via Fontshare
   ============================================================ */

:root {
  /* Color tokens */
  --forest:      #064E3B;
  --forest-deep: #043327;
  --emerald:     #059669;
  --emerald-dk:  #047857;
  --leaf:        #10B981;
  --mint:        #ECFDF5;
  --mint-border: #A7F3D0;
  --sun:         #FBBF24;
  --sun-deep:    #D97706;
  --cream:       #FDFBF6;
  --ink:         #0B2E25;
  --ink-soft:    #3F5F55;
  --white:       #FFFFFF;
  --destructive: #DC2626;

  /* Type */
  --font-display: 'Satoshi', 'DM Sans', system-ui, sans-serif;
  --font-body: 'General Sans', 'DM Sans', system-ui, sans-serif;

  /* Spacious rhythm (density: low) */
  --space-1: 12px;
  --space-2: 20px;
  --space-3: 32px;
  --space-4: 48px;
  --space-5: 72px;
  --space-6: 104px;

  /* Organic radii */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-blob: 58% 42% 55% 45% / 48% 55% 45% 52%;

  --shadow-soft: 0 10px 40px -12px rgba(6, 78, 59, 0.16);
  --shadow-card: 0 6px 24px -8px rgba(6, 78, 59, 0.12);
  --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--forest);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-6); }

.icon { width: 20px; height: 20px; flex: none; }
.icon--lg { width: 30px; height: 30px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--emerald-dk);
  background: var(--mint);
  border: 1px solid var(--mint-border);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: var(--space-2);
}
.eyebrow--light { color: var(--sun); background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }

.section__head { max-width: 640px; margin-bottom: var(--space-5); }
.section__sub { color: var(--ink-soft); margin-top: var(--space-2); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
  touch-action: manipulation;
  min-height: 52px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--emerald-dk); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--forest); box-shadow: 0 14px 44px -12px rgba(6, 78, 59, 0.35); }

.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }

.btn--sun { background: var(--sun); color: var(--forest-deep); box-shadow: 0 10px 32px -10px rgba(217, 119, 6, 0.5); }
.btn--sun:hover { background: #F5B316; }

.btn--sm { padding: 11px 22px; min-height: 44px; font-size: 0.93rem; }
.btn--full { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(253, 251, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(6, 78, 59, 0.08);
  padding-block: 10px;
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

.nav__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo { width: 42px; height: 42px; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  line-height: 1.1;
  color: var(--forest);
}
.nav__name em { display: block; font-style: normal; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald-dk); }
.nav__name--light { color: var(--mint); }
.nav__name--light em { color: var(--sun); }

.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links > a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 12px;
  cursor: pointer;
}
.nav__toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--forest); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: var(--space-6);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(251, 191, 36, 0.16), transparent 60%),
    radial-gradient(800px 600px at -15% 20%, rgba(16, 185, 129, 0.12), transparent 55%),
    var(--mint);
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: var(--r-blob);
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.hero__blob--1 { width: 480px; height: 480px; background: rgba(16, 185, 129, 0.13); top: -140px; left: -160px; }
.hero__blob--2 { width: 380px; height: 380px; background: rgba(251, 191, 36, 0.18); bottom: -120px; right: -100px; }

.hero__sun { position: absolute; width: clamp(90px, 10vw, 150px); top: 110px; right: 6%; z-index: 0; pointer-events: none; }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-4), 6vw, var(--space-6));
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  font-weight: 900;
  margin-bottom: var(--space-2);
}
.hero__title .w { display: inline-block; }
.hero__title .w--sun { color: var(--sun-deep); position: relative; }
.hero__title .w--sun::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: 6px;
  height: 0.32em;
  background: rgba(251, 191, 36, 0.4);
  border-radius: 999px;
  z-index: -1;
}

.hero__sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 54ch; margin-bottom: var(--space-3); }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-4); }

.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(var(--space-3), 4vw, var(--space-4));
}
.hero__stats li { display: grid; gap: 2px; }
.hero__stats strong { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--forest); }
.hero__stats li > span:last-child { font-size: 0.88rem; color: var(--ink-soft); }

.hero__media { position: relative; }
.hero__img-wrap {
  border-radius: 46% 54% 48% 52% / 42% 44% 56% 58%;
  overflow: hidden;
  box-shadow: 0 30px 80px -25px rgba(6, 78, 59, 0.4);
  border: 6px solid var(--white);
  aspect-ratio: 4 / 5;
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 14px 20px;
  bottom: 8%;
  left: -8%;
}
.hero__card strong { font-family: var(--font-display); display: block; font-size: 1.05rem; color: var(--forest); line-height: 1.2; }
.hero__card span { font-size: 0.82rem; color: var(--ink-soft); }
.hero__card--2 { top: 6%; right: -4%; left: auto; bottom: auto; }

.section-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(40px, 7vw, 90px); z-index: 2; }

/* ---------- Trust bar ---------- */
.trust { background: var(--cream); padding-block: var(--space-4); }
.trust__row { display: grid; gap: var(--space-2); }
.trust__label { font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.trust__items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.trust__items li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--forest); }
.trust__items .icon { color: var(--emerald); }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.card {
  background: var(--white);
  border: 1px solid rgba(167, 243, 208, 0.6);
  border-radius: var(--r-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -16px rgba(6, 78, 59, 0.22); }

.card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  background: var(--mint);
  border-radius: 42% 58% 52% 48% / 50% 44% 56% 50%;
  color: var(--emerald-dk);
  margin-bottom: var(--space-2);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Savings calculator ---------- */
.savings {
  position: relative;
  background:
    radial-gradient(700px 420px at 110% 110%, rgba(251, 191, 36, 0.14), transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--mint);
  overflow: hidden;
  border-radius: var(--r-lg);
  width: min(100% - 24px, 1400px);
  margin-inline: auto;
}
.savings__blob {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: var(--r-blob);
  background: rgba(16, 185, 129, 0.14);
  top: -180px; right: -160px;
  pointer-events: none;
}
.savings__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-4), 5vw, var(--space-6));
  align-items: center;
}
.savings h2 { color: var(--white); }
.savings__intro > p { color: rgba(236, 253, 245, 0.85); margin-top: var(--space-2); }
.savings__note { font-size: 0.82rem; color: rgba(236, 253, 245, 0.55) !important; max-width: 46ch; }

.savings__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: clamp(var(--space-3), 4vw, var(--space-4));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.savings__label { display: block; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(236,253,245,0.7); margin-bottom: 6px; }
.savings__bill { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--sun); margin-bottom: var(--space-2); }

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--sun) var(--fill, 15%), rgba(255,255,255,0.18) var(--fill, 15%));
  cursor: pointer;
  margin-block: 8px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--sun);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--sun);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.savings__range-ends { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(236,253,245,0.5); margin-bottom: var(--space-3); }

.savings__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}
.savings__results dt { font-size: 0.85rem; color: rgba(236,253,245,0.65); }
.savings__results dd { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }

.savings__lifetime {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: var(--space-2);
  margin-bottom: var(--space-3);
  color: rgba(236,253,245,0.8);
}
.savings__lifetime strong { color: var(--sun); font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- PM-KUSUM ---------- */
.kusum { background: var(--mint); border-radius: var(--r-lg); width: min(100% - 24px, 1400px); margin-inline: auto; }
.kusum .cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .kusum .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-3);
  border: 1px solid rgba(167, 243, 208, 0.6);
  box-shadow: var(--shadow-card);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--leaf);
  display: block;
  margin-bottom: var(--space-2);
}
.step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Projects ---------- */
.projects { background: var(--mint); border-radius: var(--r-lg); width: min(100% - 24px, 1400px); margin-inline: auto; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.project {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--forest);
}
.project img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.project:hover img { transform: scale(1.06); opacity: 0.85; }
.project figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 44px 18px 16px;
  background: linear-gradient(to top, rgba(4, 51, 39, 0.92), transparent);
  color: var(--white);
  display: grid;
  gap: 2px;
}
.project figcaption strong { font-family: var(--font-display); font-size: 1.02rem; }
.project figcaption span { font-size: 0.83rem; color: rgba(236,253,245,0.75); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.quote {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-3);
  border: 1px solid rgba(167, 243, 208, 0.6);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: var(--space-2);
  align-content: start;
}
.quote__stars { color: var(--sun-deep); letter-spacing: 3px; font-size: 1.05rem; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote footer strong { font-family: var(--font-display); color: var(--forest); display: block; }
.quote footer span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faq__list { display: grid; gap: var(--space-1); }
.faq__item {
  background: var(--white);
  border: 1px solid rgba(167, 243, 208, 0.6);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest);
  padding: 22px 26px;
  transition: background-color 0.2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--mint); }
.faq__chev {
  flex: none;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--emerald-dk);
  border-bottom: 2.5px solid var(--emerald-dk);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.faq__item[open] .faq__chev { transform: rotate(225deg); }
.faq__item > p { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(760px 480px at -10% 120%, rgba(251, 191, 36, 0.12), transparent 55%),
    linear-gradient(200deg, var(--forest) 0%, var(--forest-deep) 90%);
  color: var(--mint);
  overflow: hidden;
}
.contact__blob {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: var(--r-blob);
  background: rgba(16, 185, 129, 0.12);
  bottom: -260px; left: -220px;
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--space-4), 6vw, var(--space-6));
  align-items: start;
}
.contact h2 { color: var(--white); }
.contact__copy > p { color: rgba(236, 253, 245, 0.85); margin-top: var(--space-2); max-width: 46ch; }

.contact__points { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.contact__points li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact__points .icon { color: var(--sun); width: 24px; height: 24px; }
.contact__points a { text-decoration: none; }
.contact__points a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact__form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(var(--space-3), 4vw, var(--space-4));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: var(--space-2);
}
.contact__form h3 { font-size: 1.5rem; }
.contact__form-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-dk);
  margin-bottom: -10px;
}

.field { display: grid; gap: 7px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--forest); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1.5px solid #D5E5DE;
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
  min-height: 50px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.14);
}
.field input[aria-invalid="true"] { border-color: var(--destructive); }
.field__error { color: var(--destructive); font-size: 0.85rem; }

.contact__fine { font-size: 0.83rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deep); color: rgba(236, 253, 245, 0.8); padding-block: var(--space-5) var(--space-3); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin-top: var(--space-2); font-size: 0.95rem; max-width: 34ch; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.footer__col a { text-decoration: none; font-size: 0.95rem; width: fit-content; }
.footer__col a:hover { color: var(--sun); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1);
  padding-top: var(--space-3);
  font-size: 0.82rem;
  color: rgba(236, 253, 245, 0.5);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.1) translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Animation initial states are set by JS (gsap.from) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__grid, .savings__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .hero__card { left: 0; }
  .hero__card--2 { right: 0; }
  .hero__sun { right: 3%; top: 96px; opacity: 0.7; }

  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(78vw, 340px);
    background: var(--cream);
    box-shadow: -20px 0 60px rgba(6, 78, 59, 0.18);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-4);
    gap: var(--space-2);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links > a:not(.btn) { font-size: 1.25rem; }
  .nav__toggle { display: flex; z-index: 100; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding-block: var(--space-5); }
  .cards, .steps, .projects__grid, .field__row { grid-template-columns: 1fr; }
  .savings__results { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: var(--space-3); }
  .hero__card { padding: 10px 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
