/* Solar Surge - Neighbourhood Solar Program (standalone) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/poppins/poppins-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{min-height:100vh;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;font-family:'Poppins',sans-serif;font-size:1rem;color:#32373c;background:#fff}
img,picture,video,canvas,svg{display:block;max-width:100%}
input,button,textarea,select{font:inherit}
p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}
h1,h2,h3,h4,h5,h6{font-family:'Poppins',sans-serif;font-weight:700;line-height:1.2}
ul,ol{list-style:none}
a{text-decoration:none;color:inherit}
button{cursor:pointer}

/* ============================================
   Neighbourhood Solar Program (NSP) landing page
   Uses the main-site tokens: navy #0d192e, Poppins,
   orange -> gold -> cyan brand gradient.
   ============================================ */
.nsp {
  --navy: #0d192e;
  --navy-2: #13213b;
  --ink: #1a1a2e;
  --orange: #f19231;
  --gold: #efc052;
  --cyan: #69eefd;
  --grad: linear-gradient(135deg, #f19231 0%, #efc052 45.67%, #69eefd 100%);
  --grad-text: linear-gradient(90deg, #f19231 0%, #efc052 54%, #69eefd 100%);
  --muted: #6b7280;
  --line: #e5e7eb;
  background: #fff;
  color: #32373c;
}
.nsp p { margin-bottom: 0; }
.nsp [hidden] { display: none !important; }
.nsp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nsp-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--orange);
}

/* --- Header --- */
.nsp-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: 22px 0;
}
.nsp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nsp-logo img { width: 190px; height: auto; }
.nsp-call {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000; border-radius: 999px;
  padding: 5px 18px 5px 5px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.nsp-call:hover { transform: translateY(-2px); }
.nsp-call__icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #fff;
}
.nsp-call__icon svg { width: 18px; height: 18px; }
.nsp-call__text { font-weight: 700; font-size: 15px; line-height: 1.1; display: flex; flex-direction: column; }
.nsp-call__text small { font-weight: 500; font-size: 11px; color: var(--muted); }

