/* ============ GLOBAL ============ */
:root {
  --cream: #F5F4EF;
  --cream-2: #EFEDE6;
  --line: #E5E3DC;
  --ink: #0E0E0E;
  --ink-2: #1A1A1A;
  --muted: #6B6A64;
  --lime: #C8F000;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}

.app { display: flex; flex-direction: column; min-height: 100vh; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

/* Contenedor común — más estrecho para evitar espacio muerto */
.nav-inner, .hero-grid, .results, .how-inner, .footer-inner, .demo-banner-wrap {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,239,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 9px; min-width: 0; }
.logo-img {
  height: 34px; width: 34px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}
.logo-text { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; white-space: nowrap; }
.logo-dot { color: var(--lime); }

.nav-radius { display: flex; align-items: center; gap: 14px; max-width: 320px; width: 100%; justify-self: start; }
.nav-radius-label {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); display: flex; flex-direction: column; gap: 1px; white-space: nowrap;
}
.nav-radius-value { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; text-transform: none; }
.nav-slider {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; outline: none; cursor: pointer; min-width: 100px;
  background: linear-gradient(to right,#C8F000 0%,#C8F000 16.67%,#E5E3DC 16.67%,#E5E3DC 100%);
}
.nav-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--lime);
  cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.nav-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--lime); cursor: pointer;
}

.fuel-tabs {
  display: flex; background: var(--cream-2);
  border-radius: 999px; padding: 4px; gap: 2px;
  border: 1px solid var(--line); flex-shrink: 0;
}
.fuel-tab {
  border: none; background: transparent;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  border-radius: 999px; color: var(--muted); transition: all 0.15s; white-space: nowrap;
}
.fuel-tab:hover { color: var(--ink); }
.fuel-tab.active { background: var(--ink); color: var(--cream); }

.nav-status { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CC76A; box-shadow: 0 0 0 3px rgba(76,199,106,0.18); }
.status-dot.warn { background: #F0B400; box-shadow: 0 0 0 3px rgba(240,180,0,0.18); }
.status-dot.err  { background: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,0.18); }

/* ============ HERO — 2 COLUMNAS ============ */
.hero { padding: 0; width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 60px 32px 44px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4CC76A; flex-shrink: 0; }
.hero-title {
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 0.95; letter-spacing: -0.045em;
  font-weight: 800; margin: 0 0 24px; color: var(--ink);
}
.hero-title em { font-style: italic; font-weight: 400; font-family: 'Instrument Serif', serif; letter-spacing: -0.02em; }
.hero-dot { color: var(--lime); }
.hero-sub { font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 460px; margin: 0 0 30px; }
.hero-cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--cream); border: none;
  padding: 6px 6px 6px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.15s;
}
.cta-pill:hover { transform: translateY(-2px); }
.cta-pill:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.cta-pill.small { padding: 4px 4px 4px 18px; font-size: 13px; }
.cta-pill.small .cta-arrow { width: 32px; height: 32px; }
.cta-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 12px 4px; border-bottom: 1px solid var(--ink);
}
.cta-ghost:hover { color: var(--muted); border-color: var(--muted); }

/* ============ CÍRCULOS EN CASCADA (columna derecha) ============ */
.hero-right { display: flex; justify-content: center; }
.stats-circles { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 420px; }
.stat-circle {
  width: 168px; height: 168px;
  background: var(--lime); border-radius: 50%;
  padding: 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; flex-shrink: 0;
  transition: transform 0.25s;
}
.stat-circle:hover { transform: scale(1.04); }
.stat-circle-dark { background: var(--ink); color: var(--cream); }
.stat-circle-num { font-size: 32px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.stat-circle-dark .stat-circle-num { color: var(--lime); }
.stat-circle-label {
  font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-top: 9px; line-height: 1.35; opacity: 0.75;
}
/* Cascada diagonal */
.stat-c1 { align-self: flex-start; margin-left: 4%; }
.stat-c2 { align-self: center;     margin-left: 24%; }
.stat-c3 { align-self: flex-start; margin-left: 10%; }

/* ============ RESULTS ============ */
.results { padding: 24px 32px 72px; flex: 1; }
.results-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; gap: 20px; flex-wrap: wrap;
}
.results-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 12px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.results-title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.035em; margin: 0; line-height: 1.05; }
.results-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.results-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--cream-2); padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line);
}

