:root {
  --navy: #0d3f5f;
  --navy-2: #0b4f73;
  --navy-3: #146487;
  --gold: #f5b640;
  --gold-2: #ffd36f;
  --brand-green: #1f9d4c;
  --brand-green-dark: #0f6f3a;
  --brand-orange: #f58220;
  --brand-orange-dark: #df5f1c;
  --brand-yellow: #ffd14f;
  --green: var(--brand-green);
  --white: #ffffff;
  --paper: #f6f8fb;
  --line: #dce3ea;
  --ink: #122f40;
  --muted: #64748b;
  --shadow: 0 24px 70px rgba(13, 63, 95, 0.16);
  --radius: 8px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  min-height: var(--header-height);
  padding: 10px clamp(16px, 4vw, 48px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 48, 74, 0.9), rgba(8, 48, 74, 0.48) 62%, rgba(8, 48, 74, 0));
  transition: background 220ms ease, box-shadow 220ms ease, min-height 220ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  min-height: 76px;
  background: rgba(13, 63, 95, 0.96);
  box-shadow: 0 16px 40px rgba(4, 32, 50, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(72px, 7vw, 92px);
  min-width: 0;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.22));
}

.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .brand {
    width: 76px;
  }

  .header-actions .button {
    min-height: 40px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.8rem;
  }
}

.brand-mark::after {
  position: absolute;
  right: 6px;
  bottom: 11px;
  left: 6px;
  height: 11px;
  border-top: 3px solid var(--brand-orange);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: rotate(-6deg);
}

.brand-sun {
  position: absolute;
  left: 7px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 5px rgba(255, 209, 79, 0.18);
}

.brand-bars {
  position: absolute;
  right: 8px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.brand-bars i {
  display: block;
  width: 5px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-green);
}

.brand-bars i:nth-child(1) {
  height: 12px;
}

.brand-bars i:nth-child(2) {
  height: 20px;
}

.brand-bars i:nth-child(3) {
  height: 28px;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-yellow), var(--brand-orange));
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-width: 0;
}

.mobile-menu-cta {
  display: none !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 130;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(245, 130, 32, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffe083, var(--brand-orange));
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: none;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.16);
}

.accent-text {
  color: var(--brand-orange);
}

.section-navy .accent-text,
.hero .accent-text,
.service-card .accent-text,
.process-step .accent-text {
  color: var(--brand-yellow);
}

.button-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 86svh;
  overflow: hidden;
  color: var(--white);
}

.hero-page,
.hero-contracting,
.hero-about,
.hero-contact {
  min-height: 72svh;
}

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

.hero-bg {
  z-index: 0;
  background-image: url("/assets/images/hero-solar-home.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: -2%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  animation: hero-slide 15s ease-in-out infinite;
}

.slide-solar {
  background-image: url("/assets/images/hero-solar-home.jpg");
}

.slide-contracting {
  background-image: url("/assets/images/contracting-interior.jpg");
  animation-delay: 5s;
}

.slide-audit {
  background-image: url("/assets/images/energy-audit.jpg");
  background-position: center right;
  animation-delay: 10s;
}

@keyframes hero-slide {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  4%,
  30% {
    opacity: 1;
  }

  36%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.hero-contracting .hero-bg {
  background-image: url("/assets/images/contracting-interior.jpg");
}

.hero-about .hero-bg {
  background-image: url("/assets/images/energy-audit.jpg");
  background-position: center right;
}

.hero-contact .hero-bg {
  background-image: url("/assets/images/hero-solar-home.jpg");
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 48, 74, 0.92), rgba(13, 63, 95, 0.6) 44%, rgba(13, 63, 95, 0.14)),
    linear-gradient(180deg, rgba(8, 48, 74, 0.18), rgba(8, 48, 74, 0.74));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 48px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3rem, 9vw, 7.2rem);
  font-weight: 950;
}

.brand-hero {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 16%, var(--brand-green) 32%, var(--brand-yellow) 48%, var(--brand-orange) 64%, #ffffff 82%, #ffffff 100%);
  background-clip: text;
  background-size: 260% 100%;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brand-sheen 5.5s linear infinite;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.24));
}

@keyframes brand-sheen {
  0% {
    background-position: 160% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.hero-page h1,
.hero-contracting h1,
.hero-about h1,
.hero-contact h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.8rem);
}

.tagline {
  margin: 16px 0 0;
  color: var(--gold-2);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 850;
}

.hero-copy {
  max-width: 700px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 850;
  text-align: center;
}

