/* ==========================================================================
   Maxira Solar — Radiant Clean Energy & Solar EPC Design System
   Light Brand Theme (Ivory / Pure White / Solar Gold & Amber Accents)
   ========================================================================== */

:root {
  /* Light Canvas Brand Colors */
  --bg-body: #FBFBF9;
  --bg-ivory: #FFFDF9;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4F4F1;
  --bg-highlight: rgba(245, 158, 11, 0.07);

  /* Borders */
  --border-light: #E7E5E0;
  --border-subtle: #F0EEEA;
  --border-card: rgba(15, 23, 42, 0.08);
  --border-gold: rgba(232, 160, 32, 0.35);

  /* Solar Accent Colors */
  --solar-gold: #F59E0B;
  --solar-amber: #E8A020;
  --solar-orange: #D97706;
  --solar-deep: #B45309;
  --solar-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --solar-gradient-hover: linear-gradient(135deg, #FBBF24 0%, #EA580C 100%);
  --solar-glow: rgba(245, 158, 11, 0.25);

  /* Strategic Deep Navy Blue Brand Accents */
  --navy-deep: #071324;
  --navy-primary: #0B1E38;
  --navy-surface: #112A4F;
  --navy-border: rgba(255, 255, 255, 0.12);

  /* High-Tech & Status Colors */
  --sky-blue: #0284C7;
  --sky-blue-light: #E0F2FE;
  --emerald-green: #059669;
  --emerald-green-light: #ECFDF5;
  --red-bill: #DC2626;
  --red-bill-light: #FEF2F2;

  /* Typography Colors */
  --text-heading: #0F172A;
  --text-main: #1E293B;
  --text-muted: #526071;
  --text-light: #8896A6;
  --text-white: #FFFFFF;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 920px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.1);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Containers */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* ==========================================================================
   Badges, Pills & Status Indicators
   ========================================================================== */
.text-gradient {
  background: var(--solar-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--solar-deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.badge-gold-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--solar-gradient);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.badge-hq {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-branch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--emerald-green-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--emerald-green);
  font-size: 12px;
  font-weight: 800;
}

.badge-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-green 2s infinite;
}

.badge-pulse-gold {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@keyframes pulse-gold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* SVG Icons & Icon Box */
.icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  color: var(--solar-orange);
  border: 1px solid rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon-box-blue {
  background: var(--sky-blue-light);
  color: var(--sky-blue);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.icon-box-green {
  background: var(--emerald-green-light);
  color: var(--emerald-green);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--solar-gradient);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
  background: var(--solar-gradient-hover);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--solar-gold);
  color: var(--solar-orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-light {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-xs);
}

.btn-light:hover {
  border-color: var(--solar-gold);
  color: var(--solar-orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Sticky Navigation Bar (Light Theme & Fixed Logo)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 74px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-logo-footer {
  height: 74px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: #0B1E38;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link:hover, .nav-dropdown:hover > .nav-link {
  color: #1D4ED8;
  background: #F0F5FD;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid #E5EDF6;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(11, 30, 56, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #F4F7FB;
  color: #1E293B;
  font-size: 14.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-dropdown-item:hover {
  background: #EBF3FC;
  color: #0B1E38;
  border-color: rgba(37, 99, 235, 0.15);
  transform: translateX(3px);
}

.nav-sub-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #475569;
  flex-shrink: 0;
}

.nav-dropdown-item:hover .nav-sub-icon {
  color: var(--solar-orange);
}

/* Wide / Mega Dropdown Menu */
.nav-dropdown-menu-wide {
  min-width: 620px;
  max-width: 680px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}

.nav-dropdown:hover .nav-dropdown-menu-wide {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-menu-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-menu-col-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu-link-rich {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: #1E293B;
  text-decoration: none;
  transition: all 0.18s ease;
}

.nav-menu-link-rich:hover {
  background: #F1F5F9;
  transform: translateX(3px);
}

.nav-menu-link-rich:hover .nav-menu-link-title {
  color: #0284C7;
}

.nav-menu-link-icon {
  font-size: 16px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.nav-menu-link-body {
  display: flex;
  flex-direction: column;
}

.nav-menu-link-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  transition: color 0.18s ease;
}

.nav-menu-link-desc {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
  line-height: 1.3;
}

/* Category Filter Pills on Services / Knowledge Base */
.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-pill-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.filter-pill-btn.active {
  background: #0B1E38;
  color: #FFFFFF;
  border-color: #0B1E38;
  box-shadow: 0 4px 14px rgba(11, 30, 56, 0.2);
}

.kb-search-input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  border-radius: 14px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.kb-search-input:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-quote-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0B1E38;
  background: #FFFFFF;
  border: 1.5px solid #0B1E38;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(11, 30, 56, 0.08);
  letter-spacing: 0.2px;
}

.btn-quote-nav:hover {
  background: #0B1E38;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 30, 56, 0.2);
}

.btn-survey-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.mobile-toggle {
  display: none;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-heading);
  padding: 8px 12px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  height: calc(100vh - 82px);
  background: #FFFFFF;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer.active {
  display: flex;
}

/* ==========================================================================
   Hero Section (Deep Navy Solar Command Canvas - As per original React Look)
   ========================================================================== */
.hero-section-modern {
  background: linear-gradient(135deg, #071324 0%, #0B1E38 60%, #08162A 100%);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  color: #FFFFFF;
}

.hero-glow-orb {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.12;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: 17px;
  color: #94A3B8;
  line-height: 1.68;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-subtitle strong {
  color: #FFFFFF;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn-calc {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.hero-btn-calc:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--solar-gold);
  color: var(--solar-gold);
  transform: translateY(-2px);
}

/* Hero Showcase Card */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #0B1E38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.hero-visual-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 30, 56, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-telemetry-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--solar-gold);
}

.hero-telemetry-sub {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 2px;
}

/* 4-Item Hero KPI Stat Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-card {
  background: rgba(15, 36, 68, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.hero-stat-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(15, 36, 68, 0.85);
  transform: translateY(-2px);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--solar-gold);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  margin-top: 4px;
}

/* ==========================================================================
   Trust & Tier-1 Brand Accreditations Strip
   ========================================================================== */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
}

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

.trust-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.trust-badges-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Tier-1 Solar Panels & Brand Partners Showcase Section
   ========================================================================== */
.brands-section {
  padding: 80px 0;
  background: #FFFDF9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.brand-showcase-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 230px;
}

.brand-showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--solar-gold);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.16);
}

