/* Homepage reconstruction of the supplied 1280 x 682 reference hero, plus the
   Solar-page-only split treatment derived from its spacing and type system.
   Shared header dimensions live in styles.css. */

.home-reference-page .home-hero--reference {
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.home-hero--reference {
  position: relative;
  min-height: clamp(580px, calc(100svh - 102px), 680px);
  overflow: hidden;
  isolation: isolate;
  background: #06192f;
}

.home-hero--reference .home-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 35.15%;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #06192f;
}

.home-hero--reference .home-hero-image::after {
  display: none;
}

.home-hero--reference .home-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.home-hero--reference::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0.04) 0%, rgba(3, 16, 31, 0.03) 62%, rgba(3, 16, 31, 0.18) 100%),
    linear-gradient(90deg, #06192f 0%, #06192f 25%, rgba(6, 25, 47, 0.97) 34%, rgba(6, 25, 47, 0.77) 43%, rgba(6, 25, 47, 0.37) 57%, rgba(6, 25, 47, 0.1) 74%, rgba(6, 25, 47, 0.02) 100%);
  content: "";
  pointer-events: none;
}

.home-hero--reference .home-hero-shell {
  width: min(calc(100% - 100px), 1180px);
  min-height: inherit;
  margin-inline: auto;
  padding-block: 107px 74px;
  display: flex;
  align-items: flex-start;
}

.home-hero--reference .home-hero-content {
  width: min(100%, 680px);
}

.home-hero--reference .eyebrow {
  margin-bottom: 20px;
  color: #f9bf15;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.home-hero--reference .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #f9bf15;
}

.home-hero--reference h1 {
  max-width: none;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.25rem, 4.375vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-hero--reference h1 span {
  display: block;
  white-space: nowrap;
}

.home-hero--reference .hero-copy {
  max-width: 445px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.home-hero--reference .hero-actions {
  gap: 12px;
}

.home-hero--reference .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.home-hero--reference .hero-actions .btn-primary {
  min-width: 194px;
  background: #ffc000;
  box-shadow: none;
}

.home-hero--reference .hero-actions .btn-secondary {
  min-width: 203px;
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(6, 25, 47, 0.24);
  color: #ffffff;
}

.home-hero--reference .home-hero-proof {
  margin: 27px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 11px;
  list-style: none;
}

.home-hero--reference .home-hero-proof li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.home-hero--reference .home-hero-proof li::before {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  border: 1.5px solid #e9b91a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e9b91a;
  content: "✓";
  font-size: 0.58rem;
  font-weight: 700;
}

.home-hero--reference .home-hero-proof li:not(:last-child)::after {
  margin-left: 11px;
  color: rgba(255, 255, 255, 0.72);
  content: "·";
}

.home-hero--reference .home-hero-proof strong,
.home-hero--reference .home-hero-proof a {
  color: #ffffff;
  font-weight: 400;
}

.home-hero--reference .home-hero-proof a {
  text-decoration: none;
}

.home-hero--reference .home-hero-proof a:hover {
  color: #ffd34f;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .home-hero--reference {
    min-height: 600px;
  }

  .home-hero--reference .home-hero-image {
    inset: 0;
  }

  .home-hero--reference .home-hero-image img {
    object-position: 45% center;
  }

  .home-hero--reference::before {
    background:
      linear-gradient(180deg, rgba(6, 25, 47, 0.92) 0%, rgba(6, 25, 47, 0.85) 58%, rgba(6, 25, 47, 0.96) 100%),
      linear-gradient(90deg, rgba(6, 25, 47, 0.82), rgba(6, 25, 47, 0.28));
  }

  .home-hero--reference .home-hero-shell {
    width: min(calc(100% - 56px), 680px);
    padding-block: 64px 52px;
  }

  .home-hero--reference h1 {
    font-size: clamp(2.75rem, 9vw, 3.5rem);
  }

  .home-hero--reference .home-hero-proof {
    max-width: 590px;
  }
}

@media (max-width: 600px) {
  .home-hero--reference {
    min-height: 660px;
  }

  .home-hero--reference .home-hero-shell {
    width: min(calc(100% - 40px), 680px);
    padding-block: 52px 44px;
  }

  .home-hero--reference h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .home-hero--reference h1 span {
    white-space: normal;
  }

  .home-hero--reference .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-hero--reference .hero-actions .btn {
    width: 100%;
  }

  .home-hero--reference .home-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

.home-hero--reference .home-hero-proof li:not(:last-child)::after {
    display: none;
  }
}

/* Off-grid: owner-approved rural photo with the homepage's navy left content plane. */
.off-grid-page .off-grid-hero--reference {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 102px), 700px);
  overflow: hidden;
  background: #06192f;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.off-grid-page .off-grid-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.off-grid-page .off-grid-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
}

