/* ============================================================
   HONU HOME — Premium Solar Appointment Funnel
   Design System & Complete Stylesheet
   ============================================================ */

/* ---------- 1. Variables & Tokens ---------- */
:root {
  /* Backgrounds */
  --bg:        #040d10;
  --bg-2:      #081a1f;
  --surface:   rgba(12, 28, 34, 0.72);
  --surface-2: rgba(10, 22, 28, 0.88);

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  /* Text */
  --text:      #edf7f5;
  --text-2:    #d4e8e3;
  --muted:     #8daaa2;

  /* Brand */
  --primary:    #00e68a;
  --primary-2:  #00c2ff;
  --accent:     #7dffcc;
  --warm:       #ffc857;
  --danger:     #ff6b6b;

  /* Glow */
  --glow-primary: rgba(0, 230, 138, 0.15);
  --glow-secondary: rgba(0, 194, 255, 0.12);

  /* Layout */
  --max:       1200px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow:    0 24px 64px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 80px rgba(0, 230, 138, 0.08);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent iOS input zoom — inputs below 16px trigger auto-zoom on focus */
@supports (-webkit-touch-callout: none) {
  input, select, textarea { font-size: 16px !important; }
}

/* Faster taps — eliminate 300ms delay on interactive elements */
a, button, input, select, textarea, label, [role="button"] {
  touch-action: manipulation;
}

main { overflow: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection {
  background: rgba(0, 230, 138, 0.25);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- 3. Animated Backgrounds ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 900px 600px at 80% 0%, rgba(0, 230, 138, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 10%, rgba(0, 194, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 600px 600px at 50% 80%, rgba(0, 230, 138, 0.04), transparent 50%),
    linear-gradient(180deg, #040d10 0%, #030a0d 50%, #040d10 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Floating orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}
.orb-1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(0, 230, 138, 0.3), transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.25), transparent 70%);
  animation: orbFloat2 25s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(0, 230, 138, 0.15), transparent 70%);
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.1); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.92); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.15); }
}

/* ---------- 4. Layout ---------- */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: clip;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0) 50%, rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* ---------- 5. Typography ---------- */
.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.text-gradient {
  background: linear-gradient(135deg, #b8ffe8 0%, #00e68a 30%, #00c2ff 70%, #7dffcc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- 6. Header & Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: linear-gradient(to bottom, rgba(4, 13, 16, 0.92), rgba(4, 13, 16, 0.7));
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 300ms ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 200ms;
}
.brand:hover { opacity: 0.85; }

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 200ms, background 200ms;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 200ms;
}
.menu-toggle:hover { background: rgba(255,255,255,0.08); }

.mobile-menu {
  display: none;
  padding-bottom: 20px;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 200ms;
}
.mobile-menu a:hover {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.mobile-menu.open {
  display: grid;
}

/* Nav state dropdown */
.nav-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  padding: 6px 10px;
  border-radius: 12px;
  transition: border-color 200ms;
}
.nav-select-wrap:hover { border-color: var(--border-hover); }
.nav-select-wrap span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-select-wrap select,
.mobile-service-select select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.88rem;
  min-width: 140px;
  cursor: pointer;
}
.mobile-service-select {
  display: grid;
  gap: 6px;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.mobile-service-select label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 200ms ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: 16px;
}

.btn.full { width: 100%; }

.btn-primary {
  color: #021a12;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 32px rgba(0, 230, 138, 0.2), 0 2px 8px rgba(0, 230, 138, 0.15);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 200ms;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 230, 138, 0.3), 0 4px 12px rgba(0, 230, 138, 0.2);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-warm {
  color: #1a1000;
  background: linear-gradient(135deg, var(--warm), #ffa726);
  box-shadow: 0 8px 28px rgba(255, 200, 87, 0.2);
}
.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 200, 87, 0.3);
}