/* ============ GRID ============ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ============ CARD ============ */
.card {
  border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
  background: #FFFFFF; color: var(--ink); border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14,14,14,0.08); }

/* La más barata en oscuro */
.card-best { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card-best:hover { box-shadow: 0 12px 32px rgba(14,14,14,0.28); }

.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-num { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; opacity: 0.4; }
.card-best .card-num { opacity: 0.6; }
.card-badge-best {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--lime); color: var(--ink);
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 999px;
}
.card-dist-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 999px;
}
.card-best .card-dist-pill { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.16); }

.card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-brand { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; }
.card-name { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; margin: 0; line-height: 1.18; overflow-wrap: anywhere; }
.card-addr {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 13px; opacity: 0.65; margin-top: 8px; line-height: 1.4; overflow-wrap: anywhere;
}
.card-addr svg { flex-shrink: 0; margin-top: 2px; }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-badge {
  background: var(--lime); color: var(--ink);
  padding: 10px 15px; border-radius: 999px;
  display: inline-flex; align-items: baseline; gap: 4px;
  font-weight: 700; flex-shrink: 0;
}
.price-val { font-size: 18px; letter-spacing: -0.02em; }
.price-unit { font-size: 11px; font-weight: 600; opacity: 0.65; }

/* Botón "Ver ubicación" explícito */
.card-map-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.card-map-btn:hover { background: var(--lime); color: var(--ink); transform: translateY(-1px); }
.card-best .card-map-btn { background: var(--cream); color: var(--ink); }
.card-best .card-map-btn:hover { background: var(--lime); }
.card-map-btn svg { flex-shrink: 0; }


/* ============ TOGGLE LISTA / MAPA ============ */
.view-toggle {
  display: flex; background: var(--cream-2);
  border-radius: 999px; padding: 4px; gap: 2px;
  border: 1px solid var(--line); flex-shrink: 0;
}
.view-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: none; background: transparent;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  border-radius: 999px; color: var(--muted); transition: all 0.15s;
  white-space: nowrap;
}
.view-btn:hover { color: var(--ink); }
.view-btn.active { background: var(--ink); color: var(--cream); }
.view-btn svg { flex-shrink: 0; }

/* ============ MAPA ============ */
.map-wrap {
  display: none;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-2);
}
.map-wrap.visible { display: block; }
#map { height: 580px; width: 100%; background: var(--cream-2); }

/* Leaflet overrides para encajar con el diseño */
.leaflet-container {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--cream-2);
}
.leaflet-control-zoom {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(14,14,14,0.08) !important;
}
.leaflet-control-zoom a {
  background: rgba(245,244,239,0.96) !important;
  color: var(--ink) !important;
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  width: 34px !important; height: 34px !important;
  line-height: 34px !important;
  font-size: 18px !important; font-weight: 600 !important;
}
.leaflet-control-zoom a:last-child { border-bottom: none !important; }
.leaflet-control-zoom a:hover { background: var(--lime) !important; }
.leaflet-control-attribution {
  background: rgba(245,244,239,0.9) !important;
  font-size: 10px !important;
  color: var(--muted) !important;
  padding: 3px 8px !important;
  border-radius: 8px 0 0 0 !important;
}
.leaflet-control-attribution a { color: var(--muted) !important; }

/* Marcador de precio */
.price-marker {
  background: transparent !important;
  border: none !important;
}
.price-pin {
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFFFFF;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px; font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14,14,14,0.16);
  transition: transform 0.12s;
  cursor: pointer;
}
.price-pin:hover { transform: scale(1.12); z-index: 999; }
.price-pin.pin-best {
  background: var(--lime);
  border-color: var(--ink);
  padding: 7px 13px;
  font-size: 13.5px;
  box-shadow: 0 3px 14px rgba(14,14,14,0.28);
}
.price-pin.pin-cheap { background: var(--lime); }

/* Marcador de usuario */
.user-marker { background: transparent !important; border: none !important; }
.user-dot {
  width: 18px; height: 18px;
  background: #2D7FF9;
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45,127,249,0.22), 0 2px 8px rgba(0,0,0,0.2);
}

