/* ==========================================================================
   Sonetec Powers — Premium Animated Components & Interactive Widgets
   ========================================================================== */

/* --- BENTO SOLUTION CARDS — Apple High-End Clean-Tech Grid --- */
.bento-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(65% 50% at 15% 15%, rgba(254, 243, 199, 0.45) 0%, transparent 70%),
    radial-gradient(60% 50% at 85% 85%, rgba(219, 234, 254, 0.5) 0%, transparent 70%),
    #f8faff;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

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

.bento-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
  box-shadow:
    0 8px 30px -8px rgba(11, 61, 145, 0.06),
    0 2px 6px -1px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow:
    0 28px 60px -14px rgba(11, 61, 145, 0.16),
    0 8px 24px -4px rgba(245, 166, 35, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #93c5fd;
}

.bento-card-main {
  grid-column: span 7;
}

.bento-card-side {
  grid-column: span 5;
}

.bento-card-half {
  grid-column: span 6;
}

.bento-card-third {
  grid-column: span 4;
}

.bento-thumb {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #0f172a;
}

.bento-thumb img {
  width: 100%;
  height: 105%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  margin-top: -30px;
}

.bento-card:hover .bento-thumb img {
  transform: scale(1.04);
}

.bento-badge-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease;
}

.bento-card:hover .bento-badge-pill {
  transform: translateY(-1px);
}

.bento-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.bento-body p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.bento-features-list {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.bento-features-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
}

.bento-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.bento-meta-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b3d91;
}

/* --- STICKY SCROLLYTELLING SECTION (Inspired by Dribbble video) --- */
.scrolly-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(ellipse 75% 35% at 50% 0%, rgba(219, 234, 254, 0.5) 0%, transparent 100%),
    #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.scrolly-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.scrolly-nav {
  position: sticky;
  top: calc(var(--header-h, 72px) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.scrolly-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
}

.scrolly-nav-item:hover {
  background: rgba(248, 250, 252, 0.85);
  transform: translateX(3px);
}

.scrolly-nav-item.active {
  background: rgba(240, 247, 255, 0.88);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-color: rgba(147, 197, 253, 0.85);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateX(6px);
}

.scrolly-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.scrolly-nav-item.active .scrolly-num {
  color: #0b3d91;
  transform: scale(1.1);
}

.scrolly-nav-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.scrolly-nav-item.active .scrolly-nav-content h4 {
  color: #0b3d91;
}

.scrolly-nav-content p {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.scrolly-display-card {
  position: relative;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(245, 166, 35, 0.16) 0%, transparent 60%),
    radial-gradient(600px 350px at 20% 80%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    #0a1020;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.45),
    0 10px 24px -5px rgba(11, 61, 145, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-height: 500px;
}

.scrolly-display-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 95%);
  pointer-events: none;
}

.scrolly-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.75rem;
  height: 100%;
}

.scrolly-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scrolly-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.scrolly-panel-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #fbbf24;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.scrolly-panel h3 {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.scrolly-panel p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.scrolly-media-frame {
  margin-top: auto;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}


.scrolly-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}


.scrolly-panel.active .scrolly-media-frame img {
  transform: scale(1.03);
}

/* --- INTERACTIVE PM SURYA GHAR SOLAR CALCULATOR --- */
.calc-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.calc-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 20px 50px rgba(11, 61, 145, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  max-width: 1060px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.calc-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.calc-slider-container {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 1.85rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calc-slider-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.calc-slider-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.calc-bill-display {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0b3d91;
  background: rgba(232, 240, 252, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.7);
  padding: 0.3rem 0.95rem;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(11, 61, 145, 0.06);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.calc-range-input {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(to right, #f5a623 0%, #f5a623 var(--slider-pct, 13%), #cbd5e1 var(--slider-pct, 13%), #cbd5e1 100%);
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.1s ease;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5a623;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.calc-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.7);
}

.calc-range-input:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.12);
}

.calc-presets-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.calc-preset-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.38rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.calc-preset-btn:hover {
  border-color: #0b3d91;
  color: #0b3d91;
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.08);
}

.calc-preset-btn.active {
  background: #0b3d91;
  color: #ffffff;
  border-color: #0b3d91;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.3);
}

/* Calculator Results Grid */
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.calc-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.25s ease;
}

.calc-stat-box.featured-stat {
  background: linear-gradient(135deg, #0b3d91 0%, #07265c 100%);
  color: #ffffff;
  border-color: #0b3d91;
}

.calc-stat-box.featured-stat .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.calc-stat-box.featured-stat .stat-number {
  color: #fcd34d;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-subnote {
  font-size: 0.75rem;
  color: #94a3b8;
}

.calc-stat-box.featured-stat .stat-subnote {
  color: rgba(255, 255, 255, 0.75);
}

/* Calculator Stat Cycle Badges */
.stat-cycle-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  margin: 0.25rem 0 0.45rem 0;
}

.calc-stat-box.featured-stat .stat-cycle-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Calculator Cashflow Equation Card — Frosted Glass Panel */
.calc-cashflow-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.35rem 1.65rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cashflow-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.cashflow-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.9);
  border: 1px solid rgba(147, 197, 253, 0.7);
  color: #1e40af;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.08);
}

.cashflow-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.cashflow-equation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  flex-wrap: wrap;
}

.cf-eq-item {
  flex: 1 1 140px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.25s ease;
}

.cf-eq-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cf-eq-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

@keyframes calc-pulse-anim {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 8px rgba(11, 61, 145, 0.2));
  }

  100% {
    transform: scale(1);
  }
}

.calc-val-pulsing {
  animation: calc-pulse-anim 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-val-old {
  color: #dc2626;
  text-decoration: line-through;
}

.cf-val-new {
  color: #059669;
}

.cf-val-emi {
  color: #2563eb;
}

.cf-val-total {
  color: #047857;
}

.cf-eq-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.cf-eq-arrow,
.cf-eq-operator {
  font-size: 1.25rem;
  font-weight: 800;
  color: #94a3b8;
  user-select: none;
}

.cf-eq-item.cf-eq-benefit {
  flex: 1.2 1 190px;
  background: rgba(236, 253, 245, 0.95);
  border: 1px solid rgba(167, 243, 208, 0.9);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.cf-eq-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #065f46;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .cashflow-equation {
    flex-direction: column;
    gap: 0.85rem;
  }

  .cf-eq-arrow,
  .cf-eq-operator {
    display: none;
  }

  .cf-eq-item {
    width: 100%;
  }
}

.calc-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
}

.calc-cta-text h4 {
  font-size: 1.05rem;
  color: #166534;
  margin-bottom: 0.25rem;
}

.calc-cta-text p {
  font-size: 0.88rem;
  color: #15803d;
  margin: 0;
}

/* --- KSEB TRANSFORMER QUOTA URGENCY BANNER --- */
.transformer-alert-card {
  margin-top: 2rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.alert-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.alert-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.25rem;
}

.alert-content p {
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.55;
  margin: 0;
}

/* --- FLAGSHIP PROJECTS SHOWCASE --- */
.projects-gallery-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: #ffffff;
}

.projects-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  padding: 0.35rem;
  background: rgba(241, 245, 249, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.04);
}

.proj-filter-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.proj-filter-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #0b3d91;
}

.proj-filter-btn.active {
  background: #0b3d91;
  color: #ffffff;
  border-color: #0b3d91;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.3);
}