/* Pulse animation for primary CTAs */
.btn-pulse {
  animation: btnPulse 3s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0, 230, 138, 0.2), 0 2px 8px rgba(0, 230, 138, 0.15); }
  50% { box-shadow: 0 8px 32px rgba(0, 230, 138, 0.35), 0 2px 8px rgba(0, 230, 138, 0.25), 0 0 0 8px rgba(0, 230, 138, 0.05); }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: clip;
  min-height: min(85vh, 800px);
  display: flex;
  align-items: center;
}

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

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: border-color 300ms;
}
.trust-chip:hover { border-color: var(--border-hover); }

/* Hero glass card */
.hero-card .glass-card {
  padding: 24px;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.dot-green {
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--glow-primary), 0 0 12px var(--glow-primary);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--glow-primary), 0 0 12px var(--glow-primary); }
  50% { box-shadow: 0 0 0 8px rgba(0, 230, 138, 0.08), 0 0 20px var(--glow-primary); }
}

.funnel-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.funnel-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 14px;
  transition: border-color 300ms, background 300ms;
}
.funnel-step:hover {
  border-color: rgba(0, 230, 138, 0.15);
  background: rgba(0, 230, 138, 0.02);
}
.step-num {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 230, 138, 0.08);
  border: 1px solid rgba(0, 230, 138, 0.18);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}
.funnel-step h4 {
  margin: 2px 0 4px;
  font-size: 0.95rem;
}
.funnel-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- 9. Social Proof Bar ---------- */
.proof-bar {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  background: linear-gradient(180deg, rgba(0, 230, 138, 0.02), transparent);
}
.proof-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-stat {
  padding: 8px;
}
.proof-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- 10. Feature / How It Works Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), border-color 400ms, box-shadow 400ms;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 138, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.18), rgba(0, 194, 255, 0.14));
  border-color: rgba(0, 230, 138, 0.3);
  box-shadow: 0 0 32px rgba(0, 230, 138, 0.12);
}
.feature-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.1), rgba(0, 194, 255, 0.08));
  border: 1px solid rgba(0, 230, 138, 0.15);
  box-shadow: 0 0 24px rgba(0, 230, 138, 0.06);
  transition: background 400ms, border-color 400ms, box-shadow 400ms, transform 400ms;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 300ms;
}
.feature-card:hover .feature-icon svg {
  stroke: var(--accent);
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Step numbers for how-it-works */
.feature-card .step-indicator {
  position: absolute;
  top: -1px; right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #021a12;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.06em;
}

/* ---------- 11. Split Grid ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.split-grid h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.split-grid p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.65;
}

/* Stats panel */
.stats-panel {
  display: grid;
  gap: 14px;
}
.stat-card {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 6px;
  transition: border-color 300ms;
}
.stat-card:hover { border-color: var(--border-hover); }
.stat-label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-value {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ---------- 12. Savings Calculator ---------- */
.calc-section {
  background:
    radial-gradient(ellipse 600px 300px at 20% 50%, rgba(0, 230, 138, 0.06), transparent),
    radial-gradient(ellipse 500px 250px at 80% 40%, rgba(0, 194, 255, 0.05), transparent);
}
.calc-card {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid rgba(0, 230, 138, 0.15);
  background:
    radial-gradient(ellipse 400px 200px at 10% 10%, rgba(0, 230, 138, 0.05), transparent 60%),
    var(--surface-2);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow), var(--shadow-glow);
  backdrop-filter: blur(16px);
}
.calc-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 800;
}
.calc-card > p {
  color: var(--muted);
  margin-bottom: 24px;
}
.calc-field {
  margin-bottom: 20px;
}
.calc-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
.calc-slider-wrap {
  position: relative;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 4px 16px rgba(0, 230, 138, 0.3);
  cursor: grab;
  border: 3px solid var(--bg);
}
.calc-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 4px 16px rgba(0, 230, 138, 0.3);
  cursor: grab;
  border: 3px solid var(--bg);
}
.calc-value-display {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 10px;
}
.calc-result {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(0, 230, 138, 0.06);
  border: 1px solid rgba(0, 230, 138, 0.15);
  text-align: center;
}
.calc-result-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 4px;
}
.calc-result-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc-result-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}
.calc-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 16px;
  opacity: 0.7;
}