/* Popup */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(14,14,14,0.16) !important;
  padding: 0 !important;
  background: #FFFFFF !important;
}
.leaflet-popup-content { margin: 0 !important; width: auto !important; min-width: 210px; }
.leaflet-popup-tip { background: #FFFFFF !important; }
.leaflet-popup-close-button {
  color: var(--muted) !important;
  padding: 10px 10px 0 0 !important;
  font-size: 20px !important;
}
.map-popup { padding: 16px 18px; }
.map-popup-brand {
  font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 3px;
}
.map-popup-name {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 6px;
  line-height: 1.2; color: var(--ink);
}
.map-popup-addr {
  font-size: 12px; color: var(--muted);
  line-height: 1.4; margin: 0 0 12px;
}
.map-popup-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.map-popup-price {
  background: var(--lime); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: -0.02em;
}
.map-popup-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  background: var(--ink); color: var(--cream);
  padding: 7px 12px; border-radius: 999px;
}
.map-popup-link:hover { background: var(--lime); color: var(--ink); }
.map-popup-dist {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  color: var(--muted); margin-bottom: 10px;
}

/* Leyenda del mapa */
.map-legend {
  position: absolute; left: 14px; bottom: 14px; z-index: 500;
  background: rgba(245,244,239,0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 4px 16px rgba(14,14,14,0.08);
  pointer-events: none;
}
.map-legend-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.legend-swatch {
  width: 20px; height: 13px; border-radius: 999px;
  border: 1.5px solid var(--ink); flex-shrink: 0;
}
.legend-swatch.sw-best  { background: var(--lime); }
.legend-swatch.sw-cheap { background: var(--lime); opacity: 0.55; }
.legend-swatch.sw-rest  { background: #FFFFFF; }
.legend-swatch.sw-you   { background: #2D7FF9; border-color: #FFFFFF; box-shadow: 0 0 0 1.5px #2D7FF9; }

/* ============ EMPTY STATES ============ */
.empty {
  background: var(--ink-2); color: var(--cream);
  border-radius: 26px; padding: 56px 32px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.empty p { font-size: 15px; color: rgba(245,244,239,0.7); margin: 0; max-width: 440px; line-height: 1.55; }
.empty p strong { color: var(--lime); font-weight: 600; }
.empty-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px; font-size: 26px; font-weight: 800;
}
.empty-icon.error { background: #E5484D; color: white; }
.empty-spinner {
  width: 46px; height: 46px;
  border: 3px solid rgba(245,244,239,0.15);
  border-top-color: var(--lime); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin-bottom: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty .cta-pill { margin-top: 10px; }

/* ============ DEMO BANNER ============ */
.demo-banner-wrap { margin-top: 8px; padding: 0 32px; }
.demo-banner {
  display: flex; align-items: center; gap: 16px;
  background: var(--lime); color: var(--ink);
  border-radius: 18px; padding: 16px 22px;
}
.demo-banner-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.demo-banner-text { flex: 1; font-size: 13.5px; line-height: 1.5; }
.demo-banner-text em { font-style: italic; font-family: 'Instrument Serif', serif; font-size: 15px; }

/* ============ HOW IT WORKS ============ */
.how-section {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 68px 0;
}
.how-inner { padding: 0 32px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 42px; }
.how-num {
  font-size: 56px; font-weight: 400; line-height: 1;
  color: var(--lime); margin-bottom: 16px;
  font-family: 'Instrument Serif', serif;
  -webkit-text-stroke: 1px rgba(14,14,14,0.12);
}
.how-step-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.how-step-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ============ FAQ ============ */
.faq-section { padding: 68px 32px; background: var(--cream); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 34px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em; cursor: pointer; list-style: none; user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 21px; font-weight: 400;
  color: var(--lime); background: var(--ink);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.2s; line-height: 1;
}
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0 0 20px; padding-right: 46px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--cream); margin-top: auto; }
.footer-inner {
  padding: 44px 32px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer .logo-text { color: var(--cream); }
.footer-left p { font-size: 13px; color: rgba(245,244,239,0.55); margin: 16px 0 0; max-width: 400px; line-height: 1.5; }
.footer-copy { margin-top: 6px !important; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-right a { font-size: 13px; color: rgba(245,244,239,0.55); transition: color 0.15s; }
.footer-right a:hover { color: var(--lime); }

/* ============ BARRA FIJA MÓVIL ============ */
.mobile-bar { display: none; }

/* ============ RESPONSIVE TABLET ============ */
@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .nav-status { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 32px 32px; }
  .hero-right { justify-content: flex-start; }
  .stats-circles { flex-direction: row; max-width: none; gap: 16px; }
  .stat-c1, .stat-c2, .stat-c3 { align-self: auto; margin-left: 0; }
  .stat-circle { width: 156px; height: 156px; }
  .stat-circle-num { font-size: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  #map { height: 500px; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .how-section { padding: 56px 0; }
  .faq-section { padding: 56px 32px; }
}

/* ============ RESPONSIVE MÓVIL ============ */
@media (max-width: 760px) {
  .nav-inner { grid-template-columns: 1fr; padding: 12px 16px; gap: 0; }
  .nav-radius { display: none; }
  .nav-inner > .fuel-tabs { display: none; }
  .nav-status { display: none; }
  .logo-img { height: 30px; width: 30px; }
  .logo-text { font-size: 18px; }

  .hero-grid { padding: 30px 16px 22px; gap: 26px; }
  .hero-badge { font-size: 11px; padding: 5px 11px; margin-bottom: 20px; line-height: 1.4; }
  .hero-title { font-size: clamp(38px, 11.5vw, 56px); margin-bottom: 18px; }
  .hero-sub { font-size: 15px; margin-bottom: 26px; }
  .hero-cta-row { gap: 14px; }
  .cta-pill { font-size: 14px; padding: 5px 5px 5px 20px; }
  .cta-arrow { width: 34px; height: 34px; }
  .cta-ghost { font-size: 13px; padding: 10px 4px; }

  .stats-circles { gap: 9px; justify-content: space-between; width: 100%; }
  .stat-circle { width: auto; height: auto; flex: 1; min-width: 0; aspect-ratio: 1; padding: 10px 5px; }
  .stat-circle:hover { transform: none; }
  .stat-circle-num { font-size: clamp(14px, 4.8vw, 21px); letter-spacing: -0.03em; }
  .stat-circle-label { font-size: 7.5px; margin-top: 5px; letter-spacing: 0.03em; line-height: 1.25; }

  .results { padding: 18px 16px 40px; }
  .results-head { margin-bottom: 20px; }
  .results-title { font-size: 26px; }
  .results-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .results-meta { font-size: 11px; padding: 7px 12px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 18px; gap: 16px; border-radius: 18px; }
  #map { height: 440px; }
  .map-wrap { border-radius: 18px; }
  .view-btn { padding: 7px 13px; font-size: 12px; }
  .view-btn span { display: none; }
  .view-btn svg { width: 16px; height: 16px; }
  .map-legend { left: 10px; bottom: 10px; padding: 10px 12px; gap: 6px; }
  .map-legend-row { font-size: 10px; }
  .card-name { font-size: 18px; }
  .card-addr { font-size: 12.5px; }
  .price-val { font-size: 17px; }
  .price-badge { padding: 9px 13px; }
  .card-map-btn { font-size: 12.5px; padding: 9px 14px; }

  .empty { padding: 40px 20px; border-radius: 20px; }
  .empty h3 { font-size: 21px; }
  .empty p { font-size: 14px; }

  .demo-banner-wrap { padding: 0 16px; }
  .demo-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 16px; }

  .how-section { padding: 42px 0; }
  .how-inner { padding: 0 16px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .how-num { font-size: 44px; margin-bottom: 10px; }
  .how-step-title { font-size: 17px; }
  .how-step-desc { font-size: 14px; }

  .faq-section { padding: 42px 16px; }
  .faq-list { margin-top: 24px; }
  .faq-q { font-size: 15px; padding: 17px 0; gap: 12px; }
  .faq-q::after { width: 27px; height: 27px; font-size: 19px; }
  .faq-a { font-size: 14px; padding-right: 0; margin-bottom: 17px; }

  .footer-inner { padding: 32px 16px 120px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-right { align-items: flex-start; }

  /* ═══ BARRA FIJA MÓVIL ═══ */
  .mobile-bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(245,244,239,0.94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(14,14,14,0.06);
    transform: translateY(120%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-bar.visible { transform: translateY(0); }
  .mobile-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
  .mobile-bar-label {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--muted); flex-shrink: 0;
  }
  .mobile-bar-value { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; flex-shrink: 0; min-width: 44px; text-align: right; }
  .mobile-fuel-tabs { display: flex; width: 100%; }
  .mobile-fuel-tabs .fuel-tab { flex: 1; padding: 8px 6px; font-size: 12.5px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 34px; }
  .stat-circle-num { font-size: 13px; }
  .stat-circle-label { font-size: 7px; }
}
