/* =============================================
   DAKSHIN SOLAR POWER SYSTEMS — Stylesheet
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2a6c;
  --navy-dark:  #111d4a;
  --green:      #1a6b2e;
  --green-mid:  #2d9c3e;
  --green-light:#e8f5ec;
  --gold:       #f5a623;
  --gold-light: #fff4e0;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --transition: all 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text--gold { color: var(--gold); }

/* ---- Typography ---- */
.section__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green-mid);
  margin-bottom: .6rem;
}

.section__title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--lg { padding: .9rem 2rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn--block { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,107,46,.3);
}
.btn--primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,107,46,.4); }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn--whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.45); }

.btn--outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn--outline:hover { background: var(--green); color: var(--white); }

.btn--header {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(245,166,35,.35);
}
.btn--header:hover { background: #e09610; transform: translateY(-1px); }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.logo__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #43a047;
  letter-spacing: .04em;
}

.logo__sub {
  font-size: .58rem;
  font-weight: 700;
  color: #546e7a;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.logo--light .logo__name { color: #43a047; }
.logo--light .logo__sub  { color: var(--gold); }

/* Nav */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  gap: .15rem;
}

.nav__link {
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.nav__link:hover, .nav__link.active {
  color: var(--green);
  background: var(--green-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,18,50,.92) 0%,
    rgba(17,29,74,.82) 45%,
    rgba(20,80,35,.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 5rem;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,166,35,.2);
  border: 1px solid rgba(245,166,35,.5);
  color: var(--gold);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.01em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 500;
}

.trust-icon {
  color: var(--gold);
  font-size: 1rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  width: 26px;
  height: 26px;
  border-right: 3px solid rgba(255,255,255,.6);
  border-bottom: 3px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
  margin: 0 auto;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 2.5rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem .5rem;
  border-right: 1px solid rgba(255,255,255,.12);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  display: inline-block;
  line-height: 1;
}

.stat-unit {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--gray-50); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__img-stack {
  position: relative;
}

.about__img--main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about__img--accent {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
}

.about__badge-box {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--green);
  color: var(--white);
  padding: .7rem 1.2rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.about__badge-icon { font-size: 1.3rem; }

.about__image-col {
  position: relative;
  padding-bottom: 40px;
}

.about__lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about__body {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about__list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: var(--gray-700, #374151);
}

.check {
  width: 20px;
  height: 20px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us { background: var(--white); }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.why-card:hover::before { transform: scaleX(1); }

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.why-card__icon svg { width: 26px; height: 26px; }

.why-card__icon--gold  { background: var(--gold-light);  color: #c47d08; }
.why-card__icon--green { background: var(--green-light); color: var(--green); }
.why-card__icon--blue  { background: #e8eeff;            color: var(--navy); }
.why-card__icon--orange{ background: #fff0e8;            color: #c45418; }

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.why-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--gray-50); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img-wrap img {
  transform: scale(1.07);
}

.service-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,29,74,.85), transparent);
  color: var(--white);
  padding: 1rem 1rem .6rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.service-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.service-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.service-card__body p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card__link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--green);
  transition: var(--transition);
}

.service-card__link:hover { color: var(--green-mid); letter-spacing: .02em; }

/* =============================================
   SYSTEM COMPONENTS
   ============================================= */
.components { background: var(--white); }

.components__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.component-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.component-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-mid);
}

.component-card__img {
  height: 180px;
  overflow: hidden;
  background: var(--gray-100);
}

.component-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.component-card:hover .component-card__img img {
  transform: scale(1.07);
}

.component-card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  position: relative;
}

.component-card__num {
  position: absolute;
  top: -18px;
  left: 1.25rem;
  background: var(--green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .25rem .65rem;
  border-radius: 50px;
}

.component-card__body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  margin-top: .35rem;
  line-height: 1.35;
}

