/* ==========================================================================
   BLUE CHIP RENEWABLES - MASTER DESIGN SYSTEM
   Theme: Modern UK Renewable Energy Engineering (Multi-Page Architecture)
   ========================================================================== */

/* --- Custom Properties & Tokens --- */
:root {
  /* Brand Colours */
  --navy-deep: #0B1628;
  --navy-surface: #13233C;
  --navy-card: #182C4A;
  --navy-light: #203A60;

  --green-primary: #12A454;
  --green-hover: #0E8744;
  --green-light: #22C55E;
  --green-subtle: rgba(18, 164, 84, 0.09);
  --green-border: rgba(18, 164, 84, 0.28);
  --green-glow: rgba(18, 164, 84, 0.35);

  --gold-solar: #F5B82E;
  --gold-hover: #DE9F18;
  --gold-subtle: rgba(245, 184, 46, 0.12);
  --gold-border: rgba(245, 184, 46, 0.3);

  /* Backgrounds & Neutrals */
  --bg-soft: #F7F9F8;
  --bg-pure: #FFFFFF;
  --bg-alt: #EFF3F1;
  --bg-card: #FFFFFF;

  /* Typography Colours */
  --text-dark: #17202A;
  --text-body: #394859;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-light: rgba(11, 22, 40, 0.08);
  --border-strong: rgba(11, 22, 40, 0.14);
  --border-dark-mode: rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(11, 22, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 22, 40, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 22, 40, 0.08);
  --shadow-xl: 0 24px 60px rgba(11, 22, 40, 0.12);
  --shadow-glow: 0 0 30px rgba(18, 164, 84, 0.18);

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 1040px;
  --section-spacing: clamp(4.5rem, 7.5vw, 7rem);
  --section-spacing-sm: clamp(2.75rem, 4.5vw, 4rem);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-soft);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', 'Inter Tight', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p,
span,
a,
li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Ensure grid items never blow out grid tracks */
.finance-split-wrapper > *,
.contact-grid > *,
.features-grid > *,
.services-grid > *,
.inner-hero-grid > *,
.trust-grid > *,
.battery-stepper > *,
.heatpump-steps-grid > *,
.timeline-process-grid > *,
.diagram-nodes-grid > *,
.split-feature-grid > *,
.footer-top-grid > * {
  min-width: 0;
  max-width: 100%;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
  position: relative;
}

.section-sm {
  padding-top: var(--section-spacing-sm);
  padding-bottom: var(--section-spacing-sm);
}

.bg-white {
  background-color: var(--bg-pure);
}

.bg-soft {
  background-color: var(--bg-soft);
}

.bg-navy {
  background-color: var(--navy-deep);
  color: #E2E8F0;
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--text-white);
}

/* --- Badges & Eyebrows --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-subtle);
}

.eyebrow-navy {
  color: var(--green-light);
}

.eyebrow-navy::before {
  background-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-green {
  background-color: var(--green-subtle);
  color: var(--green-primary);
  border: 1px solid var(--green-border);
}

.badge-gold {
  background-color: var(--gold-subtle);
  color: #B47C06;
  border: 1px solid var(--gold-border);
}

.badge-grant {
  background: linear-gradient(135deg, rgba(245, 184, 46, 0.18) 0%, rgba(18, 164, 84, 0.15) 100%);
  color: var(--navy-deep);
  border: 1px solid rgba(245, 184, 46, 0.55);
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  box-shadow: 0 4px 14px rgba(245, 184, 46, 0.15);
  border-radius: var(--radius-full);
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--green-primary);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(18, 164, 84, 0.25);
}

.btn-primary:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 164, 84, 0.35);
  color: var(--text-white);
}

.btn-navy {
  background-color: var(--navy-deep);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(11, 22, 40, 0.15);
}

.btn-navy:hover {
  background-color: var(--navy-surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 22, 40, 0.25);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-pure);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--text-white);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-gold {
  background-color: var(--gold-solar);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 184, 46, 0.3);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 184, 46, 0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   REDESIGNED HEADER & TOP UTILITY BAR
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

/* Top Utility Strip (Full Width) */
.top-bar {
  background: var(--navy-deep);
  color: #CBD5E1;
  font-size: 0.775rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  width: 100%;
}

.top-bar .container {
  max-width: 100%;
  padding-left: clamp(1.25rem, 3.5vw, 3.5rem);
  padding-right: clamp(1.25rem, 3.5vw, 3.5rem);
}

