:root {
  --bg-page: #050f0c;
  --bg-elevated: #0a1b15;
  --bg-surface: #102a21;
  --bg-header: rgba(5, 15, 12, 0.92);
  --bg-topbar: #030907;
  --border: rgba(16, 185, 129, 0.24);
  --border-strong: rgba(195, 255, 46, 0.55);
  --text-title: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #c3ff2e;
  --accent-hover: #d4ff66;
  --accent-ink: #05110c;
  --emerald: #10b981;
  --shadow-card: 0 18px 40px -16px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 26px rgba(195, 255, 46, 0.22);
  --track: #173c2f;
  --gauge-bg: #122d23;
  --needle: #ffffff;
  --needle-dot: #050f0c;
}

html.light {
  --bg-page: #ffffff;
  --bg-elevated: #f8fafc;
  --bg-surface: #eef4f1;
  --bg-header: rgba(255, 255, 255, 0.95);
  --bg-topbar: #f1f5f9;
  --border: #cbd5e1;
  --border-strong: #027a0b;
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --accent: #027a0b;
  --accent-hover: #026309;
  --accent-ink: #ffffff;
  --emerald: #026e0a;
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 8px 24px rgba(2, 122, 11, 0.18);
  --track: #cbd5e1;
  --gauge-bg: #e2e8f0;
  --needle: #0f172a;
  --needle-dot: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0 0 74px 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg-page);
  color: var(--text-title);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  transition: background-color 0.25s ease, color 0.25s ease;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  font-weight: 800;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

.font-heading {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.font-century {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, system-ui, sans-serif;
  font-weight: 700;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 32px;
  }
}

.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex-shrink: 0;
  fill: currentColor;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.hero-layout > *,
.calc-shell > *,
.bento-programs > *,
.guide-grid > *,
.footer-grid > *,
.pay-grid > *,
.hub-strip > * {
  min-width: 0;
}

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
  pointer-events: none;
}

/* Topbar */
.topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.topbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px 12px;
}

.topbar-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .topbar-row {
    justify-content: space-between;
    text-align: left;
  }
  .topbar-tools {
    width: auto;
    justify-content: flex-end;
  }
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  min-height: 30px;
  border-radius: 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  min-height: 28px;
  border-radius: 7px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 1024px) {
  .header-row {
    min-height: 80px;
    gap: 16px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand > div:last-child {
  min-width: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  background: #ffffff;
}

@media (min-width: 480px) {
  .brand {
    gap: 10px;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
}

.brand-logo svg,
.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 14.5px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text-title);
  display: block;
  white-space: nowrap;
}

@media (min-width: 480px) {
  .brand-name {
    font-size: 17.5px;
  }
}

.brand-name span {
  color: var(--accent);
}

.brand-sub {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

.nav-desktop a {
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--accent);
}

@media (min-width: 1140px) {
  .nav-desktop {
    display: flex;
  }
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-lk {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s;
}

.btn-lk:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (min-width: 820px) {
  .btn-lk {
    display: inline-flex;
  }
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  transition: 0.2s;
  flex-shrink: 0;
}

.phone-pill-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-pill-num {
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  display: block;
}

.phone-pill-sub {
  display: none;
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (min-width: 480px) {
  .phone-pill {
    padding: 5px 10px;
    gap: 7px;
  }
  .phone-pill-ico {
    width: 25px;
    height: 25px;
  }
  .phone-pill-num {
    font-size: 13.5px;
  }
  .phone-pill-sub {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--text-title);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
}

.btn-wa {
  background: #15803d;
  color: #ffffff;
}

.btn-wa:hover {
  background: #166534;
}

.btn-2gis {
  background: linear-gradient(90deg, #0f7b3f, #096934);
  color: #ffffff;
}

.btn-2gis:hover {
  background: linear-gradient(90deg, #0c6935, #07572b);
}

.header-apply-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-apply-btn {
    display: inline-flex;
  }
}

.burger-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1140px) {
  .burger-btn {
    display: none;
  }
}

section[id] {
  scroll-margin-top: 78px;
}

#mobileMenuDrawer {
  position: fixed;
  left: 0;
  right: 0;
  top: 108px;
  z-index: 65;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
  transform: translateY(-140%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

#mobileMenuDrawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-links {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.drawer-link {
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
  display: block;
}

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section {
    padding: 88px 0;
  }
}

.section-alt {
  background: var(--bg-elevated);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 44px auto;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(195, 255, 46, 0.1);
  border: 1px solid var(--border-strong);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

html.light .kicker {
  background: rgba(2, 122, 11, 0.08);
  color: var(--emerald);
}

.h2 {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  color: var(--text-title);
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .h2 {
    font-size: 34px;
  }
}

.lead {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .lead {
    font-size: 16.5px;
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .card {
    padding: 26px;
  }
}

html.light .card {
  background: #ffffff;
}

.card:hover {
  border-color: var(--border-strong);
}

.card-featured {
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.error-404-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 520px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1040px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

/* Breadcrumbs & GEO / E-E-A-T Components */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.answer-capsule {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
}

.answer-capsule-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 4px;
}

.eeat-bar {
  margin: 26px 0 0 0;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.facts-dl {
  margin: 0;
}

.facts-dl dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.facts-dl dd {
  margin: 6px 0 0 0;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-title);
}

.consent-note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

/* Hero */
.hero {
  padding: 28px 0 56px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .hero {
    padding: 56px 0 80px 0;
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 46px;
    align-items: start;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow);
}

.hero-h1 {
  font-weight: 800;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: var(--text-title);
}

@media (min-width: 640px) {
  .hero-h1 {
    font-size: 40px;
  }
}

.hero-h1 .highlight {
  color: var(--accent);
  display: block;
  margin-top: 6px;
}

.hero-summary {
  font-size: 15px;
  color: var(--text-body);
  max-width: 60ch;
  margin: 0 0 18px 0;
}

@media (min-width: 640px) {
  .hero-summary {
    font-size: 16px;
  }
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 20px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(195, 255, 46, 0.25);
  flex-shrink: 0;
}

.dot-live.closed {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .hero-cta {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-cta .btn-wa {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-cta .btn-wa {
    grid-column: auto;
  }
}

.hero-trust-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 560px;
}

@media (min-width: 540px) {
  .hero-trust-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

.trust-mini {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 12px 14px;
}

html.light .trust-mini {
  background: #f8fafc;
}

.trust-mini strong {
  font-size: 12px;
  display: block;
  color: var(--accent);
  text-transform: uppercase;
}

.trust-mini span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-showcase {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.hero-car-stage {
  background: radial-gradient(circle at 50% 45%, rgba(16, 185, 129, 0.16), transparent 70%);
  padding: 18px 14px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-car-stage img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.45));
}

.hero-specs {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
  border-top: 1px solid var(--border);
}

.spec-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.spec-item strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-title);
  display: block;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .spec-item strong {
    font-size: 17px;
  }
}

.spec-item strong em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.spec-item small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 2px;
  white-space: nowrap;
}

/* Bento Programs */
.bento-programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 960px) {
  .bento-programs {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    align-items: stretch;
  }
}

.prog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.prog-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-body);
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