/* ---------- 13. Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 14px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), border-color 400ms, box-shadow 400ms;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 200, 87, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 32px rgba(255, 200, 87, 0.04);
}
.stars {
  color: var(--warm);
  letter-spacing: 0.06em;
  font-size: 1.1rem;
}
.quote {
  margin: 0;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}
.reviewer {
  display: grid;
  gap: 3px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.reviewer strong { font-size: 0.95rem; }
.reviewer span { color: var(--muted); font-size: 0.82rem; }

/* ---------- 14. Service Areas ---------- */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.market-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background:
    radial-gradient(ellipse 300px 150px at 0% 0%, rgba(0, 230, 138, 0.04), transparent),
    rgba(255,255,255,0.02);
  color: inherit;
  display: grid;
  gap: 12px;
  transition: all 300ms ease;
}
.market-card:hover {
  border-color: rgba(0, 230, 138, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 230, 138, 0.05);
}
.market-top {
  display: grid;
  gap: 8px;
}
.market-top strong {
  font-size: 1rem;
  line-height: 1.3;
}
.market-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.market-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 200ms;
}
.market-card:hover .market-link { color: var(--primary); }

/* ---------- 15. Services Grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: 20px;
  padding: 24px;
  transition: transform 300ms, border-color 300ms;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}
.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ---------- 16. CTA Band ---------- */
.cta-band {
  padding: 40px 0;
}
.cta-band-inner {
  border: 1px solid rgba(0, 230, 138, 0.18);
  background:
    radial-gradient(ellipse 600px 200px at 10% 30%, rgba(0, 230, 138, 0.1), transparent),
    radial-gradient(ellipse 500px 200px at 90% 80%, rgba(0, 194, 255, 0.08), transparent),
    rgba(255,255,255,0.025);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 230, 138, 0.06), var(--shadow);
}
.cta-band-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 138, 0.3), transparent);
}
.cta-band-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.15), transparent);
}
.cta-band-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-band-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- 17. FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}
.faq-list.center { margin-inline: auto; }

.faq-item {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 0;
  transition: border-color 300ms, box-shadow 300ms, background 300ms;
  overflow: hidden;
}
.faq-item:hover {
  border-color: var(--border-hover);
}
.faq-item[open] {
  border-color: rgba(0, 230, 138, 0.15);
  background: rgba(0, 230, 138, 0.02);
  box-shadow: 0 4px 24px rgba(0, 230, 138, 0.04);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 200ms;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 300ms;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-item p,
.faq-item div.faq-answer {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ---------- 18. Install Gallery ---------- */
.gallery-head {
  margin: 32px 0 16px;
}
.gallery-head h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.gallery-head p {
  margin: 0;
  color: var(--muted);
}

.install-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.install-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), border-color 400ms, box-shadow 400ms;
}
.install-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 138, 0.2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 230, 138, 0.06);
}
.install-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #0b1618;
}
.install-card figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- 19. Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.footer-inner strong { font-size: 1rem; }
.footer-inner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.footer-links a { transition: color 200ms; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- 20. Booking Page ---------- */
.booking-page { padding-top: 40px; }

.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  min-width: 0;
  overflow: hidden;
}

.booking-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
  min-width: 0;
}
.panel-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}
.panel-head p:last-child {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

/* Form progress bar */
.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.form-progress-step {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  transition: background 400ms;
}
.form-progress-step.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.booking-form {
  display: grid;
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms, background 200ms;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(142, 170, 162, 0.6);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 230, 138, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 230, 138, 0.08);
  background: rgba(255,255,255,0.06);
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}

