/* ============================================================
   Bengaluru Solar — Shared Stylesheet (Light Theme)
   3 palette variations via CSS custom properties
   ============================================================ */

/* ── Default: Karnataka Cream ── */
:root {
  --bg: #FAF7F0;
  --bg-2: #F3EEE3;
  --bg-3: #EBE4D5;
  --surface: #FFFFFF;
  --surface-2: #F7F4ED;

  --ink: #1A1714;
  --ink-2: #2E2924;
  --ink-3: #5C554B;
  --ink-4: #8A8279;
  --ink-5: #ABA59C;

  --orange: #E85D26;
  --orange-d: #C94E1C;
  --orange-10: rgba(232, 93, 38, 0.1);
  --orange-20: rgba(232, 93, 38, 0.2);

  --green: #1A6B3C;
  --green-10: rgba(26, 107, 60, 0.1);
  --green-20: rgba(26, 107, 60, 0.2);
  --green-light: #4ade80;

  --gold: #B8860B;
  --gold-10: rgba(184, 134, 11, 0.1);

  --line: rgba(26, 23, 20, 0.1);
  --line-strong: rgba(26, 23, 20, 0.2);

  /* Type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --kn: 'Noto Sans Kannada', sans-serif;

  /* Layout */
  --nav-h: 64px;
  --max: 1120px;
  --r: 12px;
  --r-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 260ms;
  --t-fast: 160ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--orange); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--orange-d); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: var(--ink); }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sec { padding: 100px 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-alt { background: var(--surface); }
.sec-dark { background: var(--ink); color: var(--bg); }

/* ── Section Headers ── */
.sec-head { margin-bottom: 64px; }
.sec-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::before {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--orange);
}
.sec-head.center .sec-label { justify-content: center; }
.sec-head.center .sec-label::after {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--orange);
}
.sec-kn {
  font-family: var(--kn);
  font-weight: 500;
  font-size: 13px;
  color: var(--green);
  margin-top: 8px;
  opacity: 0.85;
}
h2.sec-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.sec-title em { font-style: italic; color: var(--orange); }
.sec-sub {
  font-size: 1.0625rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 560px;
}
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.sec-dark .sec-title { color: var(--bg); }
.sec-dark .sec-sub { color: var(--ink-5); }
.sec-dark .sec-label { color: var(--orange); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(232, 93, 38, 0.4);
}
.btn-primary:hover {
  background: var(--orange-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(232, 93, 38, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-sm { height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.nav:not(.scrolled) .logo-dot { animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.bescom-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--green-10);
  border: 1px solid var(--green-20);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-d); transform: translateY(-1px); color: #fff; }

/* Mobile nav toggle */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: relative;
  z-index: 110;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t), top var(--t);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 24px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--orange-10) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, var(--green-10) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
  font-weight: 500;
}
h1.hero-title {
  font-weight: 300;
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-title .line.go { opacity: 1; transform: translateY(0); }
.hero-title .line:nth-child(2) { transition-delay: .12s; }
.hero-title .line:nth-child(3) { transition-delay: .24s; }
.hero-title .line.accent { font-style: italic; color: var(--orange); }
.hero-kn-line {
  font-family: var(--kn);
  font-weight: 500;
  font-size: 15px;
  color: var(--green);
  opacity: .85;
  margin-bottom: 24px;
  margin-top: 16px;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-4);
}
.hero-trust .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.hero-canvas { position: relative; height: 500px; width: 100%; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; }

/* ── Stats ── */
.stats {
  background: var(--ink);
  color: var(--bg);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 24px 24px;
}
.stats .container { position: relative; z-index: 2; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
  color: var(--gold);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-lbl { font-size: 13px; color: var(--ink-5); line-height: 1.4; }

/* ── Calculator ── */
.calc { padding: 100px 0; }
.calc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 800px;
  margin: 48px auto 0;
  box-shadow: 0 8px 32px -12px rgba(26, 23, 20, 0.08);
}
.kw-display { text-align: center; margin-bottom: 32px; }
.kw-display .num {
  font-family: var(--display);
  font-size: 60px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}