.component-card__body p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.components__cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.components__cta-strip > div {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.components__cta-strip strong {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
}

.components__cta-strip span {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

@media (max-width: 1024px) {
  .components__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .components__grid { grid-template-columns: 1fr; }
  .components__cta-strip { flex-direction: column; text-align: center; }
}

/* =============================================
   GALLERY
   ============================================= */
.gallery { background: var(--navy-dark); }

.gallery .section__eyebrow { color: var(--gold); }
.gallery .section__title   { color: var(--white); }
.gallery .section__sub     { color: rgba(255,255,255,.65); }

.gallery__filter {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: .5rem 1.4rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--transition);
  background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--gray-800);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,29,74,.9) 0%, transparent 100%);
  padding: 2rem 1rem .9rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item__info { transform: translateY(0); }

.gallery-item__info h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.gallery-item__info p {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 500;
}

.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__close:hover { background: rgba(255,255,255,.25); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 3rem;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.25); }

.lightbox__caption {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--green-light); }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 1rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.step__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: .5rem;
  -webkit-text-stroke: 2px var(--green-mid);
}

.step__icon {
  width: 56px;
  height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--white);
}

.step__icon svg { width: 26px; height: 26px; stroke: white; }

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.step p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  color: var(--green-mid);
  font-size: 2rem;
  font-weight: 300;
}

.step__connector::after {
  content: '→';
  color: var(--green);
  font-size: 2rem;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--white); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-mid);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: .05em;
}

.testimonial-card__text {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: .92rem;
  color: var(--navy);
}

.testimonial-card__author span {
  font-size: .8rem;
  color: var(--gray-400);
}

.testimonials__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  max-width: 400px;
  margin: 0 auto;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-600);
}

.google-stars { color: var(--gold); }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--gray-50); }

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.faq__text-col p { color: var(--gray-600); line-height: 1.7; }

.faq__questions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(26,107,46,.1);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: var(--transition);
  gap: 1rem;
}

.faq-item__q:hover { color: var(--green); }
.faq-item.open .faq-item__q { color: var(--green); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding: 0 1.25rem;
}

.faq-item.open .faq-item__a {
  max-height: 300px;
  padding: 0 1.25rem 1.1rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact .section__eyebrow { color: var(--gold); }
.contact .section__title   { color: var(--white); }
.contact > .container > .contact__info > p { color: rgba(255,255,255,.75); line-height: 1.7; }

.contact__info > p {
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: .5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--white);
}

.contact-detail:hover {
  background: rgba(255,255,255,.13);
  transform: translateX(4px);
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon--green { background: #25d366; }
.contact-detail__icon svg { width: 18px; height: 18px; fill: white; }

.contact-detail span {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .1rem;
}

.contact-detail strong {
  font-size: .97rem;
  font-weight: 600;
}

/* Contact Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.contact__form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,46,.12);
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: .75rem;
}

.form-success {
  display: none;
  text-align: center;
  background: var(--green-light);
  color: var(--green);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: .85rem;
  font-weight: 600;
  font-size: .9rem;
  margin-top: 1rem;
}

.form-success.show { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__tagline {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .75rem;
  margin-bottom: .6rem;
}

.footer__desc {
  font-size: .88rem;
  line-height: 1.65;
}

.footer__links h4,
.footer__services h4,
.footer__contact h4 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer__links ul,
.footer__services ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__links a,
.footer__services li {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer__links a:hover { color: var(--gold); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.7);
}

.footer__contact-item svg { flex-shrink: 0; opacity: .7; }
.footer__contact-item a:hover { color: var(--gold); }

.footer__guarantees {
  background: var(--green);
  padding: 1.25rem 0;
}

.footer__guarantees-inner {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
}

.guarantee__icon { font-size: 1.1rem; }

.footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--transition);
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: var(--white);
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 900;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { background: var(--green); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3) { border-right: none; }
  .why-us__grid  { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step__connector { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); padding: 1rem; box-shadow: var(--shadow-lg); }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: .75rem 1rem; display: block; }

  .btn--header { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .hero__content { max-width: 100%; }
  .hero__ctas { flex-direction: column; }
  .hero__trust { flex-direction: column; gap: .75rem; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item:nth-child(5) { border-right: none; }

  .about__inner { grid-template-columns: 1fr; }
  .about__img--accent { display: none; }
  .about__badge-box { left: 0; }

  .why-us__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .testimonials__grid { grid-template-columns: 1fr; }

  .faq__inner { grid-template-columns: 1fr; gap: 2rem; }

  .contact__inner { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }

  .footer__guarantees-inner { gap: 1rem; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2rem; }
  .contact__form-wrap { padding: 1.5rem; }
}

/* =============================================
   PM SURYA GHAR SECTION
   ============================================= */
.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245,166,35,.4);
}
.btn--gold:hover { background: #e09610; transform: translateY(-2px); }

.surya-ghar {
  background: linear-gradient(135deg, #0a3d1a 0%, #1a6b2e 60%, #0d5c22 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.surya-ghar::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(245,166,35,.08);
  border-radius: 50%;
}

.surya-ghar__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.surya-ghar__scheme-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,166,35,.2);
  border: 1px solid rgba(245,166,35,.5);
  color: var(--gold);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.surya-ghar__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .9rem;
}