.brand-logo-container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  width: 100%;
}

.brand-partner-img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-showcase-card:hover .brand-partner-img {
  transform: scale(1.08);
}

.brand-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.brand-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

.brand-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--emerald-green);
  background: var(--emerald-green-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.brands-guarantee-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #0B1E38 0%, #071324 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #FFFFFF;
}

/* ==========================================================================
   Case Studies Grid & Interactive Cards
   ========================================================================== */
.case-study-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.case-study-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.case-study-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-study-card:hover .case-study-img {
  transform: scale(1.04);
}

.case-study-badge-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-heading);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}

.case-study-content {
  padding: 24px;
}

.case-study-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 12px;
}

.case-study-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-light);
}

.case-metric-box {
  display: flex;
  flex-direction: column;
}

.case-metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.case-metric-val {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-heading);
  margin-top: 2px;
}

.bill-comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #FFFDF9;
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin: 14px 0;
  font-size: 12.5px;
}

.bill-old {
  color: var(--red-bill);
  text-decoration: line-through;
  font-weight: 700;
}

.bill-new {
  color: var(--emerald-green);
  font-weight: 900;
  font-size: 14px;
}

.case-study-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 3px solid var(--solar-gold);
  padding-left: 12px;
  margin: 14px 0;
}

/* ==========================================================================
   Card System & Layout Elements
   ========================================================================== */
.card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 158, 11, 0.4);
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.2;
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16.5px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* ==========================================================================
   Solar ROI & PM Surya Ghar Calculator Widget (Strategic Deep Navy Command Center)
   ========================================================================== */