.kw-display .unit { font-size: 20px; color: var(--ink-4); font-weight: 400; margin-left: 4px; }

/* Range slider */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--fill, 50%), var(--line) var(--fill, 50%), var(--line) 100%);
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--orange), 0 4px 8px -2px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform .15s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type=range]::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--orange);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-4);
}

/* Bars */
.bars-wrap { perspective: 400px; margin-bottom: 28px; }
.bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: rotateX(8deg);
  transform-origin: bottom center;
}
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar-val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.bar-track {
  width: 100%; height: 180px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: var(--bg-2);
}
.bar-fill {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  transition: height .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}
.bar-fill.cost { background: var(--orange-20); border-top: 2px solid var(--orange); }
.bar-fill.subsidy { background: var(--green-20); border-top: 2px solid var(--green); }
.bar-fill.pay {
  background: var(--gold-10);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 12px rgba(232, 93, 38, 0.15);
}
.bar-name { font-size: 13px; color: var(--ink-4); }
.metrics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.metric {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  text-align: center;
}
.metric-val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}
.metric-lbl { font-size: 12px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; }
.calc-note { text-align: center; font-size: 12px; color: var(--ink-4); max-width: 480px; margin: 0 auto; line-height: 1.5; }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 48px; max-width: 640px; margin: 56px auto 0; }
.tl-line { position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-line-fill { position: absolute; left: 6px; top: 0; width: 2px; height: 0; background: var(--orange); transition: height .6s var(--ease); }
.tl-step {
  position: relative;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.tl-step.in { opacity: 1; transform: translateX(0); }
.tl-step:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute;
  left: -42px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink-5);
  background: var(--bg);
  transition: border-color .3s, background .3s, transform .3s;
  z-index: 2;
}
.tl-step.in .tl-node {
  border-color: var(--orange);
  background: var(--orange);
  animation: nodePulse .6s ease forwards;
}
@keyframes nodePulse { 0% { transform: scale(1); } 50% { transform: scale(1.4); } 100% { transform: scale(1); } }
.tl-title { font-family: var(--body); font-weight: 500; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.tl-body { font-size: 15px; color: var(--ink-3); line-height: 1.7; max-width: 480px; }
.tl-kn { font-family: var(--kn); font-size: 12px; color: var(--green); margin-top: 6px; opacity: 0.8; }

/* ── Why Us / Tilt Cards ── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: transform .5s ease, box-shadow .5s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.why-card .sheen {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  border-radius: var(--r-lg);
}
.why-card:hover { box-shadow: 0 8px 32px -12px rgba(232, 93, 38, 0.12), 0 0 0 1px var(--orange-20); }
.why-card:hover .accent-line { opacity: .5; }
.why-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-10);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 18px;
}
.why-card h3 { font-family: var(--body); font-weight: 500; font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--ink-3); line-height: 1.65; }
.accent-line { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); opacity: 0; transition: opacity .4s; border-radius: 0 2px 2px 0; }

/* ── Lead Form ── */
.form-sec { padding: 100px 0; }
.form-card {
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px;
  box-shadow: 0 16px 64px -20px rgba(26, 23, 20, 0.08);
  position: relative;
  overflow: hidden;
}
.form-inner { transition: opacity .4s, transform .4s; }
.form-inner.out { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.form-title { font-family: var(--display); font-weight: 300; font-size: 44px; letter-spacing: -.015em; margin-bottom: 10px; line-height: 1; }
.form-sub { font-size: 15px; color: var(--ink-3); margin-bottom: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; color: var(--ink-4); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8279' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-10);
}
.field input::placeholder { color: var(--ink-5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pills { display: flex; gap: 10px; }
.pill-opt { flex: 1; }
.pill-opt input { display: none; }
.pill-opt label {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-3);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.pill-opt input:checked + label {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-10);
}
.rent-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--green-10);
  border: 1px solid var(--green-20);
  border-radius: 8px;
  font-size: 13px;
  color: var(--green);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s, padding .3s, margin .3s;
  padding-top: 0; padding-bottom: 0; margin-top: 0;
}
.rent-note.show { max-height: 120px; opacity: 1; padding: 12px 14px; margin-top: 12px; }
.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}
.submit-btn:hover { background: var(--orange-d); transform: translateY(-1px); }
.submit-btn .spinner {
  display: none;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin: 0 auto;
}
.submit-btn.loading .btn-text { display: none; }
.submit-btn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fine-print { text-align: center; font-size: 12px; color: var(--ink-4); margin-top: 16px; }