.address-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.help-text {
  color: var(--muted);
  font-size: 0.82rem;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.map-toolbar .btn {
  padding: 10px 14px;
  font-size: 0.88rem;
}
.map-status {
  color: var(--muted);
  font-size: 0.86rem;
}

.map {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a1318;
}
.leaflet-container { font-family: inherit; }
.leaflet-control-attribution {
  background: rgba(4, 13, 16, 0.8) !important;
  color: #c4d7d3 !important;
  border-radius: 8px;
  margin: 0 8px 8px 0 !important;
  font-size: 0.72rem !important;
}
.leaflet-control-attribution a { color: #baf2e2 !important; }

.file-meta {
  padding: 12px 14px;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  background: rgba(255,255,255,0.02);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

.consent-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  padding: 14px 16px;
}
.consent-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* Booking aside */
.booking-aside .sticky {
  position: sticky;
  top: 92px;
}
.timeline {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.timeline li {
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 4px;
  transition: border-color 200ms;
}
.timeline li:hover { border-color: var(--border-hover); }
.timeline li strong { font-size: 0.95rem; }
.timeline li span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.aside-note {
  border: 1px solid rgba(0, 230, 138, 0.18);
  background: rgba(0, 230, 138, 0.04);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.aside-note h4 { margin: 0 0 6px; color: var(--primary); font-size: 0.9rem; }
.aside-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------- 21. Thank You ---------- */
.thank-you-card {
  max-width: 760px;
  margin: 40px auto 0;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.thank-you-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--primary));
}
.check-mark {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 2rem;
  color: #021a12;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 32px rgba(0, 230, 138, 0.2);
  animation: checkPop 600ms ease-out;
}
@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.thank-you-card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.thank-you-card > p {
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 52ch;
  line-height: 1.65;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 22. Utility / State Pages ---------- */
.utility-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.utility-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.025);
  padding: 24px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), border-color 400ms, box-shadow 400ms;
}
.utility-card:hover {
  border-color: rgba(0, 230, 138, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 0 24px rgba(0, 230, 138, 0.04);
}
.utility-card h3 {
  margin: 10px 0 10px;
  font-size: 1.05rem;
}
.utility-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.5;
}

.utility-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 230, 138, 0.2);
  color: var(--primary);
  background: rgba(0, 230, 138, 0.06);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.utility-panel .bullet-stack {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.bill-anatomy {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  padding: 24px;
}
.bill-anatomy h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.anatomy-card {
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 16px;
}
.anatomy-card h4 { margin: 0 0 6px; font-size: 0.95rem; }
.anatomy-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.rate-note {
  border: 1px solid rgba(0, 194, 255, 0.18);
  background: rgba(0, 194, 255, 0.04);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.rate-note strong { font-size: 0.95rem; }
.rate-note span { color: var(--muted); font-size: 0.9rem; }
.rate-note code,
.gallery-head code {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--accent);
  font-size: 0.85em;
}

.rate-watch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rate-watch-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  padding: 24px;
}
.rate-watch-card h3 { margin: 10px 0 10px; font-size: 1.05rem; }
.rate-watch-card ul {
  margin: 0; padding-left: 20px; color: var(--muted);
  display: grid; gap: 8px;
}
.rate-watch-card strong { color: var(--text); }

.source-link-panel {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  padding: 24px;
}
.source-link-panel h3 { margin: 0 0 8px; font-size: 1.05rem; }
.source-link-panel p { margin: 0 0 14px; color: var(--muted); }
.source-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.source-link {
  display: block;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: rgba(255,255,255,0.015);
  font-size: 0.9rem;
  transition: all 200ms;
}
.source-link:hover {
  color: var(--text);
  border-color: rgba(0, 230, 138, 0.25);
  background: rgba(0, 230, 138, 0.03);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.control-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  padding: 24px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1), border-color 400ms, box-shadow 400ms;
}
.control-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}
.control-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
.control-card ul {
  margin: 0; padding-left: 20px; color: var(--muted);
  display: grid; gap: 10px; line-height: 1.5;
}
.control-card-highlight {
  border-color: rgba(0, 230, 138, 0.2);
  background:
    radial-gradient(ellipse 400px 150px at 10% 0%, rgba(0, 230, 138, 0.08), transparent),
    rgba(255,255,255,0.025);
  box-shadow: 0 0 40px rgba(0, 230, 138, 0.04);
}
.control-card-highlight:hover {
  border-color: rgba(0, 230, 138, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 230, 138, 0.08);
}
.control-steps { margin-top: 8px; }

