/**
 * Homepage — Styles
 * BEM prefix: home__
 * Uses design tokens from tokens.css
 */

/* ================================================================
   HERO
   ================================================================ */
.home__hero {
  background: linear-gradient(135deg, var(--gas-blue-dark) 0%, var(--gas-blue) 50%, var(--gas-orange) 100%);
  padding: 3rem var(--gas-space-md) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.home__hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}

/* ── Title ── */
.home__title {
  margin: 0 0 var(--gas-space-md);
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.home__title-accent {
  display: block;
  background: linear-gradient(90deg, var(--gas-yellow) 0%, var(--gas-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__subtitle {
  margin: 0 auto var(--gas-space-xl);
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 550px;
  line-height: 1.6;
}

/* ================================================================
   HERO — PRICE CARDS
   ================================================================ */
.home__prices-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gas-space-sm);
  max-width: 560px;
  margin: 0 auto var(--gas-space-lg);
}

.home__price-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gas-radius-md);
  padding: var(--gas-space-sm) var(--gas-space-xs);
  transition: var(--gas-transition-fast);
}

.home__price-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.home__price-type {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--gas-space-xs);
}

.home__price-type--regular { color: var(--gas-green); }
.home__price-type--premium { color: var(--gas-orange-light); }
.home__price-type--diesel  { color: #7eb8f7; }

.home__price-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.home__price-unit {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.home__prices-date {
  margin: 0 0 var(--gas-space-lg);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ================================================================
   HERO — CTA BUTTONS
   ================================================================ */
.home__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gas-space-sm);
  margin-bottom: var(--gas-space-xl);
}

.home__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gas-space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--gas-font-sans);
  border-radius: var(--gas-radius-md);
  text-decoration: none;
  transition: var(--gas-transition-fast);
  white-space: nowrap;
  width: 100%;
  max-width: 260px;
}

.home__cta--primary {
  background: var(--gas-yellow);
  color: var(--gas-gray-900);
  box-shadow: 0 2px 12px rgba(238, 210, 2, 0.3);
}

.home__cta--primary:hover {
  background: #ffd900;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(238, 210, 2, 0.45);
  color: var(--gas-gray-900);
}

.home__cta--secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.home__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #fff;
}

.home__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ================================================================
   HERO — STATS
   ================================================================ */
.home__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gas-space-md);
  max-width: 480px;
  margin: 0 auto;
}

.home__stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--gas-radius-md);
  padding: var(--gas-space-md) var(--gas-space-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home__stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gas-yellow);
  line-height: 1.2;
}

.home__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* ================================================================
   WAVE DIVIDER
   ================================================================ */
.home__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 1;
}

.home__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ================================================================
   NATIONAL DASHBOARD
   ================================================================ */
.home__dash {
  background: linear-gradient(180deg, #f0f2f7 0%, #e8eaf1 100%);
  padding: var(--gas-space-2xl) var(--gas-space-md);
}

.home__dash-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ── Header ── */
.home__dash-header {
  text-align: center;
  margin-bottom: var(--gas-space-xl);
}

.home__dash-cta {
  text-align: center;
  margin-top: var(--gas-space-lg);
}

.home__dash-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gas-primary, #038799);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.home__dash-cta-btn:hover {
  background: #026d7a;
  transform: translateY(-1px);
  color: #fff;
}

.home__dash-title {
  margin: 0 0 var(--gas-space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gas-gray-900);
}

.home__dash-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gas-text-secondary);
}

/* ================================================================
   DASHBOARD — VERSUS CARDS
   ================================================================ */
.home__dash-versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: var(--gas-space-xl);
  position: relative;
}

.home__dash-vs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  text-decoration: none;
  color: var(--gas-text-primary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: var(--gas-transition-fast);
}

.home__dash-vs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.1);
  color: var(--gas-text-primary);
}

/* Top accent strip */
.home__dash-vs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.home__dash-vs-card--cheap::before {
  background: linear-gradient(90deg, #34d399, #10b981);
}

.home__dash-vs-card--expensive::before {
  background: linear-gradient(90deg, #f87171, #ef4444);
}

.home__dash-vs-badge-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.home__dash-vs-card--cheap .home__dash-vs-badge-label {
  background: #ecfdf5;
  color: #059669;
}

.home__dash-vs-card--expensive .home__dash-vs-badge-label {
  background: #fef2f2;
  color: #dc2626;
}

.home__dash-vs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--gas-radius-full);
  margin-bottom: 0.75rem;
}