.header-wrapper.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: none;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--green-light);
}

.top-bar-badge {
  background: rgba(18, 164, 84, 0.2);
  color: var(--green-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 700;
  border: 1px solid rgba(18, 164, 84, 0.4);
}

/* Main Navigation Bar (Full Width Edge-to-Edge) */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0rem 0;
  transition: all var(--transition-normal);
  width: 100%;
}

.site-header .container {
  max-width: 100%;
  padding-left: clamp(1rem, 2.5vw, 2.75rem);
  padding-right: clamp(1rem, 2.5vw, 2.75rem);
}

.header-wrapper.scrolled .site-header {
  padding: 0.5rem 0;
  box-shadow: 0 4px 25px rgba(11, 22, 40, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.8vw, 1.75rem);
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: all var(--transition-fast);
}

.header-wrapper.scrolled .brand-logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-deep);
  position: relative;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green-primary);
  background-color: var(--green-subtle);
}

.nav-link.active {
  color: var(--green-primary);
  background-color: var(--green-subtle);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.header-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9125rem;
  font-weight: 700;
  color: var(--navy-deep);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.header-finance-link {
  border: 1.5px solid rgba(18, 164, 84, 0.45);
  background: rgba(18, 164, 84, 0.05);
  color: var(--navy-deep);
  font-size: 0.875rem;
  padding: 0.5rem 0.95rem;
}

.header-finance-link:hover {
  border-color: var(--green-primary);
  background: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(18, 164, 84, 0.2);
  transform: translateY(-1px);
}

/* Mobile Toggle & Drawer Styles */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy-deep);
  z-index: 1100;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.mobile-nav-toggle:hover {
  background: var(--green-subtle);
  color: var(--green-primary);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-pure);
  z-index: 1700;
  padding: 1.5rem 1.25rem 2.5rem;
  box-shadow: -10px 0 40px rgba(11, 22, 40, 0.2);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.mobile-drawer-header img {
  height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Drawer Footer & Apply for Finance CTA */
.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-sizing: border-box;
}

.mobile-finance-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0.875rem 1.25rem;
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: rgba(18, 164, 84, 0.08);
  border: 1.5px solid var(--green-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(18, 164, 84, 0.1);
  cursor: pointer;
}

.mobile-finance-btn:hover,
.mobile-finance-btn:active,
.mobile-finance-btn:focus-visible {
  background: var(--green-primary);
  color: #FFFFFF;
  border-color: var(--green-primary);
  box-shadow: 0 6px 18px rgba(18, 164, 84, 0.28);
  transform: translateY(-1px);
}

.mobile-finance-btn svg {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.mobile-finance-btn:hover svg,
.mobile-finance-btn:active svg {
  transform: translateX(2px) translateY(-2px);
}

.mobile-drawer-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1650;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Hide floating widget when drawer is open */
body:has(.mobile-nav-drawer.open) .floating-chat-widget,
.mobile-nav-drawer.open ~ .floating-chat-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   CINEMATIC FULL-WIDTH HERO BANNER (BIG IMAGE + CLEAN PUNCHY TEXT)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-cinematic {
  position: relative;
  min-height: clamp(640px, 86vh, 820px);
  display: flex;
  align-items: center;
  padding-top: clamp(8.5rem, 13vw, 11rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
  background: var(--navy-deep);
  color: var(--text-white);
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 22, 40, 0.96) 0%,
    rgba(11, 22, 40, 0.88) 45%,
    rgba(11, 22, 40, 0.35) 80%,
    rgba(11, 22, 40, 0.15) 100%
  );
  z-index: 2;
}

.hero-container-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
}

.hero-cinematic .hero-content {
  max-width: 660px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(18, 164, 84, 0.22);
  border: 1px solid rgba(18, 164, 84, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #22C55E;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.hero-title span.highlight-green {
  color: #22C55E;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.225rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

/* Trust Badges Strip */
.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #E2E8F0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-trust-chip svg {
  width: 14px;
  height: 14px;
  color: #22C55E;
}

.hero-trust-chip.chip-gold svg {
  color: var(--gold-solar);
}

/* Floating Badges (Right Visual Area) */
.hero-floating-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  position: relative;
  z-index: 3;
}

.floating-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(11, 22, 40, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  animation: floatSlow 6s ease-in-out infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-white);
}