.proj-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  will-change: transform, opacity;
}

.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px rgba(11, 61, 145, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
}

.proj-card-img {
  position: relative;
  height: 240px;
  background: #0f172a;
  overflow: hidden;
}

.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-card:hover .proj-card-img img {
  transform: scale(1.05);
}

.proj-badge-kw {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.28rem 0.75rem;
  border-radius: 8px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.proj-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.proj-card-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.proj-card-body p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.proj-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

/* --- REVIEWS & TESTIMONIALS --- */
.reviews-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: #f8fafc;
}

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

.review-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -10px rgba(11, 61, 145, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  font-style: italic;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f0fc;
  color: #0b3d91;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(11, 61, 145, 0.1);
  transition: transform 0.25s ease;
}

.review-card:hover .review-avatar {
  transform: scale(1.08);
}

.review-info h4 {
  font-size: 0.92rem;
  margin: 0;
  color: #0f172a;
}

.review-info span {
  font-size: 0.78rem;
  color: #64748b;
}

/* --- INTERACTIVE FAQ ACCORDION --- */
.faq-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: #ffffff;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.05);
}

.faq-item[open] {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(11, 61, 145, 0.08);
  background: #ffffff;
}

.faq-summary {
  padding: 1.35rem 1.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: #0b3d91;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  transform-origin: center;
}

.faq-item[open] .faq-summary::after {
  content: "+";
  transform: rotate(45deg);
  color: #f5a623;
}

.faq-content {
  padding: 0 1.65rem 1.45rem 1.65rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faq-fade-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes faq-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- FREE SITE SURVEY MODAL --- */
.survey-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.survey-modal.open {
  display: flex;
  opacity: 1;
}

.survey-modal-dialog {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 26px;
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  transform: scale(0.94) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.survey-modal.open .survey-modal-dialog {
  transform: scale(1) translateY(0);
}

.survey-modal-header {
  background: linear-gradient(135deg, #0b3d91 0%, #07265c 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  position: relative;
}

.survey-modal-header h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.survey-modal-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin: 0;
}

.survey-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.survey-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.survey-modal-body {
  padding: 1.75rem 2rem;
}

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

.form-field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-field-group input,
.form-field-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #ffffff;
}

.form-field-group input:focus,
.form-field-group select:focus {
  outline: none;
  border-color: #0b3d91;
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.12);
}

/* --- BACKUP INVERTERS & LITHIUM HOME SECTION --- */
.backup-inverters-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: #ffffff;
  position: relative;
}

.inverter-stats-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.inverter-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 4px 16px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}

.inverter-stat-pill:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.08);
}

/* ==========================================================================
   Flagship Apple Hardware Showcase: Smart Hybrid & LiFePO4 Battery
   ========================================================================== */
.flagship-product-card {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 2.75rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 12px 35px -8px rgba(11, 61, 145, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.flagship-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px -12px rgba(11, 61, 145, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
}

.flagship-visual-stage {
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02);
}

.flagship-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
  justify-content: flex-start;
  z-index: 2;
}

.flagship-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.flagship-badge--gold {
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.7);
  color: #b45309;
}

.flagship-badge--warranty {
  background: rgba(224, 242, 254, 0.9);
  border: 1px solid rgba(186, 230, 253, 0.9);
  color: #0369a1;
}

.flagship-badge--green {
  background: rgba(220, 252, 231, 0.9);
  border: 1px solid rgba(74, 222, 128, 0.7);
  color: #166534;
}

.flagship-badge--kerala {
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.8);
  color: #92400e;
}

.flagship-img-wrap {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem auto;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.9), 0 14px 32px -10px rgba(11, 61, 145, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.flagship-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: #ffffff;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.flagship-visual-stage:hover .flagship-img-wrap {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.9), 0 22px 45px -12px rgba(11, 61, 145, 0.14);
}

/* Apple-style Finish Switcher */
.finish-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.5rem;
  z-index: 2;
}

.finish-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.finish-label strong {
  color: #0f172a;
}

.finish-options {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.finish-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
}

.finish-dot:hover {
  transform: scale(1.15);
}

.finish-dot--white {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.finish-dot--black {
  background: #18181b;
  border-color: #3f3f46;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.finish-dot--blue {
  background: #0284c7;
  border-color: #0369a1;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.finish-dot--green {
  background: #10b981;
  border-color: #059669;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.finish-dot.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0b3d91;
  transform: scale(1.12);
}

/* Flagship Content Column */
.flagship-content-col {
  display: flex;
  flex-direction: column;
}

.flagship-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0b3d91;
  margin-bottom: 0.35rem;
}

.flagship-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
}

.flagship-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.flagship-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.flagship-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 1.15rem 1rem;
  margin-bottom: 1.5rem;
}

.flagship-metric-cell {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.f-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b3d91;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.f-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  line-height: 1.3;
}

.flagship-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.flagship-features-list li {
  display: block;
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  text-align: left;
}

.flagship-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.flagship-features-list li strong {
  color: #0f172a;
  font-weight: 700;
  margin-right: 0.25rem;
}

.flagship-action-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.flagship-action-bar .btn {
  padding: 0.52rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
}

/* --- Companion Hardware 2-Column Grid --- */
.companion-hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.hardware-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hardware-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -10px rgba(11, 61, 145, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: #cbd5e1;
}

.hw-visual-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hw-visual-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.08));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hardware-card:hover .hw-visual-wrap img {
  transform: scale(1.05);
}

.hw-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hw-badge--blue {
  background: rgba(224, 242, 254, 0.95);
  border: 1px solid rgba(186, 230, 253, 0.9);
  color: #0369a1;
}

.hw-badge--green {
  background: rgba(220, 252, 231, 0.95);
  border: 1px solid rgba(187, 247, 208, 0.9);
  color: #15803d;
}