.calc-card-dashboard {
  background: linear-gradient(145deg, #0B1E38 0%, #071324 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: 0 24px 60px rgba(7, 19, 36, 0.35);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.calc-card-dashboard::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.calc-presets-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.calc-preset-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-preset-chip:hover, .calc-preset-chip.active {
  background: var(--solar-gradient);
  border-color: var(--solar-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.calc-slider-container {
  margin: 28px 0;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.calc-bill-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.calc-bill-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--solar-gold);
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--solar-gradient);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55);
  border: 3px solid #FFFFFF;
  transition: transform 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Right Output Panel */
.calc-output-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.calc-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-output-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}

.calc-output-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-output-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  margin-top: 4px;
}

.calc-output-highlight {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calc-highlight-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #34D399;
}

.calc-highlight-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #10B981;
}

/* ==========================================================================
   4-Step Solar Journey Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.step-num-badge {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--solar-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Regional Service Hubs (Single Bhopal HQ + Branch Desks)
   ========================================================================== */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.hub-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--solar-gold);
}

.hub-card.is-hq {
  border: 2px solid var(--solar-amber);
  background: #FFFDF9;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
}

.hub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hub-city {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-heading);
}

.hub-address {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.hub-sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald-green);
  background: var(--emerald-green-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ==========================================================================
   AEO Quick Answer, Key Facts & Article Sections
   ========================================================================== */
.aeo-box-modern {
  background: #FFFDF9;
  border-left: 4px solid var(--solar-gold);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-right: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.08);
}

.aeo-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--solar-orange);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.aeo-box-content {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-heading);
  font-weight: 500;
}

.key-facts-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.key-fact-card-modern {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}

.key-fact-card-modern:hover {
  border-color: var(--solar-gold);
  box-shadow: var(--shadow-sm);
}

.key-fact-label-modern {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.key-fact-val-modern {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 4px;
}

.article-section-modern {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.article-section-modern h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-heading);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.article-section-modern p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.bullet-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #1E293B;
}

.bullet-icon-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-green-light);
  color: var(--emerald-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-subheading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-primary);
  margin-top: 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-table-wrapper {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  -webkit-overflow-scrolling: touch;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  background: #FFFFFF;
}

.guide-table thead th {
  background: linear-gradient(135deg, #071324 0%, #0D2342 100%);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 18px;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--amber-gold);
  white-space: nowrap;
}

.guide-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s ease;
}

.guide-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.guide-table tbody tr:hover {
  background: #F1F5F9;
}

.guide-table td {
  padding: 13px 18px;
  color: #1E293B;
  vertical-align: middle;
  line-height: 1.5;
}

.step-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  background: #F8FAFC;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--amber-gold);
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}


/* ==========================================================================
   CTA Band (Strategic Deep Navy Blue Solar Banner)
   ========================================================================== */