.floating-badge:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.floating-badge.badge-solar {
  animation-delay: 0s;
}

.floating-badge.badge-battery {
  animation-delay: 2s;
}

.floating-badge.badge-heatpump {
  animation-delay: 4s;
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-solar {
  background: var(--gold-subtle);
  color: var(--gold-solar);
}

.icon-battery {
  background: var(--green-subtle);
  color: #22C55E;
}

.icon-heatpump {
  background: rgba(32, 58, 96, 0.3);
  color: #93C5FD;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
}

.badge-sub {
  font-size: 0.7rem;
  color: #CBD5E1;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green-primary);
  display: inline-block;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: var(--green-primary);
  opacity: 0.4;
  animation: pulseAura 2s ease-out infinite;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseAura {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}


/* ==========================================================================
   INNER PAGE HERO HEADERS (RICH CINEMATIC BLUE/GREEN GRADIENT)
   ========================================================================== */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(8.5rem, 13vw, 10.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  background: 
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(18, 164, 84, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(2, 132, 199, 0.18) 0%, transparent 65%),
    linear-gradient(145deg, #070E1B 0%, #0B1628 55%, #0F233F 100%);
  color: var(--text-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero .hero-title {
  color: var(--text-white);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.inner-hero .hero-subtitle {
  color: #CBD5E1;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 620px;
}

.inner-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
}

.inner-hero .breadcrumbs a {
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.inner-hero .breadcrumbs a:hover {
  color: var(--green-light);
}

.inner-hero .breadcrumbs span {
  color: #CBD5E1;
}

.inner-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(18, 164, 84, 0.22);
  color: #22C55E;
  border: 1px solid rgba(18, 164, 84, 0.45);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inner-hero .btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.inner-hero .btn-outline {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.inner-hero .btn-outline:hover {
  background: var(--text-white);
  color: var(--navy-deep);
  border-color: var(--text-white);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.feature-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-media-card img {
  width: 100%;
  height: clamp(280px, 32vw, 380px);
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.feature-media-card:hover img {
  transform: scale(1.04);
}

.floating-stat-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 22, 40, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.35rem;
  color: var(--text-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.floating-stat-card .stat-val {
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #22C55E;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.floating-stat-card .stat-lbl {
  font-size: 0.775rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  background: var(--bg-pure);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.25rem 0;
  position: relative;
  z-index: 10;
}

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

.trust-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

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

.trust-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-subtle);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--green-border);
}

.trust-card-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.trust-card-content p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ==========================================================================
   WHY BLUE CHIP & ECOSYSTEM
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 3.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--gold-solar));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 164, 84, 0.25);
}

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

.feature-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(11, 22, 40, 0.06);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.feature-card:hover .feature-num {
  color: rgba(18, 164, 84, 0.12);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: var(--green-subtle);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 1px solid var(--green-border);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--navy-deep);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-primary);
}

.in-house-banner {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-surface) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(2rem, 4vw, 3rem);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.in-house-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.in-house-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(18, 164, 84, 0.2);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.in-house-text h4 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.in-house-text p {
  font-size: 0.9375rem;
  color: #CBD5E1;
  margin-bottom: 0;
}

/* ==========================================================================
   ENERGY ECOSYSTEM (INTERACTIVE VISUAL)
   ========================================================================== */
.ecosystem-section {
  background: radial-gradient(circle at 50% 30%, rgba(18, 164, 84, 0.08) 0%, rgba(247, 249, 248, 0) 70%), var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.ecosystem-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.ecosystem-mode-btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-pure);
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ecosystem-mode-btn:hover {
  background: #EAEFEA;
  border-color: var(--green-primary);
}

.ecosystem-mode-btn.active {
  background: var(--navy-deep);
  color: var(--text-white);
  border-color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(11, 22, 40, 0.15);
}

.ecosystem-diagram-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.diagram-nodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 1rem;
  position: relative;
}