.trust-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section {
  padding: clamp(68px, 8vw, 116px) 0;
  background: var(--white);
}

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

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-gold {
  background: linear-gradient(135deg, #ffcf6b, #f5b640);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.content-panel h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
}

.section-heading p:not(.eyebrow),
.content-panel p,
.cta-band p,
.faq-item p,
.mini-feature p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-navy .section-heading p,
.section-navy .content-panel p,
.section-navy .cta-band p,
.section-navy .mini-feature p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 80px rgba(6, 27, 50, 0.24);
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 27, 50, 0.12), rgba(6, 27, 50, 0.9));
  content: "";
}

.service-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
  color: var(--white);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card h3 {
  font-size: 1.55rem;
  font-weight: 920;
}

.service-card p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-2);
  font-weight: 900;
}

.text-link::after {
  margin-left: 9px;
  content: ">";
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
}

.split-layout.reverse .media-panel {
  order: 2;
}

.media-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solar-collage {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  perspective: 900px;
}

.collage-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 27, 50, 0.08);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 22px 58px rgba(6, 27, 50, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.collage-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: 0 30px 74px rgba(6, 27, 50, 0.22);
}

.collage-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.collage-card:hover img {
  transform: scale(1.04);
}

.collage-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 27, 50, 0.76));
  content: "";
}

.collage-large {
  grid-row: span 2;
}

.collage-tall {
  transform: translateY(18px);
}

.collage-small {
  transform: translateX(-28px);
}

.collage-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 950;
}

