/* =========================================
   SWARA SOLAR — Fixed & Improved Stylesheet
   Version 3.0 — Modern Clean UI & Responsive Design
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES — Refined Solar Brand Palette
   ============================================================ */
:root {
  --green:       #16a34a;
  --green-dark:  #14532d;
  --green-mid:   #166534;
  --green-light: #22c55e;
  --green-pale:  #f0fdf4;
  --green-pale2: #dcfce7;
  --amber:       #f59e0b;
  --amber-dark:  #d97706;
  --amber-light: #fef3c7;
  --white:       #ffffff;
  --off-white:   #f9fafb;
  --slate-50:    #f8fafc;
  --slate-100:   #f1f5f9;
  --slate-200:   #e2e8f0;
  --slate-500:   #64748b;
  --slate-700:   #334155;
  --dark:        #0f1a0f;
  --text:        #1a2e1c;
  --text-muted:  #4b5563;
  --border:      #d1fae5;
  --border-dark: #bbf7d0;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(22,101,52,0.10);
  --shadow-md:  0 8px 32px rgba(22,101,52,0.14);
  --shadow-lg:  0 20px 60px rgba(22,101,52,0.18);
  --shadow-amber: 0 4px 20px rgba(245,158,11,0.30);

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --navbar-h:  68px;

  /* Typography scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.22;
  color: var(--dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin-bottom: 1em; color: var(--text-muted); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container  { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.text-center { text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(22,163,74,0.35);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(22,163,74,0.42);
}
.btn-yellow {
  background: var(--amber);
  color: #1a1a00;
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
  font-weight: 800;
}
.btn-yellow:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--green-mid);
  border-color: rgba(255,255,255,0.9);
  font-weight: 700;
}
.btn-white:hover { background: var(--green-pale); color: var(--green-dark); }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm  { padding: 9px 18px; font-size: 0.88rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.w-full  { width: 100%; justify-content: center; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mt-32   { margin-top: 32px; }
.mt-48   { margin-top: 48px; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-pale);
  color: var(--green-mid);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--border-dark);
}
.section-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.section-title { margin-bottom: 14px; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
}
.text-center .section-subtitle { margin: 0 auto; }
.highlight        { color: var(--green); }
.highlight-amber  { color: var(--amber-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.navbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.35rem;
  color: var(--green-dark);
  flex-shrink: 0;
  text-decoration: none;
}
.navbar-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.navbar-logo .logo-fallback {
  display: flex; align-items: center; gap: 9px;
}
.navbar-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(22,163,74,0.35);
}
.navbar-logo .brand-name { color: var(--green-dark); }
.navbar-logo .brand-name span { color: var(--amber-dark); }

.navbar-nav { display: flex; align-items: center; gap: 2px; }
.nav-item   { position: relative; }
.nav-link {
  display: block; padding: 8px 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  color: var(--slate-700); border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--green);
  background: var(--green-pale);
}

.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: white;
  border-radius: var(--radius-lg);
  min-width: 210px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--slate-200);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--slate-700);
  transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--green-pale); color: var(--green); }

.navbar-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar-cta .phone-link {
  display: flex; align-items: center; gap: 5px;
  color: var(--green-mid); font-weight: 700; font-size: 0.88rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  cursor: pointer; flex-shrink: 0;
  padding: 2px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1), .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2), .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3), .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h); left: 0; right: 0;
  bottom: 0;
  background: white;
  z-index: 998;
  overflow-y: auto;
  padding: 16px 20px 32px;
  border-top: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.is-open, .mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--slate-100);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  color: var(--text); border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--green); background: var(--green-pale); }
.mobile-menu-cta {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}

.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 997;
  top: var(--navbar-h);
}
.mobile-overlay.is-open, .mobile-overlay.open { display: block; }

.page-offset { padding-top: var(--navbar-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(145deg, #0d1f0f 0%, #1a3d1f 45%, #0f2a14 100%);
  position: relative; overflow: hidden;
  padding-top: var(--navbar-h);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(22,163,74,0.18) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2322c55e' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 52px; align-items: center;
  min-height: calc(100vh - var(--navbar-h));
  padding: 56px 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  color: #fbbf24;
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  color: white;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--amber); }
.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem; margin-bottom: 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex; gap: 28px; margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.9rem;
  color: var(--amber); line-height: 1;
}
.hero-stat-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem; margin-top: 3px;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px; width: 100%; max-width: 400px;
}
.hero-card-title {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.savings-display {
  text-align: center; padding: 22px;
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  border-radius: var(--radius); margin-bottom: 18px;
}
.savings-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900; font-size: 2.6rem; color: white;
}
.savings-label { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-top: 4px; }
.hero-card-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.78); font-size: 0.9rem;
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-item::before {
  content: '✓';
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber); color: #1a1000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.7rem; flex-shrink: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--green-mid); padding: 18px 0; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  color: white; padding: 6px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.1rem; flex-shrink: 0; }
.trust-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.88rem; white-space: nowrap; }

/* ============================================================
   CARDS & SERVICES
   ============================================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.card-body { padding: 28px; }
.card-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
  border: 1px solid var(--border-dark);
}

.service-card-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--slate-100);
  position: relative; overflow: hidden;
}
.service-card:nth-child(1) .service-card-img { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.service-card:nth-child(2) .service-card-img { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.service-card:nth-child(3) .service-card-img { background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.service-card-body { padding: 24px; }
.service-card h3 { margin-bottom: 9px; font-size: 1.2rem; }
.service-card p { color: var(--text-muted); margin-bottom: 18px; font-size: 0.92rem; }
.service-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-mid); padding: 3px 11px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.service-price {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.service-price-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.15rem; color: var(--green);
}
.service-price-sub { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   STATS
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-block {
  text-align: center; padding: 28px 16px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-block:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900; font-size: 2.25rem;
  color: var(--green); margin-bottom: 6px; line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
  padding: 32px; position: relative; transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-dark); }
.testimonial-quote-mark {
  position: absolute; top: 14px; right: 24px;
  font-family: Georgia, serif; font-size: 3.5rem; line-height: 1;
  color: var(--green-pale2); font-weight: 800; z-index: 0;
}
.testimonial-stars { color: var(--amber); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 22px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.9rem;
}
.testimonial-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.92rem; }
.testimonial-location { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card-img {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: linear-gradient(135deg, var(--green-pale), var(--green-pale2));
  border-bottom: 1px solid var(--slate-100);
}
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; gap: 14px; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 10px; }
.blog-tag {
  display: inline-block; background: var(--amber-light); color: var(--amber-dark);
  padding: 3px 11px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.03em; margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.read-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--green); font-weight: 700; font-size: 0.88rem;
  transition: var(--transition);
}
.read-more:hover { gap: 8px; color: var(--green-dark); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  background: white; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--border-dark); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 0.98rem;
}
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-pale); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--green); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 22px; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-item {
  background: white; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-md); border-color: var(--border-dark); transform: translateY(-4px); }
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step-item h4 { margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; padding: 64px 0; text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1.02rem; }

/* ============================================================
   PAGE HERO (inner pages) & BREADCRUMB
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; padding: 44px 0 40px;
}
.page-hero h1 { color: white; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 640px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--amber); }

/* ============================================================
   BENEFIT ITEMS
   ============================================================ */
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--green-pale); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; border: 1px solid var(--border-dark);
}
.benefit-text h4 { margin-bottom: 4px; }
.benefit-text p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   CONTACT INFO CARD
   ============================================================ */