.diagram-node {
  background: var(--bg-soft);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.diagram-node:hover,
.diagram-node.active-node {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  background: var(--bg-pure);
  box-shadow: 0 10px 28px rgba(18, 164, 84, 0.12);
}

.node-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.node-sun .node-icon-wrap {
  background: var(--gold-subtle);
  color: #B47C06;
}

.node-solar .node-icon-wrap {
  background: rgba(18, 164, 84, 0.12);
  color: var(--green-primary);
}

.node-battery .node-icon-wrap {
  background: rgba(32, 58, 96, 0.1);
  color: var(--navy-light);
}

.node-home .node-icon-wrap {
  background: rgba(18, 164, 84, 0.12);
  color: var(--green-primary);
}

.node-heatpump .node-icon-wrap {
  background: var(--gold-subtle);
  color: #B47C06;
}

.node-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.node-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.energy-flow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.flow-path {
  stroke: var(--green-primary);
  stroke-width: 3;
  stroke-dasharray: 8 8;
  animation: flowDash 1.2s linear infinite;
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -16;
  }
}

.ecosystem-summary-panel {
  margin-top: 2.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ecosystem-summary-text {
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 500;
}

.ecosystem-summary-text strong {
  color: var(--green-primary);
}

/* ==========================================================================
   SERVICES SECTION (3 LARGE VISUAL CARDS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(18, 164, 84, 0.25);
}

.service-image-wrap {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.06);
}

.service-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-white);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.service-body {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-top: auto;
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(6px);
}

/* ==========================================================================
   SOLAR PV DEDICATED SECTION & INNER PAGE MODULES
   ========================================================================== */
.split-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.feature-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.feature-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-stat-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.benefit-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform var(--transition-fast);
}

.benefit-item:hover {
  transform: translateY(-2px);
  background: var(--bg-pure);
  box-shadow: var(--shadow-sm);
}

