.home-v2 {
  background: #f7faf7;
}

.v2-header {
  background: rgba(247, 250, 247, 0.92);
}

.video-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fff;
  background: #071820;
}

.hero-video,
.video-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: url("assets/brand/solar-panels-generic.jpg") center/cover;
}

.video-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 32, 0.96), rgba(7, 24, 32, 0.72) 44%, rgba(7, 24, 32, 0.2)),
    linear-gradient(180deg, rgba(7, 24, 32, 0.12), rgba(7, 24, 32, 0.94));
}

.video-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 92px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust-row span,
.hero-trust-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
}

.hero-trust-row strong {
  color: #ffd35a;
  font-weight: 900;
}

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

.hero-diagnostic {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.panel-label {
  color: #ffd35a;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-diagnostic h2 {
  margin: 10px 0 18px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.hero-diagnostic ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-diagnostic li {
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}

.hero-diagnostic li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7a600;
}

.panel-link {
  display: inline-flex;
  margin-top: 22px;
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid #f7a600;
}

.v2-ribbon {
  background: #0f2731;
  color: #fff;
}

.v2-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.v2-ribbon-grid > div {
  position: relative;
  min-height: 118px;
  padding: 24px 24px 24px 78px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  align-content: center;
  gap: 6px;
}

.v2-ribbon-grid > div::before {
  content: "PV";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd35a;
  font-size: 0.68rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.v2-ribbon-grid > div:nth-child(2)::before {
  content: "BT";
}

.v2-ribbon-grid > div:nth-child(3)::before {
  content: "BK";
}

.v2-ribbon-grid > div:nth-child(4)::before {
  content: "EV";
}

.v2-ribbon-grid strong {
  color: #ffd35a;
  font-size: 1.25rem;
}

.v2-ribbon-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 76px;
  align-items: start;
}

.intro-grid h2,
.v2-method h2,
.v2-split h2,
.v2-simulator h2,
.v2-contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-text p {
  margin: 0;
}

.compact-heading {
  align-items: end;
}

.solution-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.solution-tile {
  min-height: 260px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile-large {
  grid-column: span 2;
  background: #102235;
  color: #fff;
}

.solution-tile span {
  color: var(--solar-deep);
  font-weight: 900;
}

.tile-large span,
.tile-large a {
  color: #ffd35a;
}

.solution-tile h3 {
  max-width: 340px;
  margin: 38px 0 12px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.solution-tile h3::before {
  content: "PV";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(247, 166, 0, 0.28);
  border-radius: 8px;
  background: rgba(247, 166, 0, 0.12);
  color: var(--solar-deep);
  font-size: 0.74rem;
  font-weight: 900;
}

.solution-tile:nth-child(2) h3::before {
  content: "BT";
}

.solution-tile:nth-child(3) h3::before {
  content: "EV";
}

.solution-tile:nth-child(4) h3::before {
  content: "MT";
}

.tile-large h3::before {
  border-color: rgba(255, 211, 90, 0.28);
  background: rgba(255, 211, 90, 0.12);
  color: #ffd35a;
}

.solution-tile p {
  margin: 0 0 24px;
  color: var(--muted);
}

.tile-large p {
  color: rgba(255, 255, 255, 0.78);
}

.solution-tile a {
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
  border-bottom: 2px solid var(--solar);
}

.v2-method {
  background: #fff;
}

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.method-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.method-copy .lead {
  margin: 0;
}

.method-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.method-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.method-list strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(247, 166, 0, 0.1);
  color: var(--solar-deep);
  font-size: 1.25rem;
}

.method-list span {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 740;
}

.v2-split {
  align-items: stretch;
}

.brand-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.brand-stack span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.technical-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 90, 0.18), rgba(255, 255, 255, 0)),
    #fff;
}

.technical-panel h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
}

.technical-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technical-panel li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.v2-simulator {
  background: #102235;
  color: #fff;
}

.v2-simulator .lead,
.v2-simulator .kicker {
  color: rgba(255, 255, 255, 0.78);
}

.v2-simulator .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.v2-simulator .mini-calculator {
  background: #fff;
  color: var(--ink);
}

.v2-contact {
  align-items: center;
}

@media (max-width: 980px) {
  .video-hero-grid,
  .intro-grid,
  .method-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .video-hero-grid {
    align-items: center;
    padding: 70px 0;
  }

  .hero-diagnostic {
    max-width: 560px;
  }

  .v2-ribbon-grid,
  .solution-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-large {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .video-hero {
    min-height: auto;
  }

  .video-hero-grid {
    min-height: auto;
    padding: 48px 0 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .v2-ribbon-grid,
  .solution-board {
    grid-template-columns: 1fr;
  }

  .v2-ribbon-grid > div {
    padding-left: 70px;
  }

  .tile-large {
    grid-column: span 1;
  }

  .solution-tile {
    min-height: 220px;
  }

  .method-list div {
    grid-template-columns: 52px 1fr;
  }
}
