/* Cap EV — refreshed brand system */
:root {
  --green-900: #00152e;
  --green-800: #00264c;
  --green-700: #00366a;
  --green-600: #0a4582;
  --green-500: #1a5a9e;
  --green-400: #4a83c2;
  --green-300: #a3c2e0;
  --green-50:  #eef3f9;
  --ink: #00152e;
  --ink-1: #00152e;
  --ink-2: #1f2e44;
  --ink-3: #5a6776;
  --ink-4: #8b95a3;
  --green-200: #cfe6c4;
  --line: #e4e8ee;
  --line-2: #c9d2dd;
  --bg: #fafbfc;
  --card: #ffffff;
  --accent: #2abc00;   /* bright green accent */
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(10,40,24,.04), 0 8px 32px rgba(10,40,24,.06);
  --shadow-lg: 0 4px 12px rgba(10,40,24,.06), 0 24px 64px rgba(10,40,24,.10);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── Type scale ─── */
.h-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.96; }
.h-1 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.h-2 { font-weight: 600; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-700);
}
.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; font-feature-settings: "ss02"; }
.tabular { font-variant-numeric: tabular-nums; }

/* ─── Layout ─── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ─── Logo energy line ─── */
.logo-energy {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(42, 188, 0, 0.18);
  border-radius: 2px;
  overflow: hidden;
}
.logo-energy-dot {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent 0%, rgb(42, 188, 0) 50%, transparent 100%);
  filter: drop-shadow(0 0 4px rgba(42, 188, 0, 0.8));
  animation: logoEnergyFlow 2.4s linear infinite;
}
@keyframes logoEnergyFlow {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(370%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-energy-dot { animation: none; opacity: 0.6; transform: translateX(120%); }
}

/* ─── Top nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #00264c;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--green-900);
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--green-800); color: var(--accent);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; font-family: var(--font-sans);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  color: #ffffff;
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.nav-links a:hover { color: rgba(255,255,255,0.75); }
.nav-links a.active { color: #ffffff; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
@media (max-width: 720px) {
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-links a:not(.active):not(.cta) { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px) scale(1.03);
}
.btn:active { transform: translateY(0) scale(0.99); }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); box-shadow: 0 0 0 1px rgba(42, 188, 0, 0.4), 0 8px 22px rgba(42, 188, 0, 0.32); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 0 0 1px rgba(42, 188, 0, 0.4), 0 8px 22px rgba(42, 188, 0, 0.32); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--green-50); border-color: rgb(42, 188, 0); color: var(--green-900); box-shadow: 0 0 0 1px rgba(42, 188, 0, 0.35), 0 6px 18px rgba(42, 188, 0, 0.18); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }

/* ─── Cards ─── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.card:hover { border-color: var(--line-2); }

/* ─── Inputs ─── */
.input {
  width: 100%; height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  font: inherit; font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(26,102,56,.15); }
.input::placeholder { color: var(--ink-4); }

/* ─── Hero ─── */
.hero {
  position: relative;
  background: var(--green-900);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(212, 242, 94, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(76, 175, 111, 0.20), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px;
  position: relative; z-index: 1;
  align-items: end;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96; letter-spacing: -0.025em;
  margin: 0 0 32px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero p.lede { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 0 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.hero-stat { padding: 24px 0; }
.hero-stat .num { font-family: var(--font-display); font-size: 48px; font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.hero-stat .lbl { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 8px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-accent { height: 48px; padding: 0 24px; font-size: 15px; }
.hero-cta .btn-ghost { height: 48px; padding: 0 24px; font-size: 15px; background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; }

/* Primary hero CTAs — bigger, bolder */
.hero-cta--primary { gap: 16px; margin-top: 36px; }
.btn-xl {
  height: 64px;
  padding: 0 36px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  gap: 10px;
}
.hero-cta--primary .btn-accent.btn-xl {
  height: 64px;
  padding: 0 36px;
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(42, 188, 0, 0.35);
}
.hero-cta--primary .btn-accent.btn-xl:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(42, 188, 0, 0.5);
}
.btn-outline-light {
  height: 64px;
  padding: 0 36px;
  font-size: 17px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  color: #fff;
}
@media (max-width: 720px) {
  .btn-xl, .hero-cta--primary .btn-accent.btn-xl, .btn-outline-light {
    height: 56px; padding: 0 24px; font-size: 16px;
  }
}

/* ─── Section ─── */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 56px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 16px 0 0; max-width: 720px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr !important; }
  .benefits-illustration { display: none !important; }
}

/* ─── Advantage ─── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 1000px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .advantage-grid { grid-template-columns: 1fr; } }
.advantage-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.advantage-icon-ring {
  width: 96px; height: 96px;
  border: 2px solid rgb(42, 188, 0);
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.advantage-divider {
  width: 100%; height: 1px;
  background: rgb(42, 188, 0);
}
.advantage-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: rgb(0, 38, 76);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ─── Partners ─── */
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 56px; }

/* Continuous marquee */
.partners-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Soft fade on left/right edges so logos scroll in/out smoothly */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.partners-track {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  white-space: nowrap;
  width: max-content;
  animation: partners-scroll 38s linear infinite;
  will-change: transform;
}
.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
  .partners-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .partners-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-right: 0;
  }
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 8px;
  opacity: 0.92;
  transition: opacity .2s ease, transform .2s ease;
}
.partner-logo:hover { opacity: 1; transform: scale(1.04); }
.partner-logo img { display: block; object-fit: contain; }
@media (max-width: 720px) {
  .partners-row { gap: 24px 36px; }
  .partner-logo { height: 44px; }
  .partner-logo img { max-height: 32px !important; }
}
.partner-chip {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: border-color .2s, color .2s, background .2s;
}
.partner-chip:hover {
  border-color: #fff;
  color: rgb(42, 188, 0);
  background: #fff;
}
@media (max-width: 540px) {
  .partner-chip { font-size: 13px; padding: 10px 16px; }
}