.contact-info-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; border-radius: var(--radius-lg); padding: 32px;
}
.contact-info-card h3 { color: white; margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* Misc utility */
.bg-light { background: var(--slate-50); }
.hero-stat { min-width: 88px; }

/* ============================================================
   CALCULATOR — ENHANCED RANGE SLIDER STYLES
   ============================================================ */
.calculator-section { background: var(--slate-50); }
.calculator-card {
  background: white; border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-md);
}
.calc-form-group { margin-bottom: 20px; }
.calc-label { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; }
.calc-input, .calc-select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--slate-200);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
  transition: var(--transition); background: white;
}
.calc-input:focus, .calc-select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.1); }

/* Interactive Range Slider styling */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--slate-200);
  outline: none;
  margin: 12px 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22,163,74,0.4);
  transition: transform 0.15s ease;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: white; border-radius: var(--radius-lg); padding: 28px; margin-top: 24px;
}
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.calc-result-item { background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 14px; }
.calc-result-label { font-size: 0.76rem; opacity: 0.78; margin-bottom: 5px; }
.calc-result-value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.35rem; }

/* ============================================================
   CONTACT FORM & POPUP
   ============================================================ */
.contact-form {
  background: white; border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius); font-size: 0.95rem;
  transition: var(--transition); background: var(--off-white); color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(22,163,74,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; display: flex; align-items: center;
  justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup {
  background: white; border-radius: var(--radius-xl); padding: 36px;
  max-width: 460px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  transform: scale(0.92); transition: var(--transition);
  position: relative;
}
.popup-overlay.active .popup { transform: scale(1); }
.popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--slate-100); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition); color: var(--slate-500);
}
.popup-close:hover { background: var(--slate-200); }

