/* =====================================================================
   SOLAR SHOP — HOME PAGE HERO (v6 "Split Editorial & Framed Showcase")
   ---------------------------------------------------------------------
   • Left column: crisp editorial typography, trust micro-pills, prominent
     CTAs, and the client's supplied brand lockup + accreditations card.
   • Right column: unobstructed, framed full-colour photography slider
     with floating glass HUD, live caption bar, animated progress bar,
     and an interactive 5-photo thumbnail dock.
   ===================================================================== */

/* ---------- 1. HERO SHELL & AMBIENT CANVAS ---------- */
.hero.hv2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: auto;
  min-height: clamp(650px, 84vh, 830px);
  padding: var(--hv2-pad-top) 0 var(--hv2-pad-bot);
  /* Soft brand-colour gradient across the entire hero canvas.
     The stage photograph and solar-panel stat cards remain unfiltered. */
  background-color: #F4F8F0;
  background-image:
    radial-gradient(ellipse 58% 75% at 0% 13%, rgba(255, 255, 255, 0.85) 0%, transparent 78%),
    radial-gradient(ellipse 42% 57% at 92% 9%, rgba(243, 227, 184, 0.48) 0%, transparent 85%),
    radial-gradient(ellipse 62% 65% at 64% 93%, rgba(189, 215, 180, 0.42) 0%, transparent 82%),
    linear-gradient(112deg, #FCFCF7 0%, #F1F7EC 28%, #E9F3E8 56%, #F7F4E9 83%, #EFF5EA 100%);
  border-bottom: 1px solid var(--hv2-line);
  color: var(--hv2-body);
  display: flex;
  align-items: center;
}

/* Subtle architectural grid texture */
.hero.hv2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 61, 38, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 61, 38, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 92% 85% at 50% 48%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 85% at 50% 48%, #000 35%, transparent 100%);
}

/* Soft ambient colour blooms behind the frosted glass strip & review bar so backdrop-filter blur is visibly rich */
.hero.hv2::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 215px;
  height: 150px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 26% 75% at 16% 55%, rgba(79, 132, 82, 0.24) 0%, transparent 75%),
    radial-gradient(ellipse 24% 75% at 38% 45%, rgba(184, 154, 78, 0.22) 0%, transparent 75%),
    radial-gradient(ellipse 28% 75% at 68% 55%, rgba(79, 132, 82, 0.22) 0%, transparent 75%),
    radial-gradient(ellipse 22% 70% at 88% 48%, rgba(184, 154, 78, 0.20) 0%, transparent 75%);
  filter: blur(18px);
}

/* Neutralise legacy .glass rules from site.css when used for cursor detection */
.hero.hv2 .hv2-surface.glass {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  margin: 0;
  color: inherit;
}
.hero.hv2 .hv2-main.hv2-surface.glass {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero.hv2 .hv2-dots.hv2-surface.glass {
  padding: 8px;
  border-radius: var(--hv2-radius-dock);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 61, 38, 0.1);
  box-shadow: 0 16px 34px -22px rgba(18, 38, 24, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- 2. SPLIT EDITORIAL GRID ---------- */
.hv2-in {
  position: relative;
  width: var(--hv2-wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
  grid-template-rows: 1fr auto auto;
  grid-template-areas:
    "main showcase"
    "strip showcase"
    "stats stats";
  column-gap: var(--hv2-col-gap);
  row-gap: clamp(16px, 2vh, 22px);
  align-items: stretch;
}

/* ---------- 3. LEFT COLUMN: EDITORIAL CONTENT & BRAND STRIP ---------- */
.hv2-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

/* Eyebrow / Kicker Pill */
.hv2-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(12px, 1.6vh, 18px);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(79, 132, 82, 0.24);
  box-shadow: 0 8px 20px -12px rgba(24, 48, 30, 0.18);
  font: 700 11.5px/1.2 var(--hv2-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hv2-primary);
}
.hv2-eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hv2-green);
  flex: none;
}
.hv2-eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(79, 132, 82, 0.35);
  animation: hv2Pulse 2.2s infinite ease-out;
}
@keyframes hv2Pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  70% { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
.hv2-eyebrow-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hv2-gold);
  opacity: 0.7;
}
.hv2-eyebrow-sub {
  color: var(--hv2-gold);
  font-weight: 800;
}