.hw-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hw-subbrand {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0b3d91;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.hw-body h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.hw-subhead {
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.85rem;
  display: block;
}

.hw-body p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.hw-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hw-specs-list li {
  display: block;
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.5;
  text-align: left;
}

.hw-specs-list li::before {
  content: "•";
  position: absolute;
  left: 0.15rem;
  top: -0.05rem;
  color: #0b3d91;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.hw-specs-list li strong {
  color: #0f172a;
  font-weight: 700;
  margin-right: 0.25rem;
}

.hw-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.hw-footer .btn {
  padding: 0.42rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 7px;
}

/* Legacy .brand-card fallback */
.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.brand-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(11, 61, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -10px rgba(11, 61, 145, 0.12);
}

.brand-card-img {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.brand-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.backup-inverters-cta-banner {
  background: linear-gradient(135deg, #0b3d91 0%, #1557bf 100%);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 8px 30px rgba(11, 61, 145, 0.18);
}

/* Media Queries */
@media (max-width: 992px) {
  .flagship-product-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .flagship-img-wrap {
    max-width: 320px;
    height: auto;
  }

  .companion-hardware-grid {
    grid-template-columns: 1fr;
  }

  .flagship-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-showcase-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-main,
  .bento-card-side,
  .bento-card-half,
  .bento-card-third {
    grid-column: span 12;
  }

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

  .scrolly-nav {
    position: static;
  }

  .calc-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .flagship-title {
    font-size: 1.55rem;
  }

  .flagship-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .flagship-action-bar {
    flex-direction: column;
    width: 100%;
  }

  .flagship-action-bar .btn {
    width: 100%;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }

  .calc-cta-bar {
    flex-direction: column;
    text-align: center;
  }

  .calc-cta-bar .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Mobile Ergonomics & iOS Bottom-Sheet Modal Enhancement
   ========================================================================== */
@media (max-width: 768px) {

  /* iOS Style Native Bottom Sheet for Survey Modal */
  .survey-modal {
    padding: 0;
    align-items: flex-end;
  }

  .survey-modal-dialog {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    margin: 0;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  }

  .survey-modal.open .survey-modal-dialog {
    transform: translateY(0);
  }

  .survey-modal-header {
    border-radius: 28px 28px 0 0;
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .survey-close-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 1.35rem;
  }

  /* Accessible Touch Target Overrides (Apple HIG & WCAG Standard) */
  .calc-preset-btn {
    min-height: 44px;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .proj-filter-btn {
    min-height: 44px;
    padding: 0.6rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .finish-dot {
    width: 38px;
    height: 38px;
  }

  .flagship-action-bar .btn,
  .calc-cta-bar .btn {
    min-height: 48px;
  }
}

/* ==========================================================================
   Luxury Milestone Timeline (About Us)
   ========================================================================== */
.milestone-timeline {
  position: relative;
  max-width: 960px;
  margin: 3.5rem auto 0;
  padding: 1.5rem 0;
}

.milestone-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, #f5a623 0%, #0b3d91 50%, #10b981 100%);
  transform: translateX(-50%);
  border-radius: 99px;
}

.milestone-item {
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
  box-sizing: border-box;
}

.milestone-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.milestone-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.milestone-dot {
  position: absolute;
  top: 1.25rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #0b3d91;
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.15);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.milestone-item:nth-child(odd) .milestone-dot {
  right: -10px;
}

.milestone-item:nth-child(even) .milestone-dot {
  left: -10px;
}

.milestone-item:hover .milestone-dot {
  transform: scale(1.35);
  border-color: #f5a623;
  box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.3);
}

.milestone-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  padding: 1.65rem 1.85rem;
  box-shadow: 0 8px 25px rgba(11, 61, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  display: inline-block;
  text-align: left;
  width: 100%;
}

.milestone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(11, 61, 145, 0.12), inset 0 1px 0 #ffffff;
  border-color: #93c5fd;
}

.milestone-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0b3d91;
  background: rgba(232, 240, 252, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.milestone-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.milestone-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .milestone-timeline::before {
    left: 20px;
  }

  .milestone-item {
    width: 100%;
    left: 0 !important;
    padding-left: 55px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 2rem;
  }

  .milestone-item .milestone-dot {
    left: 11px !important;
    right: auto !important;
  }
}

/* ==========================================================================
   District Hub Telemetry & Localized Badges
   ========================================================================== */
.district-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0 3rem;
}

.district-telemetry-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(11, 61, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.district-telemetry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(11, 61, 145, 0.1);
  border-color: #93c5fd;
}

.district-telemetry-val {
  font-size: 2rem;
  font-weight: 800;
  color: #0b3d91;
  margin: 0.35rem 0 0.2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.district-telemetry-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.district-telemetry-sub {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.35rem;
}

.kseb-section-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.kseb-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.kseb-section-pill::before {
  content: "⚡";
  font-size: 0.75rem;
}

.kseb-coverage-note {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin: 0.85rem 0 1.25rem;
  padding: 0.85rem 1.1rem;
  background: #f8fafc;
  border-left: 3px solid #16a34a;
  border-radius: 0 10px 10px 0;
  border-top: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.kseb-coverage-note strong {
  color: var(--gray-900);
  display: block;
  margin-bottom: 0.25rem;
}

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

@media (max-width: 540px) {
  .district-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Action Cards (Call, WhatsApp, Visit)
   ========================================================================== */
.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.contact-action-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow:
    0 12px 32px -8px rgba(11, 61, 145, 0.06),
    0 2px 6px -1px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.contact-action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.contact-action-card:hover::before {
  opacity: 1;
}

.contact-action-card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow:
    0 28px 56px -12px rgba(11, 61, 145, 0.16),
    0 8px 20px -4px rgba(245, 166, 35, 0.1),
    inset 0 1px 0 #ffffff;
  border-color: #93c5fd;
}

.contact-action-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0fc 0%, #dbeafe 100%);
  color: #0b3d91;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-action-card:hover .contact-action-icon {
  transform: scale(1.1);
}

.contact-action-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.contact-action-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.55;
  flex: 1;
}

.contact-action-card .btn {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .contact-action-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Live Feasibility Gauge & Multi-Step Survey Visuals
   ========================================================================== */
.feasibility-status-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.82rem;
  color: #166534;
  margin: 0 auto 1.5rem;
  max-width: 640px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.08);
}

.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.survey-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.5rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.survey-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0b3d91;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.survey-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

/* ==========================================================================
   Luxury Micro-Animations & Dynamic Lighting Effects
   ========================================================================== */

/* Luminous text gradient continuous motion */
@keyframes text-gradient-shine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-text-shine,
.gradient-text-solar,
.gradient-text-blue {
  background-size: 200% auto;
  animation: text-gradient-shine 7s ease-in-out infinite;
}

/* Shimmer sweep reflection on badges */
@keyframes badge-sweep {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }

  60%,
  100% {
    transform: translateX(300%) skewX(-20deg);
  }
}

.hero-badge--gold,
.bento-badge-pill,
.scrolly-panel-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge--gold::after,
.bento-badge-pill::after,
.scrolly-panel-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: badge-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* Ambient subtle floating physics */
@keyframes float-subtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.animate-float {
  animation: float-subtle 4.5s ease-in-out infinite;
}

/* Radiant energy dividing line between sections */
.energy-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.25) 25%, rgba(245, 166, 35, 0.55) 50%, rgba(37, 99, 235, 0.25) 75%, transparent 100%);
  border: none;
  margin: 0;
}

/* Hardware pedestal radiant reflection */
.flagship-visual-stage,
.hardware-stage {
  position: relative;
}

.flagship-visual-stage::after,
.hardware-stage::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 15%;
  right: 15%;
  height: 35px;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}




/* ==========================================================================
   PRODUCT SHOWCASE (Homepage) — Obsidian Stage, Spotlight Glass & Motion
   Overrides the earlier light-theme hardware showcase.
   ========================================================================== */
.backup-inverters-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #e2e8f0;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(37, 99, 235, 0.30) 0%, transparent 65%),
    radial-gradient(800px 460px at 92% 18%, rgba(245, 166, 35, 0.16) 0%, transparent 62%),
    radial-gradient(900px 520px at 50% 108%, rgba(14, 165, 233, 0.18) 0%, transparent 65%),
    #060a14;
  border-top: 1px solid rgba(251, 191, 36, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.backup-inverters-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 92%);
  pointer-events: none;
}

.backup-inverters-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: 18%;
  left: -160px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
  filter: blur(20px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(70vw, 40px, 0) scale(1.25);
  }
}