/* Floating WhatsApp & Call Buttons */
.float-buttons {
  position: fixed; bottom: 24px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  transition: var(--transition); font-size: 1.3rem;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa   { background: #25D366; color: white; }
.float-call { background: var(--green); color: white; }
.float-btn-wrap { position: relative; display: flex; align-items: center; }
.float-label {
  position: absolute; right: 62px; white-space: nowrap;
  background: var(--dark); color: white; font-size: 0.78rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; opacity: 0; visibility: hidden;
  transform: translateX(6px); transition: var(--transition); pointer-events: none;
}
.float-btn-wrap:hover .float-label { opacity: 1; visibility: visible; transform: translateX(0); }

/* ============================================================
   FOOTER & RESPONSIVE
   ============================================================ */
.footer { background: #0d1f0f; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 44px; padding-bottom: 44px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.3rem; color: white;
  margin-bottom: 14px;
}
.footer-logo img { height: 38px; width: auto; object-fit: contain; }
.footer-logo .brand-name span { color: var(--amber); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase; color: white;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--amber); color: var(--dark); transform: translateY(-2px); }

.footer-col h5 {
  color: white; font-size: 1rem; font-weight: 700; margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: var(--amber); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.87rem; }
.footer-contact-item a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--amber); }
.footer-contact-icon { font-size: 1rem; line-height: 1.5; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 12px; padding: 22px 0; gap: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--amber); }
.footer-cert { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-credit a { color: var(--amber-light); font-weight: 600; }

.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .navbar-cta .phone-link { display: none; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 62px; }
  .section    { padding: 52px 0; }
  .navbar-nav { display: none !important; }
  .hamburger  { display: flex !important; }
  .mobile-menu { display: block; }
  .hero-inner  { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 48px; text-align: center; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-result-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 18px; }
  .stat-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn-lg { padding: 13px 24px; font-size: 0.95rem; }
  .cta-banner { padding: 48px 0; }
  .cta-banner h2, .page-hero h1 { font-size: 1.5rem; }
  .float-label { display: none; }
  .testimonial-card, .contact-form, .contact-info-card { padding: 24px; }
}

@media print { .navbar, .float-buttons, .popup-overlay, .mobile-menu { display: none !important; } }

/* ═══════════════════════════════
   LANGUAGE SWITCHER — dropdown + first-visit modal
   ═══════════════════════════════ */

/* Desktop nav dropdown (reuses .nav-dropdown, narrowed and right-aligned
   since the language item sits at the far right of the navbar) */
.lang-dropdown { min-width: 140px; left: auto; right: 0; }
.lang-switch > a[aria-haspopup] { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.lang-dropdown a[aria-current="true"] { background: var(--green-pale); color: var(--green); }

/* Mobile menu — compact pill switcher instead of plain piped links.
   The mobile menu panel has a white background (.mobile-menu a is dark
   text on white), so these pills use the same green-on-pale styling as
   the language modal buttons rather than the dark-nav look. Selectors
   use two classes (.mobile-lang-switch .mobile-lang-pill) so they
   reliably beat the higher-specificity ".mobile-menu a" base rule. */
.mobile-lang-switch {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  padding: 14px 0 18px; margin-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
}
.mobile-lang-switch .mobile-lang-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  background: var(--green-pale); color: var(--green-dark);
  text-decoration: none; border: 1.5px solid var(--border-dark);
  transition: var(--transition);
}
.mobile-lang-switch .mobile-lang-pill:hover,
.mobile-lang-switch .mobile-lang-pill.active {
  background: var(--green); color: #fff; border-color: var(--green);
}