/* Headline */
.hv2-title {
  margin: 0;
  color: var(--hv2-ink);
  font: 800 var(--hv2-fs-h1)/var(--hv2-lh-h1) var(--hv2-font);
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-align: left !important;
}
.hv2-title .serif {
  position: relative;
  display: inline-block;
  color: var(--hv2-gold);
  font-family: var(--hv2-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.hv2-title .serif::after {
  content: "";
  position: absolute;
  left: 0;
  right: 2%;
  bottom: 0.04em;
  height: 0.11em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184, 154, 78, 0.42), rgba(79, 132, 82, 0.18));
  z-index: -1;
}

/* Subtitle */
.hv2-sub {
  margin: clamp(12px, 1.6vh, 16px) 0 0;
  max-width: 50ch;
  color: var(--hv2-body);
  font: 400 var(--hv2-fs-sub)/var(--hv2-lh-sub) var(--hv2-font);
}
.hv2-sub b {
  color: var(--hv2-ink);
  font-weight: 700;
}

/* Trust Micro-Pills */
.hv2-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(12px, 1.6vh, 18px) 0 0;
  padding: 0;
  list-style: none;
}
.hv2-pills li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 61, 38, 0.1);
  color: var(--hv2-ink);
  font: 600 12.5px/1.2 var(--hv2-font);
}
.hv2-pills svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--hv2-green);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Calls to Action */
.hv2-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: clamp(16px, 2.2vh, 24px);
}
.hv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: var(--hv2-btn-h);
  border-radius: var(--hv2-radius-btn);
  border: 1.5px solid transparent;
  font: 700 var(--hv2-fs-btn)/1 var(--hv2-font);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.28s var(--hv2-ease),
    border-color 0.28s var(--hv2-ease),
    color 0.28s var(--hv2-ease),
    transform 0.28s var(--hv2-ease),
    box-shadow 0.28s var(--hv2-ease);
}
.hv2-btn-primary {
  padding: 0 8px 0 clamp(22px, 1.8vw, 28px);
  background: linear-gradient(135deg, #23472B 0%, var(--hv2-primary) 100%);
  border-color: var(--hv2-primary);
  color: #fff;
  box-shadow:
    0 18px 34px -18px rgba(16, 40, 22, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hv2-btn-primary .hv2-arrow {
  display: grid;
  place-items: center;
  width: calc(var(--hv2-btn-h) - 14px);
  height: calc(var(--hv2-btn-h) - 14px);
  border-radius: 50%;
  background: var(--hv2-gold-soft);
  color: var(--hv2-primary);
  transition: transform 0.28s var(--hv2-ease), background 0.28s var(--hv2-ease);
}
.hv2-btn-primary svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv2-btn-primary:hover {
  background: linear-gradient(135deg, var(--hv2-primary) 0%, var(--hv2-primary-hover) 100%);
  border-color: var(--hv2-primary-hover);
  transform: translateY(-2px);
  box-shadow:
    0 22px 40px -16px rgba(16, 40, 22, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hv2-btn-primary:hover .hv2-arrow {
  transform: translateX(3px);
  background: #F8E9BE;
}

.hv2-btn-ghost {
  padding: 0 14px 0 18px;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(31, 61, 38, 0.2);
  color: var(--hv2-ink);
  box-shadow: 0 10px 24px -18px rgba(18, 38, 24, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hv2-btn-ghost:hover {
  background: #fff;
  border-color: var(--hv2-primary);
  transform: translateY(-2px);
}
.hv2-btn-ghost .hv2-ic {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--hv2-green);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv2-btn-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: #E9F2E2;
  color: var(--hv2-primary);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 4. SUPPLIED BRAND LOCKUP & ACCREDITATIONS CARD (TRANSPARENT BLUR GLASS) ---------- */
.hv2-strip.hv2-surface,
.hero.hv2 .hv2-strip.hv2-surface.glass {
  position: relative;
  overflow: hidden;
  grid-area: strip;
  align-self: end;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 13px 18px 14px;
  border-radius: var(--hv2-radius-card);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(226, 242, 222, 0.28) 50%,
    rgba(248, 240, 214, 0.34) 100%
  );
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 38px -18px rgba(20, 44, 26, 0.18),
    0 4px 12px rgba(20, 44, 26, 0.06),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(79, 132, 82, 0.20);
}
.hv2-strip.hv2-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    transparent 62%
  );
}
.hv2-strip-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(31, 61, 38, 0.11);
}
.hv2-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 11px/1.2 var(--hv2-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2A4731;
}
.hv2-strip-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--hv2-gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv2-strip-badge {
  font: 700 11px/1 var(--hv2-font);
  color: #1F4E29;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(79, 132, 82, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hv2-marks {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hv2-lockup {
  flex: none;
  height: clamp(32px, 2.5vw, 37px);
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.6));
}
.hv2-div {
  flex: none;
  width: 1.5px;
  align-self: stretch;
  min-height: 40px;
  background: linear-gradient(180deg, transparent, rgba(31, 61, 38, 0.24), transparent);
}
/* High-clarity partner logo badges on transparent blur glass */
.hv2-accred-wrap {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
}
.hv2-pbadge {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.22s var(--hv2-ease), background 0.22s var(--hv2-ease);
}
.hv2-pbadge:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}
.hv2-pbadge-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 44px;
  overflow: visible;
}

