/* ============================================================
   POWER PLUS SOLAR SOLUTIONS — DESIGN SYSTEM
   ============================================================ */

:root {
  /* Brand colors — sampled from logo */
  --green-900: #1a4322;
  --green-800: #215129;
  --green-700: #2a6334;
  --green-600: #357a41;
  --green-100: #e8f0e8;
  --green-50: #f4f8f4;
  --cream: #fafaf7;
  --white: #ffffff;
  --ink: #14201a;
  --ink-soft: #4a564f;
  --line: #e2e6e0;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 24px rgba(20, 32, 26, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(20, 32, 26, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33, 81, 41, 0.3);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
}
.btn-light:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--ink);
  padding: 14px 6px;
}
.btn-text:hover { color: var(--green-800); gap: 12px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(20,32,26,0.07); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-800); }

.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-toggle { display: none; }

.nav-mobile { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-toggle span {
    width: 24px; height: 2px; background: var(--ink);
  }
  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 20px 32px 28px;
    border-top: 1px solid var(--line);
    background: var(--cream);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
  }
  .nav-mobile .btn-primary {
    justify-content: center;
    margin-top: 4px;
  }
}

@media (max-width: 400px) {
  .nav-inner { padding: 16px 20px; }
  .nav-logo { font-size: 1rem; gap: 6px; }
  .nav-logo img { height: 28px; }
}

/* ---------- Hero band ---------- */
.hero-band {
  background: var(--green-800);
  width: 100%;
  padding-top: 56px;
  position: relative;
}
.hero-band > .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green-100);
  border-radius: 2px;
}

.hero-band h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}
.hero-band p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
}

.hero-cta-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Stat strip overlapping hero bottom */
.stat-strip {
  background: var(--green-900);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 36px;
  margin: 0 0 -36px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 150px;
}
.stat-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.stat-num { color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

@media (max-width: 880px) {
  .hero-band { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .stat-strip { flex-direction: column; gap: 18px; margin-bottom: -24px; }
}

/* ---------- Section spacing ---------- */
.section { padding: 100px 0 60px; }
.section-tight { padding: 60px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head .eyebrow { color: var(--green-700); }
.section-head .eyebrow::before { background: var(--green-700); }

@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

.text-green { color: var(--green-700); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

/* ---------- Dark band ---------- */
.dark-band {
  background: var(--green-900);
  border-radius: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.dark-band h2, .dark-band h3 { color: var(--white); }
.dark-band p { color: rgba(255,255,255,0.7); }

@media (max-width: 700px) {
  .dark-band { padding: 44px 24px; border-radius: 20px; margin: 0 16px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
  margin-top: 60px;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--white); margin-bottom: 12px;
}
.footer-logo img { height: 30px; }
.footer h4 {
  color: var(--white); font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 0.9rem; transition: color 0.2s; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}
.photo-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 50%);
}

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-800);
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; }
.stat-icon svg { width: 18px; height: 18px; }
.info-row .icon-circle svg { width: 19px; height: 19px; }
.social-icons a svg { width: 17px; height: 17px; }
.final-icon-item svg { width: 18px; height: 18px; color: #9fd8b6; }
.footer ul svg, .footer li svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

.fade-up {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateX(0); }

.slide-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger containers — children pop in left-to-right in sequence */
.stagger-children > * {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children.visible > * { opacity: 1; transform: translateX(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.55s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.65s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.75s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.85s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.95s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.51s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.57s; }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.65s; }