.backup-inverters-section .section-header h2 {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 35%, rgba(203, 213, 225, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.backup-inverters-section .section-header .lead {
  color: rgba(203, 213, 225, 0.88);
}

.backup-inverters-section .eyebrow {
  color: #fbbf24;
}

/* Stat pills */
.backup-inverters-section .inverter-stat-pill {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.backup-inverters-section .inverter-stat-pill:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(251, 191, 36, 0.6);
  background: rgba(245, 166, 35, 0.12);
  box-shadow: 0 14px 30px rgba(245, 166, 35, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.inverter-stat-pill .icon {
  display: inline-block;
  transition: transform 0.4s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.inverter-stat-pill:hover .icon {
  transform: scale(1.3) rotate(-8deg);
}

/* Cards: dark frosted glass + gradient hairline + spotlight */
.backup-inverters-section .flagship-product-card,
.backup-inverters-section .hardware-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.backup-inverters-section .flagship-product-card::before,
.backup-inverters-section .hardware-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(96, 165, 250, 0.16), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.backup-inverters-section .flagship-product-card:hover::before,
.backup-inverters-section .hardware-card:hover::before {
  opacity: 1;
}

.backup-inverters-section .flagship-product-card>*,
.backup-inverters-section .hardware-card>* {
  position: relative;
  z-index: 1;
}

.backup-inverters-section .flagship-product-card:hover,
.backup-inverters-section .hardware-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(251, 191, 36, 0.12), 0 18px 50px -16px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Visual stage: lit pedestal */
.backup-inverters-section .flagship-visual-stage,
.backup-inverters-section .hw-visual-wrap {
  background:
    radial-gradient(circle at 50% 38%, rgba(96, 165, 250, 0.28) 0%, rgba(15, 23, 42, 0.0) 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.backup-inverters-section .hw-visual-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.backup-inverters-section .flagship-visual-stage::after {
  bottom: 6px;
  left: 12%;
  right: 12%;
  height: 28px;
  background: radial-gradient(ellipse at 50% 50%, rgba(96, 165, 250, 0.55), transparent 70%);
  filter: blur(6px);
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.backup-inverters-section .flagship-visual-stage:hover::after {
  transform: scaleX(1.18);
  opacity: 0.9;
}

/* Images: float, glow, light sweep */
.backup-inverters-section .flagship-img-wrap {
  transition: transform 0.7s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow 0.5s ease;
}

.backup-inverters-section .hw-visual-wrap img {
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(96, 165, 250, 0.2));
  transition: transform 0.7s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1)), filter 0.5s ease;
}

.backup-inverters-section .flagship-visual-stage:hover .flagship-img-wrap {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 30px 60px -15px rgba(0, 0, 0, 0.75), 0 0 35px rgba(96, 165, 250, 0.28);
}

.backup-inverters-section .hardware-card:hover .hw-visual-wrap img {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(251, 191, 36, 0.32));
}

.backup-inverters-section .flagship-visual-stage::before,
.backup-inverters-section .hw-visual-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}

.backup-inverters-section .flagship-visual-stage:hover::before,
.backup-inverters-section .hardware-card:hover .hw-visual-wrap::before {
  transform: translateX(360%) skewX(-18deg);
  transition: transform 1.1s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1));
}

/* Typography on dark */
.backup-inverters-section .flagship-eyebrow,
.backup-inverters-section .hw-subbrand {
  color: #fbbf24;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.14em;
}

.backup-inverters-section .flagship-title,
.backup-inverters-section .hw-body h4 {
  font-family: var(--font-display);
  color: #ffffff;
  letter-spacing: -0.03em;
  position: relative;
  width: fit-content;
  max-width: 100%;
  background-image: linear-gradient(90deg, #fbbf24, #60a5fa);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 0.2em;
  transition: background-size 0.55s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1)), letter-spacing 0.4s ease;
}

.backup-inverters-section .flagship-product-card:hover .flagship-title,
.backup-inverters-section .hardware-card:hover .hw-body h4 {
  background-size: 100% 2px;
  letter-spacing: -0.022em;
}

.backup-inverters-section .flagship-tagline {
  color: #e2e8f0;
}

.backup-inverters-section .flagship-desc,
.backup-inverters-section .hw-body p {
  color: rgba(203, 213, 225, 0.82);
}

.backup-inverters-section .hw-subhead {
  color: #93c5fd;
}

/* Metrics: glowing telemetry tiles */
.backup-inverters-section .flagship-metrics-grid {
  background: rgba(2, 6, 23, 0.45);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.backup-inverters-section .flagship-metric-cell {
  padding: 0.35rem 0.25rem;
  border-radius: 12px;
  transition: transform 0.35s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), background-color 0.3s ease;
}

.backup-inverters-section .flagship-metric-cell:hover {
  transform: translateY(-4px);
  background: rgba(96, 165, 250, 0.1);
}

.backup-inverters-section .f-metric-val {
  font-family: var(--font-mono, monospace);
  background: linear-gradient(135deg, #fde68a, #fbbf24 55%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.3s ease;
}

.backup-inverters-section .flagship-metric-cell:hover .f-metric-val {
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.55));
}

.backup-inverters-section .f-metric-label {
  color: rgba(148, 163, 184, 0.95);
}

/* Feature lists: slide + glow on hover */
.backup-inverters-section .flagship-features-list li,
.backup-inverters-section .hw-specs-list li {
  color: rgba(203, 213, 225, 0.85);
  transition: transform 0.35s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1)), color 0.25s ease;
}

.backup-inverters-section .flagship-features-list li strong,
.backup-inverters-section .hw-specs-list li strong {
  color: #ffffff;
  transition: color 0.25s ease;
}

.backup-inverters-section .flagship-features-list li::before {
  color: #34d399;
  transition: transform 0.35s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.backup-inverters-section .hw-specs-list li::before {
  color: #fbbf24;
  transition: transform 0.35s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.backup-inverters-section .flagship-features-list li:hover,
.backup-inverters-section .hw-specs-list li:hover {
  transform: translateX(6px);
  color: #ffffff;
}

.backup-inverters-section .flagship-features-list li:hover strong,
.backup-inverters-section .hw-specs-list li:hover strong {
  color: #fcd34d;
}

.backup-inverters-section .flagship-features-list li:hover::before,
.backup-inverters-section .hw-specs-list li:hover::before {
  transform: scale(1.4);
}

/* Badges on dark + shimmer */
.backup-inverters-section .flagship-badge,
.backup-inverters-section .hw-badge {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.backup-inverters-section .flagship-badge::after,
.backup-inverters-section .hw-badge::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: badge-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

.backup-inverters-section .flagship-badge--gold,
.backup-inverters-section .flagship-badge--kerala {
  background: rgba(245, 166, 35, 0.18);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fcd34d;
}

.backup-inverters-section .flagship-badge--warranty,
.backup-inverters-section .hw-badge--blue {
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(125, 211, 252, 0.5);
  color: #7dd3fc;
}

.backup-inverters-section .flagship-badge--green,
.backup-inverters-section .hw-badge--green {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(110, 231, 183, 0.5);
  color: #6ee7b7;
}

/* Finish switcher on dark */
.backup-inverters-section .finish-switcher,
.backup-inverters-section .finish-switcher * {
  color: rgba(203, 213, 225, 0.9);
}

.backup-inverters-section .finish-dot {
  transition: transform 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), box-shadow 0.3s ease;
}

.backup-inverters-section .finish-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.4);
}

/* Footers / buttons */
.backup-inverters-section .hw-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.backup-inverters-section .btn-secondary,
.backup-inverters-section .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.backup-inverters-section .btn-secondary:hover,
.backup-inverters-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(251, 191, 36, 0.6);
  color: #fff;
}