.cta-band-modern {
  background: linear-gradient(135deg, #071324 0%, #0B1E38 50%, #112A4F 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-2xl);
  padding: 54px 48px;
  color: #FFFFFF;
  margin: 70px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 50px rgba(7, 19, 36, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-band-modern::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-band-desc {
  font-size: 16px;
  color: #94A3B8;
  max-width: 640px;
  line-height: 1.6;
}

/* ==========================================================================
   Case Study Card Button & Detail Modal
   ========================================================================== */
.btn-read-case-study {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-read-case-study:hover {
  border-color: var(--solar-gold);
  color: var(--solar-orange);
  background: #FFFDF9;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
  transform: translateY(-2px);
}

.case-modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
}

.case-modal-spec-item {
  display: flex;
  flex-direction: column;
}

.case-modal-spec-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.case-modal-spec-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 2px;
}

/* ==========================================================================
   Multi-Step Lead Survey Modal & Case Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 30, 56, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box-modern {
  background: #FFFFFF;
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 580px;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  font-weight: 800;
}

.modal-close-btn:hover {
  background: var(--text-heading);
  color: #FFFFFF;
}

.modal-progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-progress-step {
  height: 5px;
  flex: 1;
  background: #E5E7EB;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.modal-progress-step.active {
  background: var(--solar-gradient);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 14.5px;
  background: #FFFFFF;
  color: var(--text-heading);
  outline: none;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus {
  border-color: var(--solar-gold);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.property-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.property-type-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  transition: all 0.2s;
}

.property-type-label:hover {
  border-color: var(--solar-gold);
  background: rgba(245, 158, 11, 0.05);
}

/* ==========================================================================
   Footer Component (Luxurious Deep Navy Theme)
   ========================================================================== */
.site-footer-modern {
  background: #071324;
  color: #94A3B8;
  padding-top: 70px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: #94A3B8;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--solar-gold);
  transform: translateX(4px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-bar a {
  color: #94A3B8;
}

.footer-bottom-bar a:hover {
  color: var(--solar-gold);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-size: 14px;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.whatsapp-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine (320px to 1024px)
   ========================================================================== */

/* Performance: Content visibility for non-initial sections */
.site-footer-modern, .faq-wrap, .case-study-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .nav-links, .btn-phone-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .calc-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cta-band-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 28px;
  }
  .footer-grid-modern {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .blog-sidebar {
    position: static !important;
    margin-top: 24px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --container-max: 100%;
  }

  /* Responsive Container & Spacing */
  .container, .container-narrow {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Navbar */
  .site-header {
    padding: 10px 0;
  }
  .brand-logo-img {
    height: 38px !important;
    width: auto;
  }
  .btn-quote-nav {
    font-size: 12px;
    padding: 8px 14px;
  }

  /* Section Padding for Mobile */
  .hero-section, .blog-hub-hero, .blog-detail-wrapper, .page-hero-modern {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }

  /* Fluid Typography for Mobile */
  h1, .hero-title {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }

  h2, .section-title {
    font-size: clamp(22px, 5.5vw, 30px) !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: clamp(18px, 4.5vw, 22px) !important;
  }

  p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* Blog Hub Mobile */
  .blog-featured-spotlight {
    grid-template-columns: 1fr !important;
    border-radius: 16px !important;
  }
  .blog-featured-spotlight > div:first-child {
    padding: 24px !important;
  }
  .blog-featured-spotlight > div:last-child {
    min-height: 220px !important;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  #category-pills {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    width: 100%;
    scrollbar-width: none;
  }
  #category-pills::-webkit-scrollbar {
    display: none;
  }
  .hub-cat-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Single Blog Post Mobile */
  .blog-article-header h1 {
    font-size: 26px !important;
  }
  .aeo-callout-box {
    padding: 18px 20px !important;
  }
  .article-body-flow p {
    font-size: 15px !important;
  }
  .toc-widget {
    padding: 16px !important;
  }

  /* Calculator Mobile */
  .calc-card-input, .calc-card-result {
    padding: 20px !important;
    border-radius: 16px !important;
  }
  .calc-stat-badge {
    font-size: 22px !important;
  }

  /* Case Studies Mobile */
  .case-studies-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .bill-comparison-box {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Brand Partners Grid Mobile */
  .brands-grid, .partners-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }

  /* Footer Mobile */
  .site-footer-modern {
    padding-top: 50px !important;
    padding-bottom: 28px !important;
  }
  .footer-grid-modern {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  /* Floating WhatsApp Mobile */
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }
  .floating-whatsapp span {
    display: none;
  }

  /* Mobile Survey Modal Bottom Sheet */
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-box-modern {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 28px 20px 24px !important;
    max-height: 94vh !important;
  }
  .form-input, .form-select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 12px 14px !important;
  }
  .property-type-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* Extra Small Mobile (<= 380px: iPhone SE, Galaxy Fold cover) */
@media (max-width: 380px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .brand-logo-img {
    height: 32px !important;
  }
  .btn-quote-nav {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }
  h1, .hero-title {
    font-size: 24px !important;
  }
  .brands-grid, .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .bill-comparison-box {
    grid-template-columns: 1fr !important;
  }
}