/* First-visit language prompt */
.lang-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,26,15,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity 0.25s ease;
}
.lang-modal-overlay.is-open { opacity: 1; }
.lang-modal {
  position: relative; width: 100%; max-width: 380px;
  background: #fff; border-radius: var(--radius-xl);
  padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.25s ease;
}
.lang-modal-overlay.is-open .lang-modal { transform: translateY(0) scale(1); }
.lang-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--slate-500);
}
.lang-modal-close:hover { background: var(--slate-100); color: var(--text); }
.lang-modal-icon { font-size: 2.2rem; margin-bottom: 8px; }
.lang-modal h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem; line-height: 1.5; color: var(--text);
  margin-bottom: 22px;
}
.lang-modal-options { display: flex; flex-direction: column; gap: 10px; }
.lang-modal-options button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 13px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--border-dark);
  background: var(--green-pale); color: var(--green-dark);
  font-weight: 700; font-size: 0.98rem; cursor: pointer;
  transition: var(--transition);
}
.lang-modal-options button:hover { background: var(--green); color: #fff; border-color: var(--green); }

@media (max-width: 480px) {
  .lang-modal { padding: 28px 22px; }
}

/* ============================================================
   LEAD FORMS — refined fields, states and success panel
   ============================================================ */
.contact-form {
  position: relative; overflow: hidden;
  padding: 44px 40px 36px;
  border-color: var(--slate-200);
  box-shadow: 0 1px 2px rgba(15,26,15,0.04), 0 18px 48px -12px rgba(22,101,52,0.22);
}
.contact-form::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--green-dark), var(--green) 55%, var(--amber));
}
.contact-form h3 { font-size: 1.6rem; letter-spacing: -0.01em; }

.form-group { margin-bottom: 20px; }
.form-label { color: var(--slate-700); font-size: 0.86rem; letter-spacing: 0.01em; }

.form-control {
  padding: 14px 16px; min-height: 52px;
  border: 1.5px solid var(--slate-200); border-radius: 12px;
  background-color: var(--white); font-size: 1rem; font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.form-control::placeholder { color: #9aa5b1; }
.form-control:hover { border-color: #b6c2cf; }
.form-control:focus {
  border-color: var(--green); background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(22,163,74,0.14);
}
textarea.form-control { min-height: 112px; resize: vertical; line-height: 1.55; }

/* Custom select arrow */
select.form-control {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 46px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23166534' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select.form-control:has(option[value=""]:checked) { color: #9aa5b1; }
select.form-control option { color: var(--text); }

/* +91 prefix on the mobile number field */
input[type=tel].form-control {
  padding-left: 62px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='24' viewBox='0 0 52 24'%3E%3Ctext x='2' y='17' font-family='system-ui,-apple-system,Segoe UI,Roboto,sans-serif' font-size='15' font-weight='600' fill='%2364748b'%3E%2B91%3C/text%3E%3Cpath d='M43 3v18' stroke='%23e2e8f0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px center; background-size: 52px 24px;
}
input[type=tel].form-control::placeholder { letter-spacing: 0; }

/* Validation states */
.form-control.is-invalid { border-color: #dc2626; background-color: #fef2f2; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220,38,38,0.14); }
input.form-control.is-valid:not([type=tel]), textarea.form-control.is-valid { border-color: var(--green-light); }
input[type=tel].form-control.is-valid {
  border-color: var(--green-light);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='24' viewBox='0 0 52 24'%3E%3Ctext x='2' y='17' font-family='system-ui,-apple-system,Segoe UI,Roboto,sans-serif' font-size='15' font-weight='600' fill='%2364748b'%3E%2B91%3C/text%3E%3Cpath d='M43 3v18' stroke='%23e2e8f0' stroke-width='1.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  background-position: 14px center, right 14px center; background-size: 52px 24px, 18px;
}
.field-error {
  margin-top: 6px; font-size: 0.8rem !important; font-weight: 600;
  color: #dc2626 !important; line-height: 1.3;
}
.popup .field-error { margin-top: -6px; }

/* Submit button */
form[data-validate] [type=submit] {
  justify-content: center; min-height: 56px; margin-top: 4px;
  font-size: 1.02rem; border-radius: 14px;
}
form[data-validate] [type=submit]:disabled { cursor: progress; opacity: 0.9; transform: none; }
.btn.is-loading::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: formSpin 0.7s linear infinite;
}
@keyframes formSpin { to { transform: rotate(360deg); } }

/* Send-failure banner */
.form-alert {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  font-size: 0.9rem; font-weight: 500; line-height: 1.45;
}
.form-alert[hidden] { display: none; }
.form-alert::before { content: '!'; flex: 0 0 20px; height: 20px; border-radius: 50%; background: #dc2626; color: #fff; font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }

/* Success panel */
form.is-sent > :not(.form-success) { display: none !important; }
.form-success { text-align: center; padding: 28px 8px 12px; }
.form-success[hidden] { display: none; }
.form-success-icon {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--green-pale2); display: flex; align-items: center; justify-content: center;
  animation: formPop 0.45s cubic-bezier(0.34,1.56,0.64,1) both;
}
.form-success-icon svg { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.form-success-icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: formDraw 0.55s 0.1s ease-out forwards; }
.form-success-icon path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: formDraw 0.3s 0.55s ease-out forwards; }
@keyframes formDraw { to { stroke-dashoffset: 0; } }
@keyframes formPop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success-title { font-size: 1.45rem; margin-bottom: 8px; color: var(--green-dark); }
.form-success-text { color: var(--text-muted); max-width: 34ch; margin: 0 auto 22px; line-height: 1.6; }
.form-success-again {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.92rem;
  color: var(--green-mid); background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 10px; text-decoration: underline; text-underline-offset: 4px;
}
.form-success-again:hover { background: var(--green-pale); }
.form-success-again:focus-visible, form[data-validate] [type=submit]:focus-visible { outline: 3px solid rgba(22,163,74,0.45); outline-offset: 3px; }

/* Popup polish */
.popup { padding: 40px 34px 30px; overflow: hidden; }
.popup::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--green-dark), var(--green) 55%, var(--amber));
}
.popup-close { width: 36px; height: 36px; top: 16px; right: 16px; border: 0; }