/* ─── Contact form ─── */
.contact-form { display: flex; flex-direction: column; gap: 20px; background: #fff; padding: 32px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 4px 24px rgba(0, 38, 76, 0.06); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: 13px; font-weight: 600; color: rgb(0, 38, 76); }
.contact-form .req { color: rgb(42, 188, 0); }
.contact-form .input, .contact-form textarea.input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fafbf9; color: var(--ink);
  transition: border-color .15s, background .15s;
  outline: none;
}
.contact-form .input:focus, .contact-form textarea.input:focus { border-color: rgb(42, 188, 0); background: #fff; }
.contact-form .input.err { border-color: #d23030; background: #fff5f5; }
.contact-form .err-msg { font-size: 12px; color: #d23030; }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; padding: 12px; background: #fafbf9; border-radius: 8px; border: 1px solid var(--line); }
.contact-form .consent.err { border-color: #d23030; background: #fff5f5; }
.contact-form .consent input { margin-top: 2px; flex-shrink: 0; width: 18px; height: 18px; accent-color: rgb(42, 188, 0); }
.contact-success { background: #fff; padding: 48px 32px; border-radius: 16px; border: 1px solid var(--line); text-align: center; box-shadow: 0 4px 24px rgba(0, 38, 76, 0.06); }
.contact-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgb(42, 188, 0); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 20px; }
.contact-email { text-align: center; padding: 32px 0 0; margin-top: 32px; border-top: 1px solid var(--line); }

/* ─── Map page ─── */
.map-page { display: grid; grid-template-rows: auto auto 1fr; height: calc(100vh - 72px); min-height: 640px; }
.map-locate-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 32px;
  background: linear-gradient(90deg, #00264c 0%, #003a73 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.map-locate-msg { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; }
.map-locate-msg svg { color: var(--accent); flex-shrink: 0; }
.map-locate-msg strong { font-weight: 600; color: #fff; }
.map-locate-msg span { color: rgba(255,255,255,0.7); margin-left: 4px; }
.map-locate-msg--active strong { color: var(--accent); }
.map-locate-bar .btn-accent { background: var(--accent); color: #fff; border: 0; }
.map-locate-bar .btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.map-locate-bar .btn-ghost:hover { background: rgba(255,255,255,0.2); box-shadow: none; transform: none; }
.map-locate-bar .btn-accent:hover { transform: none; }
.map-locate-bar .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.map-addr-form {
  display: flex; gap: 8px; align-items: center;
  flex: 1; min-width: 280px; max-width: 480px;
}
.map-addr-form .input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
  transition: background .15s, border-color .15s;
}
.map-addr-form .input::placeholder { color: rgba(255,255,255,0.55); }
.map-addr-form .input:focus { background: rgba(255,255,255,0.18); border-color: var(--accent); }
.map-addr-error { font-size: 13px; color: #ffb8b8; }
@media (max-width: 720px) {
  .map-locate-bar { padding: 12px 20px; gap: 10px; }
  .map-locate-msg { width: 100%; }
  .map-addr-form { min-width: 0; }
}
.map-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 32px; border-bottom: 1px solid var(--line);
  background: #fff;
  flex-wrap: wrap;
  position: relative; z-index: 500;
}
.map-search { flex: 1; min-width: 240px; max-width: 420px; position: relative; }
.map-search .input { padding-left: 40px; }
.map-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all .12s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--green-400); color: var(--green-800); }
.chip.active { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.chip.active:hover { background: var(--green-900); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Filter dropdowns (replaces multi-row chip filters) */
.filter-dd { position: relative; }
.filter-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff;
  font-size: 13px; color: var(--ink-1);
  transition: border-color .12s, box-shadow .12s, background .12s;
  cursor: pointer; white-space: nowrap;
}
.filter-trigger:hover { border-color: var(--green-400); }
.filter-trigger.is-open { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(28, 91, 60, 0.12); }
.filter-trigger.is-set { border-color: var(--green-700); background: var(--green-50); }
.filter-trigger .filter-label { color: var(--ink-3); font-weight: 500; }
.filter-trigger .filter-value { font-weight: 600; color: var(--ink-1); }
.filter-trigger.is-set .filter-value { color: var(--green-800); }
.filter-trigger .filter-caret { color: var(--ink-3); transition: transform .15s; }
.filter-trigger.is-open .filter-caret { transform: rotate(180deg); }

.filter-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1000;
  min-width: 220px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 30, 22, 0.14), 0 2px 6px rgba(15, 30, 22, 0.06);
  padding: 6px; overflow: hidden;
}
.filter-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 9px 12px; border: 0; background: transparent;
  font-size: 13px; color: var(--ink-1); text-align: left; cursor: pointer;
  border-radius: 8px; transition: background .1s;
}
.filter-option:hover { background: var(--bg-2, #f5f7f5); }
.filter-option.is-selected { color: var(--green-800); font-weight: 600; }
.filter-option.is-selected svg { color: var(--green-700); }

.filter-reset {
  height: 40px; padding: 0 12px; border: 0; background: transparent;
  font-size: 13px; font-weight: 600; color: var(--green-800);
  cursor: pointer; border-radius: 8px;
}
.filter-reset:hover { background: var(--green-50); }

/* Station card charger summary row */
.station-chargers {
  display: flex; align-items: center; gap: 10px; margin-top: 6px;
  font-size: 12px; color: var(--ink-2);
}
.charger-stat {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.charger-stat svg { color: var(--ink-3); }
.charger-stat strong { font-weight: 700; color: var(--ink-1); }
.charger-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 18px; min-width: 22px; padding: 0 5px;
  border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  line-height: 1;
}
.charger-badge.l2 { background: var(--green-50); color: var(--green-800); }
.charger-badge.l3 { background: var(--accent, #2abc00); color: var(--green-900); }

.map-split { display: grid; grid-template-columns: 420px 1fr; min-height: 0; }
@media (max-width: 960px) { .map-split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } }

.map-list { overflow-y: auto; border-right: 1px solid var(--line); background: #fff; }
.map-list-head { padding: 16px 24px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.map-list-head .count { font-size: 13px; color: var(--ink-3); }
.map-list-head .count strong { color: var(--ink); font-weight: 600; }

.station-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .12s;
  align-items: center;
}
.station-card:hover { background: var(--green-50); }
.station-card.active { background: var(--green-50); box-shadow: inset 3px 0 0 var(--green-700); }
.station-pin {
  width: 56px; min-height: 44px; border-radius: 14px;
  background: var(--green-50); color: var(--green-800);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  border: 1px solid var(--green-300);
  font-variant-numeric: tabular-nums;
  padding: 6px 4px;
  flex-shrink: 0;
}
.station-pin.has-distance { background: #fff; border-color: var(--green-400); }
.station-pin .station-pin-dist {
  font-size: 13px; font-weight: 700; color: var(--green-800);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.station-pin svg { color: var(--ink-3); }
.station-card.active .station-pin { background: var(--accent); border-color: var(--accent); color: var(--green-900); }
.station-card.active .station-pin .station-pin-dist { color: var(--green-900); }
.station-card.active .station-pin svg { color: var(--green-900); }
.station-name { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 4px; line-height: 1.2; }
.station-meta { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.station-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }
.station-actions { display: flex; flex-direction: column; gap: 4px; align-items: end; justify-content: center; }

.map-canvas { position: relative; background: #e8efe9; }
.map-canvas .leaflet-container { width: 100%; height: 100%; }

/* Custom Leaflet pin */
.cap-pin {
  width: 36px; height: 44px;
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(10,40,24,.25));
}
.cap-pin-body {
  width: 36px; height: 36px; border-radius: 50% 50% 50% 0;
  background: #00264c;
  transform: rotate(-45deg);
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.cap-pin-body span {
  transform: rotate(45deg);
  color: #2abc00;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}
.cap-pin.active .cap-pin-body { background: var(--accent); }
.cap-pin.active .cap-pin-body span { color: var(--green-900); }
.cap-pin.user .cap-pin-body { background: #2563eb; border-color: #fff; }
.cap-pin.user .cap-pin-body::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 2px solid rgba(37,99,235,0.3);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  padding: 0 !important;
  box-shadow: 0 12px 32px rgba(10,40,24,.18) !important;
}
.leaflet-popup-content { margin: 0 !important; padding: 0 !important; width: 260px !important; }
.leaflet-popup-tip { box-shadow: 0 4px 8px rgba(10,40,24,.10) !important; }
.popup {
  padding: 0;
  font-family: var(--font-sans);
}
.popup-thumb {
  width: 100%; height: 120px; overflow: hidden;
  background: linear-gradient(135deg, #00264c, #0a3a6e 60%, #2abc00);
  border-radius: 12px 12px 0 0;
  position: relative;
}
.popup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.popup-thumb--placeholder { display: grid; place-items: center; padding: 16px; }
.popup-thumb--placeholder span {
  color: #fff; font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
  text-align: center; line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.popup > h3,
.popup > .addr,
.popup > .row,
.popup > .popup-note,
.popup > .actions { margin-left: 16px; margin-right: 16px; }
.popup .popup-note {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.popup .popup-note a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: none;
}
.popup .popup-note a:hover { text-decoration: underline; }
.popup > h3 { margin-top: 12px; }
.popup > .actions { margin-bottom: 16px; }
.popup h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.popup .addr { font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.popup .row { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.popup .row .k { color: var(--ink-3); }
.popup .row .v { color: var(--ink); font-weight: 500; }
.popup .popup-chargers {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 6px 16px 0;
  padding: 8px 10px;
  background: var(--green-50, #f3faf0);
  border-radius: 8px;
}
.popup .popup-charger {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink); font-weight: 600;
  padding: 2px 6px 2px 2px;
}
.popup .popup-charger em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.popup .popup-charger-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 18px; min-width: 22px; padding: 0 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: 4px; line-height: 1;
}
.popup .popup-charger-badge.l1 { background: #eef2f7; color: #475569; }
.popup .popup-charger-badge.l2 { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-200, #cfe6c4); }
.popup .popup-charger-badge.l3 { background: var(--accent, #2abc00); color: var(--green-900); }
.popup .actions { display: flex; gap: 8px; margin-top: 12px; }
.popup .btn { flex: 1; height: 36px; padding: 0; justify-content: center; font-size: 13px; }
.popup .btn:hover { transform: none; }

/* ─── Locate-me overlay ─── */
.map-fab {
  position: absolute; bottom: 24px; right: 24px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  color: var(--green-800);
  transition: transform .12s;
}
.map-fab:hover { transform: scale(1.05); color: var(--green-900); }
.map-fab.active { background: var(--green-800); color: var(--accent); border-color: var(--green-800); }

/* ─── Locations grid ─── */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .loc-grid { grid-template-columns: 1fr; } }
.loc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.loc-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgb(42, 188, 0);
  box-shadow: 0 0 0 1px rgba(42, 188, 0, 0.35), 0 12px 32px rgba(42, 188, 0, 0.18), 0 4px 12px rgba(0, 38, 76, 0.08);
}
.loc-card .img img {
  transition: transform .5s ease;
}
.loc-card:hover .img img {
  transform: scale(1.06);
}
.loc-card .img {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--green-800), var(--green-600));
  position: relative; overflow: hidden;
}
.loc-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; transition: transform .5s ease; }
.loc-card .img::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 80% 100%, rgba(212, 242, 94, 0.15), transparent 70%),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,0.04) 24px 25px);
}
.loc-card .img-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10, 40, 24, 0.75); backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px;
}
.loc-card .body { padding: 20px; }
.loc-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--green-800); }
.loc-card .addr { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.loc-card .stats { display: flex; gap: 20px; font-size: 13px; color: var(--ink-2); }
.loc-card .stats div { display: flex; align-items: center; gap: 6px; }
.loc-card .stats strong { color: var(--green-800); font-weight: 700; }

/* ─── Footer ─── */
.footer {
  background: var(--green-900); color: rgba(255,255,255,0.85);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 64px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { color: rgba(255,255,255,0.65); transition: color .15s; }
.footer ul a:hover { color: var(--accent); }
.footer .brand-blurb { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.45);
}

/* ─── Empty state ─── */
.empty {
  padding: 48px 24px; text-align: center; color: var(--ink-3); font-size: 14px;
}
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }

/* ─── Skeleton/loading ─── */
.geoloading {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(10, 40, 24, 0.92); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  z-index: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
}
.geoloading .spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Mobile nav toggle ─── */
.nav-toggle { display: none; }
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: transparent; border: 1px solid rgba(255,255,255,0.25);
    color: #fff; cursor: pointer;
  }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 20px 20px;
    background: #00264c; border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { display: block !important; padding: 14px 4px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a.cta { margin-top: 10px; align-self: flex-start; }
}

/* ─── Benefits accordion ─── */
.benefits-accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { background: rgb(42, 188, 0); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 200ms ease; }
.acc-item.open { box-shadow: 0 8px 24px rgba(42,188,0,0.25); }
.acc-item [data-acc] {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: transparent; border: none; cursor: pointer;
  color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 17px;
  text-align: left; letter-spacing: -0.01em;
}
.acc-item [data-acc] svg { transition: transform 200ms ease; flex-shrink: 0; }
.acc-item.open [data-acc] svg { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 22px 20px; border-top: 1px solid rgba(255,255,255,0.35); padding-top: 16px; color: #fff; font-size: 15px; line-height: 1.6; }
.acc-item.open .acc-body { display: block; }

/* Small responsive helpers for hero-stats on narrow viewports */
@media (max-width: 540px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stat .num { font-size: 36px; }
}

/* Per-page hero card adjustment so hero CTAs don't crowd stats on tablet */
@media (max-width: 960px) {
  .hero { padding: 88px 0 72px; }
  .hero-cta--primary { margin-top: 24px; }
}