html.light .table-wrap {
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 560px;
}

th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  background: var(--bg-surface);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

thead th.brand-col {
  color: var(--accent);
}

tbody tr:last-child td {
  border-bottom: none;
}

td.brand-val {
  font-weight: 700;
  color: var(--accent);
}

/* Calculator */
.calc-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  border-radius: 26px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

html.light .calc-shell {
  background: #ffffff;
}

@media (min-width: 640px) {
  .calc-shell {
    padding: 36px;
  }
}

@media (min-width: 1024px) {
  .calc-shell {
    grid-template-columns: 5fr 7fr;
    gap: 40px;
  }
}

.calc-amt-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.needle {
  transform-origin: 170px 170px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

#gaugeFill {
  transition: stroke-dashoffset 0.25s ease-out;
  stroke: var(--accent);
}

#gaugeTrack {
  stroke: var(--gauge-bg);
}

#needleLine, #needleOuterCircle {
  stroke: var(--needle);
  fill: var(--needle);
}

#needleInnerCircle {
  fill: var(--needle-dot);
}

.tick-lbl {
  fill: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 6px;
  background: var(--track);
  outline: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--accent-ink);
  box-shadow: var(--shadow-glow);
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--accent-ink);
  cursor: pointer;
}

.seg-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  border-radius: 13px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.seg-btn {
  border: none;
  border-radius: 9px;
  padding: 10px 8px;
  font-weight: 800;
  font-size: 11.5px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}

.seg-btn.active {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-glow);
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  border-radius: 9px;
  padding: 7px 11px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.preset-btn.active, .preset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.calc-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 5px 0;
}

.calc-line span:first-child {
  color: var(--text-muted);
}

/* Forms */
.field-lbl {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 5px;
}

.input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

textarea.input {
  resize: vertical;
  min-height: 82px;
  line-height: 1.5;
}

html.light .input {
  background: #ffffff;
  border-color: #cbd5e1;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(195, 255, 46, 0.16);
}

html.light .input:focus {
  box-shadow: 0 0 0 3px rgba(2, 122, 11, 0.14);
}