/* ---------- 23. Battery Page ---------- */
.battery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.battery-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  display: grid;
  transition: transform 300ms, border-color 300ms;
}
.battery-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}
.battery-image-wrap {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.01);
}
.battery-image-wrap img {
  width: 100%; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
}
.battery-body {
  padding: 20px;
  display: grid;
  gap: 12px;
}
.battery-body h3 { margin: 0; font-size: 1.1rem; }
.battery-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.battery-body ul {
  margin: 0; padding-left: 20px; color: var(--muted);
  display: grid; gap: 8px; line-height: 1.5;
}
.battery-preview-card .compact-list {
  margin: 0 0 14px; padding-left: 20px; color: var(--muted);
  display: grid; gap: 8px; line-height: 1.5;
}

.photo-upload-tip {
  margin-top: 20px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.015);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.photo-upload-tip strong { font-size: 0.95rem; }
.photo-upload-tip span { color: var(--muted); font-size: 0.9rem; }

.rebate-box {
  border: 1px solid rgba(0, 230, 138, 0.2);
  background:
    radial-gradient(ellipse 600px 200px at 0% 0%, rgba(0, 230, 138, 0.06), transparent),
    rgba(255,255,255,0.02);
  border-radius: 22px;
  padding: 28px;
  display: grid;
  gap: 14px;
}
.rebate-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(0, 230, 138, 0.22);
  color: var(--primary);
  background: rgba(0, 230, 138, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.rebate-box h3 { margin: 0; font-size: 1.15rem; }
.rebate-box p { margin: 0; color: var(--muted); line-height: 1.55; }
.rebate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rebate-mini {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.015);
}
.rebate-mini h4 { margin: 0 0 6px; font-size: 0.92rem; }
.rebate-mini p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- 24. Floating Mobile CTA ---------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(4, 13, 16, 0.98), rgba(4, 13, 16, 0.9));
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 230, 138, 0.12);
  transform: translateY(100%);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-cta.visible { transform: translateY(0); }
.floating-cta .btn { width: 100%; }

/* ---------- 25. Social Proof Notifications ---------- */
.social-proof-toast {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px)); left: 16px;
  z-index: 800;
  max-width: 320px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-120%);
  opacity: 0;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.social-proof-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.toast-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 230, 138, 0.08);
  border: 1px solid rgba(0, 230, 138, 0.15);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.toast-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.toast-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- 26. Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- 27. Utility Classes ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 28. Kalani Chat Widget ---------- */
.kalani-widget {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 2000;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kalani-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 16, 20, 0.85);
  backdrop-filter: blur(14px);
  color: var(--text);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 200ms ease;
}
.kalani-launcher:hover {
  transform: translateY(-2px);
  background: rgba(8, 16, 20, 0.92);
  border-color: rgba(0, 230, 138, 0.2);
  box-shadow: 0 20px 56px rgba(0,0,0,0.5);
}

.kalani-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--glow-primary);
  animation: dotPulse 2.5s ease-in-out infinite;
}

.kalani-launcher-text { display: grid; line-height: 1.1; }
.kalani-launcher-text strong { font-size: 0.92rem; letter-spacing: -0.01em; }
.kalani-launcher-text small { color: var(--muted); font-size: 0.72rem; margin-top: 2px; }

.kalani-badge {
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #021a12;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.kalani-panel {
  width: min(380px, calc(100vw - 32px));
  margin-top: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 16, 20, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  display: none;
}
.kalani-panel.open { display: block; }