/* ---------- 5. RIGHT COLUMN: FRAMED SHOWCASE, SOCIAL RAIL & INTERACTIVE DOCK ---------- */
.hv2-col-right {
  grid-area: showcase;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.hv2-stage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}

/* Social Media Icons on the Right Side of the Hero Image (icons only, no background shapes) */
.hero.hv2 .hv2-soc.hv2-surface.glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  align-self: center;
}
.hv2-soc a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  color: #FFFFFF !important;
  text-decoration: none;
  transition:
    transform 0.22s var(--hv2-ease),
    box-shadow 0.22s var(--hv2-ease),
    filter 0.22s var(--hv2-ease);
}
.hv2-soc a:hover {
  color: #FFFFFF !important;
  transform: translateY(-2px) scale(1.09);
  filter: brightness(1.07);
}
.hv2-soc a:focus-visible {
  outline: 2px solid var(--hv2-primary);
  outline-offset: 3px;
  border-radius: 50%;
}
.hv2-soc svg {
  width: 21px;
  height: 21px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
/* Official platform logo background colours on circular badges with white glyphs */
.hv2-soc a[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%) !important;
  box-shadow:
    0 10px 22px -6px rgba(214, 36, 159, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.hv2-soc a[aria-label="Facebook"] {
  background: linear-gradient(180deg, #2B86FF 0%, #1877F2 100%) !important;
  box-shadow:
    0 10px 22px -6px rgba(24, 119, 242, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.hv2-soc a[aria-label="LinkedIn"] {
  background: linear-gradient(180deg, #1275D8 0%, #0A66C2 100%) !important;
  box-shadow:
    0 10px 22px -6px rgba(10, 102, 194, 0.45),
    0 3px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

/* Main Framed Photo Stage */
.hv2-media {
  position: relative;
  flex: 1 1 auto;
  min-height: var(--hv2-stage-h);
  border-radius: var(--hv2-radius-stage);
  overflow: hidden;
  background: #18301E;
  box-shadow: var(--hv2-stage-shadow);
  border: 1px solid rgba(31, 61, 38, 0.14);
  isolation: isolate;
}
.hv2-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 6;
}

.hv2-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #18301E;
}

.hv2-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.85s var(--hv2-ease);
}
.hv2-slide.on {
  opacity: 1;
  z-index: 2;
}
.hv2-slide img.hv2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transform: scale(1.045);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hv2-slide.on img.hv2-bg {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .hv2-slide img.hv2-bg,
  .hv2-slide.on img.hv2-bg {
    transform: none;
    transition: none;
  }
}

/* Subtle top & bottom vignette inside the photo frame (leaves faces 100% clear) */
.hv2-wash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 26, 16, 0.38) 0%, rgba(12, 26, 16, 0) 22%),
    linear-gradient(0deg, rgba(10, 22, 14, 0.82) 0%, rgba(10, 22, 14, 0.35) 18%, rgba(10, 22, 14, 0) 36%);
}

/* Top Floating HUD inside Stage */
.hv2-stage-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.hv2-counter-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(18, 38, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  color: #fff;
  font: 700 12px/1 var(--hv2-font);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.hv2-counter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9BE16B;
  box-shadow: 0 0 8px #9BE16B;
}
.hv2-counter-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--hv2-gold-soft);
}
.hv2-counter-sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.25);
}
.hv2-counter-tag {
  color: #fff;
  font-weight: 600;
}