.off-grid-page .off-grid-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0.18) 0%, rgba(3, 16, 31, 0.08) 58%, rgba(3, 16, 31, 0.28) 100%),
    linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.96) 30%, rgba(6, 25, 47, 0.78) 49%, rgba(6, 25, 47, 0.42) 65%, rgba(6, 25, 47, 0.12) 82%, rgba(6, 25, 47, 0.03) 100%);
}

.off-grid-page .off-grid-hero-panel {
  position: relative;
  z-index: 2;
  min-height: inherit;
  padding-block: clamp(64px, 7.43vw, 104px);
  display: flex;
  align-items: center;
}

.off-grid-page .off-grid-hero-content {
  width: min(100%, 600px);
}

.off-grid-page .off-grid-hero--reference .eyebrow {
  margin-bottom: 20px;
  color: #f9bf15;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.off-grid-page .off-grid-hero--reference .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #f9bf15;
}

.off-grid-page .off-grid-hero--reference h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.25rem, 4.375vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.off-grid-page .off-grid-hero-content > p {
  max-width: 550px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.off-grid-page .off-grid-hero--reference .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.off-grid-page .off-grid-hero--reference .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.off-grid-page .off-grid-hero--reference .hero-actions .btn-primary {
  background: #ffc000;
  color: #06192f;
  box-shadow: none;
}

.off-grid-page .off-grid-hero--reference .hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
}

.off-grid-page .off-grid-hero--reference .hero-actions .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.off-grid-page .off-grid-hero-helper {
  max-width: 550px;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 3px solid #ffc000;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .off-grid-page .off-grid-hero--reference {
    min-height: 680px;
  }

  .off-grid-page .off-grid-hero-media img {
    object-position: 62% center;
  }

  .off-grid-page .off-grid-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    padding-block: 72px;
  }

  .off-grid-page .off-grid-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.38) 0%, rgba(3, 16, 31, 0.2) 58%, rgba(3, 16, 31, 0.48) 100%),
      linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.95) 54%, rgba(6, 25, 47, 0.68) 77%, rgba(6, 25, 47, 0.3) 100%);
  }
}

@media (max-width: 600px) {
  .off-grid-page .off-grid-hero--reference {
    min-height: 0;
  }

  .off-grid-page .off-grid-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    min-height: 760px;
    padding-block: 52px;
    align-items: flex-start;
  }

  .off-grid-page .off-grid-hero-media img {
    object-position: 62% center;
  }

  .off-grid-page .off-grid-hero--reference h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .off-grid-page .off-grid-hero-content > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .off-grid-page .off-grid-hero--reference .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .off-grid-page .off-grid-hero--reference .hero-actions .btn {
    width: 100%;
  }

  .off-grid-page .off-grid-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.58) 0%, rgba(3, 16, 31, 0.42) 55%, rgba(3, 16, 31, 0.7) 100%),
      linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.96) 62%, rgba(6, 25, 47, 0.82) 100%);
  }
}

/* Commercial: full-bleed rooftop photo with the approved navy homepage hero treatment. */
.commercial-page .commercial-hero--reference {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 102px), 700px);
  overflow: hidden;
  background: #06192f;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.commercial-page .commercial-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.commercial-page .commercial-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: 58% center;
}

