@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;700;800&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --bg: #eef7f2;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --line: rgba(17, 94, 89, 0.14);
  --ink: #082f2d;
  --muted: #45605e;
  --brand: #0f766e;
  --brand-strong: #14532d;
  --accent: #84cc16;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(132, 204, 22, 0.18), transparent 30%),
    linear-gradient(180deg, #f7fcf8 0%, var(--bg) 100%);
}

img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 252, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.16);
}

#navToggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(15, 118, 110, 0.08);
}

.hero {
  padding: 72px 0 48px;
}

.hero-full {
  position: relative;
  overflow: hidden;
  padding: 108px 0 84px;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 19, 18, 0.82) 0%, rgba(3, 19, 18, 0.62) 48%, rgba(3, 19, 18, 0.32) 100%),
    linear-gradient(180deg, rgba(132, 204, 22, 0.08), rgba(8, 47, 45, 0.18));
  z-index: -1;
}

.hero-solar {
  background-image: url("https://images.pexels.com/photos/12243093/pexels-photo-12243093.jpeg?cs=srgb&dl=pexels-robertkso-12243093.jpg&fm=jpg");
}

.hero-full .hero-copy,
.hero-full .hero-card,
.hero-full .hero-metrics,
.hero-full .cta-row {
  position: relative;
  z-index: 1;
}

.hero-full h1,
.hero-full .hero-text,
.hero-full .hero-card-panel strong,
.hero-full .hero-card-panel span,
.hero-full .hero-metrics strong,
.hero-full .hero-metrics span {
  color: #f8fffd;
}

.hero-full .eyebrow {
  color: #d9f99d;
}

.hero-full .hero-metrics article,
.hero-full .hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 52px rgba(3, 19, 18, 0.22);
}

.hero-full .hero-card-panel {
  background: rgba(248, 255, 252, 0.1);
}

.hero-full .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #f8fffd;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: center;
}

.eyebrow,
.mini-label {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.96;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.hero-text,
.section-copy,
.highlight-card p,
.finance-card p,
.contact-card p,
.slide-copy p,
.slide-copy h3,
.hero-card-panel span,
.list-card span,
.footer-shell p {
  color: var(--muted);
  line-height: 1.65;
}

.cta-row,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(15, 118, 110, 0.16);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.hero-metrics article,
.hero-card,
.highlight-card,
.list-card,
.carousel,
.finance-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(8, 47, 45, 0.08);
}

.hero-metrics article {
  padding: 16px;
  border-radius: 18px;
}

.hero-metrics strong,
.hero-card-panel strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand-strong);
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  padding: 18px;
  border-radius: 28px;
}

.hero-card img {
  border-radius: 22px;
}

.hero-card-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(9, 44, 44, 0.06);
}

.hero-card-panel p,
.slide-copy p {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.section { padding: 56px 0; }
.section-tight { padding-top: 12px; }

.inner-hero {
  padding: 56px 0 30px;
}

.inner-hero-grid,
.form-grid,
.split-panel,
.two-column-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.inner-hero-card,
.metric-card,
.form-card,
.pricing-card,
.service-card,
.copy-panel,
.checklist-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(8, 47, 45, 0.08);
}

.inner-hero-card {
  padding: 16px;
}

.metric-card {
  display: grid;
  align-content: center;
  padding: 26px;
}

.metric-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.section-head {
  margin-bottom: 18px;
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.pricing-card,
.copy-panel,
.checklist-panel,
.form-card {
  padding: 24px;
}

.service-card strong,
.pricing-card h2 {
  display: block;
  margin-bottom: 10px;
}

.service-card p,
.pricing-card p,
.copy-panel p,
.checklist-panel span,
.form-row label,
.info-stack p {
  color: var(--muted);
  line-height: 1.6;
}

.checklist-panel {
  display: grid;
  gap: 14px;
}

.checklist-panel div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 118, 110, 0.1);
}

.checklist-panel strong {
  display: block;
  margin-bottom: 6px;
}

.dense-card {
  display: grid;
  align-content: center;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-band div {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.stat-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.74);
}

.pricing-card h2 {
  font-size: 1.5rem;
}

.form-grid {
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 14px;
}

.form-card form {
  margin-top: 18px;
}

.form-row + .form-row {
  margin-top: 14px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.form-card a.btn {
  margin-top: 18px;
}

.info-stack a {
  color: var(--brand-strong);
}

.highlight-grid,
.showcase-grid,
.financing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.highlight-card,
.list-card,
.finance-card,
.contact-card {
  padding: 24px;
  border-radius: 26px;
}

.list-card {
  display: grid;
  gap: 14px;
}

.list-card div,
.project-steps article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 118, 110, 0.1);
}

.list-card strong,
.finance-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.project-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.project-steps strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.18);
  color: var(--brand-strong);
  margin-bottom: 10px;
}

.carousel {
  padding: 18px;
  border-radius: 30px;
}

.carousel-track {
  position: relative;
  min-height: 448px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.slide-art {
  min-height: 310px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.slide-one {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.16)),
    linear-gradient(135deg, #34d399 0%, #0f766e 100%);
}

.slide-two {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.16)),
    linear-gradient(135deg, #0ea5e9 0%, #14532d 100%);
}

.slide-three {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.18)),
    linear-gradient(135deg, #84cc16 0%, #065f46 100%);
}

.slide-copy {
  padding: 16px 4px 0;
}

.slide-copy h3 {
  font-size: 1.45rem;
  line-height: 1.08;
  max-width: 15ch;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.carousel-btn {
  width: 44px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.16);
}

.carousel-btn.active {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.section-accent {
  background: rgba(255, 255, 255, 0.38);
  border-top: 1px solid rgba(15, 118, 110, 0.08);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.financing-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.finance-card.alt {
  background: rgba(12, 74, 110, 0.06);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer {
  padding: 28px 0;
  background: #062624;
  color: rgba(255, 255, 255, 0.86);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

footer a { color: #bef264; }

.btn-back-yts { background: rgba(30,58,138,.88) !important; color: #fff !important; padding: .42rem 1.05rem !important; border-radius: 999px !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .04em !important; white-space: nowrap !important; border: 1px solid rgba(99,162,251,.25) !important; transition: background .2s ease !important; }
.btn-back-yts::after { display: none !important; }
.btn-back-yts:hover { background: rgba(29,78,216,1) !important; color: #fff !important; }
.powered-yts { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .78rem; color: rgba(255,255,255,.58); }
.powered-yts a { color: #93c5fd; font-weight: 700; text-decoration: none; }
.powered-yts a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  #navToggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 0;
    width: min(360px, 94vw);
    padding: 12px;
    border-radius: 18px;
    background: rgba(247, 252, 248, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(8, 47, 45, 0.14);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .highlight-grid,
  .showcase-grid,
  .financing-grid,
  .contact-card,
  .inner-hero-grid,
  .form-grid,
  .split-panel,
  .two-column-note,
  .service-grid,
  .pricing-grid,
  .stat-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .contact-card {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero { padding-top: 44px; }
  .hero-full { padding: 72px 0 48px; }
  h1 { max-width: 12ch; }
  .hero-metrics { grid-template-columns: 1fr; }
  .carousel-track { min-height: 400px; }
  .slide-art { min-height: 240px; }
}