/* --- Hero --- */
.nsp-hero {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: 130px 0 90px;
}
.nsp-hero__bg, .nsp-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsp-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,25,46,.8) 0%, rgba(13,25,46,.2) 30%, rgba(13,25,46,.45) 72%, var(--navy) 100%),
    linear-gradient(90deg, rgba(13,25,46,.9) 0%, rgba(13,25,46,.5) 55%, rgba(13,25,46,.2) 100%);
}
.nsp-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
}
.nsp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}
.nsp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(239,192,82,.25); animation: nspPulse 2s infinite; }
@keyframes nspPulse { 50% { box-shadow: 0 0 0 8px rgba(239,192,82,0); } }
.nsp-hero__lead { margin-top: 28px; font-size: 20px; font-weight: 500; color: rgba(255,255,255,.85); }
.nsp-hero__title {
  margin-top: 6px; color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 68px); line-height: .98; letter-spacing: -.5px;
}
.nsp-hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 540px; }
.nsp-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.nsp-chips li {
  font-size: 14px; font-weight: 500; color: #fff;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
.nsp-star { color: var(--gold); }

/* --- Form card --- */
.nsp-card {
  position: relative; background: #fff; color: var(--ink);
  border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  overflow: hidden; scroll-margin-top: 20px;
}
.nsp-card::before { content: ""; display: block; height: 6px; background: var(--grad); }
.nsp-card__head { padding: 24px 28px 4px; }
.nsp-card__title { font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.nsp-card__meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.nsp-form { padding: 16px 28px 26px; display: grid; gap: 12px; }
.nsp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nsp-row--3 { grid-template-columns: repeat(3, 1fr); }
.nsp-field { display: flex; flex-direction: column; min-width: 0; }
.nsp-field label { font-size: 12px; font-weight: 600; color: #4b5563; margin-bottom: 5px; }
.nsp-field input, .nsp-field select {
  width: 100%; height: 46px; padding: 0 14px; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; background: #f9fafb;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.nsp-field select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.nsp-field input::placeholder { color: #9ca3af; }
.nsp-field input:focus, .nsp-field select:focus {
  outline: none; border-color: var(--orange); background-color: #fff; box-shadow: 0 0 0 4px rgba(241,146,49,.15);
}
.nsp-err { display: none; margin-top: 4px; font-size: 11.5px; color: #dc2626; }
.nsp-field.is-invalid input, .nsp-field.is-invalid select { border-color: #ef4444; }
.nsp-field.is-invalid .nsp-err { display: block; }
.nsp-note { font-size: 13px; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 12px; }

.nsp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 6px 26px 6px 6px; transition: transform .25s ease, box-shadow .25s ease, opacity .2s;
}
.nsp-btn:hover { transform: translateY(-2px); }
.nsp-btn__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.nsp-btn__icon svg { width: 20px; height: 20px; }
.nsp-btn--submit { width: 100%; margin-top: 6px; background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(13,25,46,.25); text-transform: uppercase; letter-spacing: .5px; }
.nsp-btn--submit:disabled { opacity: .7; transform: none; }
.nsp-btn--light { background: #fff; color: #000; box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.nsp-btn--light:not(:has(.nsp-btn__icon)) { padding: 14px 28px; }
.nsp-form__fine { font-size: 11.5px; color: #9ca3af; text-align: center; }
.nsp-form__fine a { text-decoration: underline; }
.nsp-form__fail { font-size: 13px; color: #b91c1c; text-align: center; }
.nsp-form__fail a { font-weight: 700; text-decoration: underline; }

.nsp-done { padding: 36px 28px 34px; text-align: center; }
.nsp-done__tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.nsp-done__tick svg { width: 30px; height: 30px; }
.nsp-done__title { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.nsp .nsp-done__text { margin: 8px auto 24px; max-width: 340px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.nsp-done .nsp-btn--light { background: var(--navy); color: #fff; }

/* --- Stats band --- */
.nsp-stats { background: var(--navy); color: #fff; padding: 8px 0 56px; }
.nsp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); padding-top: 36px; }
.nsp-stats__grid > div { text-align: center; padding: 0 12px; border-left: 1px solid rgba(255,255,255,.12); }
.nsp-stats__grid > div:first-child { border-left: 0; }
.nsp-stats strong {
  display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nsp-stats span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* --- Sections --- */
.nsp-section { padding: 96px 0; }
.nsp-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.nsp .nsp-kicker { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px !important; }
.nsp-head h2, .nsp-about h2, .nsp-final h2 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.08; color: var(--ink); text-transform: uppercase; letter-spacing: -.3px;
}

/* Reviews */
.nsp-reviews { background: #f7f7f7; }
.nsp-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nsp-reviews__grid img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 14px 30px rgba(13,25,46,.12); }

/* Steps */
.nsp-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.nsp-steps__grid li {
  position: relative; padding: 28px 24px 30px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(13,25,46,.05);
}
.nsp-steps__grid li::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); opacity: .85;
}
.nsp-num { display: block; font-size: 64px; font-weight: 700; line-height: 1; color: #f3c9a0; margin-bottom: 18px; }
.nsp-steps h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; }
.nsp-steps p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* About */
.nsp-about { background: var(--navy); color: #fff; }
.nsp-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nsp-about__img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.nsp-about h2 { color: #fff; }
.nsp-about__copy > p { margin-top: 20px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); }
.nsp-ticks { margin-top: 24px; display: grid; gap: 12px; }
.nsp-ticks li { position: relative; padding-left: 34px; font-size: 16px; color: #fff; }
.nsp-ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad);
}
.nsp-ticks li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}

/* FAQ */
.nsp-faq__wrap { max-width: 860px; }
.nsp-faq__list { display: grid; gap: 12px; }
.nsp-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.nsp-faq details[open] { border-color: #f3c9a0; box-shadow: 0 10px 24px rgba(13,25,46,.07); }
.nsp-faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 600; font-size: 17px; color: var(--ink);
}
.nsp-faq summary::-webkit-details-marker { display: none; }
.nsp-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 20px; line-height: 1;
}
.nsp-faq details[open] summary::after { content: "\2212"; }
.nsp-faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* Final CTA */
.nsp-final { position: relative; background: linear-gradient(135deg, #0d192e 0%, #16213e 55%, #0f3460 100%); color: #fff; padding: 96px 0; overflow: hidden; }
.nsp-final::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,192,82,.22) 0%, transparent 65%);
}
.nsp-final__inner { position: relative; text-align: center; max-width: 860px; }
.nsp-final h2 { color: #fff; }
.nsp-final p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.8); }
.nsp-final__actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.nsp-final__call { color: rgba(255,255,255,.75); font-size: 15px; }
.nsp-final__call strong { color: #fff; }

/* Footer */
.nsp-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0 32px; font-size: 14px; }
.nsp-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nsp-footer__top img { width: 170px; height: auto; }
.nsp-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.nsp-footer__links a:hover { color: #fff; }
.nsp-footer__lic { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px 0; }
.nsp-footer__lic span { border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 8px 14px; color: rgba(255,255,255,.8); }
.nsp-footer__lic b { display: inline-block; background: var(--gold); color: var(--ink); border-radius: 5px; padding: 1px 7px; margin-right: 8px; font-size: 12px; }
.nsp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.nsp-footer__bottom a:hover { color: #fff; }

/* Sticky mobile CTA */
.nsp-sticky {
  display: none; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50;
  text-align: center; padding: 15px 20px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 15px;
  background: var(--grad); color: var(--navy); box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transform: translateY(140%); transition: transform .3s ease;
}
.nsp-sticky.is-visible { transform: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nsp-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .nsp-hero__copy { max-width: 680px; }
  .nsp-card { max-width: 620px; }
  .nsp-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .nsp-about__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nsp-header { padding: 14px 0; }
  .nsp-logo img { width: 140px; }
  .nsp-call { padding: 4px 4px 4px 4px; }
  .nsp-call__text { display: none; }
  .nsp-hero { padding: 92px 0 56px; }
  .nsp-hero__lead { margin-top: 20px; font-size: 17px; }
  .nsp-hero__sub { font-size: 16px; }
  .nsp-chips li { font-size: 13px; padding: 6px 12px; }
  .nsp-card__head { padding: 20px 20px 2px; }
  .nsp-card__title { font-size: 21px; }
  .nsp-form { padding: 14px 20px 22px; }
  .nsp-row, .nsp-row--3 { grid-template-columns: 1fr; }
  .nsp-row:first-child { grid-template-columns: 1fr 1fr; }
  .nsp-hero__sub { margin-top: 16px; }
  .nsp-chips { display: none; }
  .nsp-hero__title { font-size: 34px; }
  .nsp-hero__grid { gap: 26px; }
  .nsp-row--3 { grid-template-columns: 1fr 1fr; }
  .nsp-row--3 .nsp-field:first-child { grid-column: 1 / -1; }
  .nsp-field input, .nsp-field select { font-size: 16px; }
  .nsp-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .nsp-stats__grid > div:nth-child(3) { border-left: 0; }
  .nsp-section { padding: 68px 0; }
  .nsp-reviews__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .nsp-reviews__grid img { scroll-snap-align: center; }
  .nsp-steps__grid { grid-template-columns: 1fr; }
  .nsp-num { font-size: 48px; margin-bottom: 10px; }
  .nsp-final { padding: 72px 0 110px; }
  .nsp-footer { padding-bottom: 96px; }
  .nsp-footer__bottom { flex-direction: column; }
  .nsp-sticky { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .nsp-dot { animation: none; }
  .nsp *, .nsp-sticky { transition: none !important; }
}