.commercial-page .commercial-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0.2) 0%, rgba(3, 16, 31, 0.08) 58%, rgba(3, 16, 31, 0.3) 100%),
    linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.96) 30%, rgba(6, 25, 47, 0.78) 49%, rgba(6, 25, 47, 0.42) 65%, rgba(6, 25, 47, 0.12) 82%, rgba(6, 25, 47, 0.03) 100%);
}

.commercial-page .commercial-hero-panel {
  position: relative;
  z-index: 2;
  min-height: inherit;
  padding-block: clamp(64px, 7.43vw, 104px);
  display: flex;
  align-items: center;
}

.commercial-page .commercial-hero-content {
  width: min(100%, 600px);
}

.commercial-page .commercial-hero--reference .eyebrow {
  margin-bottom: 20px;
  color: #f9bf15;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.commercial-page .commercial-hero--reference .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #f9bf15;
}

.commercial-page .commercial-hero--reference h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.25rem, 4.375vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.commercial-page .commercial-hero-content > p {
  max-width: 550px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.commercial-page .commercial-hero--reference .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.commercial-page .commercial-hero--reference .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.commercial-page .commercial-hero--reference .hero-actions .btn-primary {
  background: #ffc000;
  color: #06192f;
  box-shadow: none;
}

.commercial-page .commercial-hero--reference .hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
}

.commercial-page .commercial-hero--reference .hero-actions .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

@media (max-width: 900px) {
  .commercial-page .commercial-hero--reference {
    min-height: 680px;
  }

  .commercial-page .commercial-hero-media img {
    object-position: 62% center;
  }

  .commercial-page .commercial-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    padding-block: 72px;
  }

  .commercial-page .commercial-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.38) 0%, rgba(3, 16, 31, 0.2) 58%, rgba(3, 16, 31, 0.48) 100%),
      linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.95) 54%, rgba(6, 25, 47, 0.68) 77%, rgba(6, 25, 47, 0.3) 100%);
  }
}

@media (max-width: 600px) {
  .commercial-page .commercial-hero--reference {
    min-height: 0;
  }

  .commercial-page .commercial-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    min-height: 760px;
    padding-block: 52px;
    align-items: flex-start;
  }

  .commercial-page .commercial-hero-media img {
    object-position: 62% center;
  }

  .commercial-page .commercial-hero--reference h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .commercial-page .commercial-hero-content > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .commercial-page .commercial-hero--reference .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .commercial-page .commercial-hero--reference .hero-actions .btn {
    width: 100%;
  }

  .commercial-page .commercial-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.58) 0%, rgba(3, 16, 31, 0.42) 55%, rgba(3, 16, 31, 0.7) 100%),
      linear-gradient(90deg, rgba(6, 25, 47, 0.99) 0%, rgba(6, 25, 47, 0.96) 62%, rgba(6, 25, 47, 0.82) 100%);
  }
}

/* EV Charging: full-bleed owner-supplied photo with the approved Solar overlay grammar. */
.ev-page .ev-hero--overlay {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 102px), 700px);
  overflow: hidden;
  background: #06192f;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.ev-page .ev-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #173d5c;
  box-shadow: none;
}

.ev-page .ev-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: 50% 40%;
}

.ev-page .ev-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0.22) 0%, rgba(3, 16, 31, 0.08) 58%, rgba(3, 16, 31, 0.28) 100%),
    linear-gradient(90deg, rgba(4, 20, 42, 0.98) 0%, rgba(4, 20, 42, 0.95) 31%, rgba(4, 20, 42, 0.76) 49%, rgba(4, 20, 42, 0.4) 65%, rgba(4, 20, 42, 0.12) 82%, rgba(4, 20, 42, 0.03) 100%);
}

.ev-page .ev-hero-panel {
  position: relative;
  z-index: 2;
  min-height: inherit;
  padding-block: clamp(64px, 7.43vw, 104px);
  display: flex;
  align-items: center;
}

.ev-page .ev-hero-content {
  width: min(100%, 600px);
}

.ev-page .ev-hero--overlay .eyebrow {
  margin-bottom: 20px;
  color: #f9bf15;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.ev-page .ev-hero--overlay .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #f9bf15;
}