.backup-inverters-section .btn {
  position: relative;
  overflow: hidden;
}

.backup-inverters-section .btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}

.backup-inverters-section .btn:hover::after {
  transform: translateX(380%) skewX(-18deg);
  transition: transform 0.8s var(--ease-apple, cubic-bezier(0.16, 1, 0.3, 1));
}

.backup-inverters-section .backup-inverters-cta-banner {
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(245, 166, 35, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(10, 45, 110, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (prefers-reduced-motion: reduce) {

  .backup-inverters-section::after,
  .backup-inverters-section .flagship-badge::after,
  .backup-inverters-section .hw-badge::after {
    animation: none;
  }
}

/* Product photo tiles: studio-white shots presented as deliberate plinth tiles filling the rounded border */
.backup-inverters-section .flagship-img-wrap {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 1.25rem auto;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 20px 48px -14px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.backup-inverters-section .flagship-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.backup-inverters-section .hw-badge {
  position: absolute;
  overflow: hidden;
}

.backup-inverters-section .hw-visual-wrap {
  padding-top: 3.4rem;
  padding-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backup-inverters-section .hw-visual-wrap img {
  max-height: 220px;
  max-width: 220px;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 12px 28px -8px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   SITE-WIDE POLISH PASS — inner pages, content blocks, FAQ, steps, footer
   ========================================================================== */

/* --- Page chrome: scroll progress, selection, scrollbar, focus --- */
::selection {
  background: rgba(245, 166, 35, 0.35);
  color: #0f172a;
}

html {
  scrollbar-color: #94a3b8 #f1f5f9;
}

:focus-visible {
  outline: 2px solid var(--blue-600, #2563eb);
  outline-offset: 3px;
  border-radius: 6px;
}

@supports (animation-timeline: scroll()) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 600;
    background: linear-gradient(90deg, #2563eb, #0ea5e9 45%, #fbbf24);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: scroll-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }

  @keyframes scroll-progress {
    to {
      transform: scaleX(1);
    }
  }
}

/* --- Breadcrumb: glass trail --- */
.breadcrumb {
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.breadcrumb a {
  position: relative;
  color: var(--gray-600);
  font-weight: 600;
}

.breadcrumb a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease-apple);
}

.breadcrumb a:hover {
  color: var(--blue-800);
}

.breadcrumb a:hover::after {
  transform: scaleX(1);
}

/* --- Inner hero entrance --- */
@media (prefers-reduced-motion: no-preference) {
  .hero-compact .container>* {
    animation: hero-rise 0.9s var(--ease-apple) both;
  }

  .hero-compact .container> :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-compact .container> :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-compact .container> :nth-child(4) {
    animation-delay: 0.24s;
  }

  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
      filter: blur(6px);
    }

    to {
      opacity: 1;
      transform: none;
      filter: blur(0);
    }
  }
}

.hero-compact h1 {
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Section headings: centred with signature accent bar --- */
.section>.container>h2,
.section-header h2 {
  text-align: center;
}

.section>.container>h2::before,
.section-header h2::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 1rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #2563eb, #fbbf24);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.section>.container>h2 {
  margin-top: 1rem;
}

.section .container>.section-subtitle,
.section-subtitle {
  text-align: center;
  margin-inline: auto;
  color: var(--gray-600);
  max-width: 62ch;
}

.card h2::before,
.split h2::before {
  display: none;
}

/* --- Prose / intro typography --- */
.content-intro p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--gray-700);
  letter-spacing: -0.012em;
}

.content-intro p:first-child strong {
  color: var(--blue-800);
}

.section>.container>.prose {
  max-width: 820px;
  margin-inline: auto;
}

.split .prose {
  margin-inline: 0;
}

.prose p {
  font-size: 1rem;
  line-height: 1.8;
}

.prose strong {
  color: var(--gray-900);
}

.prose a,
.content-intro a,
.card p a,
.answer-box a {
  color: var(--blue-700);
  font-weight: 600;
  background-image: linear-gradient(90deg, var(--amber-500), var(--amber-400));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease-apple), color 0.25s ease;
}

.prose a:hover,
.content-intro a:hover,
.card p a:hover,
.answer-box a:hover {
  background-size: 100% 100%;
  color: #0f172a;
}

.prose ul {
  list-style: none;
  margin-left: 0;
  display: grid;
  gap: 0.5rem;
}

.prose ul li {
  position: relative;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(11, 61, 145, 0.03);
  transition: transform 0.35s var(--ease-apple), border-color 0.3s ease, box-shadow 0.3s ease;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #fbbf24);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.prose ul li:hover {
  transform: translateX(6px);
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(11, 61, 145, 0.08);
}

.prose h3 {
  font-family: var(--font-display);
}

/* --- Callouts: answer box, feasibility banner, EMI, EV note --- */
.answer-box {
  position: relative;
  border: 1px solid rgba(147, 197, 253, 0.6);
  border-left: 0;
  border-radius: 20px;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  background:
    radial-gradient(400px 160px at 0% 0%, rgba(37, 99, 235, 0.12), transparent 70%),
    linear-gradient(135deg, #f4f8ff, #eaf2ff);
  box-shadow: 0 14px 40px -16px rgba(11, 61, 145, 0.2), inset 0 1px 0 #fff;
  overflow: hidden;
}

.answer-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2563eb, #0ea5e9);
}

.answer-box>strong:first-child {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-right: 0.5rem;
}

.feasibility-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 22px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(245, 166, 35, 0.25), transparent 70%),
    linear-gradient(135deg, #fffbeb, #fef3c7);
  box-shadow: 0 18px 44px -18px rgba(217, 137, 15, 0.35), inset 0 1px 0 #fff;
}

.feasibility-banner::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  animation: banner-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes banner-sheen {

  0%,
  55% {
    left: -60%;
  }

  100% {
    left: 160%;
  }
}

.emi-box,
.roi-ev-note {
  border-radius: 22px;
  box-shadow: 0 18px 44px -18px rgba(11, 61, 145, 0.25), inset 0 1px 0 #fff;
}

/* --- FAQ accordions (glass) --- */
.faq-list {
  max-width: 820px;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px -10px rgba(11, 61, 145, 0.12), inset 0 1px 0 #fff;
  margin: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s ease, border-color 0.3s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #fbbf24);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.4s var(--ease-apple);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px -14px rgba(11, 61, 145, 0.2);
}

.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 22px 48px -18px rgba(37, 99, 235, 0.3);
}

.faq-item[open]::before,
.faq-item:hover::before {
  transform: scaleY(1);
}

.faq-item summary,
.faq-summary {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 1.15rem 1.5rem;
  background: transparent;
  transition: color 0.25s ease;
}

.faq-item summary:hover {
  color: var(--blue-800);
}