.home__dash-vs-card--cheap .home__dash-vs-icon {
  background: #ecfdf5;
  color: #059669;
}

.home__dash-vs-card--expensive .home__dash-vs-icon {
  background: #fef2f2;
  color: #dc2626;
}

.home__dash-vs-price {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gas-gray-900);
}

.home__dash-vs-unit {
  display: block;
  font-size: 0.75rem;
  color: var(--gas-text-secondary);
  margin-top: 2px;
  margin-bottom: 0.75rem;
}

.home__dash-vs-state {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gas-gray-900);
}

.home__dash-vs-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--gas-text-secondary);
  margin-top: 2px;
}

/* VS divider */
.home__dash-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 0;
  z-index: 2;
}

.home__dash-vs-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--gas-radius-full);
  background: var(--gas-gray-900);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home__dash-vs-diff {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gas-text-secondary);
}

/* ================================================================
   DASHBOARD — STATE RANKING
   ================================================================ */
.home__dash-ranking {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: var(--gas-space-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.home__dash-ranking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home__dash-ranking-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gas-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home__dash-ranking-title svg {
  color: var(--gas-blue);
}

.home__dash-ranking-fuel {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gas-text-secondary);
  background: var(--gas-gray-50);
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
}

.home__dash-rank-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gas-gray-200) transparent;
}

.home__dash-rank-scroll::-webkit-scrollbar {
  width: 4px;
}

.home__dash-rank-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.home__dash-rank-scroll::-webkit-scrollbar-thumb {
  background: var(--gas-gray-200);
  border-radius: 4px;
}

.home__dash-rank-item {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  background: var(--gas-gray-50);
  text-decoration: none;
  color: var(--gas-text-primary);
  transition: var(--gas-transition-fast);
}

.home__dash-rank-item:hover {
  background: #e8edf5;
  color: var(--gas-text-primary);
}

.home__dash-rank-pos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--gas-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gas-gray-200);
  color: var(--gas-gray-600);
}

.home__dash-rank-item--gold .home__dash-rank-pos {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.home__dash-rank-item--silver .home__dash-rank-pos {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: #fff;
  box-shadow: 0 2px 6px rgba(156, 163, 175, 0.35);
}

.home__dash-rank-item--bronze .home__dash-rank-pos {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
}

.home__dash-rank-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.home__dash-rank-name {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home__dash-rank-bar-track {
  height: 6px;
  background: var(--gas-gray-100);
  border-radius: 3px;
  overflow: hidden;
}

.home__dash-rank-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #34d399 0%, #fbbf24 50%, #ef4444 100%);
  background-size: 400% 100%;
}

/* Position the bar gradient based on fill width */
.home__dash-rank-item--gold .home__dash-rank-bar-fill { background-position: 0% 0%; }
.home__dash-rank-item--silver .home__dash-rank-bar-fill { background-position: 5% 0%; }
.home__dash-rank-item--bronze .home__dash-rank-bar-fill { background-position: 10% 0%; }

.home__dash-rank-price {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gas-gray-900);
  white-space: nowrap;
}

/* ================================================================
   DASHBOARD — TOP 10 CHEAPEST STATIONS
   ================================================================ */
.home__dash-top {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.home__dash-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home__dash-top-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gas-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home__dash-top-title svg {
  color: var(--gas-green);
}

.home__dash-top-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gas-text-secondary);
  background: var(--gas-gray-50);
  padding: 0.25rem 0.625rem;
  border-radius: 2rem;
}

.home__dash-top-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.home__dash-top-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--gas-gray-50);
  border: 1px solid transparent;
  transition: var(--gas-transition-fast);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.home__dash-top-card:hover {
  border-color: var(--gas-gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Podium accents */
.home__dash-top-card--gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}

.home__dash-top-card--silver {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-color: #d1d5db;
}

.home__dash-top-card--bronze {
  background: linear-gradient(135deg, #fffbf0 0%, #fef0d4 100%);
  border-color: #fbbf24;
}

.home__dash-top-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--gas-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gas-gray-200);
  color: var(--gas-gray-600);
  margin-bottom: 0.625rem;
}

.home__dash-top-card--gold .home__dash-top-rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.home__dash-top-card--silver .home__dash-top-rank {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: #fff;
}

.home__dash-top-card--bronze .home__dash-top-rank {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
}

.home__dash-top-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #059669;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.home__dash-top-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gas-gray-900);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home__dash-top-loc {
  display: block;
  font-size: 0.6875rem;
  color: var(--gas-text-secondary);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home__dash-top-id {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--gas-gray-400);
  background: rgba(0, 0, 0, 0.04);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
  width: fit-content;
}

