/* ============================================================
   IMPUESTOVEHICULAR.CO — SISTEMA DE DISEÑO "ASFALTO Y SEÑAL"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=IBM+Plex+Sans:wght@400;500&family=IBM+Plex+Mono:wght@500&display=swap');

/* ——— VARIABLES ——— */
:root {
  --ink:        #0F1117;
  --lime:       #C4F135;
  --paper:      #F2EFE6;
  --concrete:   #3A3F4B;
  --signal-red: #E63B2E;
  --muted:      #8A909E;
  --deep-green: #1A4731;
  --text-light: #E8E5DC;
  --text-dark:  #1A1A24;
  --row-a:      #2A3040;
  --row-b:      #323849;
  --header-h:   64px;
}

/* ——— RESET ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--paper);
  color: var(--text-dark);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ——— DISCLAIMER BAR ——— */
.disclaimer-bar {
  background: var(--signal-red);
  color: #fff;
  text-align: center;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 500;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ——— HEADER ——— */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--lime);
  position: sticky;
  top: 36px;
  z-index: 90;
  padding: 0 24px;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--lime); }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--lime); }
.main-nav > li.active > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--lime);
  margin-top: 3px;
  border-radius: 1px;
}

/* DROPDOWN */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--ink);
  border: 1px solid rgba(196,241,53,0.2);
  border-top: 2px solid var(--lime);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover {
  color: var(--lime);
  background: rgba(196,241,53,0.05);
}
.drop-arrow { font-size: 10px; margin-left: 4px; opacity: 0.6; }

.header-cta {
  background: var(--lime);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
  text-decoration: none;
}
.header-cta:hover { opacity: 0.85; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--muted);
}

/* ——— PAGE HEADER (breadcrumb zone) ——— */
.page-banner {
  background: var(--ink);
  padding: 48px 24px 52px;
  border-bottom: 1px solid rgba(196,241,53,0.15);
}
.page-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb-sep { opacity: 0.4; }
.page-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 56px);
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1px;
  max-width: 800px;
  margin-bottom: 16px;
}
.page-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}

/* ——— ARTICLE LAYOUT ——— */
.article-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}

/* TABLE OF CONTENTS */
.toc {
  position: sticky;
  top: calc(36px + var(--header-h) + 24px);
}
.toc-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.toc ul { display: flex; flex-direction: column; gap: 2px; }
.toc a {
  display: block;
  font-size: 13px;
  color: #6A707B;
  padding: 6px 10px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.35;
}
.toc a:hover,
.toc a.active {
  color: var(--text-dark);
  border-color: var(--lime);
}

/* ARTICLE CONTENT */
.article-content h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--text-dark);
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  padding-top: 48px;
  border-top: 2px solid var(--lime);
}
.article-content h2:first-child { padding-top: 0; border-top: none; }
.article-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 10px;
}
.article-content p {
  font-size: 15.5px;
  line-height: 1.78;
  color: #3D4250;
  margin-bottom: 16px;
}
.article-content p:last-child { margin-bottom: 0; }
.article-content strong { color: var(--text-dark); font-weight: 500; }
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-content li {
  font-size: 15.5px;
  line-height: 1.72;
  color: #3D4250;
  margin-bottom: 6px;
}
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