.faq-item summary::after,
.faq-summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--blue-700);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.4s var(--ease-spring), background-color 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after,
.faq-item[open] .faq-summary::after {
  content: "+";
  transform: rotate(135deg);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.faq-item .faq-body,
.faq-item .faq-content {
  padding: 0 1.5rem 1.35rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* --- Steps: connected, numbered, no orphans --- */
.steps {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
  counter-reset: none;
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 1.5rem 1.1rem;
  box-shadow: 0 10px 30px -14px rgba(11, 61, 145, 0.14), inset 0 1px 0 #fff;
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.3s ease;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(37, 99, 235, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 26px 50px -16px rgba(11, 61, 145, 0.25);
}

.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono, monospace);
  font-size: 1rem;
  transition: transform 0.4s var(--ease-spring);
}

.step:hover .step-num {
  transform: scale(1.12) rotate(-6deg);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
}

.step p {
  font-size: 0.86rem;
  line-height: 1.6;
}

/* --- Cards: heading/text hover animation + inline-styled cards lifted --- */
.card h3 {
  transition: color 0.3s ease, transform 0.35s var(--ease-apple);
}

.card:hover h3 {
  color: var(--blue-800);
  transform: translateX(4px);
}

.card[style*="border-radius"] {
  box-shadow: 0 12px 34px -14px rgba(11, 61, 145, 0.16) !important;
  border-radius: 22px !important;
}

.card[style*="border-radius"]:hover {
  box-shadow: 0 28px 56px -16px rgba(11, 61, 145, 0.28) !important;
}

.card>span[style*="border-radius:999px"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* --- Tags & badges --- */
.tag {
  background: linear-gradient(135deg, #eaf2ff, #dbeafe);
  border: 1px solid rgba(147, 197, 253, 0.6);
  color: var(--blue-800);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.badge {
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono, monospace);
}

/* --- Projects --- */
.project-card {
  padding-bottom: 1.5rem;
}

.project-card .img-frame {
  border-radius: 0;
  box-shadow: none;
}

.project-card .img-frame::after {
  border: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 10, 20, 0.45));
  box-shadow: none;
}

.project-card .img-frame:hover {
  transform: none;
  box-shadow: none;
}

.project-card .img-frame img {
  transition: transform 0.9s var(--ease-apple), filter 0.5s ease;
}

.project-card:hover .img-frame img {
  transform: scale(1.09);
  filter: saturate(1.15) contrast(1.04);
}

.project-card .project-kw {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  transition: transform 0.4s var(--ease-apple);
}

.project-card:hover .project-kw {
  transform: translateX(6px);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* --- Blog cards --- */
.blog-card {
  position: relative;
  padding: 1.9rem 1.75rem;
  overflow: hidden;
}

.blog-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #fbbf24);
  transform: scaleX(0.18);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-apple);
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card .blog-date {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: #eaf2ff;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 0.9rem;
}

.blog-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.blog-card:has(.blog-date:not(:first-of-type)) {}

/* --- Products catalogue cards --- */
.product-card {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.product-card .product-img {
  height: 240px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  position: relative;
  background: #ffffff;
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px -10px rgba(11, 61, 145, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-card .product-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}

.product-card:hover .product-img::after {
  transform: translateX(380%) skewX(-18deg);
  transition: transform 1s var(--ease-apple);
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
  transition: transform 0.5s var(--ease-apple), filter 0.4s ease;
}

.product-card:hover .product-img img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 14px 22px rgba(11, 61, 145, 0.16));
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-card .price-enquiry {
  margin-top: auto;
  margin-bottom: 0.85rem;
}

/* Compact, proportional action buttons for desktop view */
.product-card .product-actions-row,
.product-card>div:last-child {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: auto;
  width: 100%;
}

.product-card .btn,
.product-card .btn-sm {
  padding: 0.35rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  height: 32px;
  min-height: 32px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  letter-spacing: -0.01em;
  line-height: 1;
  min-width: 0;
  flex: 1 1 0;
  box-shadow: 0 2px 6px rgba(11, 61, 145, 0.08);
  transition: transform 0.22s var(--ease-spring), box-shadow 0.25s ease, filter 0.2s ease;
}

.product-card .btn:hover {
  transform: translateY(-2px);
}

.product-card .btn-primary {
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.28);
}

.product-card .btn-whatsapp {
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  font-size: 0.72rem;
}

.product-card .btn-secondary {
  box-shadow: 0 2px 8px rgba(11, 61, 145, 0.18);
}

.filter-bar {
  box-shadow: 0 10px 30px -14px rgba(11, 61, 145, 0.25), inset 0 1px 0 #fff;
}

.filter-btn {
  position: relative;
}

.filter-btn.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* --- Tables --- */
.data-table {
  border-radius: 18px;
  box-shadow: 0 16px 40px -18px rgba(11, 61, 145, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.data-table th {
  background: linear-gradient(135deg, #0a2d6e, #1d4ed8);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.data-table tbody tr {
  transition: background-color 0.25s ease;
}

.data-table tbody tr:hover td {
  background: #eaf2ff;
}

/* --- Checklists --- */
.checklist li {
  transition: transform 0.3s var(--ease-apple), color 0.25s ease;
}

.checklist li:hover {
  transform: translateX(6px);
  color: var(--gray-900);
}

/* --- Footer: obsidian with light --- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #cbd5e1;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(245, 166, 35, 0.12), transparent 70%),
    #060a14;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.7), transparent) 1;
  padding-top: 4rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 20%, transparent 85%);
}

.footer-grid h4 {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fbbf24;
}

.footer-grid a {
  position: relative;
  width: fit-content;
  transition: color 0.25s ease, transform 0.35s var(--ease-apple);
}

.footer-grid a::before {
  content: "→";
  position: absolute;
  left: -1.1rem;
  opacity: 0;
  color: #fbbf24;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-apple);
  transform: translateX(-6px);
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(1.1rem);
}

.footer-grid a:hover::before {
  opacity: 1;
  transform: none;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* --- Split imagery & misc --- */
.split .img-frame {
  box-shadow: 0 30px 60px -24px rgba(11, 61, 145, 0.35);
}

.office-card h3 {
  transition: color 0.3s ease;
}

.office-card:hover h3 {
  color: var(--blue-800);
}

.district-telemetry-card {
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s ease;
}

.district-telemetry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(11, 61, 145, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .feasibility-banner::after {
    animation: none;
  }
}

/* Polish refinements */
.content-intro p:first-child {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: -0.005em;
}

.section-subtitle {
  max-width: 70ch;
}

@media (min-width: 900px) {
  .steps:has(.step:nth-child(5):last-child) {
    grid-template-columns: repeat(5, 1fr);
  }

  .steps:has(.step:nth-child(5):last-child) .step {
    padding-inline: 0.85rem;
  }
}

/* ==========================================================================
   AWWWARDS CRAFT ELEVATION: TACTILE NOISE, MAGNETIC BUTTONS & HARDWARE TEARDOWN
   ========================================================================== */

/* 1. Tactile Physical Matte Noise Texture (Linear / Stripe Style) */
.matte-noise-overlay,
.bento-card::after,
.flagship-product-card::after,
.teardown-stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.032'/%3E%3C/svg%3E");
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
}

/* 2. Luminous Ambient Border Sheen */
.luminous-sheen {
  position: relative;
}

.luminous-sheen::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.4) 0%, rgba(37, 99, 235, 0.3) 50%, rgba(74, 222, 128, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  transition: opacity 0.35s ease;
}

.luminous-sheen:hover::before {
  opacity: 1;
}

/* 3. Magnetic Desktop Button Physics */
.btn-magnetic,
.btn-primary,
.btn-secondary,
.btn-whatsapp,
.btn-outline,
.btn-glass {
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

/* 4. Interactive Hardware Architecture Exploded View Teardown */
.hardware-teardown-section {
  position: relative;
  background: radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, 0.14), transparent 70%), #070d1d;
  color: #ffffff;
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  margin: 3.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.teardown-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .teardown-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 3D Perspective Exploded Stage */
.teardown-stage-card {
  position: relative;
  height: 480px;
  background: rgba(11, 20, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: center center;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.teardown-viewport {
  position: relative;
  width: 290px;
  height: 380px;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-18deg) rotateZ(3deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual Hardware Layers in 3D Stack */
.teardown-layer {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, border-color 0.3s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  user-select: none;
}

/* Layer 1: Exterior Aluminum Casing & LCD */
.teardown-layer-1 {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
  color: #0f172a;
  border: 2px solid #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 #ffffff;
  z-index: 3;
}

/* Layer 2: Inverter Core PCB & Toroidal Transformer */
.teardown-layer-2 {
  background: linear-gradient(145deg, #0f274a 0%, #081830 100%);
  color: #ffffff;
  border: 2px solid #3b82f6;
  box-shadow: 0 20px 40px rgba(11, 61, 145, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* Layer 3: LiFePO4 Lithium Blade Cells & BMS */
.teardown-layer-3 {
  background: linear-gradient(145deg, #063820 0%, #031e10 100%);
  color: #ffffff;
  border: 2px solid #22c55e;
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 1;
}

/* Layer exploded positions (controlled by slider / active tab) */
/* Assembled State (default stack) */
[data-explode-level="0"] .teardown-layer-1 {
  transform: translateZ(25px);
}

[data-explode-level="0"] .teardown-layer-2 {
  transform: translateZ(0px);
}

[data-explode-level="0"] .teardown-layer-3 {
  transform: translateZ(-25px);
}

/* Semi-Exploded State */
[data-explode-level="50"] .teardown-layer-1 {
  transform: translateZ(85px) translateY(-40px) translateX(-25px);
}

[data-explode-level="50"] .teardown-layer-2 {
  transform: translateZ(0px);
}

[data-explode-level="50"] .teardown-layer-3 {
  transform: translateZ(-85px) translateY(40px) translateX(25px);
}

/* Full Exploded State (100%) */
[data-explode-level="100"] .teardown-layer-1 {
  transform: translateZ(150px) translateY(-75px) translateX(-45px);
}

[data-explode-level="100"] .teardown-layer-2 {
  transform: translateZ(0px);
}

[data-explode-level="100"] .teardown-layer-3 {
  transform: translateZ(-150px) translateY(75px) translateX(45px);
}

/* Highlight specific layer when focused */
.teardown-layer.is-focused {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.6) !important;
}

/* Layer Graphics & Badges */
.layer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  width: fit-content;
}

.layer-badge-1 {
  background: #dbeafe;
  color: #1e40af;
}

.layer-badge-2 {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.layer-badge-3 {
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
}

/* Interactive Explode Slider Bar */
.teardown-controller-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.teardown-slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.teardown-range-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6 var(--teardown-pct, 50%), rgba(255, 255, 255, 0.2) var(--teardown-pct, 50%));
  outline: none;
  cursor: pointer;
}

.teardown-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fbbf24;
  border: 3px solid #070d1d;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.teardown-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.teardown-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.teardown-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
}

.teardown-tab-btn.active,
.teardown-tab-btn:hover {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
}

/* Right-Hand Spec Display Card */
.teardown-spec-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.teardown-spec-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.teardown-spec-tag {
  color: #fbbf24;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.teardown-features-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.teardown-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.teardown-features-list li::before {
  content: "⚡";
  color: #fbbf24;
  font-size: 0.85rem;
}

/* ==========================================================================
   DESIGNER COUNCIL: SITE-WIDE ULTRA-RICH BUTTON ELEVATION SUITE
   Transforms all buttons across inner pages into tactile, luxury elements
   ========================================================================== */

/* Universal Button Architecture & Hardware-Accelerated Micro-Transitions */
.btn {
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  letter-spacing: -0.012em;
}

/* Specular Angled Light Beam Shimmer across all buttons on hover */
.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -130%;
  width: 65%;
  height: 220%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 20%,
      rgba(255, 255, 255, 0.48) 50%,
      rgba(255, 255, 255, 0.05) 80%,
      transparent 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.btn:hover::after {
  transform: translateX(480%) skewX(-22deg);
}

/* Tactile Active Press Snap — subtle micro-depression */
.btn:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Micro-Glide for Trailing Arrows & Icons */
.btn:hover>span.arrow,
.btn:hover>svg,
.btn:hover>.btn-icon {
  transform: translateX(2px);
  transition: transform 0.22s ease;
}

/* 1. Primary Button — Solar Radiant Amber / Gold */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 28%, #f5a623 60%, #ea580c 100%) !important;
  color: #0b192c !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow:
    0 4px 18px -2px rgba(245, 158, 11, 0.45),
    0 10px 28px -4px rgba(234, 88, 12, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 30%, #f59e0b 65%, #ea580c 100%) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  color: #0b192c !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -4px rgba(245, 158, 11, 0.6),
    0 0 22px rgba(251, 191, 36, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Subtle Idle Breathing Aura for Primary CTAs */
@keyframes cta-gold-aura {

  0%,
  100% {
    box-shadow:
      0 4px 18px -2px rgba(245, 158, 11, 0.45),
      0 10px 28px -4px rgba(234, 88, 12, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.8),
      inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  }

  50% {
    box-shadow:
      0 6px 24px -2px rgba(245, 158, 11, 0.6),
      0 12px 34px -4px rgba(234, 88, 12, 0.35),
      0 0 20px rgba(251, 191, 36, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  }
}

.hero .btn-primary,
.cta-band .btn-primary,
.btn-primary.btn-pulse {
  animation: cta-gold-aura 3.5s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none !important;
}

/* 2. Secondary Button — Clean-Tech Sapphire Royal Blue */
.btn-secondary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 35%, #1e40af 70%, #0c2d6b 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(147, 197, 253, 0.45) !important;
  box-shadow:
    0 4px 16px -2px rgba(37, 99, 235, 0.42),
    0 10px 28px -4px rgba(11, 61, 145, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 35%, #1d4ed8 70%, #0f2b66 100%) !important;
  border-color: rgba(191, 219, 254, 0.85) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -4px rgba(37, 99, 235, 0.55),
    0 0 22px rgba(96, 165, 250, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

/* 3. WhatsApp Button — Radiant Luminous Emerald */
.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 45%, #15803d 80%, #0f5132 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(187, 247, 208, 0.5) !important;
  box-shadow:
    0 4px 16px -2px rgba(34, 197, 94, 0.45),
    0 10px 28px -4px rgba(22, 163, 74, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 40%, #16a34a 75%, #15803d 100%) !important;
  border-color: rgba(220, 252, 231, 0.85) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -4px rgba(34, 197, 94, 0.55),
    0 0 22px rgba(74, 222, 128, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

/* 4. Outline / Frosted Glass Button */
.btn-outline {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* Outline button on light backgrounds & action cards */
.section:not(.hero) .btn-outline,
.section-alt .btn-outline,
.card .btn-outline,
.contact-action-card .btn-outline {
  background: rgba(11, 61, 145, 0.05) !important;
  color: #0b3d91 !important;
  border: 1.5px solid #0b3d91 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(11, 61, 145, 0.08) !important;
}

.section:not(.hero) .btn-outline:hover,
.section-alt .btn-outline:hover,
.card .btn-outline:hover,
.contact-action-card .btn-outline:hover {
  background: #0b3d91 !important;
  border-color: #0b3d91 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 61, 145, 0.25) !important;
}

/* 5. Pure Glass White Button */
.btn-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.82) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  color: #0b3d91 !important;
  box-shadow: 0 4px 18px rgba(11, 61, 145, 0.1), inset 0 1px 0 #ffffff;
}

.btn-glass:hover {
  background: #ffffff !important;
  border-color: #93c5fd !important;
  color: #0b3d91 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.14), inset 0 1px 0 #ffffff !important;
}

/* 6. Filter & Pill Buttons Elevation */
.proj-filter-btn,
.filter-btn,
.calc-preset-btn,
.scenario-btn {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-filter-btn:not(.active),
.filter-btn:not(.active) {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: #334155;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.proj-filter-btn:not(.active):hover,
.filter-btn:not(.active):hover {
  background: #ffffff;
  border-color: #93c5fd;
  color: #0b3d91;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
}

.proj-filter-btn.active,
.filter-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #0b3d91 100%) !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   DESIGNER COUNCIL: MULTI-PLANE PARALLAX DEPTH SYSTEM
   Adds dynamic visual depth layers to inner heroes, closing CTAs & key sections
   ========================================================================== */

/* Inner Page Hero Parallax Canvas */
.hero,
.hero-compact {
  position: relative;
  overflow: hidden;
}

.hero-parallax-glow {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle at center, rgba(245, 166, 35, 0.22) 0%, rgba(37, 99, 235, 0.15) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
  will-change: transform;
}

.hero-parallax-spot {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  z-index: 0;
  will-change: transform;
}

/* Closing CTA Band Parallax Depth */
.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-parallax-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 680px;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.26) 0%, rgba(37, 99, 235, 0.2) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  z-index: 0;
  will-change: transform;
}

.cta-parallax-grid {
  position: absolute;
  inset: -25% 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 85%);
}

/* Native CSS Scroll-Driven Parallax (Progressive Enhancement) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-compact .hero-parallax-glow {
      animation: heroGlowParallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    .hero-compact .hero-parallax-spot {
      animation: heroSpotParallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    .cta-band .cta-parallax-glow {
      animation: ctaGlowParallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    .cta-band .cta-parallax-grid {
      animation: ctaGridParallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes heroGlowParallax {
  from {
    transform: translateY(0) scale(0.95);
  }

  to {
    transform: translateY(110px) scale(1.2);
  }
}

@keyframes heroSpotParallax {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-80px) scale(1.15);
  }
}

@keyframes ctaGlowParallax {
  from {
    transform: translateX(-50%) translateY(90px) scale(0.85);
  }

  to {
    transform: translateX(-50%) translateY(-60px) scale(1.25);
  }
}

@keyframes ctaGridParallax {
  from {
    transform: translateY(40px);
  }

  to {
    transform: translateY(-40px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-parallax-glow,
  .hero-parallax-spot,
  .cta-parallax-glow,
  .cta-parallax-grid {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================================
   PROJECT GALLERY CAROUSEL & FULLSCREEN LIGHTBOX COMPONENT
   ========================================================================= */

body.lightbox-open {
  overflow: hidden !important;
}

/* Card Multi-Image Carousel */
.proj-card-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0;
  background: #090e1a;
  cursor: pointer;
  user-select: none;
}

.proj-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.proj-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.proj-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.proj-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.proj-card-carousel:hover .proj-carousel-slide.active img {
  transform: scale(1.06);
}

/* Card Nav Buttons */
.proj-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
}

.proj-card-carousel:hover .proj-carousel-nav,
.proj-card-carousel:focus-within .proj-carousel-nav {
  opacity: 1;
}

.proj-carousel-nav:hover {
  background: #0b3d91;
  border-color: #60a5fa;
  transform: translateY(-50%) scale(1.1);
}

.proj-carousel-nav.prev {
  left: 8px;
}

.proj-carousel-nav.next {
  right: 8px;
}

/* Card Carousel Badges */
.proj-carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.proj-carousel-zoom-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 61, 145, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.2s ease;
}

.proj-card-carousel:hover .proj-carousel-zoom-pill {
  transform: translateY(-2px);
  background: #0b3d91;
}

/* =========================================================================
   FULLSCREEN PROJECT LIGHTBOX DIALOG
   ========================================================================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  z-index: 99999;
  display: none;
}

.project-lightbox[open] {
  display: block;
}

.project-lightbox::backdrop {
  background: rgba(6, 10, 20, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.lightbox-shell {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  overflow: hidden;
}

/* Lightbox Header */
.lightbox-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  z-index: 10;
}

.lb-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.lb-badge {
  background: #0b3d91;
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.lb-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-location {
  font-size: 0.82rem;
  color: #94a3b8;
  white-space: nowrap;
}

.lb-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lb-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.lb-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.lb-btn-close:hover {
  background: #ef4444;
  border-color: #f87171;
}

/* Lightbox Body Split */
.lightbox-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  min-height: 0;
  overflow: hidden;
}

/* Visual Stage */
.lightbox-visual-col {
  display: flex;
  flex-direction: column;
  background: #060a12;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.lightbox-canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.25rem 4rem;
  min-height: 0;
  overflow: hidden;
}

.lb-figure {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#lb-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
  transition: opacity 0.25s ease;
}

/* Large Floating Nav Arrows */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.lb-nav-btn:hover {
  background: #0b3d91;
  transform: translateY(-50%) scale(1.1);
  border-color: #60a5fa;
}

.lb-nav-btn.prev {
  left: 1.25rem;
}

.lb-nav-btn.next {
  right: 1.25rem;
}

/* Caption Bar */
.lb-caption-bar {
  padding: 0.75rem 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #e2e8f0;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.45;
}

/* Thumbnails Strip */
.lb-thumb-strip {
  height: 84px;
  background: #080d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 1.25rem;
  overflow-x: auto;
  flex-shrink: 0;
}

.lb-thumb-btn {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #1e293b;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.lb-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumb-btn.active,
.lb-thumb-btn:hover {
  opacity: 1;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* Details Aside Column */
.lightbox-details-col {
  background: #0b1120;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lb-details-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lb-client-box {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.lb-client-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.lb-client-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

/* Specifications Table */
.lb-specs-table {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lb-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.lb-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lb-spec-k {
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}

.lb-spec-v {
  color: #f8fafc;
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
}

.lb-spec-v.highlight {
  color: #4ade80;
  font-weight: 700;
}

/* Engineering Description */
.lb-notes-box {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
}

.lb-notes-box h4 {
  font-size: 0.95rem;
  color: #93c5fd;
  margin: 0 0 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.lb-notes-box p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Lightbox CTA Buttons */
.lb-cta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.lb-cta-survey {
  width: 100%;
  justify-content: center;
}

.lb-cta-wa {
  width: 100%;
  justify-content: center;
}

/* Lightbox Mobile Responsiveness */
@media (max-width: 900px) {
  .lightbox-body {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh 1fr;
  }

  .lightbox-details-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lightbox-canvas {
    padding: 1rem 2.5rem;
  }

  .lb-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lb-nav-btn.prev {
    left: 0.5rem;
  }

  .lb-nav-btn.next {
    right: 0.5rem;
  }

  .lb-title-wrap .lb-location {
    display: none;
  }
}