.input-error {
  border-color: #ef4444 !important;
}

.form-err {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
}

html.light .form-err {
  color: #b91c1c;
  background: #fef2f2;
}

/* Car & Checker */
.car-photo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.car-photo img {
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s;
}

.card:hover .car-photo img {
  transform: scale(1.05);
}

.checker-res-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

@media (min-width: 640px) {
  .checker-res-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Editorial Guide */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.guide-article h3 {
  font-weight: 800;
  font-size: 17.5px;
  margin: 0 0 12px 0;
  color: var(--text-title);
}

.guide-article p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.72;
}

.guide-article p:last-child {
  margin-bottom: 0;
}

.guide-article code {
  background: var(--bg-surface);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--accent);
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Repayment */
.pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .pay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pay-span-full {
    grid-column: 1 / -1;
  }
}

/* Branches & Interlinking Hub */
.city-tabs {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .city-tabs {
    display: flex;
  }
}

.city-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  border-radius: 11px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.city-tab.active, .city-tab:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.mobile-city-select {
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .mobile-city-select {
    display: none;
  }
}

.interlink-box {
  margin-top: 38px;
  padding: 24px;
  border-radius: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.hub-links-col {
  display: grid;
  gap: 10px;
}

.hub-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg-page);
  border: 1px solid var(--border);
}

@media (max-width: 390px) {
  .hub-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 960px) {
  .hub-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 22px;
  }
}

.hub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-body);
  text-align: center;
  transition: 0.2s;
}

.hub-link:hover, .hub-link.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Documents, Reviews & Final CTA */
.doc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.doc-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.doc-actions {
  display: grid;
  gap: 8px;
}

.doc-actions .btn {
  white-space: normal;
  line-height: 1.25;
}

.rating-summary-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-body);
  margin-top: 6px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.review-stars {
  color: #facc15;
  letter-spacing: 0.08em;
  font-size: 15px;
  line-height: 1;
}

html.light .review-stars {
  color: #b45309;
}

.review-date {
  font-size: 11.5px;
  color: var(--text-muted);
}

.final-cta-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .final-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* FAQ */
details.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;
}

html.light details.faq-item {
  background: #ffffff;
}

details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-title);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] summary svg {
  transform: rotate(180deg);
}

details.faq-item summary svg {
  transition: transform 0.2s;
  color: var(--accent);
}

details.faq-item p {
  margin: 12px 0 0 0;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-glow);
  max-height: 90vh;
  overflow-y: auto;
}

html.light .modal-box {
  background: #ffffff;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-title);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Sticky + Scroll Up/Down + Toast */
.mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 10px;
  display: flex;
  gap: 8px;
}

@media (min-width: 768px) {
  .mobile-sticky {
    display: none;
  }
}

.scroll-nav {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

@media (min-width: 768px) {
  .scroll-nav {
    bottom: 24px;
    right: 24px;
  }
}

.scroll-nav-btn {
  width: 44px;
  height: 0;
  margin-top: 0;
  padding: 0;
  border: 0 solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg-surface);
  color: var(--accent);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.22s, transform 0.22s, height 0.22s, margin-top 0.22s, background-color 0.2s, color 0.2s;
}

.scroll-nav-btn.visible {
  height: 44px;
  border-width: 1px;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.scroll-nav-btn.visible + .scroll-nav-btn.visible {
  margin-top: 8px;
}

.scroll-nav-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

#toast {
  position: fixed;
  right: 14px;
  left: 14px;
  bottom: 78px;
  z-index: 105;
  background: var(--bg-elevated);
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-glow);
  transform: translateY(130px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

@media (min-width: 640px) {
  #toast {
    left: auto;
    max-width: 390px;
    bottom: 24px;
    right: 24px;
  }
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Footer */
.site-footer {
  background: #030907;
  color: #cbd5e1;
  padding: 52px 0 32px 0;
  font-size: 12.5px;
  border-top: 1px solid #132c22;
}

.site-footer a {
  color: #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid #132c22;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-h {
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.footer-links a,
.footer-cities a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 4px;
  line-height: 1.35;
}

.footer-links a:hover,
.footer-cities a:hover {
  color: #c3ff2e;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  max-width: 320px;
}

.social-pill {
  padding: 8px 8px;
  border-radius: 8px;
  background: #0c221a;
  border: 1px solid #1a3d30;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.social-pill:hover {
  border-color: #c3ff2e;
  color: #c3ff2e;
}
.docs-entity-section {
  padding: 20px;
  border-radius: 24px;
  background: var(--bg-page);
  border: 1px solid var(--border);
}

.docs-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .docs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .docs-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}