/* INFO BOXES */
.info-box {
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 3px solid var(--lime);
  background: rgba(196,241,53,0.05);
}
.info-box p { font-size: 14.5px; color: #3D4250; line-height: 1.65; margin: 0; }
.info-box strong { color: var(--text-dark); }

.warning-box {
  padding: 18px 22px;
  margin: 24px 0;
  border-left: 3px solid var(--signal-red);
  background: rgba(230,59,46,0.05);
}
.warning-box p { font-size: 14.5px; color: #5A2020; line-height: 1.65; margin: 0; }

.source-box {
  background: var(--deep-green);
  padding: 16px 20px;
  margin: 24px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.source-box strong { color: var(--lime); }

/* DATA HIGHLIGHT */
.data-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.08);
  margin: 28px 0;
  border: 1px solid rgba(0,0,0,0.08);
}
.data-cell {
  background: var(--paper);
  padding: 20px;
}
.data-cell .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.data-cell .value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.data-cell .value.lime { color: var(--deep-green); }

/* TARIFF TABLE */
.tariff-wrap { overflow-x: auto; margin: 24px 0; }
.tariff-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.tariff-table thead tr { background: var(--lime); }
.tariff-table th {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  padding: 13px 16px;
  text-align: left;
}
.tariff-table td {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  padding: 12px 16px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tariff-table tbody tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
.tariff-table td.rate { color: var(--deep-green); font-weight: 500; }
.table-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

/* ——— CALCULATOR ——— */
.calc-section {
  background: var(--concrete);
  padding: 64px 24px;
}
.calc-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.calc-box {
  background: var(--row-a);
  padding: 40px;
  border-left: 3px solid var(--lime);
  max-width: 760px;
}
.calc-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}
.calc-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.calc-field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-field select,
.calc-field input {
  width: 100%;
  background: var(--row-b);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  appearance: none;
  transition: border-color 0.2s;
}
.calc-field select:focus,
.calc-field input:focus { border-color: var(--lime); outline: none; }
.calc-btn {
  background: var(--lime);
  color: var(--ink);
  border: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  margin-bottom: 24px;
}
.calc-btn:hover { opacity: 0.88; }
.calc-result { display: none; padding-top: 8px; }
.calc-result.visible { display: block; }
.calc-result-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.calc-result-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--lime);
  line-height: 1;
  margin-bottom: 12px;
}
.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,59,46,0.12);
  border: 1px solid rgba(230,59,46,0.3);
  color: #FF7070;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
}

/* ——— STEP PROCESS ——— */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px;
  height: 44px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 15px;
  color: var(--lime);
  flex-shrink: 0;
}
.step h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5A5F6B;
}