@media (max-width: 640px) {
  .contact-form { padding: 34px 20px 26px; }
  .contact-form h3 { font-size: 1.35rem; }
  .popup { padding: 36px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .form-success-icon, .form-success-icon circle, .form-success-icon path { animation: none; stroke-dashoffset: 0; }
  .btn.is-loading::before { animation-duration: 1.6s; }
}

/* ============================================================
   SITE-WIDE POLISH LAYER
   Sun-and-panel motif (amber glow + fine cell grid) on every dark
   band, larger type, calmer cards, consistent focus states.
   ============================================================ */
:root {
  --panel-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23ffffff' stroke-opacity='0.07'/%3E%3C/svg%3E");
  --panel-grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0v28' fill='none' stroke='%23166534' stroke-opacity='0.10'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(15,26,15,0.04), 0 10px 28px -14px rgba(22,101,52,0.22);
  --shadow-card-hover: 0 2px 4px rgba(15,26,15,0.05), 0 26px 48px -18px rgba(22,101,52,0.34);
}

::selection { background: var(--amber); color: #1a1000; }
:focus-visible { outline: 3px solid rgba(245,158,11,0.75); outline-offset: 3px; border-radius: 6px; }

/* ---- Type & rhythm ---- */
body { color: var(--text); font-feature-settings: 'cv11', 'ss01'; }
h1, h2, h3 { text-wrap: balance; }
h2 { letter-spacing: -0.028em; font-weight: 800; }
.section-title, .text-center > h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); letter-spacing: -0.032em; line-height: 1.14; }
h3 { letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.section { padding: 96px 0; }
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.08rem; max-width: 620px; }
.highlight {
  background: linear-gradient(100deg, var(--green) 20%, #0f9d58 60%, var(--amber-dark) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-label {
  background: var(--white); color: var(--green-mid);
  border-color: var(--border-dark); padding: 6px 14px 6px 12px;
  font-size: 0.72rem; letter-spacing: 0.12em;
  box-shadow: 0 1px 2px rgba(22,101,52,0.08);
}
.section-label::before {
  width: 8px; height: 8px; background: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.22);
}