/* ================================================================
   TRAZA TU RUTA — PROMO
   ================================================================ */
.home__ruta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: var(--gas-space-2xl) var(--gas-space-md);
  position: relative;
  overflow: hidden;
}

/* Subtle topographic grid pattern */
.home__ruta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.03) 39px, rgba(255,255,255,0.03) 40px);
  pointer-events: none;
}

.home__ruta-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Road dashes ── */
.home__ruta-road {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--gas-space-xl);
}

.home__ruta-road span {
  display: block;
  width: 2.5rem;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.home__ruta-road span:nth-child(odd) {
  background: var(--gas-orange);
  opacity: 0.6;
}

/* ── Layout ── */
.home__ruta-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gas-space-xl);
  align-items: center;
}

/* ── Text side ── */
.home__ruta-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  background: rgba(242, 104, 0, 0.15);
  color: var(--gas-orange);
  border: 1px solid rgba(242, 104, 0, 0.3);
  margin-bottom: var(--gas-space-md);
}

.home__ruta-title {
  margin: 0 0 var(--gas-space-md);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.home__ruta-desc {
  margin: 0 0 var(--gas-space-lg);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 480px;
}

/* ── Features grid ── */
.home__ruta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: var(--gas-space-xl);
}

.home__ruta-feat {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.home__ruta-feat svg {
  flex-shrink: 0;
  color: var(--gas-orange);
}

/* ── CTA ── */
.home__ruta-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--gas-font-sans);
  color: #fff;
  background: var(--gas-orange);
  border-radius: var(--gas-radius-md);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(242, 104, 0, 0.35);
  transition: var(--gas-transition-fast);
}

.home__ruta-cta:hover {
  background: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(242, 104, 0, 0.45);
  color: #fff;
}

.home__ruta-cta:focus-visible {
  outline: 3px solid var(--gas-orange);
  outline-offset: 3px;
}

/* ── Visual / map mock ── */
.home__ruta-visual {
  display: none;
}

.home__ruta-map-mock {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home__ruta-route-line {
  width: 100%;
  height: 120px;
}

.home__ruta-pin {
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--gas-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home__ruta-pin--origin {
  background: #10b981;
  top: 1.5rem;
  left: 1.5rem;
}

.home__ruta-pin--dest {
  background: #ef4444;
  bottom: 1.5rem;
  right: 1.5rem;
}

.home__ruta-toll-badge {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(242, 104, 0, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2rem;
  white-space: nowrap;
}

/* ================================================================
   ESTADOS SECTION
   ================================================================ */
.home__estados {
  background: var(--gas-bg-primary);
  padding: var(--gas-space-2xl) var(--gas-space-md);
}

.home__estados-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.home__estados-header {
  text-align: center;
  margin-bottom: var(--gas-space-xl);
}

.home__estados-title {
  margin: 0 0 var(--gas-space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gas-text-primary);
}

.home__estados-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gas-text-secondary);
}

.home__estados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem var(--gas-space-md);
}

/* Mobile: compact list style */
.home__estado-card {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gas-gray-100);
  border-radius: 0;
  text-decoration: none;
  color: var(--gas-text-primary);
  transition: var(--gas-transition-fast);
}

.home__estado-card:hover {
  color: var(--gas-blue);
}

.home__estado-card:focus-visible {
  box-shadow: var(--gas-focus-ring);
  outline: none;
}

.home__estado-icon {
  display: none;
}

.home__estado-body {
  flex: 1;
  min-width: 0;
}

.home__estado-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.home__estado-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--gas-text-secondary);
  margin-top: 2px;
}

.home__estado-arrow {
  display: none;
}

/* ================================================================
   SEO CONTENT
   ================================================================ */
.home__seo {
  background: var(--gas-bg-primary);
  padding: var(--gas-space-2xl) var(--gas-space-md);
  border-top: 1px solid var(--gas-gray-100);
}

.home__seo-inner {
  max-width: 800px;
  margin: 0 auto;
}

.home__seo-title {
  margin: 0 0 var(--gas-space-lg);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gas-text-primary);
}

.home__seo-subtitle {
  margin: var(--gas-space-xl) 0 var(--gas-space-md);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gas-text-primary);
}

.home__seo p {
  margin: 0 0 var(--gas-space-md);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gas-text-secondary);
}

.home__seo p:last-child {
  margin-bottom: 0;
}