.ev-page .ev-hero--overlay h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.625rem, 4.375vw, 4.125rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.ev-page .ev-hero-content > p {
  max-width: 520px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ev-page .ev-hero--overlay .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.ev-page .ev-hero--overlay .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.ev-page .ev-hero--overlay .hero-actions .btn-primary {
  background: #ffc000;
  color: #06192f;
  box-shadow: none;
}

.ev-page .ev-hero--overlay .hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
}

.ev-page .ev-hero--overlay .hero-actions .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

@media (max-width: 900px) {
  .ev-page .ev-hero--overlay {
    min-height: 620px;
  }

  .ev-page .ev-hero-image img {
    object-position: 55% 40%;
  }

  .ev-page .ev-hero-panel {
    padding-block: 72px;
  }

  .ev-page .ev-hero-content {
    width: min(100%, 600px);
  }

  .ev-page .ev-hero--overlay h1 {
    font-size: clamp(2.75rem, 7vw, 3.5rem);
  }

  .ev-page .ev-hero--overlay .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .ev-page .ev-hero--overlay .hero-actions .btn {
    width: 100%;
  }

  .ev-page .ev-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.38) 0%, rgba(3, 16, 31, 0.2) 58%, rgba(3, 16, 31, 0.48) 100%),
      linear-gradient(90deg, rgba(4, 20, 42, 0.98) 0%, rgba(4, 20, 42, 0.93) 53%, rgba(4, 20, 42, 0.64) 76%, rgba(4, 20, 42, 0.28) 100%);
  }
}

@media (max-width: 600px) {
  .ev-page .ev-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    padding-block: 56px;
  }

  .ev-page .ev-hero--overlay h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .ev-page .ev-hero-content > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .ev-page .ev-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.52) 0%, rgba(3, 16, 31, 0.38) 55%, rgba(3, 16, 31, 0.62) 100%),
      linear-gradient(90deg, rgba(4, 20, 42, 0.98) 0%, rgba(4, 20, 42, 0.94) 62%, rgba(4, 20, 42, 0.78) 100%);
  }
}

/* Solar page: full-bleed rooftop photo with readable left-hand copy overlay. */
.solar-page .solar-hero--overlay {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 102px), 700px);
  overflow: hidden;
  background: #06192f;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.solar-page .solar-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #173d5c;
  box-shadow: none;
}

.solar-page .solar-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: 50% 20%;
}

.solar-page .solar-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 31, 0.2) 0%, rgba(3, 16, 31, 0.08) 58%, rgba(3, 16, 31, 0.24) 100%),
    linear-gradient(90deg, rgba(4, 20, 42, 0.97) 0%, rgba(4, 20, 42, 0.94) 31%, rgba(4, 20, 42, 0.74) 49%, rgba(4, 20, 42, 0.38) 65%, rgba(4, 20, 42, 0.1) 82%, rgba(4, 20, 42, 0.02) 100%);
}

.solar-page .solar-hero-panel {
  position: relative;
  z-index: 2;
  min-height: inherit;
  padding-block: clamp(64px, 7.43vw, 104px);
  display: flex;
  align-items: center;
}

.solar-page .solar-hero-content {
  width: min(100%, 600px);
}

.solar-page .solar-hero--overlay .eyebrow {
  margin-bottom: 20px;
  color: #f9bf15;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.solar-page .solar-hero--overlay .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #f9bf15;
}

.solar-page .solar-hero--overlay h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3.625rem, 4.375vw, 4.125rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.solar-page .solar-hero-content > p {
  max-width: 520px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.solar-page .solar-hero--overlay .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.solar-page .solar-hero--overlay .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.solar-page .solar-hero--overlay .hero-actions .btn-primary {
  background: #ffc000;
  color: #06192f;
  box-shadow: none;
}

.solar-page .solar-hero--overlay .hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
}

.solar-page .solar-hero--overlay .hero-actions .btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

