:root {
  --ink: #293b4b;
  --deep: #1e2c40;
  --green: #84a3a1;
  --sun: #d5a453;
  --cream: #eef2f0;
  --paper: #faf9f5;
  --line: #d4ddda;
}

.site-header {
  color: #293b4b;
  background: rgba(250, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(41, 59, 75, 0.14);
}

.brand {
  gap: 0;
}

.brand img {
  display: block;
  width: clamp(235px, 25vw, 318px);
  height: auto;
}

.main-nav > a:not(.nav-cta):not(.phone-link)::after {
  background: #d5a453;
}

.menu-toggle span {
  background: #293b4b;
}

.nav-cta {
  background: #d5a453;
  color: #1e2c40;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(30, 44, 64, 0.91) 0%, rgba(41, 59, 75, 0.67) 43%, rgba(41, 59, 75, 0.07) 79%),
    url("hero-terrasun-commercial-solar.webp");
}

.hero::after {
  background: linear-gradient(transparent, rgba(30, 44, 64, 0.34));
}

.hero-glow {
  background: rgba(213, 164, 83, 0.09);
}

.performance-headline {
  max-width: 820px;
  font-size: clamp(48px, 5.65vw, 82px);
  line-height: 0.98;
}

.eyebrow {
  color: #607f7e;
}

mark {
  background: linear-gradient(transparent 62%, rgba(213, 164, 83, 0.4) 0);
}

.section-tag,
.loss-copy p,
.section-heading > p,
.contact-copy > p,
.service-card p {
  color: #607174;
}

.promise-strip,
.promise-strip > div {
  border-color: #cbd6d3;
}

.line-icon {
  color: #84a3a1;
}

.impact-image {
  background-image:
    linear-gradient(rgba(41, 59, 75, 0.08), rgba(41, 59, 75, 0.22)),
    url("hero-terrasun-commercial-solar.webp");
  background-position: center 48%;
}

.impact-number.dark {
  background: #293b4b;
}

.impact-band.single-stat {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.7fr);
}

.service-card-featured {
  grid-column: 1 / -1;
  min-height: 255px;
  display: grid;
  grid-template-columns: 35px 52px minmax(250px, 0.85fr) minmax(320px, 1.15fr) 35px;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  background: #eef2f0;
}

.service-card-featured .service-icon {
  margin: 0;
}

.service-card-featured .service-feature-heading h3 {
  margin-bottom: 12px;
}

.service-card-featured .service-feature-heading p {
  max-width: 430px;
  margin: 0;
}

.service-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-feature-list li {
  position: relative;
  padding-left: 16px;
  color: #607174;
  font-size: 11px;
}

.service-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 2px;
  background: var(--sun);
}

.service-card-featured > a {
  position: static;
  justify-self: end;
}

.service-card-featured:hover .service-feature-list li {
  color: rgba(255, 255, 255, 0.62);
}

.service-card:hover,
.process,
.button-dark {
  background: #1e2c40;
}

.contact-form {
  box-shadow: 0 22px 80px rgba(41, 59, 75, 0.12);
}

footer {
  background: #172332;
}

.footer-brand {
  width: fit-content;
  padding: 12px 16px;
  background: #faf9f5;
}

.footer-brand img {
  width: 250px;
}

.footer-bottom nav {
  flex-wrap: wrap;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .main-nav {
    gap: 20px;
  }

  .nav-cta {
    padding-inline: 20px;
  }

  .brand img {
    width: 245px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    color: #fff;
    background: #1e2c40;
  }

  .main-nav .nav-cta {
    color: #1e2c40;
  }

  .service-card-featured {
    grid-template-columns: 30px 45px 1fr;
    min-height: 320px;
  }

  .service-card-featured .service-feature-heading,
  .service-card-featured .service-feature-list {
    grid-column: 3;
  }

  .service-card-featured > a {
    position: absolute;
  }

  .impact-band.single-stat {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1260px) and (min-width: 901px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    height: auto;
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    background: #1e2c40;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-cta {
    align-self: auto;
    padding: 16px 20px;
    color: #1e2c40;
  }
}

@media (max-width: 600px) {
  .hero,
  .impact-image {
    background-image:
      linear-gradient(90deg, rgba(30, 44, 64, 0.94) 0%, rgba(41, 59, 75, 0.72) 62%, rgba(41, 59, 75, 0.2) 100%),
      url("hero-terrasun-commercial-solar-mobile.webp");
  }

  .brand img {
    width: 205px;
  }

  .footer-brand img {
    width: 210px;
  }

  .performance-headline {
    font-size: clamp(42px, 13vw, 58px);
  }

  .service-card-featured {
    display: block;
    min-height: 440px;
  }

  .service-card-featured .service-icon {
    margin: 37px 0 23px;
  }

  .service-feature-list {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .impact-band.single-stat {
    grid-template-columns: 1fr;
  }
}