/* ================================================================
   PRINCIPALES CIUDADES
   ================================================================ */
.home__ciudades {
  background: var(--gas-bg-secondary);
  padding: var(--gas-space-2xl) var(--gas-space-md);
}

.home__ciudades-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.home__ciudades-header {
  text-align: center;
  margin-bottom: var(--gas-space-xl);
}

.home__ciudades-title {
  margin: 0 0 var(--gas-space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gas-text-primary);
}

.home__ciudades-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gas-text-secondary);
}

.home__ciudades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem var(--gas-space-md);
}

/* Mobile: compact list style */
.home__ciudad-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gas-gray-100);
  border-radius: 0;
  text-decoration: none;
  color: var(--gas-text-primary);
  transition: var(--gas-transition-fast);
}

.home__ciudad-card:hover {
  color: var(--gas-blue);
}

.home__ciudad-card:focus-visible {
  box-shadow: var(--gas-focus-ring);
  outline: none;
}

.home__ciudad-body {
  min-width: 0;
}

.home__ciudad-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.home__ciudad-state {
  display: block;
  font-size: 0.6875rem;
  color: var(--gas-text-secondary);
  margin-top: 1px;
}

.home__ciudad-count {
  flex-shrink: 0;
  text-align: right;
}

.home__ciudad-num {
  display: inline;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gas-blue);
  line-height: 1.2;
}

.home__ciudad-label {
  display: inline;
  font-size: 0.6875rem;
  color: var(--gas-text-secondary);
  margin-left: 0.125rem;
}

/* ================================================================
   RESPONSIVE — Tablet (768px+)
   ================================================================ */
@media (min-width: 768px) {
  .home__hero {
    padding: 4rem var(--gas-space-lg) 0;
  }

  .home__hero-inner {
    padding-bottom: 6rem;
  }

  .home__title {
    font-size: 3.25rem;
  }

  .home__subtitle {
    font-size: 1.125rem;
  }

  .home__prices-hero {
    gap: var(--gas-space-md);
  }

  .home__price-card {
    padding: var(--gas-space-md) var(--gas-space-sm);
  }

  .home__ctas {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--gas-space-md);
  }

  .home__cta {
    width: auto;
    max-width: none;
  }

  .home__price-value {
    font-size: 2rem;
  }

  .home__stat-number {
    font-size: 2.25rem;
  }

  .home__wave svg {
    height: 100px;
  }

  /* Dashboard — tablet */
  .home__dash-title {
    font-size: 1.75rem;
  }

  .home__dash-versus {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }

  .home__dash-vs-divider {
    padding: 0 0.5rem;
  }

  .home__dash-vs-price {
    font-size: 2.25rem;
  }

  .home__dash-rank-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-height: none;
    overflow-y: visible;
  }

  .home__dash-top-scroll {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Ruta — tablet */
  .home__ruta-content {
    grid-template-columns: 1fr 1fr;
  }

  .home__ruta-visual {
    display: block;
  }

  .home__ruta-title {
    font-size: 2rem;
  }

  /* Estados — tablet: restore card style */
  .home__estados-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gas-space-md);
  }

  .home__estado-card {
    gap: var(--gas-space-md);
    padding: var(--gas-space-md);
    background: var(--gas-bg-primary);
    border: 1px solid var(--gas-gray-100);
    border-radius: var(--gas-radius-md);
  }

  .home__estado-card:hover {
    border-color: var(--gas-blue);
    box-shadow: var(--gas-shadow-md);
    transform: translateY(-1px);
    color: var(--gas-text-primary);
  }

  .home__estado-icon {
    display: flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--gas-bg-secondary);
    border-radius: var(--gas-radius-md);
    color: var(--gas-blue);
  }

  .home__estado-card:hover .home__estado-icon {
    background: var(--gas-blue);
    color: #fff;
  }

  .home__estado-name {
    font-size: 0.9375rem;
    font-weight: 700;
  }

  .home__estado-arrow {
    display: block;
    flex-shrink: 0;
    color: var(--gas-gray-300);
    transition: var(--gas-transition-fast);
  }

  .home__estado-card:hover .home__estado-arrow {
    color: var(--gas-blue);
    transform: translateX(2px);
  }

  /* Ciudades — tablet: restore card style */
  .home__ciudades-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gas-space-sm);
  }

  .home__ciudad-card {
    gap: var(--gas-space-md);
    padding: var(--gas-space-md);
    background: var(--gas-bg-primary);
    border: 1px solid var(--gas-gray-100);
    border-radius: var(--gas-radius-md);
  }

  .home__ciudad-card:hover {
    border-color: var(--gas-blue);
    box-shadow: var(--gas-shadow-md);
    transform: translateY(-1px);
    color: var(--gas-text-primary);
  }

  .home__ciudad-name {
    font-size: 0.9375rem;
    font-weight: 700;
  }

  .home__ciudad-num {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
  }

  .home__ciudad-label {
    display: block;
    font-size: 0.6875rem;
    margin-left: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .home__ciudad-count {
    text-align: center;
  }
}