/* Prev / Next Controls grouped neatly at top-right of stage */
.hv2-stage-nav {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hv2-prev,
.hv2-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 38, 24, 0.68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
  transition: background 0.22s var(--hv2-ease), transform 0.22s var(--hv2-ease), border-color 0.22s var(--hv2-ease);
}
.hv2-prev:hover,
.hv2-next:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--hv2-ink);
  border-color: #fff;
  transform: scale(1.06);
}
.hv2-prev svg,
.hv2-next svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bottom Caption & Animated Progress Bar inside Stage */
.hv2-stage-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.hv2-cap {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 var(--hv2-fs-cap)/1.35 var(--hv2-font);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.hv2-cap-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(243, 226, 176, 0.22);
  border: 1px solid rgba(243, 226, 176, 0.45);
  color: var(--hv2-gold-soft);
}
.hv2-cap-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv2-cap-txt {
  transition: opacity 0.25s var(--hv2-ease), transform 0.25s var(--hv2-ease);
}

/* Auto-advance linear progress bar */
.hv2-progress-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.hv2-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9BE16B 0%, var(--hv2-gold-soft) 100%);
  transform-origin: left center;
  transform: scaleX(0);
}
.hv2-progress-bar.run {
  animation: hv2Progress var(--hv2-slide-duration) linear forwards;
}
.hv2-media:hover .hv2-progress-bar.run,
.hv2-media:focus-within .hv2-progress-bar.run {
  animation-play-state: paused;
}
@keyframes hv2Progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- 6. INTERACTIVE THUMBNAIL SLIDER DOCK ---------- */
/* ---------- 6. CONTINUOUS RANDOMIZED CUSTOMER REVIEW SLIDER ---------- */
.hv2-revbar.hv2-surface,
.hero.hv2 .hv2-revbar.hv2-surface.glass {
  position: relative;
  overflow: hidden;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 112px;
  padding: 11px 14px 12px;
  border-radius: var(--hv2-radius-card);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(226, 242, 222, 0.28) 50%,
    rgba(248, 240, 214, 0.34) 100%
  );
  -webkit-backdrop-filter: blur(22px) saturate(1.85);
  backdrop-filter: blur(22px) saturate(1.85);
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 38px -18px rgba(20, 44, 26, 0.18),
    0 4px 12px rgba(20, 44, 26, 0.06),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(79, 132, 82, 0.20);
}
.hv2-revbar.hv2-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.50) 0%,
    rgba(255, 255, 255, 0.10) 38%,
    transparent 62%
  );
}
.hv2-rev-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 6px;
  border-bottom: 1px solid rgba(31, 61, 38, 0.11);
}
.hv2-rev-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 11px/1.2 var(--hv2-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2A4731;
}
.hv2-rev-label b {
  font-weight: 800;
  color: #142B1B;
}
.hv2-rev-stars-summary {
  color: #D99B16;
  font-size: 12.5px;
  letter-spacing: 1px;
  line-height: 1;
}
.hv2-rev-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 10.5px/1 var(--hv2-font);
  color: #1F4E29;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(79, 132, 82, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}
.hv2-rev-live i {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #3CA348;
  box-shadow: 0 0 0 3px rgba(60, 163, 72, 0.22);
}

