:root {
  --brand-blue-dark: #013d84;
  --brand-blue: #156fce;
  --brand-gold: #ecba01;
  --brand-gold-dark: #be820e;
  --navy: #08233f;
  --blue: var(--brand-blue-dark);
  --electric-blue: var(--brand-blue);
  --red: #a33d34;
  --gold: var(--brand-gold);
  --gold-dark: var(--brand-gold-dark);
  --ink: #17212b;
  --muted: #5d6978;
  --line: #d9e2ec;
  --paper: #f5f7fa;
  --white: #ffffff;
  --soft-blue: #eaf4ff;
  --shadow: 0 22px 60px rgba(1, 61, 132, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(18px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(217, 226, 236, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand-header--home {
  min-height: 118px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-header--compact {
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.site-logo--home {
  width: clamp(220px, 23vw, 280px);
}

.site-logo--compact {
  width: clamp(140px, 14vw, 176px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.site-nav a:hover {
  background: var(--soft-blue);
  color: var(--navy);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 730px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.93), rgba(1, 61, 132, 0.66) 48%, rgba(1, 61, 132, 0.18)),
    linear-gradient(0deg, rgba(7, 24, 39, 0.74), rgba(7, 24, 39, 0.08) 42%);
}

.hero-content {
  display: grid;
  align-content: center;
  min-height: 730px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  line-height: 1.6;
}

.hero-actions,
.trust-row,
.contact-section {
  display: flex;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 34px rgba(1, 61, 132, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.secondary.dark {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.hero-help {
  max-width: 780px;
}

.hero-help p {
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-help ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-help li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
  line-height: 1.42;
}

.hero-help li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.intro-band,
.section,
.solution-band,
.contact-section {
  padding: 76px max(18px, calc((100% - 1180px) / 2));
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
  background: #fff;
}

.intro-band > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.service-list-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list-note span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.mission-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mission-grid article {
  padding-top: 16px;
  border-top: 3px solid var(--gold);
}

.mission-grid h3 {
  color: var(--navy);
}

.mission-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.value-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-list span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.light h2 {
  color: #fff;
}

.steps-grid,
.service-grid,
.tier-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.steps-grid,
.tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card,
.service-card,
.tier-grid article,
.faq-list details,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.step-card,
.service-card,
.tier-grid article {
  padding: 22px;
}

.step-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 950;
}

.step-card p,
.service-card p,
.tier-grid p,
.faq-list p,
.contact-section p {
  color: var(--muted);
  line-height: 1.62;
}

.services-section {
  background: var(--paper);
}

.service-card h3 {
  color: var(--navy);
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.service-card .service-button {
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(1, 61, 132, 0.24);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(1, 61, 132, 0.16);
}

.featured-service {
  border-color: rgba(1, 61, 132, 0.36);
  background: var(--soft-blue);
}

.battery-strategy-section {
  padding: 76px max(18px, calc((100% - 1180px) / 2));
  background: #fff;
}

.battery-strategy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.battery-strategy-copy {
  max-width: 680px;
}

.battery-strategy-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
}

.battery-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.battery-use-grid article {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #f7fbff;
}

.battery-use-grid h3 {
  color: var(--navy);
}

.battery-use-grid p,
.battery-disclaimer {
  color: var(--muted);
  line-height: 1.62;
}

.battery-use-grid p {
  margin-bottom: 0;
}

.battery-disclaimer {
  max-width: 920px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.solar-review-section {
  padding: 76px max(18px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(8, 35, 63, 0.98), rgba(1, 61, 132, 0.94)),
    var(--navy);
  color: #fff;
}

.solar-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 36px;
  align-items: center;
}

.solar-review-copy {
  max-width: 720px;
}

.solar-review-copy h2 {
  color: #fff;
}

.solar-review-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.68;
}

.button.gold {
  background: var(--gold);
  color: #2b1c00;
  box-shadow: 0 14px 34px rgba(236, 186, 1, 0.22);
}

.solar-review-details {
  display: grid;
  gap: 20px;
}

.solar-review-details ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solar-review-details li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.solar-review-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(236, 186, 1, 0.16);
}

.solar-review-disclaimer {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-request-section {
  padding: 76px max(18px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #f7fbff, #eef5fb);
}

.service-request-section .section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.62;
}

.service-request-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: start;
}

.service-request-note,
.service-request-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-request-note {
  padding: 22px;
}

.service-request-note p {
  color: var(--muted);
  line-height: 1.6;
}

.service-request-note .fine-print {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.service-request-form {
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-request-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-request-form input,
.service-request-form select,
.service-request-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}

.service-request-form textarea {
  resize: vertical;
}

.service-form-wide {
  grid-column: 1 / -1;
}

.service-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(1, 61, 132, 0.22);
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.solution-band {
  background: linear-gradient(135deg, #071827, var(--blue));
  color: #fff;
}

.tier-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.tier-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 950;
}

.tier-grid p,
.disclaimer-line {
  color: rgba(255, 255, 255, 0.78);
}

.disclaimer-line {
  margin: 22px 0 0;
  font-weight: 800;
}

.faq-section {
  background: #fff;
}

.faq-list details {
  padding: 20px 22px;
  box-shadow: none;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #071827, #013d84);
  color: #fff;
}

.contact-section > div:first-child {
  max-width: 640px;
}

.contact-section h2 {
  margin-bottom: 18px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 12px;
  width: min(100%, 380px);
  padding: 24px;
}

.site-link {
  color: var(--blue);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(18px, calc((100% - 1180px) / 2));
  background: #081827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand,
.footer-contact,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.footer-brand {
  min-width: 0;
}

.footer-contact {
  justify-content: center;
}

.footer-links {
  justify-content: flex-end;
}

.footer-logo {
  display: block;
  width: min(218px, 60vw);
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.legal-page {
  min-height: calc(100vh - 180px);
  background: #fff;
}

.legal-page h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 1.5rem;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-content a {
  color: var(--blue);
  font-weight: 900;
}

.fine-print {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .brand-header--home {
    min-height: 108px;
  }

  .brand-header--compact {
    min-height: 72px;
  }

  .site-logo--home {
    width: clamp(200px, 28vw, 252px);
  }

  .site-logo--compact {
    width: clamp(130px, 20vw, 160px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .brand-header--home .site-nav {
    inset: 108px 0 auto 0;
  }

  .brand-header--compact .site-nav {
    inset: 72px 0 auto 0;
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero,
  .hero-content {
    min-height: 660px;
  }

  .intro-band,
  .mission-grid,
  .steps-grid,
  .service-grid,
  .tier-grid,
  .battery-strategy-layout,
  .battery-use-grid,
  .solar-review-layout,
  .service-request-layout,
  .form-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .site-footer {
    display: grid;
  }

  .footer-contact,
  .footer-links {
    justify-content: flex-start;
  }

  .contact-card {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .brand-header--home {
    min-height: 92px;
  }

  .brand-header--compact {
    min-height: 70px;
  }

  .site-nav,
  .brand-header--compact .site-nav {
    inset: 70px 0 auto 0;
  }

  .brand-header--home .site-nav {
    inset: 92px 0 auto 0;
  }

  .brand {
    gap: 10px;
  }

  .site-logo--home {
    width: clamp(170px, 52vw, 210px);
  }

  .site-logo--compact {
    width: clamp(120px, 38vw, 150px);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-help ul {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .section,
  .battery-strategy-section,
  .solar-review-section,
  .service-request-section,
  .solution-band,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