/* ================================================================
   RESPONSIVE — Desktop (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
  .home__hero {
    padding: 5rem var(--gas-space-xl) 0;
  }

  .home__hero-inner {
    max-width: 900px;
    padding-bottom: 7rem;
  }

  .home__title {
    font-size: 4rem;
  }

  .home__subtitle {
    font-size: 1.25rem;
    max-width: 620px;
  }

  .home__prices-hero {
    max-width: 620px;
  }

  .home__price-value {
    font-size: 2.25rem;
  }

  .home__stats {
    max-width: 540px;
  }

  .home__stat-number {
    font-size: 2.75rem;
  }

  .home__stat-label {
    font-size: 0.875rem;
  }

  .home__wave svg {
    height: 120px;
  }

  /* Dashboard — desktop */
  .home__dash {
    padding: 3.5rem var(--gas-space-xl);
  }

  .home__dash-versus {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .home__dash-vs-price {
    font-size: 2.75rem;
  }

  .home__dash-rank-scroll {
    grid-template-columns: repeat(3, 1fr);
  }

  .home__dash-top-scroll {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Ruta — desktop */
  .home__ruta {
    padding: 3.5rem var(--gas-space-xl);
  }

  .home__ruta-title {
    font-size: 2.25rem;
  }

  .home__ruta-desc {
    font-size: 1rem;
  }

  .home__ruta-map-mock {
    min-height: 240px;
  }

  .home__estados-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home__estados-title {
    font-size: 1.75rem;
  }

  /* Ciudades — desktop */
  .home__ciudades-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home__ciudades-title {
    font-size: 1.75rem;
  }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .home__cta,
  .home__price-card,
  .home__estado-card,
  .home__estado-arrow,
  .home__ciudad-card,
  .home__dash-vs-card,
  .home__dash-rank-item,
  .home__dash-top-card,
  .home__ruta-cta {
    transition: none;
  }
  .home__cta:hover,
  .home__price-card:hover,
  .home__estado-card:hover,
  .home__ciudad-card:hover,
  .home__dash-vs-card:hover,
  .home__dash-top-card:hover,
  .home__ruta-cta:hover {
    transform: none;
  }
}

/* ================================================================
   WHATSAPP CHANNEL BANNER
   ================================================================ */
@keyframes wa-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.6); opacity: 0;   }
}

@keyframes wa-icon-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.home__wa-banner {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 50%, #25d366 100%);
  padding: 2rem var(--gas-space-md);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}

.home__wa-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.home__wa-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── Icon ── */
.home__wa-icon-wrap {
  flex-shrink: 0;
  position: relative;
  width: 56px;
  height: 56px;
}

.home__wa-icon {
  width: 56px;
  height: 56px;
  fill: #fff;
  animation: wa-icon-float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.home__wa-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  animation: wa-pulse 2s ease-out infinite;
}

/* ── Text ── */
.home__wa-text {
  flex: 1;
  min-width: 200px;
}

.home__wa-badge {
  display: inline-block;
  background: var(--gas-yellow);
  color: #1a3a1a;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.home__wa-title {
  margin: 0 0 0.3rem;
  font-size: 1.1875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.home__wa-desc {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ── CTA Button ── */
.home__wa-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #075e54;
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.home__wa-cta:hover {
  background: #e8fdf3;
  color: #075e54;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  text-decoration: none;
}

.home__wa-cta:active {
  transform: translateY(0) scale(0.98);
}

.home__wa-cta svg {
  transition: transform 0.18s ease;
}

.home__wa-cta:hover svg {
  transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 599px) {
  .home__wa-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .home__wa-icon-wrap {
    margin: 0 auto;
  }

  .home__wa-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home__wa-icon      { animation: none; }
  .home__wa-pulse     { animation: none; }
  .home__wa-cta,
  .home__wa-cta svg   { transition: none; }
  .home__wa-cta:hover { transform: none; }
}