/* ---- Buttons ---- */
.btn { transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, #1cb455, var(--green));
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 18px -4px rgba(22,163,74,0.55);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--green), var(--green-mid)); }
.btn-yellow {
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  color: #2a1a00; border-color: transparent;
  box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset, 0 8px 22px -6px rgba(245,158,11,0.65);
}
.btn-yellow:hover { background: linear-gradient(180deg, #fcd34d, #f59e0b); color: #2a1a00; transform: translateY(-2px); }
/* amber-outlined buttons kept their amber text on the green hover fill */
.btn-outline[style*="d97706"]:hover { background: var(--amber-dark) !important; border-color: var(--amber-dark) !important; color: #fff !important; }

/* ---- Navbar ---- */
.navbar { background: rgba(255,255,255,0.88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.navbar.scrolled { border-color: rgba(22,101,52,0.10); box-shadow: 0 8px 30px -18px rgba(15,26,15,0.35); }
.nav-link { border-radius: 999px; padding: 8px 14px; }
.nav-dropdown { border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(15,26,15,0.30); border-color: rgba(22,101,52,0.10); }

/* ---- Hero ---- */
.hero {
  min-height: 0;
  background:
    radial-gradient(60% 70% at 88% -8%, rgba(245,158,11,0.34) 0%, rgba(245,158,11,0.08) 38%, transparent 62%),
    radial-gradient(70% 80% at 8% 108%, rgba(34,197,94,0.20) 0%, transparent 60%),
    linear-gradient(160deg, #07140a 0%, #10301a 48%, #0a2012 100%);
}
.hero::before {
  background: var(--panel-grid);
  -webkit-mask-image: radial-gradient(90% 85% at 72% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(90% 85% at 72% 30%, #000 0%, transparent 78%);
}
.hero::after {
  /* the sun: a soft disc rising behind the calculator card */
  content: ''; position: absolute; right: -140px; top: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,224,71,0.30) 0%, rgba(245,158,11,0.14) 42%, transparent 70%);
  pointer-events: none;
}
.hero-inner { min-height: min(calc(100vh - var(--navbar-h)), 760px); padding: 72px 0 64px; gap: 64px; }
.hero-inner { grid-template-columns: 1.2fr 0.8fr; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.55rem); text-wrap: wrap; line-height: 1.06; letter-spacing: -0.04em; margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(95deg, #fde047, var(--amber) 55%, #fb923c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle { font-size: 1.08rem; color: rgba(255,255,255,0.76); max-width: 52ch; }
.hero-badge { background: rgba(245,158,11,0.10); border-color: rgba(251,191,36,0.40); letter-spacing: 0.08em; font-size: 0.74rem; padding: 7px 16px; }
.hero-stats { gap: 0; margin-top: 44px; padding-top: 0; border-top: 0; }
.hero-stat { padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.14); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat-number { font-size: 2.2rem; letter-spacing: -0.03em; color: #fff; }
.hero-stat-label { color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 8px; }
.hero-card {
  max-width: 420px; padding: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 40px 80px -30px rgba(0,0,0,0.6);
}
.hero-card-title { color: #fcd34d; letter-spacing: 0.14em; font-size: 0.72rem; }
.savings-display {
  border-radius: 18px; padding: 26px 22px;
  background: linear-gradient(140deg, #22c55e, var(--green) 45%, var(--green-mid));
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 18px 36px -16px rgba(34,197,94,0.7);
}
.savings-amount { font-size: 2.9rem; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hero-card-item { padding: 12px 0; }
.hero-card-item strong { font-variant-numeric: tabular-nums; }
input[type=range] { background: rgba(148,163,184,0.35); height: 6px; }
input[type=range]::-webkit-slider-thumb { background: var(--amber); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(245,158,11,0.55); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(245,158,11,0.55); }

/* ---- Trust bar: certificate chips ---- */
.trust-bar { background: #0a2012; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.trust-bar-inner { gap: 10px; }
.trust-item {
  padding: 9px 18px; border-right: 0; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
}
.trust-item:last-child { border-right: 1px solid rgba(255,255,255,0.10); }
.trust-text { font-size: 0.84rem; color: rgba(255,255,255,0.92); }

/* ---- Cards ---- */
.card, .stat-block, .step-item, .testimonial-card, .faq-item, .calculator-card {
  border-radius: 22px; border-color: rgba(15,26,15,0.08); box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s ease;
}
.card:hover, .step-item:hover, .testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--border-dark); }
.card-icon, .benefit-icon {
  border-radius: 14px; border-color: transparent;
  background: linear-gradient(145deg, var(--green-pale2), #fff);
  box-shadow: 0 0 0 1px var(--border-dark), 0 8px 16px -10px rgba(22,101,52,0.45);
}

/* picture area of service / blog cards: cell grid + sun disc behind the emoji */
.service-card-img, .blog-card-img {
  height: 176px; border-bottom: 0; isolation: isolate;
  text-shadow: 0 10px 18px rgba(15,26,15,0.22);
  transition: transform 0.5s var(--ease-out);
}
.service-card-img::before, .blog-card-img::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--panel-grid-dark);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%);
  mask-image: linear-gradient(200deg, #000, transparent 75%);
}
.service-card-img::after, .blog-card-img::after {
  content: ''; position: absolute; z-index: -1;
  width: 132px; height: 132px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.55) 55%, transparent 72%);
}
.blog-card-img { position: relative; overflow: hidden; height: 164px; }
.service-card:nth-child(1) .service-card-img { background: linear-gradient(140deg, #bbf7d0, #f0fdf4 70%); }
.service-card:nth-child(2) .service-card-img { background: linear-gradient(140deg, #bfdbfe, #eff6ff 70%); }
.service-card:nth-child(3) .service-card-img { background: linear-gradient(140deg, #fde68a, #fffbeb 70%); }
.blog-card-img { background: linear-gradient(140deg, #bbf7d0, #f0fdf4 70%); }
.card:hover .service-card-img, .card:hover .blog-card-img { transform: scale(1.04); }
.service-card-body, .blog-card-body { position: relative; background: #fff; padding: 26px; }
.service-card h3 { font-size: 1.3rem; }
.service-tag, .blog-tag { border-radius: 999px; padding: 4px 12px; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.service-price { padding: 14px 0; }
.service-price-main { font-size: 1.3rem; letter-spacing: -0.02em; color: var(--green-mid); }

/* ---- Stats ---- */
.stat-block { padding: 34px 18px 30px; position: relative; overflow: hidden; }
.stat-block::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transform: scaleX(0.28); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.stat-block:hover::before { transform: scaleX(1); }
.stat-number {
  font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.04em; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--green-dark), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

/* ---- Benefits ---- */
.benefit-item { padding: 16px; margin: -4px -16px; border-radius: 18px; transition: background-color 0.25s ease; }
.benefit-item:hover { background: var(--green-pale); }
.benefit-text h4 { font-size: 1.08rem; }

/* ---- Process steps: numbered rail ---- */
.steps-grid { gap: 20px; counter-reset: step; }
.step-item { padding: 30px 24px 26px; position: relative; overflow: hidden; }
.step-item::after {
  /* oversized ghost numeral */
  counter-increment: step; content: '0' counter(step);
  position: absolute; right: 14px; top: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 4.4rem; line-height: 1;
  letter-spacing: -0.05em; color: var(--green-pale2); z-index: 0; pointer-events: none;
}
.step-item > * { position: relative; z-index: 1; }
.step-number {
  width: 44px; height: 44px; border-radius: 14px; font-size: 1.05rem;
  background: linear-gradient(145deg, #fbbf24, var(--amber)); color: #2a1a00;
  box-shadow: 0 10px 20px -10px rgba(245,158,11,0.8);
}
.step-item h4 { font-size: 1.12rem; }

/* ---- Testimonials ---- */
.testimonial-card { padding: 34px 30px 30px; }
.testimonial-quote-mark { color: var(--amber-light); font-size: 5rem; top: 6px; right: 22px; }
.testimonial-text { font-size: 1rem; line-height: 1.75; }
.testimonial-author { padding-top: 20px; border-top: 1px solid var(--slate-100); }
.testimonial-avatar { background: linear-gradient(145deg, var(--green-light), var(--green-mid)); box-shadow: 0 0 0 3px var(--green-pale2); }

/* ---- FAQ ---- */
.faq-item { border-radius: 18px; box-shadow: none; margin-bottom: 10px; }
.faq-item:hover { border-color: var(--border-dark); }
.faq-item.open { box-shadow: var(--shadow-card); background: linear-gradient(180deg, #fff, var(--green-pale)); }
.faq-question { padding: 22px 24px; font-size: 1.02rem; font-weight: 700; }
.faq-icon { width: 30px; height: 30px; }
.faq-item.open .faq-icon { background: var(--amber); color: #2a1a00; }
.faq-answer { font-size: 0.96rem; }

/* ---- Dark bands: CTA banner + inner-page hero ---- */
.cta-banner, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.cta-banner::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--panel-grid);
  -webkit-mask-image: radial-gradient(80% 120% at 85% 0%, #000, transparent 75%);
  mask-image: radial-gradient(80% 120% at 85% 0%, #000, transparent 75%);
}
.cta-banner::after, .page-hero::after {
  content: ''; position: absolute; z-index: -1; right: -120px; top: -220px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253,224,71,0.30) 0%, rgba(245,158,11,0.13) 42%, transparent 70%);
}
.cta-banner { padding: 96px 0; background: linear-gradient(160deg, #07140a, #10301a 55%, #0a2012); }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-banner p { font-size: 1.08rem; max-width: 60ch; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.page-hero { padding: calc(var(--navbar-h) + 56px) 0 60px; background: linear-gradient(160deg, #07140a, #10301a 55%, #0a2012); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 14px; }
.page-hero p { font-size: 1.08rem; color: rgba(255,255,255,0.8); }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }

/* ---- Contact info card ---- */
.contact-info-card { border-radius: 22px; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #07140a, #10301a 60%, #14532d); }
.contact-info-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--panel-grid); -webkit-mask-image: linear-gradient(210deg, #000, transparent 70%); mask-image: linear-gradient(210deg, #000, transparent 70%); }

/* ---- Footer ---- */
.footer { background: #07140a; position: relative; padding-top: 72px; }
.footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--amber) 50%, var(--green)); }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fcd34d; margin-bottom: 18px; }
.footer-col a { display: inline-block; transition: color 0.2s ease, transform 0.25s var(--ease-out); }
.footer-col a:hover { transform: translateX(4px); }
.footer-social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.12); font-size: 0.72rem; }
.footer-bottom { border-top-color: rgba(255,255,255,0.08); }

/* ---- Popup ---- */
.popup-overlay { background: rgba(7,20,10,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.popup { transition: transform 0.4s var(--ease-out); }

/* ---- Scroll reveal ---- */
.fade-up { transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .hero-stat { padding: 0 18px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 56px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero::after { width: 360px; height: 360px; right: -140px; top: -160px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero .btn-group, .hero-stats { justify-content: center; }
  .hero-stat { padding: 0 16px; }
  .hero-stat:first-child { padding-left: 16px; }
  .hero-stat-number { font-size: 1.7rem; }
  .trust-bar-inner { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  .trust-item { flex: 0 0 auto; }
  .cta-banner { padding: 64px 0; }
  .page-hero { padding: calc(var(--navbar-h) + 36px) 0 40px; }
  .benefit-item { margin: 0; padding: 12px 0; }
  .benefit-item:hover { background: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.15rem; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 12px; }
  .hero-stat:first-child { padding-left: 12px; }
  .hero-stat-label { font-size: 0.68rem; }
  .cta-banner h2 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ---- Project cards (were unstyled) ---- */
.project-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(15,26,15,0.08); box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: var(--border-dark); }
.project-img {
  position: relative; isolation: isolate; overflow: hidden;
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; text-shadow: 0 10px 18px rgba(15,26,15,0.22);
  background: linear-gradient(140deg, #bbf7d0, #f0fdf4 70%);
}
.project-card[data-type="commercial"] .project-img { background: linear-gradient(140deg, #bfdbfe, #eff6ff 70%); }
.project-card[data-type="agricultural"] .project-img { background: linear-gradient(140deg, #fde68a, #fffbeb 70%); }
.project-img::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--panel-grid-dark);
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 75%); mask-image: linear-gradient(200deg, #000, transparent 75%);
}
.project-badge {
  position: absolute; left: 14px; top: 14px; text-shadow: none;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark);
  background: rgba(255,255,255,0.9); padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(15,26,15,0.10);
}
.project-body { padding: 22px 24px 24px; }
.project-body h4 { font-size: 1.1rem; margin-bottom: 8px; }
.project-body p { font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.project-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 14px;
  border-top: 1px solid var(--slate-100); font-size: 0.8rem; font-weight: 600; color: var(--slate-700);
}

/* ---- Devanagari (Hindi / Marathi): needs taller lines and no negative tracking ---- */
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4,
:lang(mr) h1, :lang(mr) h2, :lang(mr) h3, :lang(mr) h4 { letter-spacing: 0; line-height: 1.38; }
:lang(hi) .hero h1, :lang(mr) .hero h1,
:lang(hi) .page-hero h1, :lang(mr) .page-hero h1 { letter-spacing: 0; line-height: 1.32; }
:lang(hi) .highlight, :lang(mr) .highlight,
:lang(hi) .hero h1 .accent, :lang(mr) .hero h1 .accent { padding-block: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:lang(hi) .stat-label, :lang(mr) .stat-label,
:lang(hi) .hero-stat-label, :lang(mr) .hero-stat-label,
:lang(hi) .section-label, :lang(mr) .section-label,
:lang(hi) .footer-col h5, :lang(mr) .footer-col h5,
:lang(hi) .breadcrumb, :lang(mr) .breadcrumb { letter-spacing: 0.02em; }