/* ——— PAYMENT CHANNELS ——— */
.channel-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.channel-icon {
  width: 48px;
  height: 48px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.channel-info h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.channel-info p { font-size: 14px; line-height: 1.55; color: #5A5F6B; }
.channel-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 7px 14px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  display: inline-block;
}
.channel-link:hover { background: var(--ink); color: var(--lime); }

/* ——— CITY GUIDE LAYOUT ——— */
.city-nav {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
  position: sticky;
  top: calc(36px + var(--header-h));
  z-index: 80;
}
.city-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.city-nav-inner::-webkit-scrollbar { display: none; }
.city-tab {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.city-tab:hover { color: #fff; }
.city-tab.active { color: var(--lime); border-bottom-color: var(--lime); }

.city-section { display: none; }
.city-section.active { display: block; }

.city-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.city-main h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.city-dept {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.city-main h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.city-main h3:first-of-type { border-top: none; padding-top: 0; }
.city-main p {
  font-size: 15px;
  line-height: 1.75;
  color: #3D4250;
  margin-bottom: 12px;
}
.city-main ul { padding-left: 18px; margin-bottom: 12px; }
.city-main li { list-style: disc; font-size: 15px; line-height: 1.65; color: #3D4250; margin-bottom: 4px; }

/* CITY SIDEBAR */
.city-sidebar { position: sticky; top: calc(36px + var(--header-h) + 48px + 46px); }
.city-card {
  background: var(--ink);
  padding: 24px;
  margin-bottom: 16px;
}
.city-card h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.city-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.city-info-row:last-child { border-bottom: none; }
.city-info-label { font-size: 12.5px; color: var(--muted); }
.city-info-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
}
.city-info-value.lime { color: var(--lime); }
.city-portal-btn {
  display: block;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 13px 20px;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.city-portal-btn:hover { opacity: 0.88; }
.city-ext-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* ——— FAQ PAGE ——— */
.faq-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}
.faq-sidebar { position: sticky; top: calc(36px + var(--header-h) + 24px); }
.faq-sidebar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  padding: 9px 12px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  color: #6A707B;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.faq-cat-btn:hover { color: var(--text-dark); }
.faq-cat-btn.active { color: var(--text-dark); border-color: var(--lime); }

.faq-search {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  margin-bottom: 28px;
  color: var(--text-dark);
}
.faq-search:focus { border-color: var(--deep-green); outline: none; }

.faq-category { display: none; margin-bottom: 48px; }
.faq-category.visible { display: block; }
.faq-cat-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--lime);
}
.faq-list { margin-top: 4px; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item.hidden { display: none; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  text-align: left;
}
.faq-q span {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.35;
}
.faq-toggle {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  color: var(--lime);
  flex-shrink: 0;
  line-height: 1;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a.open { max-height: 500px; }
.faq-a-inner {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.72;
  color: #4A505B;
}
.faq-a-inner p { margin-bottom: 10px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ——— HOME PAGE ——— */
.hero-home {
  background: var(--ink);
  padding: 80px 24px 96px;
}
.hero-home-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 70px);
  color: #fff;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}
.hero-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--lime);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  padding: 13px 22px;
  border: 2px solid var(--lime);
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: transparent;
  color: var(--lime);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  padding: 13px 22px;
  border: 2px solid var(--lime);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { background: var(--lime); color: var(--ink); }

/* HIGHWAY PANEL */
.highway-panel-wrap { display: flex; flex-direction: column; gap: 14px; }
.highway-panel {
  background: var(--deep-green);
  border: 3px solid #2E6B50;
  padding: 26px 30px;
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  box-shadow: 8px 14px 40px rgba(0,0,0,0.5);
}
.panel-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.panel-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.panel-routes { display: flex; flex-direction: column; gap: 2px; }
.panel-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
}
.panel-route:hover { background: rgba(196,241,53,0.1); border-color: rgba(196,241,53,0.3); }
.route-left { display: flex; align-items: center; gap: 12px; }
.route-icon { font-size: 15px; }
.route-label { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; color: #fff; }
.route-arrow { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--lime); }
.cursor-blink {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--lime);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.panel-badge {
  background: var(--concrete);
  padding: 10px 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

/* HOME STATS */
.home-stats {
  background: var(--concrete);
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.home-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.stat-cell {
  background: var(--concrete);
  padding: 28px 24px;
}
.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: var(--lime);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* HOME PAGES GRID */
.home-pages {
  background: var(--paper);
  padding: 72px 24px;
}
.home-pages-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}
.page-card {
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  text-decoration: none;
}
.page-card:hover { background: #EDEAE0; }
.page-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.page-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.page-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.page-card p {
  font-size: 14px;
  line-height: 1.62;
  color: #5A5F6B;
  flex: 1;
  margin-bottom: 20px;
}
.page-card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--deep-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HOME CITIES STRIP */
.home-cities {
  background: var(--ink);
  padding: 64px 24px;
}
.home-cities-inner { max-width: 1280px; margin: 0 auto; }
.home-cities .section-heading { color: #fff; }
.cities-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.city-strip-card {
  background: var(--ink);
  padding: 24px 20px;
  display: block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.city-strip-card:hover { background: #161820; border-color: var(--lime); }
.city-strip-card .city-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}
.city-strip-card .city-dept-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.city-strip-card .city-arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--lime);
}

/* ——— LEGAL SECTION (shared across pages) ——— */
.legal-alert {
  background: rgba(230,59,46,0.05);
  border-top: 2px solid var(--signal-red);
  border-bottom: 2px solid var(--signal-red);
  padding: 52px 24px;
}
.legal-alert-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.legal-alert h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.legal-alert p {
  font-size: 14.5px;
  line-height: 1.72;
  color: #4A505B;
}

/* ——— ADSENSE SLOTS ——— */
.adsense-wrap {
  padding: 16px 24px;
  display: flex;
  justify-content: center;
}
.adsense-slot {
  background: transparent;
  border: 1px dashed rgba(138,144,158,0.25);
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(138,144,158,0.4);
}
.adsense-wrap-dark { background: var(--ink); }
.adsense-wrap-concrete-bg { background: var(--concrete); }

/* ——— FOOTER ——— */
.site-footer {
  background: var(--ink);
  padding: 60px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 14px;
  max-width: 280px;
}
.footer-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(196,241,53,0.07);
  border: 1px solid rgba(196,241,53,0.2);
  color: var(--lime);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  padding: 5px 12px;
}
.footer-nav h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13.5px; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--lime); }
.footer-legal h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-legal p { font-size: 13px; line-height: 1.65; color: var(--muted); margin-bottom: 10px; }
.footer-legal a { color: var(--lime); }
.footer-bottom {
  padding-top: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(138,144,158,0.5);
  text-align: center;
}

/* ——— MODALS ——— */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-panel { background: var(--paper); width: 100%; max-width: 720px; }
.modal-header {
  background: var(--ink);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--lime);
}
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal-body {
  padding: 28px 26px;
  max-height: 60vh;
  overflow-y: auto;
}
.modal-body h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--text-dark); margin-top: 20px; margin-bottom: 8px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { font-size: 13.5px; line-height: 1.68; color: #4A505B; margin-bottom: 6px; }
.modal-body ul { list-style: disc; padding-left: 18px; margin-bottom: 8px; }
.modal-body li { font-size: 13.5px; line-height: 1.65; color: #4A505B; margin-bottom: 4px; }

/* ——— COOKIE BANNER ——— */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 2px solid var(--lime);
  z-index: 200;
  padding: 16px 24px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: 13px; line-height: 1.55; color: var(--muted); min-width: 240px; }
.cookie-text a { color: var(--lime); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn-all { background: var(--lime); color: var(--ink); border: none; font-family: 'IBM Plex Sans', sans-serif; font-weight: 500; font-size: 13px; padding: 9px 16px; cursor: pointer; }
.cookie-btn-min { background: transparent; color: var(--lime); border: 1px solid var(--lime); font-family: 'IBM Plex Sans', sans-serif; font-weight: 500; font-size: 13px; padding: 9px 16px; cursor: pointer; }
.cookie-btn-custom { background: transparent; color: var(--muted); border: none; font-family: 'IBM Plex Sans', sans-serif; font-size: 13px; padding: 9px 12px; cursor: pointer; }

/* COOKIE CUSTOM MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal-panel { background: var(--paper); width: 100%; max-width: 460px; }
.cookie-modal-hd { background: var(--ink); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; }
.cookie-modal-hd h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; color: var(--lime); }
.cookie-modal-bd { padding: 22px; }
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.07); }
.toggle-row:last-of-type { border-bottom: none; }
.toggle-info h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--text-dark); margin-bottom: 3px; }
.toggle-info p { font-size: 12.5px; color: #6A707B; line-height: 1.5; }
.toggle-switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #ccc; cursor: pointer; transition: 0.3s; border-radius: 22px; }
.toggle-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: #fff; transition: 0.3s; border-radius: 50%; }
input:checked + .toggle-slider { background: var(--lime); }
input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-always { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--muted); white-space: nowrap; margin-top: 4px; }
.cookie-save { display: block; width: 100%; background: var(--lime); color: var(--ink); border: none; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; padding: 13px; cursor: pointer; margin-top: 18px; transition: opacity 0.2s; }
.cookie-save:hover { opacity: 0.88; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .city-wrap { grid-template-columns: 1fr; }
  .city-sidebar { position: static; }
  .cities-strip { grid-template-columns: repeat(3, 1fr); }
  .home-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .article-wrap { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .hero-home-inner { grid-template-columns: 1fr; gap: 48px; }
  .highway-panel { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-legal { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
  .faq-sidebar-label { display: none; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    background: var(--ink);
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--lime);
    gap: 2px;
    z-index: 200;
  }
  .main-nav.open .nav-dropdown-menu {
    display: block;
    position: static;
    border: none;
    border-top: none;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: auto;
  }
  .hamburger { display: block; }
  .header-cta { display: none; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
  .pages-grid { grid-template-columns: 1fr; }
  .cities-strip { grid-template-columns: 1fr 1fr; }
  .home-stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { grid-column: auto; }
  .calc-fields { grid-template-columns: 1fr; }
  .channel-row { grid-template-columns: 44px 1fr; }
  .channel-link { display: none; }
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-blink { animation: none; opacity: 1; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
