/* ============================================================
   Avisa — CSS mínimo
   Solo lo que Tailwind no cubre por sí mismo.
   ============================================================ */

/* Reset crítico de SVG inline */
img, svg { max-width: 100%; display: block; }

/* Glass card — clase usada repetidamente en el HTML */
.glass-card {
  background: rgba(30, 41, 59, 0.20);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.10);
  border-radius: 1.5rem;
}

/* Perspective + preserve-3d para el parallax del teléfono */
.perspective-1000 { perspective: 1000px; }
.preserve-3d     { transform-style: preserve-3d; }

/* Estados dinámicos: solo uno visible a la vez */
.state          { display: none; }
.state-active   { display: block; }

/* ── Override Leaflet dark mode ────────────────────────────── */
.leaflet-container { background: #11121d; }
.leaflet-control-attribution {
  background: rgba(11, 12, 20, 0.85) !important;
  color: #475569 !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: #a78bfa !important; }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #11121d !important;
  color: #fff !important;
  border-radius: 8px;
}
.leaflet-popup-content { font-family: 'Inter', sans-serif; }

/* ── Ruta badge ────────────────────────────────────────────── */
.ruta-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.30);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

/* ── Estrellas rating ──────────────────────────────────────── */
.stars { color: #fbbf24; font-size: 18px; letter-spacing: 1px; }
