/* SolarNap homepage hero – isolated responsive layout, version 3 */
#main > .hero {
  min-height: 0;
  background: #03232d;
  isolation: isolate;
}
#main > .hero > .hero-photo {
  position: absolute; inset: 0; z-index: -1; opacity: 1;
  background-color: #03232d;
  background-image: linear-gradient(90deg, #03232d 0%, rgba(3,35,45,.97) 14%, rgba(3,35,45,.76) 27%, rgba(3,35,45,.17) 42%, transparent 59%, transparent 75%, rgba(3,35,45,.13) 85%, rgba(3,35,45,.72) 100%), url('assets/hero-sunset-v3.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%, 84% auto;
  background-position: center, right 30%;
}
#main > .hero > .hero-grid {
  width: min(94%, 1600px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 1fr) minmax(230px, 16%);
  align-items: center; column-gap: 24px;
  min-height: clamp(365px, 24vw, 425px); padding: 27px 0;
}
.hero > .hero-grid > .hero-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.hero .eyebrow { font-size: clamp(11px, .86vw, 14px); gap: 7px; }
.hero .eyebrow i { width: 26px; height: 26px; }
.hero h1 { font-size: clamp(42px, 4.3vw, 72px); line-height: 1.02; letter-spacing: -.053em; margin: 21px 0 15px; }
.hero .hero-copy p { font-size: clamp(15px, 1.04vw, 18px); max-width: 445px; line-height: 1.38; margin: 0 0 17px; font-weight: 600; }
.hero .hero-copy .btn { min-width: 240px; min-height: 49px; font-size: 17px; gap: 26px; }
.hero > .hero-grid > .hero-benefits {
  grid-column: 3; grid-row: 1; display: grid; align-self: center; justify-self: end;
  min-width: 0; width: 100%; padding: 0; margin: 0; gap: 22px;
}
.hero .hero-logo { width: 176px; margin: 0 auto 9px; }
.hero .hero-benefits > div { font-size: 16px; gap: 15px; line-height: 1.28; text-shadow: 0 1px 5px #00151c; }
.hero .hero-benefits i { width: 49px; height: 49px; padding: 11px; background: rgba(3,35,45,.23); }
@media(max-width: 1200px) {
  #main > .hero > .hero-grid { grid-template-columns: minmax(0, 46%) minmax(0, 1fr) minmax(195px, 20%); column-gap: 14px; }
  .hero .hero-benefits > div { font-size: 14px; gap: 9px; }
  .hero .hero-benefits i { width: 42px; height: 42px; padding: 9px; }
  .hero .hero-logo { width: 145px; }
  .hero .eyebrow { white-space: normal; }
}
@media(max-width: 980px) {
  #main > .hero > .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(180px, 27%); min-height: 365px; }
  .hero > .hero-grid > .hero-benefits { grid-column: 2; }
  #main > .hero > .hero-photo { background-size: 100% 100%, cover; background-position: center, 60% 30%; }
  .hero h1 { font-size: clamp(40px, 5.8vw, 58px); }
}
@media(max-width: 600px) {
  #main > .hero > .hero-grid { width: 92%; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0; min-height: 550px; padding: 26px 0 22px; }
  #main > .hero > .hero-photo { background-image: linear-gradient(180deg, #03232df5 0%, #03232dc9 24%, #03232d33 58%, #03232de6 100%), url('assets/hero-sunset-v3.webp'); background-size: 100% 100%, auto 100%; background-position: center, 61% center; }
  .hero > .hero-grid > .hero-copy { align-self: stretch; }
  .hero h1 { font-size: clamp(35px, 9.4vw, 52px); margin: 16px 0 12px; }
  .hero .eyebrow { font-size: 10px; gap: 4px; }
  .hero .hero-copy p { font-size: 14px; max-width: 340px; }
  .hero .hero-copy .btn { min-width: 180px; min-height: 44px; font-size: 14px; }
  .hero > .hero-grid > .hero-benefits { grid-template-columns: repeat(3, minmax(0,1fr)); align-self: stretch; gap: 7px; margin: 130px 0 0; }
  .hero .hero-logo { display: none; }
  .hero .hero-benefits > div { flex-direction: column; text-align: center; gap: 7px; font-size: 11px; }
  .hero .hero-benefits i { width: 37px; height: 37px; padding: 8px; }
}
@media(min-width: 1201px) {
  #main > .hero > .hero-photo { background-size: 100% 100%, 82% auto; background-position: center, 72% 30%; }
  .hero h1 { transform: scaleX(1.13); transform-origin: left center; }
}