.content-panel > * + * {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #314155;
  font-weight: 720;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(107, 159, 114, 0.16);
  color: var(--green);
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 8px;
  top: 0.47em;
  width: 7px;
  height: 11px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  content: "";
  transform: rotate(40deg);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band > div {
  max-width: 760px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.process-step,
.service-list,
.faq-item,
.highlight,
.mini-feature,
.contact-panel,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(6, 27, 50, 0.08);
}

.process-step {
  position: relative;
  display: flex;
  min-height: 214px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  box-shadow: 0 24px 60px rgba(6, 27, 50, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.process-step::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.process-step::after {
  position: absolute;
  inset: auto -28% -42% -28%;
  height: 68%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.process-step:hover {
  transform: translateY(-8px) scale(1.035);
  box-shadow: 0 30px 76px rgba(6, 27, 50, 0.24);
  filter: saturate(1.08);
}

.process-step.tone-1 {
  background: linear-gradient(145deg, var(--navy), var(--brand-green-dark));
}

.process-step.tone-2 {
  background: linear-gradient(145deg, #08335a, var(--brand-green));
}

.process-step.tone-3 {
  background: linear-gradient(145deg, #0f6f3a, #55b96f);
}

.process-step.tone-4 {
  background: linear-gradient(145deg, #55b96f, var(--brand-yellow));
  color: var(--navy);
}

.process-step.tone-5 {
  background: linear-gradient(145deg, var(--brand-yellow), var(--brand-orange));
  color: var(--navy);
}

.process-number,
.highlight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 36px;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  font-weight: 950;
}

.highlight-pill {
  background: rgba(245, 130, 32, 0.12);
  color: var(--navy);
}

.process-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.process-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.process-step h3,
.faq-item h3,
.mini-feature h3 {
  font-size: 1.2rem;
}

.process-step h3,
.process-step p,
.process-number {
  position: relative;
  z-index: 1;
}

.process-step p,
.faq-item p,
.mini-feature p {
  margin: 12px 0 0;
}

.process-step p {
  color: currentColor;
  font-size: 0.92rem;
  line-height: 1.45;
}

.section-gold .eyebrow,
.section-gold h2,
.section-gold p {
  color: var(--navy);
}

.section-gold .accent-text,
.process-step.tone-4 .accent-text,
.process-step.tone-5 .accent-text {
  color: var(--brand-green-dark);
}

.faq-grid,
.mini-feature-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-item,
.mini-feature {
  padding: 26px;
}

.section-navy .mini-feature {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-list {
  padding: 28px;
}

.service-list h3 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.service-list ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  color: #405063;
}

.service-list li::before {
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.highlight-grid {
  grid-template-columns: repeat(5, 1fr);
}

.highlight {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(245, 130, 32, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.highlight::after {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(31, 157, 76, 0.1);
  content: "";
}

.highlight:hover {
  border-color: rgba(245, 130, 32, 0.32);
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(6, 27, 50, 0.15);
}

.highlight-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(31, 157, 76, 0.24);
}

.highlight-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.highlight h3 {
  font-size: 1.18rem;
}

.highlight p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form-card {
  padding: clamp(24px, 4vw, 38px);
}

.contact-panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 209, 79, 0.22), transparent 32%),
    linear-gradient(160deg, var(--navy), var(--navy-3));
  color: var(--white);
}

.contact-panel::after {
  position: absolute;
  right: -38px;
  bottom: -42px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(31, 157, 76, 0.18);
  content: "";
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel .accent-text {
  position: relative;
  z-index: 1;
}

.contact-panel h2,
.form-card h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact-method {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-method span,
label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel .contact-method span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-method a {
  color: var(--brand-yellow);
  font-size: 1.2rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-method p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.form-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6, 27, 50, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 130, 32, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow:
    0 30px 80px rgba(6, 27, 50, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-yellow), var(--brand-orange));
  content: "";
}

.form-card h2,
.form-card form {
  position: relative;
  z-index: 1;
}

form {
  display: grid;
  gap: 18px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(6, 27, 50, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input,
select {
  min-height: 52px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-orange);
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.18), 0 10px 28px rgba(6, 27, 50, 0.08);
  transform: translateY(-1px);
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(107, 159, 114, 0.15);
  color: #255a34;
  font-weight: 850;
}

.credentials {
  position: relative;
  padding: clamp(66px, 8vw, 104px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 209, 79, 0.24), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(31, 157, 76, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff, #f6f8fb);
  border-top: 1px solid var(--line);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.credential-card {
  position: relative;
  min-height: 182px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(6, 27, 50, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.credential-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-yellow), var(--brand-orange));
  content: "";
}

.credential-card::after {
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.08);
  content: "";
}

.credential-card:hover {
  border-color: rgba(31, 157, 76, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(6, 27, 50, 0.16);
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--brand-green));
  color: var(--brand-yellow);
}

.credential-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.credential-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.18;
}

.credential-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.site-footer {
  padding: 42px 0 76px;
  background: #031222;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.footer-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.mobile-call {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 90;
  display: none;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
  box-shadow: 0 16px 40px rgba(6, 27, 50, 0.28);
}

.redirect-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }

  .hero-slide:not(:first-child) {
    display: none;
  }

  .brand-hero {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 16px;
  }

  .header-actions .button-ghost {
    display: none;
  }

  .brand {
    width: 78px;
  }

  .process-grid,
  .highlight-grid,
  .credential-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card-grid,
  .service-list-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: var(--header-height);
    padding: 12px 18px;
  }

  .brand {
    width: 74px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(6, 27, 50, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .site-nav .button {
    min-height: 48px;
    align-items: center;
    padding: 12px;
  }

  .site-nav .button {
    margin-top: 6px;
    width: 100%;
  }

  .mobile-menu-cta {
    display: inline-flex !important;
  }

  .nav-link::after {
    display: none;
  }

  .hero,
  .hero-page,
  .hero-contracting,
  .hero-about,
  .hero-contact {
    min-height: 82svh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 48, 74, 0.86), rgba(13, 63, 95, 0.58) 42%, rgba(8, 48, 74, 0.9)),
      linear-gradient(90deg, rgba(8, 48, 74, 0.88), rgba(13, 63, 95, 0.28));
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .trust-grid,
  .split-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: relative;
    top: auto;
  }

  .contact-layout > *,
  .contact-panel,
  .form-card {
    min-width: 0;
  }

  .solar-collage {
    min-height: 460px;
  }

  .split-layout.reverse .media-panel {
    order: initial;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-grid,
  .faq-grid,
  .mini-feature-grid,
  .highlight-grid,
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-call {
    display: flex;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    width: 66px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 34px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .contact-panel,
  .form-card {
    padding: 24px 20px;
  }

  .contact-method a {
    font-size: clamp(1.15rem, 7vw, 1.7rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-grid,
  .process-grid,
  .faq-grid,
  .mini-feature-grid,
  .highlight-grid,
  .credential-grid,
  .form-grid,
  .check-list.two-column {
    grid-template-columns: 1fr;
  }

  .process-step {
    width: min(280px, 100%);
    margin: 0 auto;
  }

  .solar-collage {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .collage-large,
  .collage-tall,
  .collage-small {
    grid-row: auto;
    transform: none;
  }

  .service-card {
    min-height: 410px;
  }

  .service-card-content {
    padding: 22px;
  }

  .section {
    padding: 62px 0;
  }

  .site-footer {
    padding-bottom: 90px;
  }
}