.surya-ghar__title span { color: var(--gold); }

.surya-ghar__desc {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.surya-ghar__savings {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sg-saving {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.sg-saving__amount {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.sg-saving__label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.surya-ghar__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.surya-ghar__urgency {
  background: rgba(220,38,38,.15);
  border: 2px solid rgba(220,38,38,.5);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.urgency-icon { font-size: 2rem; }

.urgency-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fca5a5;
}

.urgency-date {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.urgency-date sup { font-size: .7rem; }

.urgency-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  margin-top: .15rem;
}

.surya-ghar__offer {
  width: 100%;
}

.offer-highlight {
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.offer-top {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.offer-years {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.offer-bottom {
  font-size: .95rem;
  color: var(--white);
}

.offer-bottom strong { color: var(--gold); }

/* =============================================
   LOAN SECTION
   ============================================= */
.loan-section { background: var(--gray-50); }

.loan-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.loan-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.loan-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green);
}

.loan-step__num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-step__icon { font-size: 2rem; margin-bottom: .6rem; }

.loan-step h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.loan-step p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.loan-connector {
  font-size: 1.5rem;
  color: var(--green-mid);
  padding: 0 .5rem;
  font-weight: 700;
}

.loan-cta-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.loan-cta-bar__text {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
}

.loan-cta-bar__text strong { color: var(--gold); }

/* =============================================
   FOOTER REFER & EARN
   ============================================= */
.footer__refer { margin-top: 1rem; }

.footer__refer-box {
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.footer__refer-box strong { color: var(--gold); }

.footer__refer-btn {
  display: inline-block;
  margin-top: .6rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: .35rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 700;
  transition: var(--transition);
}

.footer__refer-btn:hover { background: #e09610; }

/* =============================================
   REFER & EARN SECTION
   ============================================= */
.refer-earn { background: var(--white); }

.refer__how {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.refer-step {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.refer-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-mid);
}

.refer-step__icon { font-size: 2.2rem; margin-bottom: .5rem; }

.refer-step__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.refer-step p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.refer-arrow {
  font-size: 1.8rem;
  color: var(--green-mid);
  font-weight: 700;
  padding: 0 .5rem;
}

.refer__rewards {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.refer-reward {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.refer-reward:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

.refer-reward--highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border: 2px solid var(--gold);
  transform: scale(1.03);
}

.refer-reward--highlight:hover { transform: scale(1.03) translateY(-5px); }
.refer-reward--highlight h4 { color: var(--gold); }
.refer-reward--highlight p { color: rgba(255,255,255,.8); }

.refer-reward__emoji { font-size: 2.5rem; margin-bottom: .75rem; }

.refer-reward__rupee {
  width: 56px; height: 56px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}

.refer-reward h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.refer-reward p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.refer-reward__tag {
  display: inline-block;
  margin-top: .75rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.refer__subsidy-strip {
  background: var(--green-light);
  border: 1px solid rgba(26,107,46,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.refer-subsidy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.refer-subsidy-item__icon { font-size: 1.8rem; }

.refer-subsidy-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
}

.refer-subsidy-item span {
  display: block;
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: .1rem;
}

.refer-subsidy-divider {
  width: 1px;
  height: 50px;
  background: rgba(26,107,46,.25);
}

.refer__cta {
  background: linear-gradient(135deg, #1a6b2e 0%, #2d9c3e 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.refer__cta-headline {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .3rem;
}

.refer__cta-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}

/* Responsive for new sections */
@media (max-width: 768px) {
  .surya-ghar__inner { grid-template-columns: 1fr; gap: 2rem; }
  .surya-ghar__savings { gap: .75rem; }
  .loan-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .loan-connector { display: none; }
  .loan-cta-bar { flex-direction: column; text-align: center; }
  .refer__how { grid-template-columns: 1fr; gap: 1rem; }
  .refer-arrow { display: none; }
  .refer__rewards { grid-template-columns: 1fr; }
  .refer-reward--highlight { transform: none; }
  .refer__subsidy-strip { flex-direction: column; gap: 1rem; }
  .refer-subsidy-divider { width: 100%; height: 1px; }
  .refer__cta { flex-direction: column; text-align: center; padding: 1.75rem; }
}

@media (max-width: 1024px) {
  .loan-steps { grid-template-columns: repeat(2, 1fr); }
  .loan-connector { display: none; }
  .refer__how { grid-template-columns: repeat(2, 1fr); }
  .refer-arrow { display: none; }
  .refer__rewards { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* =============================================
   MOBILE-FIRST IMPROVEMENTS
   ============================================= */

/* Sticky bottom action bar — mobile only */
.mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {

  /* ---- Bottom action bar ---- */
  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1100;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    padding: .65rem 1rem;
    gap: .75rem;
  }

  .mobile-action-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem .5rem;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-action-bar a svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
  }

  .mobile-action-bar__call {
    background: var(--green);
    color: var(--white);
  }

  .mobile-action-bar__whatsapp {
    background: #25d366;
    color: var(--white);
  }

  /* Push page content above the bar */
  body { padding-bottom: 70px; }

  /* Hide the floating WhatsApp button on mobile — bar replaces it */
  .whatsapp-float { display: none; }
  .back-to-top { bottom: 5.5rem; }

  /* ---- Hero mobile overhaul ---- */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
  }

  .hero__content {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .hero__badge {
    font-size: .75rem;
    padding: .35rem .85rem;
  }

  .hero__title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: .95rem;
    margin-bottom: 1.75rem;
  }

  .hero__ctas {
    flex-direction: row;
    gap: .65rem;
  }

  .hero__ctas .btn--lg {
    flex: 1;
    justify-content: center;
    padding: .85rem .5rem;
    font-size: .9rem;
    border-radius: var(--radius);
  }

  .hero__trust {
    gap: .6rem;
  }

  .trust-item {
    font-size: .8rem;
  }

  /* ---- Stats bar ---- */
  .stats-bar { padding: 1.5rem 0; }
  .stat-number { font-size: 1.8rem; }
  .stat-unit { font-size: 1rem; }
  .stat-label { font-size: .7rem; }

  /* ---- Section headings ---- */
  .section__title { font-size: 1.5rem; }
  .section__sub { font-size: .92rem; margin-bottom: 2rem; }

  /* ---- Cards touch targets ---- */
  .why-card,
  .service-card,
  .component-card,
  .testimonial-card {
    border-radius: var(--radius);
  }

  /* ---- Component cards ---- */
  .component-card__img { height: 160px; }

  /* ---- Gallery ---- */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-item { aspect-ratio: 1/1; }

  /* ---- Steps ---- */
  .step { padding: 1.5rem 1.25rem; }

  /* ---- Surya ghar ---- */
  .surya-ghar { padding: 2.5rem 0; }
  .surya-ghar__title { font-size: 1.6rem; }

  /* ---- Contact form ---- */
  .contact__form-wrap { border-radius: var(--radius-lg); }

  /* ---- Footer ---- */
  .footer__guarantees-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    justify-items: start;
  }
}