.benefit-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.benefit-icon {
  color: var(--green-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.benefit-item p {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 0;
}

.mcs-callout-card {
  background: linear-gradient(135deg, rgba(18, 164, 84, 0.08) 0%, rgba(245, 184, 46, 0.06) 100%);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.mcs-callout-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcs-callout-card p {
  font-size: 0.84375rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   BATTERY STORAGE SECTION
   ========================================================================== */
.battery-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.battery-step-card {
  background: var(--navy-surface);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.battery-step-card.active,
.battery-step-card:hover {
  border-color: var(--green-primary);
  background: var(--navy-card);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.step-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-light);
  color: var(--green-light);
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.battery-step-card.active .step-num-pill {
  background: var(--green-primary);
  color: var(--text-white);
}

.battery-step-card h3 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.battery-step-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 0;
}

.battery-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  margin-top: 3.5rem;
  background: var(--navy-surface);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
}

.battery-stats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.battery-stat-box {
  background: var(--navy-card);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.battery-stat-box .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.battery-stat-box .label {
  font-size: 0.8125rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* ==========================================================================
   HEAT PUMP SECTION
   ========================================================================== */
.grant-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #FFF8E6 0%, #E8F8F0 100%);
  border: 2px solid var(--gold-solar);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(245, 184, 46, 0.15);
}

.inner-hero .grant-banner-badge {
  background: rgba(11, 22, 40, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold-solar);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.inner-hero .grant-banner-badge .grant-val {
  color: var(--gold-solar);
}

.inner-hero .grant-banner-badge .grant-title {
  color: var(--text-white);
}

.inner-hero .grant-banner-badge div > div:last-child {
  color: #CBD5E1 !important;
}

.grant-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #9A6600;
}

.grant-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.heatpump-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.hp-step-box {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.hp-step-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-primary);
}

.hp-step-box .step-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.hp-step-box h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

.hp-step-box p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* ==========================================================================
   HOW IT WORKS & TIMELINE
   ========================================================================== */
.timeline-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.timeline-step-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.timeline-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-primary);
}

.timeline-step-card .step-index {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.timeline-step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.timeline-step-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   FINANCE SECTION & CALCULATOR
   ========================================================================== */
.finance-split-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.finance-info-side {
  padding: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.finance-calc-side {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-surface) 100%);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.finance-calc-side h3 {
  color: var(--text-white);
}

.finance-steps-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.f-mini-step {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
}

.f-mini-step h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.f-mini-step p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Calculator Form & Results */
.calc-field-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-select,
.calc-range {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-select {
  padding: 0.75rem 1rem;
  background: var(--navy-card);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.9375rem;
  cursor: pointer;
  outline: none;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.calc-select:focus {
  border-color: var(--green-primary);
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--navy-light);
  border-radius: 3px;
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(18, 164, 84, 0.6);
}

.calc-result-box {
  background: var(--navy-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.calc-stat-item .c-label {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.calc-stat-item .c-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1.1;
}

.calc-stat-item.gold .c-value {
  color: var(--gold-solar);
}

.fca-compliance-box {
  margin-top: 2rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fca-compliance-box h5 {
  font-size: 0.875rem;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   IDEAL4FINANCE SPECIFIC COMPONENTS & SERVICE STRIP
   ========================================================================== */
.finance-disclaimer-box {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.finance-disclaimer-box p {
  margin-bottom: 0.5rem;
}

.finance-disclaimer-box p:last-child {
  margin-bottom: 0;
}

.finance-disclaimer-box strong {
  color: var(--navy-deep);
  font-weight: 700;
}

/* Service Page Small Finance CTA */
.service-finance-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  position: relative;
}

.service-finance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.service-finance-content {
  flex: 1 1 480px;
}

.service-finance-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-finance-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 0;
  line-height: 1.5;
}

.service-finance-action {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .service-finance-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .service-finance-action {
    width: 100%;
  }

  .service-finance-action .btn {
    width: 100%;
  }
}

/* Dedicated Ideal4Finance Partner Showcase Card */
.ideal-partner-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
}

.ideal-partner-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.ideal-partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(18, 164, 84, 0.1);
  color: var(--green-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--green-border);
}

.ideal-partner-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.ideal-feature-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.ideal-feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}

.ideal-feature-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.ideal-partner-cta-wrap {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.ideal-partner-apply-btn {
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .ideal-partner-apply-btn {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}

.ideal-partner-footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.45;
}

.journey-distinction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.journey-distinction-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-light);
  background: var(--bg-pure);
}

.journey-distinction-card.bluechip {
  border-left: 4px solid var(--green-primary);
}

.journey-distinction-card.ideal {
  border-left: 4px solid var(--navy-deep);
}

.journey-distinction-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.journey-distinction-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .ideal-partner-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .journey-distinction-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

/* ==========================================================================
   CONTACT PAGE & FORMS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.contact-info-card {
  background: var(--navy-deep);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-info-card h3 {
  color: var(--text-white);
}

.contact-form-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0E223D 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-white);
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(18, 164, 84, 0.15) 0%, rgba(11, 22, 40, 0) 70%);
  pointer-events: none;
}

.final-cta-card {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.final-cta-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070E1B;
  color: #94A3B8;
  font-size: 0.875rem;
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img,
.footer-logo {
  height: 52px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  margin-top: 1.25rem;
  line-height: 1.6;
  max-width: 320px;
  color: #94A3B8;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 1.35rem;
}

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

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

.footer-links a:hover {
  color: var(--green-light);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #CBD5E1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--green-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-fca-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #64748B;
}

.footer-fca-section strong {
  color: #94A3B8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: #CBD5E1;
  font-size: 0.75rem;
}

/* ==========================================================================
   INTERACTIVE QUOTE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 22, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-pure);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 2rem;
}

.modal-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-step-bar {
  flex: 1;
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  transition: background-color var(--transition-fast);
}

.progress-step-bar.active {
  background: var(--green-primary);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-pure);
  font-size: 0.9375rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px var(--green-subtle);
}

.option-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.option-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--green-primary);
  background: var(--green-subtle);
}

.option-card h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.form-input.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-input.is-invalid:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-error-msg {
  display: none;
  font-size: 0.775rem;
  color: #DC2626;
  margin-top: 0.35rem;
  font-weight: 500;
}

.form-error-msg.visible {
  display: block;
}

.form-success-pane {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.form-success-pane.visible {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(18, 164, 84, 0.12);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.form-success-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 440px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (ALL BREAKPOINTS 1920px - 360px)
   ========================================================================== */

/* --- Desktop & Laptops (1025px - 1440px) --- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .site-header .container {
    padding-left: clamp(1rem, 1.75vw, 1.75rem);
    padding-right: clamp(1rem, 1.75vw, 1.75rem);
  }

  .header-container {
    gap: clamp(0.5rem, 1.2vw, 1.25rem);
  }

  .brand-logo img {
    height: 66px;
    max-width: 215px;
  }

  .header-wrapper.scrolled .brand-logo img {
    height: 56px;
  }

  .nav-menu {
    gap: clamp(0.1rem, 0.4vw, 0.25rem);
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.45rem clamp(0.45rem, 0.75vw, 0.75rem);
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-phone-link {
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem;
  }

  .header-actions .btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.8125rem;
  }
}

/* Extra fine-tuning for 1025px - 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  .brand-logo img {
    height: 60px;
    max-width: 195px;
  }

  .nav-link {
    font-size: 0.8125rem;
    padding: 0.4rem 0.55rem;
  }

  .header-phone-link {
    display: none;
  }

  .header-actions .btn {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

/* --- Tablet Breakpoint (1024px & 900px) --- */
@media (max-width: 1024px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-phone-link {
    display: none;
  }

  .brand-logo img {
    height: 64px;
    max-width: 220px;
  }

  .header-wrapper.scrolled .brand-logo img {
    height: 54px;
  }

  .hero-container-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 22, 40, 0.95) 0%,
      rgba(11, 22, 40, 0.86) 60%,
      rgba(11, 22, 40, 0.72) 100%
    );
  }

  .hero-floating-badges {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-cinematic .floating-badge {
    animation: none;
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 220px;
  }

  .hero-grid,
  .inner-hero-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .hero-visual-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .features-grid,
  .services-grid,
  .timeline-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .battery-stepper,
  .heatpump-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .diagram-nodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .energy-flow-svg {
    display: none;
  }

  .split-feature-grid,
  .battery-showcase-grid,
  .finance-split-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* --- Tablet Landscape / Portrait Transition (768px) --- */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.35rem 0;
  }

  .top-bar-left {
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header {
    padding: 0.4rem 0;
  }

  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-container {
    gap: 0.75rem;
  }

  .brand-logo img {
    height: 58px;
    max-width: 200px;
    width: auto;
  }

  .header-wrapper.scrolled .brand-logo img {
    height: 50px;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .header-actions .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 700;
  }

  .header-actions .btn .btn-icon {
    display: none;
  }

  .features-grid,
  .services-grid,
  .battery-stepper,
  .timeline-process-grid,
  .benefits-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagram-nodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .in-house-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }

  .in-house-content {
    flex-direction: column;
    text-align: center;
  }

  /* Floating badges responsive layout */
  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0.6rem 0 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    animation: none;
  }
}

