/* ==========================================================================
   VARIANT 4: SWITCH TO SOLAR. SAVE MORE. BUILD A BETTER FUTURE. (ORANGE STORY)
   Matches Column 4 of Reference Mockup + Rich Storytelling & Climate Metrics:
   - Hero with Family & Rooftop Solar
   - 4 Orange Icon Pills Trust Strip
   - Real Projects. Real Impact. (3 Case Study Cards with Metric Badges)
   - Solutions for Every Need (6 Icon Boxes)
   - NEW: Visual Story Gallery: Odisha Solar Transformations (4 Photo Cards)
   - Real Environmental Impact Dashboard
   - Founder's Story & 11-Year Mission
   - Visit Our Waaree Experience Center (Orange Banner)
   - What Our Customers Say (Testimonial Cards with 5-Stars)
   - Full-Width Orange Bottom CTA Bar
   ========================================================================== */

:root {
  --v4-orange: #F37021;
  --v4-orange-dark: #D95D12;
  --v4-orange-soft: #FFF4EC;
  --v4-navy: #0C2340;
}

/* 1. Editorial Storytelling & Climate Impact Hero */
.v4-ref-hero {
  padding: 80px 0 85px 0;
  background: radial-gradient(circle at 85% 15%, rgba(243, 112, 33, 0.06) 0%, rgba(255, 255, 255, 1) 60%), #FFFFFF;
  border-bottom: 1px solid var(--vhn-border);
  position: relative;
  overflow: hidden;
}

.v4-ref-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.v4-ref-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  font-weight: 800;
  color: var(--v4-navy);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.v4-ref-hero-title span {
  color: var(--v4-orange);
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.v4-ref-hero-sub {
  font-size: 1.16rem;
  color: var(--vhn-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

/* Multi-Layer Asymmetric Hero Visual */
.v4-hero-story-collage {
  position: relative;
  padding: 20px 0;
}

.v4-hero-main-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(12, 35, 64, 0.16);
  aspect-ratio: 4/3;
  background: #FAFAFC;
  border: 1.5px solid var(--vhn-border);
}

.v4-hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Impact Story Cards */
.v4-story-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 14px 20px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(12, 35, 64, 0.14);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v4-badge-top-right {
  top: 0;
  right: -12px;
}

.v4-badge-bottom-left {
  bottom: 0;
  left: -16px;
}

/* 2. 4 Orange Icon Pills Trust Strip */
.v4-trust-pills-strip {
  background: #FAFAFC;
  border-bottom: 1px solid var(--vhn-border);
  padding: 24px 0;
}

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

.v4-trust-pill-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  box-shadow: var(--shadow-xs);
}

.v4-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v4-orange-soft);
  color: var(--v4-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.v4-pill-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--v4-navy);
}

/* 3. Real Projects. Real Impact. (3 Cards Grid) */
.v4-projects-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.v4-impact-proj-card {
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

.v4-impact-proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--v4-orange);
}

.v4-impact-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.v4-impact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.v4-impact-proj-card:hover .v4-impact-thumb img {
  transform: scale(1.06);
}

.v4-impact-body {
  padding: 24px 20px;
}

.v4-impact-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--v4-navy);
  margin-bottom: 4px;
}

.v4-impact-stat-chip {
  display: inline-block;
  background: var(--v4-orange-soft);
  color: var(--v4-orange-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

/* 4. Solutions for Every Need (6 Clean Icon Boxes) */
.v4-solutions-6icons-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.v4-sol-mini-box {
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: 16px;
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--trans-normal);
}

.v4-sol-mini-box:hover {
  border-color: var(--v4-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.v4-mini-icon {
  font-size: 1.8rem;
}

.v4-mini-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v4-navy);
}

/* 5. NEW: Visual Story Gallery: Odisha Solar Transformations */
.v4-story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.v4-story-card {
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

.v4-story-card:hover {
  border-color: var(--v4-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.v4-story-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #FAFAFC;
}

.v4-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.v4-story-card:hover .v4-story-photo img {
  transform: scale(1.06);
}

.v4-story-body {
  padding: 26px;
}

.v4-story-tag {
  display: inline-block;
  background: var(--v4-orange-soft);
  color: var(--v4-orange-dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.v4-story-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--v4-navy);
  margin-bottom: 8px;
}

.v4-story-snippet {
  font-size: 0.92rem;
  color: var(--vhn-text-muted);
  line-height: 1.6;
}

/* 6. Environmental Impact Dashboard */
.v4-impact-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.v4-impact-counter-card {
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--trans-normal);
}

.v4-impact-counter-card:hover {
  border-color: #10B981;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.v4-impact-icon-badge {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.v4-impact-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--v4-navy);
  margin-bottom: 4px;
}

.v4-impact-lbl {
  font-size: 0.88rem;
  color: var(--vhn-text-muted);
  font-weight: 600;
}

/* 7. Founder's Story & Mission */
.v4-mission-box {
  background: #FAFAFC;
  border: 1px solid var(--vhn-border);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

.v4-mission-quote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--v4-navy);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* 8. Experience Center Orange Banner */
.v4-ec-orange-banner {
  background: var(--v4-orange);
  color: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  margin-top: 40px;
}

.v4-ec-orange-content {
  padding: 48px;
}

.v4-ec-orange-photo {
  height: 100%;
  min-height: 360px;
}

.v4-ec-orange-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 9. What Our Customers Say (Testimonial Cards) */
.v4-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.v4-testi-card {
  background: #FFFFFF;
  border: 1px solid var(--vhn-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v4-testi-stars {
  color: #FFB300;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.v4-testi-quote {
  font-size: 1rem;
  color: var(--v4-navy);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 20px;
}

.v4-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.v4-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v4-orange-soft);
  color: var(--v4-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.v4-author-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--v4-navy);
  font-size: 0.95rem;
}

.v4-author-loc {
  font-size: 0.82rem;
  color: var(--vhn-text-muted);
}

/* 10. Orange Bottom CTA Bar */
.v4-bottom-cta {
  background: var(--v4-orange);
  color: #FFFFFF;
  padding: 40px 0;
}

.v4-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 1024px) {
  .v4-ref-hero-grid,
  .v4-ec-orange-banner,
  .v4-mission-box,
  .v4-story-gallery-grid,
  .v4-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .v4-trust-pills-grid,
  .v4-projects-3grid,
  .v4-impact-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v4-solutions-6icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .v4-ref-hero {
    padding: 40px 0 50px 0;
  }
  .v4-ref-hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem) !important;
    line-height: 1.2 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    margin-bottom: 14px !important;
  }
  .v4-ref-hero-sub {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }
  .v4-ref-hero div:has(> .btn-lg) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .v4-ref-hero .btn-lg {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .v4-story-float-badge {
    position: static !important;
    margin-top: 10px !important;
    width: 100% !important;
  }
  .v4-trust-pills-grid,
  .v4-projects-3grid,
  .v4-story-gallery-grid,
  .v4-impact-dashboard-grid,
  .v4-solutions-6icons-grid {
    grid-template-columns: 1fr;
  }
  .v4-ec-orange-content {
    padding: 28px 20px !important;
  }
  .v4-mission-box {
    padding: 28px 20px !important;
  }
  .v4-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .v4-cta-inner div:has(> .btn) {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .v4-cta-inner .btn {
    width: 100% !important;
  }
}