.kalani-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(ellipse 350px 100px at 15% 30%, rgba(0, 230, 138, 0.08), transparent),
    radial-gradient(ellipse 300px 100px at 85% 80%, rgba(0, 194, 255, 0.06), transparent),
    rgba(255,255,255,0.02);
}

.kalani-avatar {
  width: 38px; height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 1.1rem;
}

.kalani-head-text { display: grid; line-height: 1.15; flex: 1; }
.kalani-head-text strong { font-size: 0.95rem; }
.kalani-head-text small { color: var(--muted); font-size: 0.76rem; margin-top: 2px; }

.kalani-close {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 12px;
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 200ms;
}
.kalani-close:hover { background: rgba(255,255,255,0.06); }

.kalani-messages {
  padding: 14px;
  height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: grid;
  gap: 10px;
  align-content: start;
}

.kalani-msg {
  max-width: 88%;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.5;
}
.kalani-msg a { color: var(--primary); font-weight: 600; }
.kalani-msg a:hover { text-decoration: underline; }
.kalani-msg.user {
  margin-left: auto;
  background: rgba(0, 230, 138, 0.08);
  border-color: rgba(0, 230, 138, 0.18);
}
.kalani-msg.kalani { margin-right: auto; }

/* Typing indicator */
.kalani-typing .typing-dots span {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  animation: typingBounce 1.4s ease-in-out infinite;
}
.kalani-typing .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.kalani-typing .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.kalani-quick {
  padding: 10px 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.kalani-q {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms;
}
.kalani-q:hover {
  border-color: rgba(0, 230, 138, 0.2);
  background: rgba(0, 230, 138, 0.06);
}
.kalani-q-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kalani-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.kalani-form input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 200ms, box-shadow 200ms;
}
.kalani-form input:focus {
  border-color: rgba(0, 230, 138, 0.3);
  box-shadow: 0 0 0 4px rgba(0, 230, 138, 0.08);
}
.kalani-form button {
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
  color: #021a12;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  transition: all 200ms;
}
.kalani-form button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* ---------- 29. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .booking-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .proof-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: center;
  }
  .cta-band-inner .btn { width: 100%; }

  .booking-aside .sticky {
    position: static;
    top: auto;
  }

  .testimonial-grid,
  .install-gallery,
  .utility-card-grid,
  .rate-watch-grid,
  .control-grid,
  .source-link-grid,
  .anatomy-grid,
  .service-areas-grid,
  .battery-grid,
  .rebate-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 40px;
  }

  .section {
    padding: 72px 0;
  }

  .calc-card {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-select-wrap { display: none; }

  .grid-2,
  .address-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .map {
    height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }

  /* Show floating CTA on mobile */
  .floating-cta {
    display: block;
  }

  /* Offset Kalani widget when floating CTA is visible */
  .kalani-widget {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }

  .social-proof-toast {
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    max-width: none;
  }

  /* Prevent content from being hidden behind floating elements */
  .footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .proof-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  /* Mobile Kalani panel — full-width for easier use */
  .kalani-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    max-height: 85dvh;
    display: none;
  }
  .kalani-panel.open {
    display: flex;
    flex-direction: column;
  }
  .kalani-messages {
    flex: 1;
    min-height: 0;
    height: auto;
    max-height: 50vh;
    max-height: 50dvh;
  }
  .kalani-form {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 520px) {
  .kalani-widget { right: 10px; }

  .proof-bar-grid {
    gap: 12px;
  }
  .proof-number {
    font-size: 1.8rem;
  }

  /* Larger touch targets for small screens */
  .kalani-q {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
  .map-toolbar .btn {
    padding: 12px 16px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-row .btn {
    width: 100%;
  }
}

/* ---------- 30. Print Styles ---------- */
@media print {
  .header, .floating-cta, .kalani-widget, .social-proof-toast,
  .orb, .noise, .site-bg { display: none !important; }
  body { background: #fff; color: #111; }
  .section { padding: 24px 0; }
}