@media (max-width: 900px) {
  .solar-page .solar-hero--overlay {
    min-height: 620px;
  }

  .solar-page .solar-hero-panel {
    padding-block: 72px;
  }

  .solar-page .solar-hero-content {
    width: min(100%, 600px);
  }

  .solar-page .solar-hero--overlay h1 {
    font-size: clamp(2.75rem, 7vw, 3.5rem);
  }

  .solar-page .solar-hero--overlay .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .solar-page .solar-hero--overlay .hero-actions .btn {
    width: 100%;
  }

  .solar-page .solar-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.24) 0%, rgba(3, 16, 31, 0.14) 58%, rgba(3, 16, 31, 0.35) 100%),
      linear-gradient(90deg, rgba(4, 20, 42, 0.96) 0%, rgba(4, 20, 42, 0.88) 53%, rgba(4, 20, 42, 0.48) 76%, rgba(4, 20, 42, 0.14) 100%);
  }
}

@media (max-width: 600px) {
  .solar-page .solar-hero-panel {
    width: min(calc(100% - 48px), var(--max));
    padding-block: 56px;
  }

  .solar-page .solar-hero--overlay h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .solar-page .solar-hero-content > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .solar-page .solar-hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 16, 31, 0.34) 0%, rgba(3, 16, 31, 0.25) 55%, rgba(3, 16, 31, 0.48) 100%),
      linear-gradient(90deg, rgba(4, 20, 42, 0.97) 0%, rgba(4, 20, 42, 0.91) 62%, rgba(4, 20, 42, 0.67) 100%);
  }
}

/* Battery Storage uses the approved Solar split-hero grammar without changing Solar. */
.battery-page .battery-hero--split {
  min-height: clamp(580px, calc(100svh - 102px), 680px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: #f8f6f0;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.battery-page .battery-hero-panel {
  min-width: 0;
  padding: clamp(76px, 7.43vw, 107px) clamp(40px, 5vw, 72px) clamp(60px, 5.14vw, 74px) max(50px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: flex-start;
  background: #f8f6f0;
}

.battery-page .battery-hero-content {
  width: min(100%, 560px);
}

.battery-page .battery-hero--split .eyebrow {
  margin-bottom: 20px;
  color: #8c6200;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
}

.battery-page .battery-hero--split .eyebrow::before {
  width: 32px;
  height: 3px;
  background: #d99b00;
}

.battery-page .battery-hero--split h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: #06192f;
  font-size: clamp(3rem, 4.375vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.battery-page .battery-hero-content > p {
  max-width: 520px;
  margin-bottom: 12px;
  color: #25384a;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.battery-page .battery-hero--split .hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.battery-page .battery-hero--split .hero-actions .btn {
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.battery-page .battery-hero--split .hero-actions .btn-primary {
  background: #ffc000;
  box-shadow: none;
}

.battery-page .battery-hero--split .hero-actions .btn-secondary {
  border-color: #9baebe;
  background: #ffffff;
  color: #06192f;
}

.battery-page .battery-hero-image {
  min-width: 0;
  min-height: inherit;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #d8e2e7;
  box-shadow: none;
}

.battery-page .battery-hero-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: 52% center;
}

@media (max-width: 900px) {
  .battery-page .battery-hero--split {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .battery-page .battery-hero-panel {
    padding: 64px max(28px, calc((100vw - 680px) / 2)) 56px;
  }

  .battery-page .battery-hero-content {
    width: min(100%, 680px);
  }

  .battery-page .battery-hero--split h1 {
    max-width: 650px;
    font-size: clamp(2.75rem, 7vw, 3.5rem);
  }

  .battery-page .battery-hero-image {
    min-height: clamp(480px, 72vw, 620px);
    height: clamp(480px, 72vw, 620px);
  }

  .battery-page .battery-hero-image img {
    min-height: 0;
    object-position: 52% center;
  }
}

@media (max-width: 600px) {
  .battery-page .battery-hero-panel {
    padding: 52px 20px 44px;
  }

  .battery-page .battery-hero--split h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.05rem);
    letter-spacing: -0.04em;
  }

  .battery-page .battery-hero-content > p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .battery-page .battery-hero--split .hero-actions .btn {
    width: 100%;
  }

  .battery-page .battery-hero-image {
    min-height: 400px;
    height: min(125vw, 520px);
  }
}