/* --- Phablet / Large Mobile (600px) --- */
@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .heatpump-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagram-nodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .finance-steps-mini,
  .battery-stats-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ecosystem-summary-panel {
    flex-direction: column;
    text-align: center;
  }

  .hero-floating-badges .floating-badge {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* --- Mobile Viewports (480px, 430px, 414px, 390px, 375px) --- */
@media (max-width: 480px) {
  .top-bar-item:nth-child(2) {
    display: none;
  }

  .site-header {
    padding: 0.35rem 0;
  }

  .site-header .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-logo img {
    height: 50px;
    max-width: 175px;
  }

  .header-wrapper.scrolled .brand-logo img {
    height: 44px;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-cinematic {
    padding-top: clamp(6.5rem, 16vw, 8rem);
    padding-bottom: clamp(3rem, 8vw, 4rem);
    min-height: auto;
  }

  .inner-hero {
    padding-top: clamp(6.5rem, 16vw, 8rem);
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.18;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 0.8rem 1.15rem;
    min-height: 48px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .option-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc-result-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-body {
    padding: 1.25rem 1rem;
  }

  .modal-header {
    padding: 1.15rem 1rem;
  }

  .contact-info-card,
  .contact-form-card,
  .finance-info-side,
  .finance-calc-side {
    padding: 1.5rem 1.15rem;
  }
}

/* --- Ultra-Compact Mobile (390px - 360px) --- */
@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(1.65rem, 7vw, 1.95rem);
    line-height: 1.16;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }

  .contact-info-card,
  .contact-form-card,
  .finance-info-side,
  .finance-calc-side {
    padding: 1.35rem 0.95rem;
  }

  .hero-trust-chips {
    gap: 0.45rem;
  }

  .hero-trust-chip {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (max-width: 360px) {
  .brand-logo img {
    height: 46px;
    max-width: 155px;
  }

  .site-header .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-pill-tag {
    font-size: 0.725rem;
    padding: 0.3rem 0.65rem;
  }

  .calc-stat-item .c-value {
    font-size: 1.35rem;
  }

  .stat-val {
    font-size: 1.25rem;
  }

  .contact-info-card,
  .contact-form-card,
  .finance-info-side,
  .finance-calc-side {
    padding: 1.25rem 0.8rem;
  }

  .floating-chat-widget {
    bottom: 12px;
    right: 12px;
  }

  .chat-popup-card {
    width: calc(100vw - 24px);
  }
}

/* --- Reduced Motion Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   FLOATING QUICK CONTACT & CHAT WIDGET
   ========================================================================== */
.floating-chat-widget {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Main Trigger Button */
.chat-toggle-btn {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12A454 0%, #0B7A3E 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(18, 164, 84, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  outline: none;
}

.chat-toggle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 34px rgba(18, 164, 84, 0.55);
}

.chat-icon-closed,
.chat-icon-opened {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.chat-icon-closed svg,
.chat-icon-opened svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
}

.chat-icon-opened {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.6);
  pointer-events: none;
}

.floating-chat-widget.open .chat-icon-closed {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
  pointer-events: none;
}

.floating-chat-widget.open .chat-icon-opened {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  pointer-events: auto;
}

/* Pulsing Ping Rings */
.chat-ping-ring,
.chat-ping-ring-2 {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #12A454;
  opacity: 0;
  pointer-events: none;
  animation: chatPingPulse 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.chat-ping-ring-2 {
  animation-delay: 1.4s;
}

.floating-chat-widget.open .chat-ping-ring,
.floating-chat-widget.open .chat-ping-ring-2 {
  animation: none;
  opacity: 0;
}

@keyframes chatPingPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Notification Badge */
.chat-btn-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #E11D48;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: badgeBounce 3s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Chat Popup Card */
.chat-popup-card {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 36px);
  background: #0B1628;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(18, 164, 84, 0.15);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translateY(20px);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.28s;
  pointer-events: none;
}

.floating-chat-widget.open .chat-popup-card {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Card Header */
.chat-card-header {
  background: linear-gradient(135deg, #070E1B 0%, #112240 100%);
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.chat-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #0B1628;
}

.chat-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.chat-card-status {
  font-size: 0.725rem;
  color: #22C55E;
  font-weight: 500;
  margin-top: 0.15rem;
}

.chat-card-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition-fast);
}

.chat-card-close:hover {
  color: #FFFFFF;
}

/* Card Body */
.chat-card-body {
  padding: 1.25rem;
}

.chat-welcome-msg {
  font-size: 0.84375rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border-left: 3px solid #12A454;
}

/* Channels List */
.chat-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.chat-channel-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  cursor: pointer;
}

.chat-channel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-channel-whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
}