.hv2-rev-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.hv2-rev-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  will-change: transform;
  animation: hv2RevScroll 34s linear infinite;
}
@keyframes hv2RevScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.hv2-rev-card {
  flex: 0 0 auto;
  width: 268px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px -8px rgba(20, 44, 26, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hv2-rev-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv2-rev-av {
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #275331 0%, #4F8452 100%);
  color: #FFFFFF;
  font: 800 10px/1 var(--hv2-font);
  display: grid;
  place-items: center;
  letter-spacing: 0.03em;
}
.hv2-rev-who {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hv2-rev-who strong {
  font: 800 11.5px/1.15 var(--hv2-font);
  color: #14281B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv2-rev-who small {
  font: 600 9.8px/1.15 var(--hv2-font);
  color: #4D6653;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv2-rev-stars {
  flex: none;
  color: #D99B16;
  font-size: 11px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.hv2-rev-txt {
  margin: 0;
  font: 600 11px/1.32 var(--hv2-font);
  color: #1F3626;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 6B. FIELD SOLAR PROJECT BACKGROUND & 5 3D SOLAR PANEL CARDS ---------- */
.hv2-sbar-frame {
  grid-area: stats;
  margin-top: clamp(4px, 0.7vh, 10px);
  padding: 7px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(220, 232, 218, 0.94) 0%, rgba(205, 220, 204, 0.88) 52%, rgba(232, 222, 194, 0.92) 100%);
  border: 1px solid rgba(24, 48, 30, 0.18);
  box-shadow:
    0 24px 48px -26px rgba(13, 34, 56, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  perspective: 1100px;
}

.hv2-sbar {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(18px, 1.8vw, 24px) clamp(18px, 1.8vw, 26px) clamp(24px, 2.2vw, 30px);
  background-color: #0E2338;
  background-image:
    linear-gradient(180deg, rgba(8, 20, 32, 0.08) 0%, rgba(8, 20, 32, 0.22) 100%),
    url("photos/sbar-field-crew.webp?v=20261102-v13");
  background-size: cover;
  background-position: center 52%;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
}

.hv2-sbar-glow {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 236, 175, 0.18) 0%, transparent 48%);
}
.hv2-sbar-glow::before,
.hv2-sbar-glow::after {
  display: none;
}

.hv2-sbar-grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
  align-items: stretch;
}

/* Each card is designed & colored like a real 3D monocrystalline solar panel */
.hv2-sbar-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  min-height: clamp(126px, 9.6vw, 148px);
  padding: clamp(12px, 1.2vw, 16px) clamp(10px, 1vw, 14px) clamp(14px, 1.35vw, 18px);
  overflow: hidden;
  border-radius: 16px;
  border: 1.5px solid rgba(196, 220, 240, 0.48);
  background-color: rgba(13, 33, 54, 0.80);
  background-image:
    radial-gradient(circle at 86% 16%, rgba(238, 204, 120, 0.26) 0%, rgba(238, 204, 120, 0.06) 34%, transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 56%),
    linear-gradient(145deg, rgba(13, 33, 54, 0.82) 0%, rgba(16, 41, 66, 0.80) 52%, rgba(19, 47, 73, 0.84) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(1.15);
  backdrop-filter: blur(3px) saturate(1.15);
  box-shadow:
    0 2px 0 #3A5E7C,
    0 5px 0 #071524,
    0 16px 26px -10px rgba(4, 12, 22, 0.72),
    0 28px 36px -20px rgba(4, 12, 22, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.12);
  transform: translateY(0) rotateX(0deg);
  transform-origin: bottom center;
  transition: transform 0.4s var(--hv2-ease), box-shadow 0.4s var(--hv2-ease), border-color 0.4s ease;
}

/* Photovoltaic solar-cell grid lines across each individual card */
.hv2-sbar-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(185, 218, 245, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(185, 218, 245, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.9;
  pointer-events: none;
}

/* Golden solar busbar highlight at the bottom of each card */
.hv2-sbar-item::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 18%;
  right: 18%;
  bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, #D5B159 0%, #EBC96E 50%, #C9A44C 100%);
  box-shadow: 0 -1px 10px rgba(235, 201, 110, 0.5);
  pointer-events: none;
}

.hv2-sbar-item:hover {
  transform: translateY(-7px) rotateX(3deg);
  border-color: rgba(238, 204, 120, 0.78);
  box-shadow:
    0 2px 0 #5680A2,
    0 6px 0 #071524,
    0 24px 28px -12px rgba(4, 12, 22, 0.76),
    0 38px 46px -22px rgba(4, 12, 22, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hv2-sbar-ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #EBF2E6;
  color: #4F8452;
  margin-bottom: 9px;
  box-shadow: 0 3px 0 #9BB89A, 0 8px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 #fff;
  transition: transform 0.4s var(--hv2-ease);
}
.hv2-sbar-item:hover .hv2-sbar-ic {
  transform: translateY(-2px) scale(1.05);
}
.hv2-sbar-ic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv2-sbar-val {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding-top: 0;
  font-family: var(--hv2-serif);
  font-size: clamp(24px, 2.25vw, 34px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.hv2-sbar-lbl {
  display: block;
  font: 700 clamp(9px, 0.72vw, 10.5px)/1.22 var(--hv2-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8C9DA;
  white-space: normal;
}

.hv2-sbar-line {
  display: block;
  position: absolute;
  left: 18px;
  bottom: 6px;
  width: 64%;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #D5B159 0%, #E7C66A 75%, #C9A44C 100%);
  box-shadow: 0 0 12px rgba(231, 198, 106, 0.45);
  z-index: 2;
}

/* ---------- 7. ENTRANCE ANIMATION ---------- */
.hv2-rise {
  animation: hv2Rise 0.65s var(--hv2-ease) both;
  animation-delay: calc(var(--i, 0) * 0.07s);
}
@keyframes hv2Rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-rise { animation: none; }
}

/* ---------- 8. KEYBOARD FOCUS & DEMO TOAST ---------- */
.hv2-btn:focus-visible,
.hv2-dot:focus-visible,
.hv2-prev:focus-visible,
.hv2-next:focus-visible {
  outline: 2px solid var(--hv2-primary);
  outline-offset: 3px;
}

.hv2-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(23, 49, 32, 0.96);
  color: #fff;
  font: 600 12.5px var(--hv2-font);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s var(--hv2-ease), transform 0.3s var(--hv2-ease);
}
.hv2-toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =====================================================================
   9. RESPONSIVE BREAKPOINTS
   ===================================================================== */

/* Medium-wide laptops & split-screen preview panes (861px–1360px) */
@media (max-width: 1360px) {
  .hv2-dot {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 6px 4px;
  }
  .hv2-dot-thumb {
    width: 100%;
    height: 38px;
  }
  .hv2-dot-meta {
    align-items: center;
  }
}

/* Compact desktop / side-by-side preview window (861px–1140px): keep 2-column layout crisp */
@media (max-width: 1140px) and (min-width: 861px) {
  .hv2-in {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr);
    column-gap: 20px;
    row-gap: 14px;
  }
  .hv2-title {
    font-size: clamp(30px, 3.4vw, 40px);
  }
  .hv2-sub {
    font-size: 14.5px;
  }
  .hv2-pills li {
    font-size: 11.5px;
    padding: 4px 9px;
  }
  .hv2-btn {
    height: 46px;
    font-size: 13.5px;
  }
  .hv2-btn-primary {
    padding: 0 7px 0 18px;
  }
  .hv2-btn-primary .hv2-arrow {
    width: 34px;
    height: 34px;
  }
  .hv2-btn-ghost {
    padding: 0 12px 0 14px;
  }
  .hv2-strip.hv2-surface {
    padding: 12px 14px;
  }
  .hv2-lockup {
    height: 32px;
  }
  .hv2-accred {
    height: 24px;
  }
  .hv2-media {
    min-height: 290px;
  }
  .hv2-sbar-grid { gap: 10px; }
  .hv2-sbar-item { min-height: 143px; padding: 14px 10px; }
  .hv2-sbar-ic { width: 34px; height: 34px; }
  .hv2-sbar-val { font-size: clamp(25px, 2.8vw, 31px); }
  .hv2-sbar-lbl { font-size: 8.5px; letter-spacing: .055em; }
}

/* Tablets & phones (<= 860px): stack columns cleanly (Main -> Photo Showcase -> Brand Strip -> Stats) */
@media (max-width: 860px) {
  .hero.hv2 {
    min-height: 0;
    padding: clamp(88px, 10vh, 106px) 0 clamp(24px, 3.5vh, 34px);
  }
  .hv2-in {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "main"
      "showcase"
      "strip"
      "stats";
    gap: 18px;
  }
  .hv2-media {
    min-height: clamp(280px, 50vw, 400px);
  }
  .hv2-title {
    font-size: clamp(32px, 5vw, 44px);
  }
  .hv2-sub {
    max-width: 60ch;
  }
  .hv2-br {
    display: none;
  }
  .hv2-dot {
    flex-direction: row;
    text-align: left;
    padding: 6px;
  }
  .hv2-dot-thumb {
    width: 42px;
    height: 40px;
  }
  .hv2-dot-meta {
    align-items: flex-start;
  }
}

/* Phones */
@media (max-width: 720px) {
  .hero.hv2 {
    padding: 82px 0 22px;
  }
  .hv2-in {
    gap: 14px;
  }
  .hv2-eyebrow {
    font-size: 10px;
    padding: 4px 10px 4px 8px;
    margin-bottom: 8px;
  }
  .hv2-title {
    font-size: clamp(28px, 7.5vw, 35px);
    line-height: 1.06;
  }
  .hv2-sub {
    font-size: 14.5px;
    line-height: 1.46;
    margin-top: 8px;
  }
  .hv2-pills {
    gap: 5px;
    margin-top: 10px;
  }
  .hv2-pills li {
    font-size: 11px;
    padding: 4px 8px;
  }
  .hv2-pills li:nth-child(3) {
    display: none; /* keep pills on a single compact row on narrow phone screens */
  }
  .hv2-cta {
    width: 100%;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: nowrap;
  }
  .hv2-btn {
    height: 46px;
    font-size: 13.5px;
  }
  .hv2-btn-primary {
    flex: 1 1 auto;
    justify-content: space-between;
    padding-left: 16px;
  }
  .hv2-btn-primary .hv2-arrow {
    width: 32px;
    height: 32px;
  }
  .hv2-btn-ghost {
    flex: 0 0 auto;
    padding: 0 13px;
  }
  .hv2-btn-tag {
    display: none;
  }
  .hv2-stage-row {
    gap: 8px;
  }
  .hero.hv2 .hv2-soc.hv2-surface.glass {
    padding: 0;
    gap: 10px;
  }
  .hv2-soc a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  .hv2-soc svg {
    width: 18px;
    height: 18px;
  }
  .hv2-media {
    min-height: clamp(235px, 62vw, 300px);
    border-radius: 20px;
  }
  .hv2-stage-top {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .hv2-counter-pill {
    padding: 5px 10px;
    font-size: 11px;
  }
  .hv2-prev,
  .hv2-next {
    width: 32px;
    height: 32px;
  }
  .hv2-stage-bottom {
    left: 12px;
    right: 12px;
    bottom: 10px;
    gap: 6px;
  }
  .hv2-cap {
    font-size: 11.5px;
  }
  .hv2-cap-icon {
    width: 22px;
    height: 22px;
  }
  /* Compact review bar & supplied strip on mobile */
  .hv2-revbar.hv2-surface,
  .hero.hv2 .hv2-revbar.hv2-surface.glass {
    padding: 10px 12px;
    border-radius: 18px;
    min-height: 98px;
  }
  .hv2-rev-live {
    display: none;
  }
  .hv2-rev-card {
    width: 240px;
    padding: 7px 10px;
  }
  .hv2-strip.hv2-surface,
  .hero.hv2 .hv2-strip.hv2-surface.glass {
    padding: 12px 14px;
    border-radius: 18px;
  }
  .hv2-strip-badge {
    display: none;
  }
  .hv2-marks {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hv2-lockup {
    height: 34px;
  }
  .hv2-div {
    display: none;
  }
  .hv2-accred-wrap {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .hv2-pbadge {
    flex: 1 1 calc(33.33% - 6px);
  }
  .hv2-pbadge-svg {
    height: 30px;
  }
  /* Five separate raised cards: a two-column arrangement on phones. */
  .hv2-sbar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 6px; }
  .hv2-sbar-item { min-height: 128px; padding: 14px 10px; }
  .hv2-sbar-item:last-child { grid-column: 1 / -1; min-height: 118px; }
  .hv2-sbar-ic { width: 36px; height: 36px; }
  .hv2-sbar-val { font-size: 26px; }
  .hv2-sbar-lbl { font-size: 9px; letter-spacing: 0.08em; }
}

/* Very small phones */
@media (max-width: 350px) {
  .hv2-cta {
    flex-wrap: wrap;
  }
  .hv2-btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hv2-title {
    font-size: 26px;
  }
}