/* Success state */
.success-state {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 52px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s;
  background: var(--surface);
}
.success-state.show { opacity: 1; pointer-events: auto; }
.success-check { width: 72px; height: 72px; margin-bottom: 24px; }
.success-check circle { fill: none; stroke: var(--orange); stroke-width: 2; }
.success-check path {
  fill: none; stroke: var(--orange); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 30; stroke-dashoffset: 30;
}
.success-state.show .success-check path { animation: drawCheck .6s .2s ease forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-title { font-family: var(--display); font-size: 32px; font-weight: 300; margin-bottom: 10px; text-align: center; }
.success-sub { font-size: 15px; color: var(--ink-3); margin-bottom: 24px; text-align: center; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.wa-btn:hover { background: #1da851; color: #fff; }
.confetti {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 200;
}

/* ── FAQ ── */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.faq-q .icon {
  font-size: 22px;
  color: var(--orange);
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding-bottom .4s ease; }
.faq-a-inner { font-size: 15px; color: var(--ink-3); line-height: 1.8; padding-bottom: 20px; }

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: var(--ink-5);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .logo { color: var(--bg); }
.footer .logo-dot { background: var(--orange); }
.footer-desc { margin-top: 16px; font-size: 14px; color: var(--ink-5); line-height: 1.6; max-width: 300px; }
.footer-kn { font-family: var(--kn); font-size: 13px; color: var(--green-light); margin-top: 12px; }
.footer h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  color: var(--bg);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-5); font-size: 14px; transition: color var(--t-fast); }
.footer ul a:hover { color: var(--bg); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-5);
}
.footer-bottom a { color: var(--ink-5); }
.footer-bottom a:hover { color: var(--bg); }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Page header (for inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero + .sec { padding-top: 56px; }
.page-hero .crumbs {
  font-size: 12px;
  color: var(--ink-4);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-hero .crumbs a { color: var(--ink-4); }
.page-hero .crumbs a:hover { color: var(--orange); }
.page-hero .crumbs .sep { color: var(--ink-5); }
.page-hero .crumbs .current { color: var(--orange); }

/* ── Article body (for blog/service pages) ── */
.article-body { max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article-body > * + * { margin-top: 22px; }
.article-body h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: 56px;
  margin-bottom: 8px;
  color: var(--ink);
}
.article-body h2 em { font-style: italic; color: var(--orange); }
.article-body h3 {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 300;
  letter-spacing: -.02em;
  margin-top: 40px;
  margin-bottom: 6px;
  color: var(--ink);
}
.article-body a { color: var(--orange); border-bottom: 1px solid var(--orange-20); }
.article-body a:hover { background: var(--orange-10); }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body ul, .article-body ol {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-body ul li, .article-body ol li {
  padding-left: 28px;
  position: relative;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .65em;
  width: 12px; height: 1.5px;
  background: var(--orange);
}
.article-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--orange);
  background: var(--bg-2);
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
  border-radius: 0 var(--r) var(--r) 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
}
.article-body table th, .article-body table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article-body table th {
  background: var(--bg-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* CTA box (reusable in articles/service pages) */
.cta-box {
  margin-top: 56px;
  padding: 40px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--orange-20), transparent 60%);
}
.cta-box h3 {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  position: relative;
  color: var(--bg);
}
.cta-box h3 em { font-style: italic; color: var(--orange); }
.cta-box p { color: var(--ink-5); font-size: 15px; line-height: 1.55; margin-bottom: 22px; max-width: 480px; position: relative; }
.cta-box .btn-primary { position: relative; color: #fff; background: var(--orange); }
.cta-box .btn-primary:hover { background: var(--orange-d); color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-canvas { height: 360px; order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .bescom-badge { display: none; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .form-card { padding: 36px 28px; }
  .calc-card { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .form-card { border-radius: 16px; padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print {
  .nav, .hero-canvas, .confetti { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-title .line { clip-path: none !important; }
  .reveal, .tl-step { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   FIXES + ADDITIONS — June 2026
   ============================================================ */

/* ── Schema / missing LocalBusiness badge ── */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
}
.wa-btn:hover { background: #1ebe57; color: #fff; transform: translateY(-1px); }
.wa-btn.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ── Range slider cross-browser fix ── */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) var(--fill,50%), var(--line-strong) var(--fill,50%), var(--line-strong) 100%);
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--orange);
  cursor: pointer;
  transition: transform var(--t-fast);
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--surface);
  cursor: pointer;
}

/* ── Range labels fix ── */
.range-wrap { margin-bottom: 32px; }
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 2px;
  font-size: 12px;
  color: var(--ink-4);
}

/* ── Bars perspective fix ── */
.bars-wrap { perspective: 600px; margin-bottom: 32px; }
.bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 200px;
  transform: rotateX(6deg);
  transform-style: preserve-3d;
}
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.bar-val { font-weight: 500; font-size: 15px; color: var(--ink); min-height: 24px; }
.bar-track {
  width: 100%;
  height: 180px;
  background: var(--bg-2);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.bar-fill {
  width: 100%;
  transition: height 0.45s cubic-bezier(0.34,1.56,0.64,1);
  border-radius: 4px 4px 0 0;
}
.bar-fill.cost { background: var(--orange-10); border-top: 3px solid var(--orange); }
.bar-fill.subsidy { background: var(--green-10); border-top: 3px solid var(--green); }
.bar-fill.pay { background: rgba(184,134,11,0.12); border-top: 3px solid var(--gold); }
.bar-name { font-size: 12px; color: var(--ink-4); text-align: center; }

/* ── Metric cards fix ── */
.metrics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.metric {
  background: var(--bg-2);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
}
.metric-val { display: block; font-size: 22px; font-weight: 500; color: var(--gold); margin-bottom: 4px; font-family: var(--display); }
.metric-lbl { font-size: 12px; color: var(--ink-4); }

/* ── Form field select fix ── */
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8279' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── Contact page responsive fix ── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── Locations grid ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  text-decoration: none;
  display: block;
  color: var(--ink);
}
.loc-card:hover {
  border-color: var(--orange-20);
  box-shadow: 0 8px 32px -12px rgba(232,93,38,0.1);
  transform: translateY(-2px);
  color: var(--ink);
}
.loc-card-area { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.loc-card h3 { font-family: var(--display); font-size: 22px; font-weight: 300; margin-bottom: 8px; }
.loc-card p { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin-bottom: 16px; }
.loc-card-link { font-size: 13px; font-weight: 500; color: var(--orange); }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: border-color var(--t), box-shadow var(--t);
}
.service-card:hover { border-color: var(--orange-20); box-shadow: 0 8px 32px -12px rgba(232,93,38,0.1); }
.service-ico { font-size: 32px; margin-bottom: 16px; display: block; }
.service-card h3 { font-family: var(--display); font-size: 24px; font-weight: 300; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--ink-3); line-height: 1.6; margin-bottom: 20px; }

/* ── Stat badges inline ── */
.inline-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 24px 0; }
.inline-stat { text-align: center; }
.inline-stat .num { display: block; font-family: var(--display); font-size: 36px; font-weight: 300; color: var(--orange); }
.inline-stat .lbl { font-size: 12px; color: var(--ink-4); }

/* ── Responsive additions ── */
@media (max-width: 900px) {
  .bars { transform: none; }
  .metrics-row { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .locations-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .inline-stats { gap: 16px; }
}

/* cache-bust: 1782203958 */

/* ── CTA box definitive overrides ── */
.cta-box * { color: var(--bg); }
.cta-box em { color: var(--orange) !important; }
.cta-box .btn-primary,
.cta-box .btn-primary:hover,
.cta-box a.btn { 
  color: #ffffff !important; 
  background: var(--orange);
}
.cta-box .btn-primary:hover { background: var(--orange-d) !important; }