.btn-channel-phone:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
}

.btn-channel-email:hover {
  border-color: rgba(2, 132, 199, 0.5);
  background: rgba(2, 132, 199, 0.12);
}

.channel-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.chat-channel-btn:hover .channel-icon-wrap {
  transform: scale(1.1);
}

.icon-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.icon-whatsapp svg {
  width: 22px;
  height: 22px;
}

.icon-phone {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.icon-phone svg {
  width: 19px;
  height: 19px;
}

.icon-email {
  background: rgba(18, 164, 84, 0.2);
  color: #22C55E;
  border: 1px solid rgba(18, 164, 84, 0.35);
}

.icon-email svg {
  width: 19px;
  height: 19px;
}

.channel-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
}

.channel-sub {
  font-size: 0.725rem;
  color: #94A3B8;
  margin-top: 0.1rem;
}

.channel-arrow {
  width: 16px;
  height: 16px;
  color: #64748B;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.chat-channel-btn:hover .channel-arrow {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Quote Button Inside Chat */
.chat-quote-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  background: linear-gradient(135deg, #12A454 0%, #0D7A3E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(18, 164, 84, 0.3);
}

.chat-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 164, 84, 0.45);
}

/* Card Footer */
.chat-card-footer {
  padding: 0.65rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .floating-chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-toggle-btn {
    width: 52px;
    height: 52px;
  }

  .chat-ping-ring,
  .chat-ping-ring-2 {
    inset: -2px;
    animation: chatPingPulseMobile 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  }

  .chat-ping-ring-2 {
    animation-delay: 1.4s;
  }

  .chat-popup-card {
    width: calc(100vw - 32px);
    max-width: 350px;
    right: 0;
    bottom: 66px;
  }
}

@keyframes chatPingPulseMobile {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 360px) {
  .floating-chat-widget {
    bottom: 14px;
    right: 14px;
  }

  .chat-toggle-btn {
    width: 46px;
    height: 46px;
  }

  .chat-ping-ring,
  .chat-ping-ring-2 {
    inset: -1px;
  }

  .chat-popup-card {
    width: calc(100vw - 28px);
    bottom: 58px;
  }
}