* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", "Roboto", Arial, sans-serif;
  background: #0f0f0f;
}

#map {
  width: 100%;
  height: 100vh;
}

/* Botón principal */
#btn-alerta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff1f1f, #b80000);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(220, 0, 0, 0.45);
  cursor: pointer;
}

#btn-alerta::before {
  content: "🚨 ";
}

#btn-alerta:active {
  transform: translateX(-50%) scale(0.96);
}

/* Panel crear alerta */
#panel-alerta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 90px;
  background: rgba(255,255,255,0.97);
  padding: 20px;
  border-radius: 24px;
  z-index: 1001;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
  animation: subirPanel 0.25s ease;
}

@keyframes subirPanel {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#panel-alerta h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #111;
}

#panel-alerta h2::before {
  content: "🚨 ";
}

select,
textarea,
input {
  width: 100%;
  border: 1px solid #ddd;
  background: #f7f7f7;
  padding: 13px 14px;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  margin-bottom: 12px;
}

select:focus,
textarea:focus,
input:focus {
  border-color: #d10000;
  background: white;
}

textarea {
  min-height: 95px;
  resize: none;
}

#publicar {
  width: 100%;
  background: linear-gradient(135deg, #e60000, #9e0000);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(200,0,0,0.25);
}

#publicar::before {
  content: "📍 ";
}

#cerrar {
  width: 100%;
  margin-top: 9px;
  background: #eeeeee;
  color: #222;
  border: none;
  padding: 13px;
  border-radius: 16px;
  font-weight: 700;
}

.oculto {
  display: none;
}

/* Carrito usuario */
.icono-auto {
  font-size: 31px;
  text-align: center;
  line-height: 35px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35));
}

/* Marcadores de alerta */
.icono-alerta {
  text-align: center;
}

.burbuja-alerta {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  border: 4px solid white;
  box-shadow: 0 8px 18px rgba(0,0,0,0.42);
  position: relative;
  animation: pulsoAlerta 1.5s infinite;
}

@keyframes pulsoAlerta {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 0, 0, 0.55);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(220, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 0, 0, 0);
  }
}

/* Popups Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.28);
}

.leaflet-popup-content {
  margin: 14px;
  min-width: 230px;
}

.popup-alerta {
  font-size: 14px;
  color: #111;
}

.popup-alerta strong {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.popup-alerta p {
  margin: 8px 0 10px;
  line-height: 1.35;
}

.popup-alerta small {
  color: #555;
  font-size: 12px;
}

.popup-alerta hr {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 11px 0;
}

.lista-comentarios {
  padding-left: 18px;
  margin: 8px 0;
  max-height: 90px;
  overflow-y: auto;
}

.lista-comentarios li {
  margin-bottom: 5px;
  font-size: 13px;
}

/* Botones internos del popup */
.popup-alerta button {
  transition: transform 0.12s ease, opacity 0.12s ease;
  cursor: pointer;
}

.popup-alerta button:active {
  transform: scale(0.97);
  opacity: 0.85;
}

/* Responsive */
@media (min-width: 600px) {
  #panel-alerta {
    left: 50%;
    right: auto;
    width: 420px;
    transform: translateX(-50%);
  }

  #btn-alerta {
    bottom: 30px;
  }
}

.icono-alerta-img {
  text-align: center;
}

.burbuja-alerta-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid white;
  box-shadow: 0 8px 18px rgba(0,0,0,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulsoAlerta 1.5s infinite;
}

.burbuja-alerta-img img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.35));
}

#btn-centrar {
  position: fixed;
  right: 18px;
  bottom: 95px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #111;
  font-size: 24px;
  font-weight: 900;
  z-index: 1000;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}

#btn-centrar:active {
  transform: scale(0.94);
}


#panel-usuario {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1000;
}

#btn-login-google {
  background: white;
  color: #111;
  border: none;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

#usuario-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

#usuario-foto {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

#usuario-nombre {
  font-size: 13px;
  font-weight: 800;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#btn-logout {
  background: #eeeeee;
  color: #111;
  border: none;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.comentario-item {
  list-style: none;
  margin-bottom: 10px;
  padding: 8px;
  background: #f4f4f4;
  border-radius: 10px;
}

.comentario-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.comentario-foto {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.comentario-item p {
  margin: 0;
  font-size: 13px;
}

#usuario-info.usuario-premium {
  position: relative;
  border: 2px solid transparent;
  border-radius: 16px;

  background:
    linear-gradient(135deg, #fffdf4, #ffffff) padding-box,
    linear-gradient(
      120deg,
      #fff4a8 0%,
      #f5b400 28%,
      #ffe56d 52%,
      #f39800 74%,
      #fff0a0 100%
    ) border-box;

  box-shadow:
    0 4px 14px rgba(245, 180, 0, 0.28),
    0 0 18px rgba(255, 205, 45, 0.34),
    0 0 30px rgba(255, 188, 0, 0.16);

  animation: resplandor-premium 2.8s ease-in-out infinite;
}

.etiqueta-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 999px;

  background: linear-gradient(135deg, #fff3a2, #f7b500, #ffdf57);
  color: #3c2900;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.35px;
  white-space: nowrap;

  border: 1px solid rgba(183, 119, 0, 0.35);

  box-shadow:
    0 2px 5px rgba(209, 146, 0, 0.28),
    inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

@keyframes resplandor-premium {
  0%,
  100% {
    box-shadow:
      0 4px 14px rgba(245, 180, 0, 0.25),
      0 0 16px rgba(255, 205, 45, 0.28),
      0 0 28px rgba(255, 188, 0, 0.12);
  }

  50% {
    box-shadow:
      0 5px 17px rgba(245, 180, 0, 0.38),
      0 0 23px rgba(255, 210, 50, 0.45),
      0 0 38px rgba(255, 188, 0, 0.22);
  }
}

/* =========================================
   ALERTA CREADA POR USUARIO PREMIUM
   Marco externo dorado + tarjeta blanca interna
   ========================================= */

/* El popup Premium quita el marco blanco de Leaflet para mostrar
   el marco dorado como borde exterior real. */
.leaflet-popup.popup-hoja-premium .leaflet-popup-content-wrapper {
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.leaflet-popup.popup-hoja-premium .leaflet-popup-content {
  width: 300px !important;
  min-width: 0 !important;
  max-width: calc(100vw - 54px) !important;
  margin: 0 !important;
}

.leaflet-popup.popup-hoja-premium .leaflet-popup-tip {
  width: 18px !important;
  height: 18px !important;
  background: linear-gradient(135deg, #fff4ae, #f4b300, #ffd85f) !important;
  box-shadow: 2px 2px 8px rgba(198, 137, 0, 0.22) !important;
}

/* Marco exterior. Aquí vive el dorado; el contenido interno queda blanco. */
.popup-alerta-marco.popup-alerta-marco-premium {
  position: relative;
  padding: 3px !important;
  border-radius: 22px !important;
  overflow: visible !important;

  background: linear-gradient(
    135deg,
    #fff4aa 0%,
    #f5b300 24%,
    #ffe37a 48%,
    #df9200 74%,
    #fff1a8 100%
  ) !important;

  box-shadow:
    0 0 0 1px rgba(228, 167, 0, 0.48),
    0 0 15px rgba(255, 202, 38, 0.38),
    0 0 30px rgba(255, 181, 0, 0.20),
    0 12px 26px rgba(153, 103, 0, 0.24) !important;

  animation: brillo-marco-alerta-premium 3s ease-in-out infinite;
}

/* Este contenedor es la tarjeta blanca: evita que el dorado invada el interior. */
.popup-alerta-marco.popup-alerta-marco-premium .popup-alerta {
  overflow: hidden !important;
  padding: 14px !important;
  border-radius: 19px !important;
  background: #ffffff !important;
}

/* Perfil compacto del creador */
.popup-alerta .creador-alerta {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 10px 0 !important;
  padding: 8px 9px !important;
  border-radius: 12px !important;
}

.popup-alerta .creador-alerta-premium {
  background: linear-gradient(
    135deg,
    rgba(255, 248, 218, 0.98),
    rgba(255, 255, 255, 0.98)
  ) !important;

  border: 1px solid rgba(234, 174, 0, 0.48) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    0 3px 9px rgba(217, 155, 0, 0.15) !important;
}

.popup-alerta .creador-alerta img {
  display: block !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 2px solid #f0b400 !important;
  background: #0a5ba8 !important;
  box-shadow:
    0 0 0 2px rgba(255, 243, 180, 0.95),
    0 2px 7px rgba(211, 147, 0, 0.30) !important;
}

.popup-alerta .creador-alerta-texto {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.12 !important;
}

.popup-alerta .creado-por-label {
  font-size: 10px !important;
  color: #7b6947 !important;
}

.popup-alerta .creador-alerta-nombre {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #4c3300 !important;
}

.popup-alerta .badge-creador-premium {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin-left: 3px !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(178, 116, 0, 0.34) !important;
  background: linear-gradient(135deg, #fff2a2, #f7bf27, #ffdf60) !important;
  color: #4a3000 !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.32px !important;
  white-space: nowrap !important;
  box-shadow:
    0 2px 5px rgba(222, 154, 0, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.72) !important;
}

@keyframes brillo-marco-alerta-premium {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(228, 167, 0, 0.42),
      0 0 13px rgba(255, 202, 38, 0.31),
      0 0 26px rgba(255, 181, 0, 0.16),
      0 12px 26px rgba(153, 103, 0, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(235, 178, 0, 0.60),
      0 0 20px rgba(255, 211, 68, 0.46),
      0 0 37px rgba(255, 181, 0, 0.24),
      0 14px 30px rgba(153, 103, 0, 0.28);
  }
}


/* =========================================
   MARCO EXTERIOR PARA ALERTAS PREMIUM
   No modifica el interior de la tarjeta
   ========================================= */

/* El marco dorado vive en el contenedor exterior de Leaflet */
.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content-wrapper {
  padding: 3px !important;
  border-radius: 23px !important;

  background: linear-gradient(
    135deg,
    #fff6bc 0%,
    #f4b400 24%,
    #ffe77a 48%,
    #d88f00 74%,
    #fff2ad 100%
  ) !important;

  box-shadow:
    0 0 0 1px rgba(236, 180, 20, 0.45),
    0 0 14px rgba(255, 203, 30, 0.28),
    0 0 30px rgba(255, 185, 0, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.20) !important;

  animation: halo-marco-alerta-premium 2.8s ease-in-out infinite;
}

/* El contenido vuelve a ser una tarjeta blanca independiente */
.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content {
  margin: 0 !important;
  min-width: 230px !important;
}

/* Parte blanca interna: aquí no debe entrar el dorado */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta.popup-alerta-premium {
  padding: 14px !important;
  border: none !important;
  border-radius: 19px !important;

  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Flecha inferior Premium */
.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-tip {
  background: #f4b400 !important;

  box-shadow:
    3px 3px 9px rgba(193, 132, 0, 0.22) !important;
}

/* Evita que vuelva a aparecer un borde interno antiguo */
.popup-alerta.popup-alerta-premium::before {
  display: none !important;
}

/* Resplandor exterior muy ligero */
@keyframes halo-marco-alerta-premium {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(236, 180, 20, 0.38),
      0 0 12px rgba(255, 203, 30, 0.22),
      0 0 25px rgba(255, 185, 0, 0.10),
      0 14px 30px rgba(0, 0, 0, 0.20);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(236, 180, 20, 0.55),
      0 0 19px rgba(255, 210, 55, 0.36),
      0 0 34px rgba(255, 185, 0, 0.17),
      0 15px 32px rgba(0, 0, 0, 0.22);
  }
}

/* =========================================
   TARJETA PREMIUM - MODO COMPACTO
   Pegar al final del style.css
   ========================================= */

.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content-wrapper {
  max-width: 194px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content {
  width: 184px !important;
  min-width: 184px !important;
  margin: 0 !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta.popup-alerta-premium {
  width: 184px !important;
  max-height: 285px !important;

  padding: 10px !important;
  overflow-y: auto !important;

  scrollbar-width: thin;
  scrollbar-color: #dba400 transparent;
}

/* Título de alerta */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta strong {
  font-size: 15px !important;
}

/* Texto general */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta p {
  margin: 5px 0 7px !important;
  font-size: 12px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta small {
  font-size: 10px !important;
}

/* Separadores */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta hr {
  margin: 7px 0 !important;
}

/* Perfil del creador */
.leaflet-popup:has(.popup-alerta-premium) .creador-alerta {
  gap: 6px !important;
  margin: 6px 0 !important;
  padding: 6px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creador-alerta img {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;

  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creado-por-label {
  font-size: 8px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creador-alerta-nombre {
  max-width: 72px !important;
  font-size: 11px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .badge-creador-premium {
  padding: 3px 5px !important;
  font-size: 7px !important;
}

/* Botones de voto y comentar */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta button {
  padding: 6px !important;
  font-size: 11px !important;
}

/* Campo de comentario */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta input {
  padding: 7px !important;
  margin-top: 5px !important;
  margin-bottom: 4px !important;
  font-size: 11px !important;
}

/* Comentarios */
.leaflet-popup:has(.popup-alerta-premium) .lista-comentarios {
  max-height: 58px !important;
  margin: 5px 0 !important;
}

.leaflet-popup:has(.popup-alerta-premium) .lista-comentarios li {
  font-size: 11px !important;
}

/* =========================================
   TARJETA PREMIUM COMPACTA SIN SCROLL
   ========================================= */

.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content-wrapper {
  max-width: none !important;
}

.leaflet-popup:has(.popup-alerta-premium) .leaflet-popup-content {
  width: 230px !important;
  min-width: 230px !important;
  margin: 0 !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta.popup-alerta-premium {
  width: 230px !important;
  max-height: none !important;

  padding: 12px !important;

  overflow: visible !important;
  scrollbar-width: auto !important;
}

/* Recupera un tamaño legible, sin volver a ser gigante */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta strong {
  font-size: 16px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta p {
  margin: 6px 0 8px !important;
  font-size: 12px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta small {
  font-size: 11px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta hr {
  margin: 8px 0 !important;
}

/* Perfil del creador: compacto pero entendible */
.leaflet-popup:has(.popup-alerta-premium) .creador-alerta {
  gap: 7px !important;
  margin: 7px 0 !important;
  padding: 7px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creador-alerta img {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;

  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creado-por-label {
  font-size: 9px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .creador-alerta-nombre {
  max-width: 95px !important;
  font-size: 12px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .badge-creador-premium {
  padding: 3px 6px !important;
  font-size: 8px !important;
}

/* Botones cómodos sin ocupar demasiado */
.leaflet-popup:has(.popup-alerta-premium) .popup-alerta button {
  padding: 7px !important;
  font-size: 12px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta input {
  padding: 8px !important;
  margin-top: 6px !important;
  margin-bottom: 5px !important;
  font-size: 12px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .lista-comentarios {
  max-height: none !important;
  overflow: visible !important;
  margin: 6px 0 !important;
}

/* X de cierre más grande y fácil de tocar */
.leaflet-popup-close-button {
  width: 32px !important;
  height: 32px !important;

  top: 3px !important;
  right: 3px !important;

  line-height: 29px !important;
  text-align: center !important;

  font-size: 25px !important;
  font-weight: 700 !important;
  color: #5a5a5a !important;

  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;

  z-index: 20 !important;
}

.leaflet-popup-close-button:hover {
  color: #b00000 !important;
  background: #fff0f0 !important;
}


/* Botones verde y rojo en una sola fila dentro de alerta Premium */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div,
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div {
  display: inline-flex !important;
  width: calc(50% - 4px) !important;
  vertical-align: top !important;
  margin: 0 !important;
}

.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div {
  margin-left: 4px !important;
}

.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div button,
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div button {
  flex: 1 !important;
  padding: 7px 3px !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

/* =========================================
   BOTONES DE VOTO EN COLUMNA DERECHA
   Dentro del espacio libre de alerta Premium
   ========================================= */

/* Los datos quedan en la columna izquierda */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > small {
  display: block !important;
  width: 118px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

/* Oculta la primera línea divisoria: ya no hace falta */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type {
  display: none !important;
}

/* Botón verde: se mueve al lado derecho */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div {
  position: absolute !important;
  top: 168px !important;
  right: 11px !important;

  display: flex !important;
  width: 106px !important;
  margin: 0 !important;
}

/* Botón rojo: debajo del verde */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div {
  position: absolute !important;
  top: 207px !important;
  right: 11px !important;

  display: flex !important;
  width: 106px !important;
  margin: 0 !important;
}

/* Tamaño compacto para los dos botones */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div button,
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div button {
  width: 100% !important;
  min-height: 31px !important;
  padding: 5px 4px !important;

  font-size: 10px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

/* Baja Comentarios después del espacio ocupado por los botones */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div + hr {
  margin-top: 83px !important;
  margin-bottom: 8px !important;
}

/* =========================================
   COMPACTAR CONTENIDO INTERNO DE ALERTA PREMIUM
   Sin scroll y sin mover el marco exterior
   ========================================= */

/* Quita los saltos de línea duplicados de los datos */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > small + br {
  display: none !important;
}

/* Datos de estado más juntos */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > small {
  display: block !important;
  width: 118px !important;

  margin: 0 0 4px !important;
  line-height: 1.2 !important;

  font-size: 11px !important;
}

/* Mantiene los botones dentro de la zona derecha */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div {
  top: 158px !important;
}

.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div {
  top: 196px !important;
}

/* Quita el gran espacio vacío antes de Comentarios */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div + hr {
  margin-top: 12px !important;
  margin-bottom: 7px !important;
}

/* Comentarios y campo más juntos */
.leaflet-popup:has(.popup-alerta-premium) .lista-comentarios {
  margin: 5px 0 !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta input {
  margin-top: 5px !important;
  margin-bottom: 4px !important;
}

.leaflet-popup:has(.popup-alerta-premium) .popup-alerta p {
  margin-top: 5px !important;
  margin-bottom: 6px !important;
}

/* Botones de voto Premium: más angostos */
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div,
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div {
  width: 92px !important;
  right: 10px !important;
}

.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div button,
.leaflet-popup:has(.popup-alerta-premium)
.popup-alerta.popup-alerta-premium > hr:first-of-type + div + div button {
  padding-left: 3px !important;
  padding-right: 3px !important;
  font-size: 9px !important;
}


/* =========================================
   MENÚ DE USUARIO Y PLANES
   ========================================= */

#btn-menu-usuario {
  width: 31px;
  height: 31px;
  padding: 0;

  border: none;
  border-radius: 50%;

  background: #f2f2f2;
  color: #222;

  font-size: 17px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;
  flex: 0 0 auto;
}

#btn-menu-usuario:active {
  transform: scale(0.93);
}

#overlay-menu {
  position: fixed;
  inset: 0;

  background: rgba(10, 10, 10, 0.22);
  backdrop-filter: blur(2px);

  z-index: 1800;
}

.panel-cuenta {
  position: fixed;
  top: 82px;
  left: 18px;

  width: min(350px, calc(100vw - 36px));
  max-height: calc(100vh - 105px);
  overflow-y: auto;

  padding: 14px;

  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);

  z-index: 1801;
  animation: aparecer-menu-cuenta 0.18s ease;
}

@keyframes aparecer-menu-cuenta {
  from {
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.panel-cuenta-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  margin-bottom: 12px;
}

.panel-cuenta-subtitulo {
  display: block;

  color: #8b8b8b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.panel-cuenta h3 {
  margin: 2px 0 0;

  color: #161616;
  font-size: 20px;
  font-weight: 900;
}

.btn-cerrar-panel {
  width: 34px;
  height: 34px;
  padding: 0;

  border: none;
  border-radius: 50%;

  background: #f0f0f0;
  color: #333;

  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.btn-cerrar-panel:active {
  transform: scale(0.92);
}

.menu-opcion {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 13px;

  border: 1px solid #ececec;
  border-radius: 16px;

  background: linear-gradient(135deg, #ffffff, #fffdf5);
  color: #202020;

  text-align: left;
  cursor: pointer;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
}

.menu-opcion:active {
  transform: scale(0.98);
}

.menu-opcion-icono {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(135deg, #fff1a2, #f8be20);
  font-size: 19px;
}

.menu-opcion-texto {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.menu-opcion-texto strong {
  font-size: 14px;
  font-weight: 900;
}

.menu-opcion-texto small {
  color: #737373;
  font-size: 11px;
  line-height: 1.25;
}

.menu-opcion-flecha {
  color: #d39b00;
  font-size: 27px;
  font-weight: 700;
}

.btn-volver-menu {
  padding: 7px 10px;

  border: none;
  border-radius: 10px;

  background: #eeeeee;
  color: #333;

  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.planes-titulo {
  margin-bottom: 12px;
}

.planes-titulo > span {
  color: #b77c00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.planes-titulo h3 {
  margin: 3px 0 4px;
  font-size: 23px;
}

.planes-titulo p {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.plan-card {
  position: relative;
  margin-top: 12px;
  padding: 14px;

  border-radius: 18px;
  overflow: hidden;
}

.plan-gratis {
  border: 1px solid #e2e2e2;
  background: #fafafa;
}

.plan-premium {
  border: 1px solid rgba(225, 160, 0, 0.52);
  background: linear-gradient(135deg, #fffdf4, #ffffff);
  box-shadow: 0 7px 18px rgba(232, 174, 0, 0.16);
}

.plan-premium-brillo {
  position: absolute;
  top: -52px;
  right: -55px;

  width: 145px;
  height: 145px;

  border-radius: 50%;
  background: rgba(255, 206, 55, 0.2);
  filter: blur(12px);
  pointer-events: none;
}

.plan-card-cabecera {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-etiqueta,
.plan-etiqueta-premium {
  display: inline-block;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.55px;
}

.plan-etiqueta {
  color: #737373;
}

.plan-etiqueta-premium {
  color: #9e6800;
}

.plan-card h4 {
  margin: 3px 0 0;
  color: #1b1b1b;
  font-size: 17px;
  font-weight: 900;
}

.plan-precio {
  color: #333;
  font-size: 20px;
  font-weight: 900;
}

.plan-precios-premium {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.plan-precios-premium strong {
  color: #ae7100;
  font-size: 22px;
  line-height: 1;
}

.plan-precios-premium span {
  margin-top: 2px;
  color: #866330;
  font-size: 9px;
  font-weight: 800;
}

.plan-descripcion,
.plan-anual {
  position: relative;
  margin: 9px 0;
  color: #626262;
  font-size: 11px;
  line-height: 1.35;
}

.plan-anual {
  color: #7a5b20;
}

.beneficios-plan {
  position: relative;
  display: grid;
  gap: 6px;

  margin: 10px 0 0;
  padding: 0;

  list-style: none;
}

.beneficios-plan li {
  color: #3e3e3e;
  font-size: 11px;
  line-height: 1.3;
}

.beneficios-premium li {
  color: #5c470f;
}

#btn-activar-premium {
  position: relative;
  width: 100%;
  margin-top: 12px;
  padding: 11px;

  border: none;
  border-radius: 13px;

  background: linear-gradient(135deg, #f6c126, #dc9200);
  color: #3d2900;

  font-size: 13px;
  font-weight: 900;

  box-shadow: 0 6px 14px rgba(218, 147, 0, 0.22);
  cursor: pointer;
}

#btn-activar-premium:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  #usuario-info {
    gap: 5px;
    padding: 6px 7px;
  }

  #usuario-nombre {
    max-width: 76px;
  }

  #btn-menu-usuario {
    width: 29px;
    height: 29px;
  }

  #btn-logout {
    padding: 7px 8px;
    font-size: 12px;
  }

  .etiqueta-premium {
    margin-left: 0;
    padding: 3px 5px;
    font-size: 8px;
  }
}


/* Votos ordenados para usuarios con Google gratis */
.popup-alerta .votos-google {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 !important;
  clear: both !important;
  position: static !important;
}

.popup-alerta .btn-voto-google {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 11px 12px !important;
  position: static !important;
  float: none !important;
  border: none !important;
  border-radius: 11px !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.popup-alerta .btn-voto-google.btn-voto-activo {
  background: #2e7d32 !important;
}

.popup-alerta .btn-voto-google.btn-voto-paso {
  background: #d32f2f !important;
}


/* =========================================
   PRUEBA 1 — SOLO GOOGLE GRATIS
   Datos a la izquierda + votos a la derecha
   No modifica visitante ni Premium
========================================= */

#map .leaflet-popup .popup-alerta.vista-google {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 90px !important;
  column-gap: 6px !important;
  align-items: start !important;
}

/* Por defecto, cada elemento usa todo el ancho */
#map .leaflet-popup .popup-alerta.vista-google > * {
  grid-column: 1 / -1 !important;
}

/* Los saltos antiguos ya no son necesarios dentro de la cuadrícula */
#map .leaflet-popup .popup-alerta.vista-google > br {
  display: none !important;
}

/* Las cuatro líneas de información se quedan a la izquierda */
#map .leaflet-popup .popup-alerta.vista-google > small {
  display: block !important;
  grid-column: 1 !important;

  width: auto !important;
  margin: 0 0 4px !important;

  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Quitamos solo la línea anterior a los botones */
#map .leaflet-popup .popup-alerta.vista-google > hr:first-of-type {
  display: none !important;
}

/* Los dos votos ocupan la columna derecha */
#map .leaflet-popup .popup-alerta.vista-google > .votos-google {
  position: static !important;
  top: auto !important;
  right: auto !important;

  display: flex !important;
  grid-column: 2 !important;
  grid-row: 5 / span 4 !important;
  align-self: start !important;

  flex-direction: column !important;
  gap: 7px !important;

  width: 90px !important;
  margin: 0 !important;
  z-index: auto !important;
}

/* Tamaño de los dos botones de voto */
#map .leaflet-popup .popup-alerta.vista-google .btn-voto-google {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 5px 3px !important;

  border-radius: 9px !important;

  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

/* El separador de Comentarios baja después de ambos votos */
#map .leaflet-popup .popup-alerta.vista-google > .votos-google + hr {
  grid-column: 1 / -1 !important;
  margin: 8px 0 !important;
}

/* =========================================
   PRUEBA 2 — SOLO VISITANTE SIN LOGIN
   Datos a la izquierda + votos con candado
   No modifica Google gratis ni Premium
========================================= */

#map .leaflet-popup .popup-alerta.vista-visitante {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 96px !important;
  column-gap: 6px !important;
  align-items: start !important;
}

/* Por defecto, cada bloque ocupa todo el ancho */
#map .leaflet-popup .popup-alerta.vista-visitante > * {
  grid-column: 1 / -1 !important;
}

/* Oculta los saltos antiguos para que funcione la cuadrícula */
#map .leaflet-popup .popup-alerta.vista-visitante > br {
  display: none !important;
}

/* Los datos quedan a la izquierda */
#map .leaflet-popup .popup-alerta.vista-visitante > small {
  display: block !important;
  grid-column: 1 !important;

  width: auto !important;
  margin: 0 0 4px !important;

  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Esconde únicamente la línea antes de los votos */
#map .leaflet-popup .popup-alerta.vista-visitante > hr:first-of-type {
  display: none !important;
}

/* =========================================
   BOTÓN VERDE — COLUMNA DERECHA
========================================= */

#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div {
  position: relative !important;
  top: auto !important;
  right: auto !important;

  display: block !important;
  grid-column: 2 !important;
  grid-row: 5 / span 2 !important;

  width: 96px !important;
  min-height: 34px !important;
  margin: 0 !important;

  z-index: auto !important;
}

/* =========================================
   BOTÓN ROJO — DEBAJO DEL VERDE
========================================= */

#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div + div {
  position: relative !important;
  top: auto !important;
  right: auto !important;

  display: block !important;
  grid-column: 2 !important;
  grid-row: 7 / span 2 !important;

  width: 96px !important;
  min-height: 34px !important;
  margin: 0 !important;

  z-index: auto !important;
}

/* Botones principales de voto */
#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div > button[onclick*="confirmarAlerta"],

#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div + div > button[onclick*="negarAlerta"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 5px 25px 5px 4px !important;

  border-radius: 9px !important;

  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

/* Candado pequeño dentro de cada botón */
#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div > button[onclick*="mostrarInfoLogin"],

#map .leaflet-popup .popup-alerta.vista-visitante
> hr:first-of-type + div + div > button[onclick*="mostrarInfoLogin"] {
  position: absolute !important;
  top: 5px !important;
  right: 4px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 23px !important;
  min-width: 23px !important;
  height: 23px !important;
  min-height: 23px !important;
  margin: 0 !important;
  padding: 0 !important;

  border-radius: 7px !important;

  font-size: 12px !important;
  line-height: 1 !important;
}

/* Ajuste móvil visitante:
   baja los votos usando la cuadrícula, sin superponer Comentarios */
@media (max-width: 480px) {

  /* Botón verde */
  #map .leaflet-popup .popup-alerta.vista-visitante
  > hr:first-of-type + div {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    grid-column: 2 !important;
    grid-row: 6 / span 2 !important;
    align-self: start !important;
  }

  /* Botón rojo */
  #map .leaflet-popup .popup-alerta.vista-visitante
  > hr:first-of-type + div + div {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;

    grid-column: 2 !important;
    grid-row: 8 / span 2 !important;
    align-self: start !important;
  }

  /* El separador de Comentarios baja después de ambos votos */
  #map .leaflet-popup .popup-alerta.vista-visitante
  > hr:first-of-type + div + div + hr {
    grid-column: 1 / -1 !important;
    grid-row: 10 !important;
    margin: 8px 0 !important;
  }
}

/* Nombre del usuario dentro de cada comentario */
.popup-alerta .comentario-header strong {
  font-size: 7px !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  font-weight: 800 !important;
}

/* Auto GPS cenital */
.icono-auto-cenital {
  background: transparent !important;
  border: none !important;
}

.icono-auto-cenital img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;

  transform-origin: center center;
transition: transform 0.35s ease;

  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.35));
}

/* =========================================
   SELECTOR PREMIUM — COLOR DEL AUTO GPS
========================================= */

.selector-color-auto {
  margin-top: 11px;
  padding: 12px;

  border: 1px solid rgba(225, 167, 0, 0.35);
  border-radius: 16px;

  background: linear-gradient(135deg, #fffdf4, #ffffff);

  box-shadow: 0 5px 14px rgba(204, 145, 0, 0.10);
}

.selector-color-auto-cabecera {
  display: flex;
  align-items: center;
  gap: 9px;
}

.selector-color-auto-icono {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: linear-gradient(135deg, #fff1a2, #f8be20);
  font-size: 18px;
}

.selector-color-auto-cabecera > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.selector-color-auto-cabecera strong {
  color: #272727;
  font-size: 13px;
  font-weight: 900;
}

.selector-color-auto-cabecera small {
  color: #777;
  font-size: 10px;
}

.estado-color-auto {
  padding: 4px 7px;

  border-radius: 999px;

  background: linear-gradient(135deg, #fff2a2, #f7bf27, #ffdf60);
  color: #4a3000;

  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;

  border: 1px solid rgba(178, 116, 0, 0.30);
}

.paleta-color-auto {
  display: flex;
  justify-content: space-between;
  gap: 8px;

  margin-top: 12px;
}

.boton-color-auto {
  width: 34px;
  height: 34px;
  padding: 0;

  border: 2px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;

  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.boton-color-auto:active {
  transform: scale(0.90);
}

.boton-color-auto[data-color="rojo"] {
  background: #df2626;
}

.boton-color-auto[data-color="blanco"] {
  background: #ffffff;
}

.boton-color-auto[data-color="negro"] {
  background: #181818;
}

.boton-color-auto[data-color="azul"] {
  background: #278ce5;
}

.boton-color-auto[data-color="amarillo"] {
  background: #f7c718;
}

.boton-color-auto.seleccionado {
  transform: scale(1.10);

  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px #d99b00;
}

.selector-color-auto-bloqueado .boton-color-auto {
  opacity: 0.52;
}

.texto-color-auto {
  display: block;
  margin-top: 10px;

  color: #876322;
  font-size: 10px;
  font-weight: 700;
}

/* =========================================
   CABECERA LIMPIA — LOGIN Y USUARIO
========================================= */

/* Corrección principal:
   evita que la tarjeta de usuario aparezca
   cuando debe estar oculta */
#usuario-info.oculto {
  display: none !important;
}

#btn-login-google.oculto {
  display: none !important;
}

/* Ubicación general */
#panel-usuario {
  top: 14px !important;
  left: 14px !important;
  z-index: 1200 !important;
}

/* Botón cuando todavía no inició sesión */
#btn-login-google {
  min-height: 44px !important;
  padding: 0 16px !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 15px !important;

  background: rgba(255, 255, 255, 0.96) !important;
  color: #161616 !important;

  font-size: 14px !important;
  font-weight: 900 !important;

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Tarjeta visible solo cuando hay usuario */
#usuario-info:not(.oculto) {
  display: flex !important;
  align-items: center !important;

  min-height: 44px !important;
  max-width: calc(100vw - 28px) !important;

  gap: 7px !important;
  padding: 5px 7px !important;

  border-radius: 15px !important;
}

/* Diseño normal para cuenta gratuita */
#usuario-info:not(.oculto):not(.usuario-premium) {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Foto de usuario */
#usuario-foto {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;

  object-fit: cover !important;
  border-radius: 50% !important;

  background: #0a6256 !important;
}

/* Nombre corto, limpio y sin romper la cápsula */
#usuario-nombre {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 92px !important;

  color: #171717 !important;
  font-size: 13px !important;
  font-weight: 900 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Botón de menú */
#btn-menu-usuario {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;

  border-radius: 11px !important;
  background: #f0f0f0 !important;

  font-size: 18px !important;
}

/* Botón salir */
#btn-logout {
  min-height: 34px !important;
  padding: 0 10px !important;

  border-radius: 11px !important;
  background: #f0f0f0 !important;

  color: #202020 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

/* =========================================
   CABECERA VISITANTE — GOOGLE + MENÚ
========================================= */

#panel-usuario {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Botón Entrar con Google */
#btn-login-google {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  min-height: 44px !important;
  padding: 0 16px !important;

  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 15px !important;

  background: rgba(255, 255, 255, 0.97) !important;
  color: #171717 !important;

  font-size: 14px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;

  cursor: pointer !important;
}

/* G multicolor */
#btn-login-google .icono-google {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;

  border-radius: 50% !important;
  background: #ffffff !important;

  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  background-image: conic-gradient(
    from -40deg,
    #4285f4 0deg 90deg,
    #34a853 90deg 175deg,
    #fbbc05 175deg 255deg,
    #ea4335 255deg 360deg
  ) !important;

  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;

  text-shadow: none !important;
}

#btn-login-google:active {
  transform: scale(0.96) !important;
}

/* Botón ☰ visitante */
#btn-menu-visitante {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;

  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 15px !important;

  background: rgba(255, 255, 255, 0.97) !important;
  color: #222 !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow:
    0 7px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;

  cursor: pointer !important;
}

/* El menú extra es únicamente para visitante */
#panel-usuario:has(#usuario-info:not(.oculto)) #btn-menu-visitante {
  display: none !important;
}

#btn-menu-visitante:active {
  transform: scale(0.93) !important;
}

/* Descuento anual Premium */
.badge-descuento-anual {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: 6px;
  padding: 3px 6px;

  border-radius: 999px;

  background: linear-gradient(135deg, #fff2a2, #f4b400, #ffdf62);
  color: #4a3000;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.35px;

  border: 1px solid rgba(178, 116, 0, 0.28);
}

/* =========================================
   PLAN PREMIUM — ESTILO ELEGANTE Y LIMPIO
   No altera el tamaño ni la estructura
========================================= */

.plan-premium {
  border: 1px solid rgba(220, 167, 36, 0.68) !important;

  background: linear-gradient(
    180deg,
    #fffef9 0%,
    #fff8e4 100%
  ) !important;

  box-shadow:
    0 7px 18px rgba(193, 137, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

/* Brillo suave existente, menos invasivo */
.plan-premium .plan-premium-brillo {
  top: -60px !important;
  right: -58px !important;

  width: 145px !important;
  height: 145px !important;

  background: rgba(255, 210, 57, 0.16) !important;
  filter: blur(18px) !important;
}

/* Encabezado más ordenado */
.plan-premium .plan-card-cabecera {
  align-items: center !important;

  padding-bottom: 9px !important;

  border-bottom: 1px solid rgba(212, 158, 20, 0.18) !important;
}

/* Etiqueta Premium más fina */
.plan-premium .plan-etiqueta-premium {
  display: inline-flex !important;
  align-items: center !important;

  padding: 3px 6px !important;

  border: 1px solid rgba(187, 130, 0, 0.24) !important;
  border-radius: 999px !important;

  background: #fff3bd !important;
  color: #9b6500 !important;

  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0.45px !important;
}

/* Título */
.plan-premium h4 {
  margin-top: 5px !important;
  color: #3f2d05 !important;
  font-size: 18px !important;
}

/* Precio mensual en cápsula */
.plan-premium .plan-precios-premium {
  min-width: 68px !important;
  padding: 6px 8px !important;

  border: 1px solid rgba(210, 154, 0, 0.22) !important;
  border-radius: 12px !important;

  background: rgba(255, 255, 255, 0.72) !important;

  box-shadow: 0 3px 8px rgba(192, 133, 0, 0.10) !important;
}

.plan-premium .plan-precios-premium strong {
  color: #b47400 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.plan-premium .plan-precios-premium span {
  color: #80601f !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

/* Oferta anual más clara */
.plan-premium .plan-anual {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;

  margin: 10px 0 !important;
  padding: 7px 8px !important;

  border: 1px solid rgba(213, 159, 11, 0.18) !important;
  border-radius: 10px !important;

  background: rgba(255, 247, 215, 0.72) !important;

  color: #73551c !important;
  font-size: 10px !important;
}

.plan-premium .plan-anual strong {
  color: #a66c00 !important;
  font-size: 13px !important;
}

/* Beneficios más legibles */
.plan-premium .beneficios-premium {
  gap: 7px !important;
}

.plan-premium .beneficios-premium li {
  color: #58430e !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Botón Premium elegante y directo */
#btn-activar-premium {
  min-height: 43px !important;

  border: 1px solid rgba(173, 111, 0, 0.25) !important;
  border-radius: 13px !important;

  background: linear-gradient(
    135deg,
    #ffd648 0%,
    #f2ad00 52%,
    #df9200 100%
  ) !important;

  color: #4b3100 !important;

  font-size: 13px !important;
  font-weight: 900 !important;

  box-shadow:
    0 6px 13px rgba(195, 125, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.52) !important;
}

#btn-activar-premium:active {
  transform: scale(0.98) !important;
}

/* Política de privacidad visible sobre el mapa */
.alertas-footer {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  padding: 9px 14px;
  background: rgba(5, 11, 20, 0.92);
  border: 1px solid rgba(255, 196, 55, 0.58);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.alertas-footer a {
  color: #f6c33d;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.alertas-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .alertas-footer {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px 12px;
  }

  .alertas-footer a {
    font-size: 0.72rem;
  }
}

.boton-privacidad {
  position: fixed;
  right: 12px;
  bottom: 92px; /* ajústalo según tu barra inferior */
  z-index: 1000;

  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  border-radius: 14px;
  border: 1.5px solid #f3c623;
  background: #111827;
  color: #f3c623;

  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  white-space: nowrap;
  width: auto;
  max-width: 140px;
}

.boton-privacidad {
  position: fixed;
  right: 10px;
  bottom: 95px;
  z-index: 1000;

  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;

  border-radius: 12px;
  border: 1px solid #d4a900;
  background: rgba(17, 24, 39, 0.92);
  color: #f3c623;

  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* =========================================
   REDISEÑO WEB — MENÚ + PRE-LANZAMIENTO APP
   Radares y cámaras como protagonistas
========================================= */

#menu-usuario-panel.panel-cuenta {
  padding: 13px;
  border: 1px solid rgba(255, 83, 37, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 65, 30, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(20, 22, 28, 0.98), rgba(10, 12, 18, 0.98));
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#menu-usuario-panel .panel-cuenta-subtitulo {
  color: rgba(255, 190, 145, 0.76);
}

#menu-usuario-panel h3 {
  color: #ffffff;
}

#menu-usuario-panel .btn-cerrar-panel {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.panel-cuenta-hero {
  position: relative;
  margin-bottom: 12px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 92, 42, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 70, 30, 0.36), transparent 34%),
    linear-gradient(135deg, #191b22 0%, #0b0d12 100%);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.panel-cuenta-hero::after {
  content: "📷";
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 52px;
  opacity: 0.16;
  transform: rotate(-9deg);
}

.panel-cuenta-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 97, 55, 0.48);
  border-radius: 999px;
  background: rgba(255, 77, 35, 0.14);
  color: #ffb199;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.7px;
}

.panel-cuenta-hero h4 {
  max-width: 245px;
  margin: 10px 0 7px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.7px;
}

.panel-cuenta-hero p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  line-height: 1.35;
}

.panel-cuenta-metricas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.panel-cuenta-metricas span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 850;
}

#menu-usuario-panel .menu-opcion {
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.96);
}

#menu-usuario-panel .menu-opcion-app {
  border-color: rgba(255, 80, 38, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 237, 230, 0.98));
}

#menu-usuario-panel .menu-opcion-app .menu-opcion-icono {
  background: linear-gradient(135deg, #ff6a3a, #e11919);
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(225, 25, 25, 0.25);
}

#menu-usuario-panel .menu-opcion-app .menu-opcion-flecha {
  color: #e5321d;
}

#menu-usuario-panel .selector-color-auto {
  border-color: rgba(255, 206, 69, 0.26);
  background: rgba(255, 255, 255, 0.96);
}

.panel-app {
  width: min(430px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(255, 88, 42, 0.24);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 72, 32, 0.24), transparent 36%),
    linear-gradient(180deg, #111318 0%, #08090d 100%);
  color: #ffffff;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel-app .panel-cuenta-cabecera {
  margin-bottom: 10px;
}

.btn-volver-app,
.btn-cerrar-app {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.app-prelanzamiento {
  margin-bottom: 12px;
}

.app-kicker,
.poster-app-label {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.75px;
}

.app-kicker {
  border: 1px solid rgba(255, 95, 45, 0.44);
  background: rgba(255, 78, 35, 0.14);
  color: #ffb199;
}

.panel-app h3 {
  margin: 9px 0 6px;
  color: #ffffff;
  font-size: 27px;
  font-weight: 950;
  letter-spacing: -0.8px;
}

.app-prelanzamiento p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.poster-app {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 92, 42, 0.28);
  border-radius: 25px;
  background:
    radial-gradient(circle at 80% 28%, rgba(255, 68, 31, 0.36), transparent 30%),
    linear-gradient(145deg, #171a22 0%, #090a0e 65%, #140706 100%);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.poster-app-glow {
  position: absolute;
  inset: auto -80px -120px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 70, 30, 0.32);
  filter: blur(40px);
  pointer-events: none;
}

.poster-radar-img {
  position: absolute;
  top: 18px;
  right: -22px;
  z-index: 2;
  width: 185px;
  max-width: 54%;
  transform: rotate(-4deg);
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 20px rgba(255, 77, 35, 0.20));
}

.poster-app-copy {
  position: relative;
  z-index: 3;
  max-width: 230px;
}

.poster-app-label {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.08);
  color: #ffb199;
}

.poster-app h4 {
  margin: 13px 0 9px;
  color: #ffffff;
  font-size: 31px;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -1.2px;
}

.poster-app p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.poster-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.poster-app-badges span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 900;
}

.phone-mockup {
  position: absolute;
  right: 26px;
  bottom: -10px;
  z-index: 2;
  width: 142px;
  height: 262px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: linear-gradient(180deg, #242832, #050607);
  box-shadow:
    0 25px 38px rgba(0, 0, 0, 0.54),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #020203;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 21px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 73, 32, 0.14), transparent 34%),
    #111318;
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 11px 10px;
  background: linear-gradient(135deg, #ff512f, #e5151d);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.phone-topbar strong {
  color: #ffe1d6;
  font-size: 15px;
}

.phone-map-card {
  position: relative;
  height: 92px;
  margin: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background:
    linear-gradient(45deg, transparent 46%, rgba(255, 81, 47, 0.42) 47%, rgba(255, 81, 47, 0.42) 51%, transparent 52%),
    linear-gradient(-28deg, transparent 45%, rgba(255, 255, 255, 0.10) 46%, rgba(255, 255, 255, 0.10) 49%, transparent 50%),
    #1b1e27;
}

.phone-route {
  position: absolute;
  left: 12px;
  top: 47px;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff512f, #ffd16b);
  transform: rotate(-18deg);
  opacity: 0.82;
}

.phone-alert {
  position: absolute;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ff2c25;
  box-shadow: 0 0 0 5px rgba(255, 44, 37, 0.16);
  font-size: 12px;
}

.phone-alert-uno {
  top: 15px;
  right: 17px;
}

.phone-alert-dos {
  left: 18px;
  bottom: 14px;
}

.phone-car {
  position: absolute;
  right: 42px;
  bottom: 22px;
  font-size: 20px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
}

.phone-action-card {
  margin: 0 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.phone-action-card strong,
.phone-action-card small {
  display: block;
}

.phone-action-card strong {
  color: #ffffff;
  font-size: 10px;
}

.phone-action-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
}

.phone-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 9px 10px 0;
}

.phone-action-grid span {
  padding: 8px 5px;
  border-radius: 10px;
  background: rgba(255, 81, 47, 0.16);
  color: #ffd3c7;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
}

.app-beneficios {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.app-beneficios div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.app-beneficios strong,
.app-beneficios span {
  display: block;
}

.app-beneficios strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.app-beneficios span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.3;
}

.btn-app-prelanzamiento {
  width: 100%;
  min-height: 45px;
  margin-top: 12px;
  border: 1px solid rgba(255, 112, 66, 0.42);
  border-radius: 15px;
  background: linear-gradient(135deg, #ff5a34, #df111d);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  box-shadow:
    0 12px 25px rgba(225, 25, 25, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.btn-app-prelanzamiento:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .panel-app {
    top: 70px;
    max-height: calc(100vh - 92px);
  }

  .poster-app {
    min-height: 392px;
    padding: 16px;
  }

  .poster-radar-img {
    top: 16px;
    right: -28px;
    width: 165px;
  }

  .poster-app-copy {
    max-width: 210px;
  }

  .poster-app h4 {
    font-size: 28px;
  }

  .phone-mockup {
    right: 18px;
    bottom: -18px;
    width: 132px;
    height: 244px;
  }
}

/* =========================================
   LANDING PÚBLICA — ALERTA LIMA
   Inspiración: app moderna, radares/cámaras como centro
========================================= */

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  color: #ffffff;
  background: #08090d;
}

.landing-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100vw - 34px));
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 72, 32, 0.18), transparent 34%),
    rgba(10, 12, 18, 0.82);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.landing-marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.landing-marca-icono {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff5535, #df101d);
  box-shadow: 0 10px 25px rgba(255, 42, 29, 0.34);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 18px;
}

.landing-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease;
}

.landing-nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.landing-header-acciones {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-header-login,
.btn-header-menu {
  border: 0;
  cursor: pointer;
  font-weight: 950;
}

.btn-header-login {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5b34, #df111d);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(225, 20, 24, 0.28);
}

.btn-header-menu {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  font-size: 20px;
}

.landing-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 75, 32, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 178, 62, 0.10), transparent 28%),
    #08090d;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(310px, 0.78fr);
  gap: 56px;
  align-items: center;
  min-height: 100vh;
  padding: 132px max(28px, calc((100vw - 1180px) / 2)) 74px;
  overflow: hidden;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.96) 0%, rgba(8, 9, 13, 0.74) 47%, rgba(8, 9, 13, 0.92) 100%),
    radial-gradient(circle at 68% 52%, rgba(255, 66, 32, 0.26), transparent 34%);
  pointer-events: none;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 72%);
}

.landing-hero-copy,
.landing-visual,
.landing-section,
.mapa-web-section {
  position: relative;
  z-index: 1;
}

.landing-kicker,
.landing-section-titulo span,
.mapa-web-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 100, 52, 0.42);
  border-radius: 999px;
  background: rgba(255, 78, 35, 0.12);
  color: #ffb199;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.9px;
}

.landing-hero h1 {
  max-width: 720px;
  margin: 20px 0 18px;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 980;
  line-height: 0.97;
  letter-spacing: -3px;
}

.landing-hero h1::first-letter {
  color: #ff5535;
}

.landing-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.58;
}

.landing-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-landing-primario,
.btn-landing-secundario,
.btn-app3d {
  min-height: 55px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
}

.btn-landing-primario {
  min-width: 210px;
  border: 0;
  background: linear-gradient(135deg, #ff5b34, #df111d);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(225, 20, 24, 0.34);
}

.btn-landing-primario::before {
  content: "🗺️ ";
}

.btn-landing-secundario {
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
}

.btn-landing-secundario::before {
  content: "📱 ";
}

.landing-confianza {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.landing-confianza span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.landing-visual {
  min-height: 590px;
}

.landing-radar-card {
  position: absolute;
  top: 76px;
  left: 0;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: 210px;
  padding: 14px;
  border: 1px solid rgba(255, 94, 45, 0.30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 84, 39, 0.24), transparent 46%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.landing-radar-card img {
  width: 100%;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.44));
}

.landing-radar-card span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.landing-phone {
  position: absolute;
  top: 46px;
  right: 20px;
  width: min(330px, 78vw);
  height: 620px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  background: linear-gradient(180deg, #2a2d36, #06070a);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.55),
    0 0 0 10px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.landing-phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 26px 22px 17px;
  border-radius: 36px 36px 20px 20px;
  background: linear-gradient(135deg, #ff5535, #df111d);
  color: #ffffff;
}

.landing-phone-top strong {
  font-size: 17px;
  font-weight: 950;
}

.landing-phone-top span {
  color: #ffe1d8;
}

.landing-phone-map {
  position: relative;
  height: 220px;
  margin: 16px 10px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(35deg, transparent 48%, rgba(255, 85, 53, 0.45) 49%, rgba(255, 85, 53, 0.45) 52%, transparent 53%),
    linear-gradient(-22deg, transparent 44%, rgba(255, 255, 255, 0.10) 45%, rgba(255, 255, 255, 0.10) 48%, transparent 49%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.04), transparent),
    #171a22;
}

.landing-phone-route {
  position: absolute;
  left: 20px;
  top: 112px;
  width: 260px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5535, #ffd16b);
  transform: rotate(-18deg);
  opacity: 0.82;
}

.landing-phone-camera {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff2e25;
  box-shadow: 0 0 0 9px rgba(255, 46, 37, 0.15);
  font-size: 19px;
}

.landing-phone-camera-uno {
  top: 42px;
  right: 48px;
}

.landing-phone-camera-dos {
  left: 42px;
  bottom: 44px;
}

.landing-phone-car {
  position: absolute;
  right: 100px;
  bottom: 74px;
  font-size: 31px;
}

.landing-phone-alerta {
  margin: 0 10px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.landing-phone-alerta strong,
.landing-phone-alerta small {
  display: block;
}

.landing-phone-alerta strong {
  color: #ffffff;
  font-size: 15px;
}

.landing-phone-alerta small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.landing-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 14px 10px;
}

.landing-phone-grid span {
  padding: 14px 8px;
  border-radius: 18px;
  background: rgba(255, 85, 53, 0.16);
  color: #ffd3c7;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.landing-section {
  scroll-margin-top: 110px;
  padding: 98px max(28px, calc((100vw - 1180px) / 2));
}

.landing-section-titulo {
  max-width: 740px;
  margin-bottom: 34px;
}

.landing-section h2,
.mapa-web-copy h2 {
  margin: 14px 0 12px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 980;
  line-height: 1;
  letter-spacing: -1.8px;
}

.landing-section-titulo p,
.mapa-web-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
  line-height: 1.58;
}

.landing-grid-dos,
.landing-grid-tres {
  display: grid;
  gap: 18px;
}

.landing-grid-dos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-grid-tres {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-grid-dos article,
.landing-grid-tres article,
.landing-comunidad-card,
.landing-contacto-card,
.app3d-funciones article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 75, 32, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.landing-grid-dos article,
.landing-grid-tres article {
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
}

.landing-grid-dos article span,
.landing-grid-tres article strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(255, 85, 53, 0.30), rgba(223, 17, 29, 0.18));
  font-size: 24px;
}

.landing-grid-dos h3,
.landing-grid-tres h3 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 950;
}

.landing-grid-dos p,
.landing-grid-tres p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

.landing-section-radares,
.landing-section-app3d {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 75, 32, 0.16), transparent 32%),
    #0b0d13;
}

.app3d-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1.14fr);
  gap: 24px;
  align-items: stretch;
}

.app3d-poster {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 85, 53, 0.24);
  border-radius: 34px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 85, 53, 0.28), transparent 33%),
    linear-gradient(145deg, #171a22, #090a0e 66%, #210807);
}

.app3d-poster img {
  position: absolute;
  right: -12px;
  top: 20px;
  width: 240px;
  max-width: 56%;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.48));
}

.app3d-poster h3 {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 170px 0 12px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 980;
  line-height: 0.98;
  letter-spacing: -1.4px;
}

.app3d-poster p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.app3d-funciones {
  display: grid;
  gap: 14px;
}

.app3d-funciones article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 22px;
  border-radius: 24px;
}

.app3d-funciones article span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 85, 53, 0.17);
  font-size: 22px;
}

.app3d-funciones article strong {
  color: #ffffff;
  font-size: 18px;
}

.app3d-funciones article p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 14px;
  line-height: 1.45;
}

.btn-app3d {
  width: fit-content;
  min-width: 210px;
  padding: 0 22px;
  border: 0;
  background: linear-gradient(135deg, #ff5b34, #df111d);
  color: #ffffff;
}

.landing-comunidad-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 860px;
  padding: 28px;
  border-radius: 30px;
}

.landing-comunidad-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: rgba(255, 85, 53, 0.18);
  font-size: 28px;
}

.landing-comunidad-card h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
}

.landing-comunidad-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.landing-contacto-card {
  display: grid;
  gap: 8px;
  width: fit-content;
  min-width: min(100%, 420px);
  padding: 24px;
  border-radius: 26px;
}

.landing-contacto-card a {
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.landing-contacto-card span {
  color: rgba(255, 255, 255, 0.62);
}

.mapa-web-section {
  scroll-margin-top: 96px;
  min-height: 100vh;
  padding: 96px max(20px, calc((100vw - 1280px) / 2)) 34px;
  background: #08090d;
}

.mapa-web-copy {
  max-width: 760px;
  margin-bottom: 24px;
}

.mapa-web-shell {
  height: min(78vh, 780px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.mapa-web-shell #map {
  width: 100%;
  height: 100%;
}

body:not(.mapa-en-vista) #btn-alerta,
body:not(.mapa-en-vista) #btn-centrar,
body:not(.mapa-en-vista) #panel-usuario {
  opacity: 0;
  pointer-events: none;
}

body.mapa-en-vista #btn-alerta,
body.mapa-en-vista #btn-centrar,
body.mapa-en-vista #panel-usuario {
  opacity: 1;
  transition: opacity 0.18s ease;
}

body:not(.mapa-en-vista) #btn-alerta {
  transform: translateX(-50%) translateY(18px);
}

body.mapa-en-vista #btn-alerta {
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .landing-header {
    top: 12px;
    width: min(100vw - 22px, 760px);
  }

  .landing-nav {
    position: fixed;
    top: 88px;
    left: 11px;
    right: 11px;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin: 0;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(10, 12, 18, 0.88);
    backdrop-filter: blur(16px);
  }

  .landing-nav a {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 12px;
  }

  .landing-header {
    min-height: 58px;
  }

  .landing-marca {
    font-size: 16px;
  }

  .btn-header-login {
    display: none;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 166px;
  }

  .landing-visual {
    min-height: 520px;
  }

  .landing-phone {
    left: 50%;
    right: auto;
    top: 40px;
    transform: translateX(-50%);
  }

  .landing-radar-card {
    left: max(12px, 10vw);
    top: 0;
  }

  .landing-grid-dos,
  .landing-grid-tres,
  .app3d-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-header {
    border-radius: 20px;
  }

  .landing-marca-icono {
    width: 34px;
    height: 34px;
  }

  .landing-hero,
  .landing-section,
  .mapa-web-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-hero h1 {
    letter-spacing: -1.8px;
  }

  .landing-acciones {
    display: grid;
  }

  .btn-landing-primario,
  .btn-landing-secundario {
    width: 100%;
  }

  .landing-visual {
    min-height: 500px;
  }

  .landing-phone {
    width: min(300px, 84vw);
    height: 560px;
  }

  .landing-radar-card {
    width: 170px;
  }

  .landing-phone-map {
    height: 190px;
  }

  .mapa-web-shell {
    min-height: 620px;
    border-radius: 26px;
  }
}

/* =========================================
   PALETA ALTERNATIVA — VERDE LIMÓN / NEÓN
   Diferenciación visual frente al rojo/naranja
========================================= */

:root {
  --al-lima: #c8ff00;
  --al-lima-suave: #e6ff62;
  --al-verde: #38ff7d;
  --al-verde-profundo: #00c853;
  --al-tinta: #06100b;
  --al-panel-verde: rgba(196, 255, 0, 0.14);
  --al-borde-verde: rgba(196, 255, 0, 0.42);
  --al-brillo-verde: rgba(196, 255, 0, 0.34);
}

.landing-header {
  border-color: rgba(196, 255, 0, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(196, 255, 0, 0.18), transparent 34%),
    radial-gradient(circle at 96% 20%, rgba(56, 255, 125, 0.10), transparent 32%),
    rgba(6, 10, 9, 0.86);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(196, 255, 0, 0.06);
}

.landing-marca-icono,
.btn-header-login,
.btn-landing-primario,
.btn-app3d,
.landing-phone-top,
.btn-app-prelanzamiento,
#menu-usuario-panel .menu-opcion-app .menu-opcion-icono {
  background: linear-gradient(135deg, var(--al-lima), var(--al-verde));
  color: var(--al-tinta);
  box-shadow:
    0 14px 30px rgba(196, 255, 0, 0.24),
    0 0 34px rgba(56, 255, 125, 0.12);
}

.landing-marca-icono {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-header-login,
.btn-landing-primario,
.btn-app3d,
.btn-app-prelanzamiento {
  color: #06100b;
}

.landing-page {
  background:
    radial-gradient(circle at 12% 12%, rgba(196, 255, 0, 0.15), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(56, 255, 125, 0.12), transparent 28%),
    #050806;
}

.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 6, 0.97) 0%, rgba(5, 8, 6, 0.76) 48%, rgba(5, 8, 6, 0.94) 100%),
    radial-gradient(circle at 68% 52%, rgba(196, 255, 0, 0.22), transparent 34%),
    radial-gradient(circle at 86% 38%, rgba(0, 200, 83, 0.14), transparent 30%);
}

.landing-kicker,
.landing-section-titulo span,
.mapa-web-copy span,
.app-kicker,
.poster-app-label,
.panel-cuenta-hero-badge {
  border-color: var(--al-borde-verde);
  background: var(--al-panel-verde);
  color: var(--al-lima-suave);
}

.landing-hero h1::first-letter {
  color: var(--al-lima);
  text-shadow: 0 0 28px rgba(196, 255, 0, 0.24);
}

.landing-nav a:hover {
  color: var(--al-lima-suave);
}

.btn-landing-secundario:hover,
.landing-nav a:hover {
  border-color: rgba(196, 255, 0, 0.20);
}

.landing-radar-card,
.panel-cuenta-hero,
.panel-app,
.poster-app,
.app3d-poster {
  border-color: rgba(196, 255, 0, 0.24);
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 255, 0, 0.20), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(0, 200, 83, 0.12), transparent 34%),
    linear-gradient(145deg, #101611 0%, #050806 68%, #071108 100%);
}

#menu-usuario-panel.panel-cuenta {
  border-color: rgba(196, 255, 0, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(196, 255, 0, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(14, 20, 16, 0.98), rgba(5, 8, 6, 0.98));
}

#menu-usuario-panel .panel-cuenta-subtitulo,
.app-prelanzamiento p,
.poster-app p,
.landing-section-titulo p,
.mapa-web-copy p {
  color: rgba(230, 255, 198, 0.68);
}

#menu-usuario-panel .menu-opcion-app {
  border-color: rgba(196, 255, 0, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 255, 218, 0.98));
}

#menu-usuario-panel .menu-opcion-app .menu-opcion-flecha {
  color: #00a63d;
}

.landing-grid-dos article,
.landing-grid-tres article,
.landing-comunidad-card,
.landing-contacto-card,
.app3d-funciones article {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 255, 0, 0.10), transparent 36%),
    rgba(255, 255, 255, 0.055);
}

.landing-grid-dos article span,
.landing-grid-tres article strong,
.app3d-funciones article span,
.landing-comunidad-card > span {
  background: linear-gradient(135deg, rgba(196, 255, 0, 0.26), rgba(0, 200, 83, 0.16));
}

.landing-section-radares,
.landing-section-app3d {
  background:
    radial-gradient(circle at 82% 18%, rgba(196, 255, 0, 0.14), transparent 32%),
    #070b09;
}

.landing-phone-route,
.phone-route {
  background: linear-gradient(90deg, var(--al-lima), var(--al-verde));
  box-shadow: 0 0 18px rgba(196, 255, 0, 0.18);
}

.landing-phone-camera,
.phone-alert {
  background: linear-gradient(135deg, var(--al-lima), var(--al-verde));
  color: #06100b;
  box-shadow:
    0 0 0 9px rgba(196, 255, 0, 0.14),
    0 0 26px rgba(196, 255, 0, 0.18);
}

.landing-phone-map,
.phone-map-card {
  background:
    linear-gradient(35deg, transparent 48%, rgba(196, 255, 0, 0.32) 49%, rgba(196, 255, 0, 0.32) 52%, transparent 53%),
    linear-gradient(-22deg, transparent 44%, rgba(255, 255, 255, 0.10) 45%, rgba(255, 255, 255, 0.10) 48%, transparent 49%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.04), transparent),
    #111812;
}

.landing-phone-grid span,
.phone-action-grid span {
  background: rgba(196, 255, 0, 0.14);
  color: #eaffb0;
}

.poster-radar-img {
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 22px rgba(196, 255, 0, 0.18));
}

.poster-app-glow {
  background: rgba(196, 255, 0, 0.26);
}

.phone-topbar {
  background: linear-gradient(135deg, var(--al-lima), var(--al-verde));
  color: #06100b;
}

.phone-topbar strong,
.landing-phone-top span {
  color: #06100b;
}

.btn-header-menu {
  display: none !important;
}

/* La landing no muestra el bloque final del mapa.
   El mapa solo aparece cuando se abre la vista dedicada: ?vista=mapa */
body:not(.vista-mapa-directa) .mapa-web-section {
  display: none !important;
}

/* Modo mapa directo: se abre en pestaña nueva con el mapa a pantalla completa */
body.vista-mapa-directa {
  overflow: hidden;
  background: #050806;
}

body.vista-mapa-directa .landing-header,
body.vista-mapa-directa .landing-page > .landing-hero,
body.vista-mapa-directa .landing-page > .landing-section {
  display: none !important;
}

body.vista-mapa-directa .landing-page {
  min-height: 100vh;
  background: #050806;
}

body.vista-mapa-directa .mapa-web-section {
  min-height: 100vh;
  height: 100vh;
  padding: 0 !important;
  scroll-margin-top: 0;
}

body.vista-mapa-directa .mapa-web-copy {
  display: none !important;
}

body.vista-mapa-directa .mapa-web-shell {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.vista-mapa-directa #map {
  width: 100vw;
  height: 100vh;
}

body.vista-mapa-directa #btn-alerta,
body.vista-mapa-directa #btn-centrar,
body.vista-mapa-directa #panel-usuario {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .btn-header-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .landing-header-acciones {
    margin-left: auto;
  }

  .btn-header-login {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }
}

/* Hero con poster real del aplicativo */
.landing-visual-poster {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 690px;
  isolation: isolate;
}

.landing-visual-poster::before {
  content: "";
  position: absolute;
  inset: 8% 0 4% 8%;
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 62% 38%, rgba(200, 255, 0, 0.22), transparent 34%),
    radial-gradient(circle at 38% 72%, rgba(56, 255, 125, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(200, 255, 0, 0.08), rgba(0, 0, 0, 0.10));
  filter: blur(2px);
}

.landing-poster-app {
  position: absolute;
  top: 0;
  right: 2px;
  z-index: 2;
  width: min(390px, 72vw);
  margin: 0;
  transform: rotate(1deg);
}

.landing-poster-app img {
  display: block;
  width: 100%;
  border: 1px solid rgba(200, 255, 0, 0.28);
  border-radius: 34px;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.60),
    0 0 52px rgba(200, 255, 0, 0.18);
}

.landing-funciones-rapidas {
  position: absolute;
  left: 0;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(292px, 54%);
}

.landing-funciones-rapidas article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  padding: 14px;
  border: 1px solid rgba(200, 255, 0, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(13, 22, 14, 0.92), rgba(9, 10, 12, 0.88)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.landing-funciones-rapidas span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.22), rgba(56, 255, 125, 0.16));
  box-shadow: inset 0 0 0 1px rgba(200, 255, 0, 0.18);
}

.landing-funciones-rapidas strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}

.landing-funciones-rapidas p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .landing-visual-poster {
    min-height: 660px;
  }

  .landing-poster-app {
    right: 50%;
    transform: translateX(50%) rotate(0deg);
  }

  .landing-funciones-rapidas {
    left: 50%;
    bottom: 8px;
    width: min(420px, 92%);
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .landing-visual-poster {
    min-height: auto;
    padding: 18px 0 0;
  }

  .landing-visual-poster::before {
    inset: 10% 3% 6%;
  }

  .landing-poster-app,
  .landing-funciones-rapidas {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(360px, 92vw);
    margin: 0 auto;
    transform: none;
  }

  .landing-funciones-rapidas {
    margin-top: -18px;
  }
}

/* Hero aplicativo reconstruido: mismo espacio, sin póster completo */
.landing-visual-app {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.landing-visual-app::before {
  content: "";
  position: absolute;
  inset: 7% 0 8% 5%;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(circle at 70% 42%, rgba(196, 255, 0, 0.22), transparent 34%),
    radial-gradient(circle at 42% 78%, rgba(56, 255, 125, 0.12), transparent 42%);
  filter: blur(2px);
}

.landing-phone-app {
  top: 44px;
  right: 28px;
  width: min(340px, 76vw);
  height: 620px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35, 42, 48, 0.98), rgba(5, 7, 8, 0.98));
}

.landing-phone-app::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 5;
  width: 72px;
  height: 12px;
  border-radius: 0 0 12px 12px;
  background: rgba(0, 0, 0, 0.56);
  transform: translateX(-50%);
}

.landing-phone-app .landing-phone-top {
  min-height: 88px;
  padding-top: 30px;
}

.landing-phone-app .landing-phone-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #06100b;
}

.landing-phone-app .landing-phone-map {
  height: 245px;
  margin-top: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(56, 255, 125, 0.14), transparent 30%),
    #111812;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.landing-phone-route-alt {
  top: 92px;
  left: 18px;
  transform: rotate(34deg);
  opacity: 0.45;
}

.landing-phone-zone {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 950;
  color: #06100b;
  background: linear-gradient(135deg, rgba(196, 255, 0, 0.92), rgba(56, 255, 125, 0.92));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 38px rgba(56, 255, 125, 0.18),
    0 0 0 82px rgba(56, 255, 125, 0.10);
}

.landing-phone-zone-uno {
  left: 50%;
  top: 116px;
  width: 64px;
  height: 36px;
  transform: translateX(-50%);
}

.landing-phone-zone-dos {
  left: 50%;
  top: 72px;
  width: 58px;
  height: 34px;
  transform: translateX(-50%);
  background: #f7d447;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 30px rgba(247, 212, 71, 0.14);
}

.landing-phone-app .landing-phone-camera-uno {
  top: 44px;
  right: 38px;
}

.landing-phone-app .landing-phone-camera-dos {
  left: 46px;
  bottom: 62px;
}

.landing-phone-app .landing-phone-car {
  right: 118px;
  bottom: 84px;
}

.landing-radar-card-app {
  top: 86px;
  left: 8px;
  width: 222px;
  border-color: rgba(196, 255, 0, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 255, 0, 0.18), transparent 46%),
    rgba(6, 12, 8, 0.72);
}

.landing-float-notes {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.landing-float-note {
  position: absolute;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 12px;
  width: 218px;
  padding: 13px;
  border: 1px solid rgba(196, 255, 0, 0.20);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(12, 18, 14, 0.72), rgba(5, 8, 6, 0.62));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.landing-float-note span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: rgba(196, 255, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(196, 255, 0, 0.18);
}

.landing-float-note strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
}

.landing-float-note p {
  margin: 0;
  color: rgba(230, 255, 198, 0.72);
  font-size: 11px;
  line-height: 1.28;
}

.landing-float-note-uno {
  left: 2px;
  top: 246px;
}

.landing-float-note-dos {
  left: 18px;
  top: 348px;
}

.landing-float-note-tres {
  left: 34px;
  top: 450px;
}

.landing-float-note-cuatro {
  right: 10px;
  bottom: 22px;
}

@media (max-width: 1080px) {
  .landing-visual-app {
    min-height: 650px;
  }

  .landing-phone-app {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .landing-radar-card-app {
    left: max(18px, 12vw);
  }

  .landing-float-note-uno,
  .landing-float-note-dos,
  .landing-float-note-tres {
    left: max(14px, 12vw);
  }

  .landing-float-note-cuatro {
    right: max(14px, 12vw);
  }
}

@media (max-width: 720px) {
  .landing-visual-app {
    min-height: auto;
    padding-top: 12px;
  }

  .landing-phone-app {
    position: relative;
    left: 50%;
    top: auto;
    width: min(318px, 86vw);
    height: 560px;
    transform: translateX(-50%);
  }

  .landing-radar-card-app {
    left: 50%;
    top: 26px;
    width: min(190px, 58vw);
    transform: translateX(-66%);
  }

  .landing-float-notes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(360px, 92vw);
    margin: 18px auto 0;
  }

  .landing-float-note {
    position: static;
    width: 100%;
  }
}

/* =========================================================
   LANDING — APP 3D PREMIUM (referencia visual julio 2026)
   Sección independiente y responsive.
========================================================= */
.landing-section-app3d-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at 51% 45%, rgba(112, 255, 0, 0.17), transparent 29%),
    radial-gradient(circle at 14% 12%, rgba(196, 255, 0, 0.06), transparent 26%),
    linear-gradient(180deg, #030705 0%, #020504 100%);
  border-top: 1px solid rgba(196, 255, 0, 0.08);
  border-bottom: 1px solid rgba(196, 255, 0, 0.08);
}

.landing-section-app3d-premium::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 39%;
  right: 9%;
  bottom: 25px;
  height: 230px;
  opacity: 0.28;
  transform: perspective(420px) rotateX(68deg);
  transform-origin: bottom;
  background-image:
    linear-gradient(rgba(196, 255, 0, 0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 0, 0.20) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 8%, transparent 67%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 8%, transparent 67%);
}

.app3d-premium-stage {
  display: grid;
  grid-template-columns: minmax(330px, 1.02fr) minmax(285px, 0.72fr) minmax(355px, 1.04fr);
  gap: clamp(25px, 3vw, 54px);
  align-items: center;
  max-width: 1420px;
  margin: 0 auto;
}

.app3d-premium-left {
  min-width: 0;
}

.app3d-premium-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgba(196, 255, 0, 0.40);
  border-radius: 999px;
  background: rgba(130, 190, 0, 0.09);
  color: #c4ff00;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.65px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.app3d-premium-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4ff00;
  box-shadow: 0 0 14px rgba(196, 255, 0, 0.9);
}

.landing-section-app3d-premium h2 {
  max-width: 660px;
  margin: 24px 0 20px;
  color: #fff;
  font-size: clamp(42px, 4.25vw, 73px);
  line-height: 0.96;
  letter-spacing: -3.2px;
  text-wrap: balance;
}

.landing-section-app3d-premium h2 em {
  display: block;
  color: #9af400;
  font-style: normal;
  text-shadow: 0 0 34px rgba(154, 244, 0, 0.18);
}

.app3d-premium-intro {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(238, 255, 224, 0.74);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.52;
}

.app3d-premium-intro strong {
  color: #9af400;
  font-weight: 720;
}

.app3d-premium-radar-card {
  display: grid;
  grid-template-columns: minmax(115px, 37%) 1fr;
  gap: 18px;
  align-items: center;
  max-width: 525px;
  min-height: 195px;
  padding: 21px 25px 21px 15px;
  border: 1px solid rgba(196, 255, 0, 0.23);
  border-radius: 27px;
  background:
    radial-gradient(circle at 80% 10%, rgba(196, 255, 0, 0.10), transparent 43%),
    linear-gradient(145deg, rgba(13, 22, 15, 0.97), rgba(3, 9, 5, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.app3d-premium-radar-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.50));
}

.app3d-premium-radar-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 1.9vw, 34px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -1px;
}

.app3d-premium-radar-card div > span {
  display: block;
  width: 42px;
  height: 3px;
  margin: 16px 0;
  border-radius: 999px;
  background: #a7ff00;
  box-shadow: 0 0 13px rgba(167, 255, 0, 0.28);
}

.app3d-premium-radar-card p {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.42;
}

.app3d-premium-googleplay {
  display: flex;
  align-items: center;
  gap: 19px;
  width: min(100%, 500px);
  min-height: 106px;
  margin-top: 17px;
  padding: 15px 31px;
  border: 2px solid #a7ff00;
  border-radius: 25px;
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 255, 0, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(12,20,13,.98), rgba(3,7,4,.98));
  color: #fff;
  text-align: left;
  box-shadow:
    0 0 30px rgba(135, 255, 0, 0.12),
    inset 0 1px 0 rgba(255,255,255,.04);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.app3d-premium-googleplay:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 42px rgba(135, 255, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.app3d-play-logo {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.4));
}

.app3d-premium-googleplay span {
  display: grid;
  gap: 2px;
}

.app3d-premium-googleplay small {
  color: #b4ff00;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.app3d-premium-googleplay strong {
  color: #fff;
  font-size: clamp(29px, 2.45vw, 45px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.3px;
}

.app3d-premium-phone {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
}

.app3d-premium-phone::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 108%;
  height: 73%;
  border-radius: 50%;
  background: rgba(103, 255, 0, 0.16);
  filter: blur(55px);
}

.app3d-premium-phone img {
  display: block;
  width: min(100%, 390px);
  max-height: 720px;
  object-fit: contain;
  filter:
    drop-shadow(0 28px 33px rgba(0,0,0,.60))
    drop-shadow(0 0 15px rgba(137,255,0,.12));
}

.app3d-premium-features {
  display: grid;
  gap: 15px;
  min-width: 0;
}

.app3d-premium-features article {
  display: grid;
  grid-template-columns: 63px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 21px 23px;
  border: 1px solid rgba(173, 255, 0, 0.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(196, 255, 0, 0.11), transparent 37%),
    linear-gradient(135deg, rgba(16, 25, 18, 0.96), rgba(5, 11, 7, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease;
}

.app3d-premium-features article:hover {
  transform: translateX(-3px);
  border-color: rgba(173, 255, 0, 0.72);
}

.app3d-feature-icon {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(157, 255, 0, .23), rgba(55, 113, 0, .18));
  box-shadow: inset 0 0 22px rgba(185,255,0,.06);
}

.app3d-feature-icon svg,
.app3d-premium-benefits svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #a7ff00;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(167,255,0,.24));
}

.app3d-premium-features h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(20px, 1.35vw, 25px);
  font-weight: 900;
  letter-spacing: -0.4px;
}

.app3d-premium-features p {
  margin: 0;
  color: rgba(255,255,255,.69);
  font-size: 14px;
  line-height: 1.48;
}

.app3d-premium-features b {
  color: #fff;
  font-size: 37px;
  font-weight: 300;
  line-height: 1;
}

.app3d-premium-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1420px;
  margin: 17px auto 0;
  padding: 15px 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(16,25,18,.91), rgba(5,10,7,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.app3d-premium-benefits article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 4px 18px;
}

.app3d-premium-benefits article + article {
  border-left: 1px solid rgba(255,255,255,.16);
}

.app3d-premium-benefits article > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(132, 255, 0, 0.11);
}

.app3d-premium-benefits svg {
  width: 28px;
  height: 28px;
}

.app3d-premium-benefits strong,
.app3d-premium-benefits small {
  display: block;
}

.app3d-premium-benefits strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.app3d-premium-benefits small {
  margin-top: 4px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 1120px) {
  .app3d-premium-stage {
    grid-template-columns: minmax(300px, 1fr) minmax(260px, 0.72fr);
  }

  .app3d-premium-features {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app3d-premium-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app3d-premium-benefits article:nth-child(3) {
    border-left: 0;
  }

  .app3d-premium-benefits article:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 13px;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .landing-section-app3d-premium {
    padding-top: 64px;
    padding-bottom: 28px;
  }

  .landing-section-app3d-premium::before {
    left: 0;
    right: 0;
  }

  .app3d-premium-stage {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .app3d-premium-left {
    text-align: center;
  }

  .landing-section-app3d-premium h2 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(39px, 12vw, 62px);
    letter-spacing: -2.2px;
  }

  .app3d-premium-intro,
  .app3d-premium-radar-card,
  .app3d-premium-googleplay {
    margin-left: auto;
    margin-right: auto;
  }

  .app3d-premium-radar-card {
    text-align: left;
  }

  .app3d-premium-phone {
    order: 2;
  }

  .app3d-premium-features {
    order: 3;
    grid-template-columns: 1fr;
  }

  .app3d-premium-phone img {
    width: min(86vw, 390px);
  }

  .app3d-premium-benefits {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .app3d-premium-benefits article,
  .app3d-premium-benefits article + article,
  .app3d-premium-benefits article:nth-child(3) {
    border-left: 0;
  }

  .app3d-premium-benefits article + article {
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 13px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .app3d-premium-radar-card {
    grid-template-columns: 105px 1fr;
    padding: 17px 17px 17px 8px;
    border-radius: 23px;
  }

  .app3d-premium-radar-card h3 {
    font-size: 21px;
  }

  .app3d-premium-googleplay {
    min-height: 94px;
    padding: 14px 20px;
  }

  .app3d-play-logo {
    width: 55px;
    height: 55px;
  }

  .app3d-premium-googleplay small {
    font-size: 11px;
  }

  .app3d-premium-googleplay strong {
    font-size: 31px;
  }

  .app3d-premium-features article {
    grid-template-columns: 54px 1fr auto;
    gap: 14px;
    min-height: 105px;
    padding: 17px;
  }

  .app3d-feature-icon {
    width: 54px;
    height: 54px;
  }

  .app3d-feature-icon svg {
    width: 29px;
    height: 29px;
  }
}


/* =========================================================
   HERO PRINCIPAL — CELULAR PREMIUM PNG (julio 2026)
   Reemplaza únicamente el visual derecho del hero.
========================================================= */
@keyframes app3dBordePulso {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(196, 255, 0, 0.42),
      0 0 18px rgba(196, 255, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(196, 255, 0, 0.78),
      0 0 34px rgba(196, 255, 0, 0.34),
      0 0 58px rgba(56, 255, 125, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

.landing-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: clamp(28px, 3vw, 50px);
  padding-left: max(28px, calc((100vw - 1320px) / 2));
  padding-right: max(28px, calc((100vw - 1320px) / 2));
}

.btn-app3d-destacado {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 222px;
  min-height: 62px;
  padding: 9px 22px;
  overflow: visible;
  border: 1px solid rgba(196, 255, 0, 0.62);
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 255, 0, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(14, 22, 16, 0.98), rgba(5, 9, 7, 0.98));
  color: #ffffff;
  animation: app3dBordePulso 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-app3d-destacado::before {
  content: none;
}

.btn-app3d-destacado:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: #c4ff00;
  background:
    radial-gradient(circle at 75% 15%, rgba(196, 255, 0, 0.24), transparent 44%),
    linear-gradient(145deg, rgba(19, 31, 20, 0.99), rgba(6, 12, 8, 0.99));
}

.btn-app3d-icono {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(196, 255, 0, 0.13);
  box-shadow: inset 0 0 0 1px rgba(196, 255, 0, 0.23);
  font-size: 18px;
}

.btn-app3d-etiqueta {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1.05;
}

.btn-app3d-etiqueta strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
}

.btn-app3d-etiqueta small {
  color: #c4ff00;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.landing-visual-phone-premium {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  overflow: visible;
}

.landing-visual-phone-premium::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 6% 2% 5% 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 56% 45%, rgba(196, 255, 0, 0.24), transparent 34%),
    radial-gradient(circle at 58% 58%, rgba(56, 255, 125, 0.14), transparent 48%);
  filter: blur(18px);
}

.landing-visual-phone-premium::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 16%;
  right: 4%;
  bottom: 1%;
  height: 155px;
  border-radius: 50%;
  background: rgba(116, 255, 0, 0.10);
  filter: blur(42px);
}

.landing-hero-phone-premium {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 52%;
  width: min(430px, 64vw);
  margin: 0;
  transform: translateX(-50%);
}

.landing-hero-phone-premium img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 36px 36px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 22px rgba(157, 255, 0, 0.14));
}

.landing-float-notes-premium {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.landing-float-notes-premium .landing-float-note {
  width: 205px;
  padding: 13px 14px;
  border-color: rgba(196, 255, 0, 0.28);
  background:
    radial-gradient(circle at 92% 8%, rgba(196, 255, 0, 0.10), transparent 40%),
    linear-gradient(135deg, rgba(12, 20, 14, 0.91), rgba(4, 8, 6, 0.88));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(15px);
}

.landing-float-notes-premium .landing-float-note-uno {
  left: 0;
  top: 158px;
}

.landing-float-notes-premium .landing-float-note-dos {
  left: 18px;
  top: 342px;
}

.landing-float-notes-premium .landing-float-note-tres {
  left: 78px;
  bottom: 58px;
}

.landing-float-notes-premium .landing-float-note-camaras {
  right: -28px;
  top: 284px;
}

.landing-float-notes-premium .landing-float-note-cuatro {
  right: -32px;
  bottom: 45px;
}

@media (max-width: 1180px) {
  .landing-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  }

  .landing-visual-phone-premium {
    min-height: 680px;
  }

  .landing-hero-phone-premium {
    width: min(390px, 62vw);
  }

  .landing-float-notes-premium .landing-float-note {
    width: 185px;
  }

  .landing-float-notes-premium .landing-float-note-camaras,
  .landing-float-notes-premium .landing-float-note-cuatro {
    right: 0;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 128px;
  }

  .landing-hero-copy {
    max-width: 760px;
  }

  .landing-visual-phone-premium {
    min-height: 700px;
  }

  .landing-hero-phone-premium {
    width: min(420px, 70vw);
  }

  .landing-float-notes-premium .landing-float-note-uno,
  .landing-float-notes-premium .landing-float-note-dos,
  .landing-float-notes-premium .landing-float-note-tres {
    left: max(12px, 8vw);
  }

  .landing-float-notes-premium .landing-float-note-camaras,
  .landing-float-notes-premium .landing-float-note-cuatro {
    right: max(12px, 8vw);
  }
}

@media (max-width: 640px) {
  .landing-hero {
    gap: 28px;
  }

  .landing-acciones {
    align-items: stretch;
  }

  .btn-app3d-destacado {
    min-width: 100%;
  }

  .landing-visual-phone-premium {
    min-height: auto;
    padding-top: 8px;
  }

  .landing-hero-phone-premium {
    position: relative;
    top: auto;
    left: auto;
    width: min(365px, 88vw);
    margin: 0 auto;
    transform: none;
  }

  .landing-float-notes-premium {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(390px, 92vw);
    margin: -8px auto 0;
  }

  .landing-float-notes-premium .landing-float-note {
    position: static;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-app3d-destacado {
    animation: none;
  }
}

/* =========================================================
   HERO PRINCIPAL — PULIDO PRO (julio 2026)
   Mantiene funcionalidad y mejora balance, iconos y profundidad.
========================================================= */
.landing-hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(34px, 4vw, 72px);
  padding-left: max(28px, calc((100vw - 1360px) / 2));
  padding-right: max(28px, calc((100vw - 1360px) / 2));
}

.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 5, 0.98) 0%, rgba(3, 8, 5, 0.80) 49%, rgba(2, 7, 5, 0.93) 100%),
    radial-gradient(circle at 73% 45%, rgba(157, 255, 0, 0.18), transparent 31%),
    radial-gradient(circle at 83% 70%, rgba(30, 255, 112, 0.08), transparent 28%);
}

.landing-hero-copy {
  max-width: 670px;
}

.landing-kicker {
  border-color: rgba(196, 255, 0, 0.34);
  background: rgba(196, 255, 0, 0.075);
  color: #d8ff68;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.landing-hero h1 {
  max-width: 680px;
  margin-top: 22px;
  text-wrap: balance;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.32);
}

.landing-hero h1::first-letter {
  color: #bfff00;
}

.landing-hero-copy > p {
  max-width: 640px;
  color: rgba(238, 247, 241, 0.73);
}

.landing-acciones {
  align-items: center;
  gap: 13px;
  margin-top: 30px;
}

.btn-landing-primario,
.btn-app3d-destacado {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  isolation: isolate;
}

.btn-landing-primario::before,
.btn-landing-secundario::before {
  content: none;
}

.btn-landing-primario {
  min-width: 218px;
  border: 1px solid rgba(190, 255, 0, 0.56);
  background: linear-gradient(135deg, #bfff00 0%, #54ff72 100%);
  color: #071007;
  box-shadow:
    0 16px 38px rgba(128, 255, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-landing-primario:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(128, 255, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.btn-landing-icono,
.btn-app3d-icono {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.btn-landing-icono {
  width: 24px;
  height: 24px;
}

.btn-landing-icono svg,
.btn-app3d-icono svg,
.landing-confianza svg,
.landing-float-note svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-app3d-destacado {
  min-width: 226px;
  min-height: 62px;
  border-color: rgba(196, 255, 0, 0.72);
  box-shadow:
    0 0 0 1px rgba(196, 255, 0, 0.18),
    0 0 24px rgba(196, 255, 0, 0.21),
    0 16px 34px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-app3d-destacado::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 24%, rgba(255, 255, 255, 0.13) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: app3dShimmer 4.4s ease-in-out infinite;
}

.btn-app3d-icono {
  width: 36px;
  height: 36px;
  padding: 8px;
  color: #c4ff00;
}

.btn-app3d-etiqueta small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.btn-app3d-etiqueta small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4ff00;
  box-shadow: 0 0 10px rgba(196, 255, 0, 0.82);
}

.landing-confianza {
  gap: 8px;
  margin-top: 22px;
}

.landing-confianza span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-color: rgba(196, 255, 0, 0.11);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(238, 248, 241, 0.76);
  backdrop-filter: blur(10px);
}

.landing-confianza svg {
  width: 14px;
  height: 14px;
  color: #bfff00;
  stroke-width: 1.9;
}

.landing-visual-phone-premium {
  min-height: 700px;
}

.landing-visual-phone-premium::before {
  inset: 7% -1% 5% 9%;
  background:
    radial-gradient(circle at 57% 44%, rgba(196, 255, 0, 0.23), transparent 31%),
    radial-gradient(circle at 61% 61%, rgba(35, 255, 115, 0.10), transparent 47%);
  filter: blur(24px);
}

.landing-visual-phone-premium::after {
  left: 22%;
  right: 2%;
  bottom: 0;
  height: 120px;
  background: rgba(135, 255, 0, 0.085);
  filter: blur(50px);
}

.landing-hero-phone-premium {
  top: 10px;
  left: 55%;
  width: min(405px, 61vw);
  animation: heroPhoneFloat 6.5s ease-in-out infinite;
}

.landing-hero-phone-premium img {
  filter:
    drop-shadow(0 38px 42px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 22px rgba(153, 255, 0, 0.15));
}

.landing-float-notes-premium .landing-float-note {
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 2px 10px;
  width: 190px;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid rgba(196, 255, 0, 0.25);
  border-radius: 17px;
  background:
    radial-gradient(circle at 94% 5%, rgba(196, 255, 0, 0.09), transparent 42%),
    linear-gradient(135deg, rgba(11, 19, 13, 0.91), rgba(4, 8, 6, 0.89));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.018),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.landing-float-notes-premium .landing-float-note span {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 13px;
  color: #c4ff00;
  background: rgba(196, 255, 0, 0.10);
}

.landing-float-notes-premium .landing-float-note strong {
  font-size: 12px;
  letter-spacing: -0.15px;
}

.landing-float-notes-premium .landing-float-note p {
  max-width: none;
  font-size: 10px;
  line-height: 1.28;
}

.landing-float-notes-premium .landing-float-note-uno {
  left: -2px;
  top: 132px;
}

.landing-float-notes-premium .landing-float-note-dos {
  left: 8px;
  top: 310px;
}

.landing-float-notes-premium .landing-float-note-tres {
  left: 64px;
  top: auto;
  bottom: 72px;
}

.landing-float-notes-premium .landing-float-note-camaras {
  right: -8px;
  top: 246px;
}

.landing-float-notes-premium .landing-float-note-cuatro {
  right: -14px;
  top: auto;
  bottom: 58px;
}

@keyframes heroPhoneFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes app3dShimmer {
  0%, 58% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

@media (max-width: 1180px) {
  .landing-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  }

  .landing-hero-phone-premium {
    left: 54%;
    width: min(382px, 60vw);
  }

  .landing-float-notes-premium .landing-float-note {
    width: 178px;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-hero-phone-premium {
    left: 50%;
  }
}

@media (max-width: 640px) {
  .landing-hero-phone-premium {
    animation: none;
  }

  .landing-float-notes-premium .landing-float-note {
    min-height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-phone-premium,
  .btn-app3d-destacado::after {
    animation: none;
  }
}

/* =========================================================
   RADARES Y CÁMARAS — VERSIÓN PRO
   ========================================================= */
.landing-section-radares-pro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 112px;
  padding-bottom: 116px;
  background:
    radial-gradient(circle at 12% 24%, rgba(196, 255, 0, 0.08), transparent 26%),
    radial-gradient(circle at 86% 16%, rgba(196, 255, 0, 0.18), transparent 30%),
    linear-gradient(180deg, #040805 0%, #061009 52%, #050806 100%);
}

.radares-pro-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 18%, rgba(196, 255, 0, 0.16), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(0, 185, 78, 0.10), transparent 24%),
    linear-gradient(90deg, transparent 0%, rgba(196, 255, 0, 0.03) 36%, rgba(196, 255, 0, 0.08) 64%, transparent 100%);
  opacity: 0.95;
}

.radares-pro-heading,
.radares-pro-grid {
  position: relative;
  z-index: 2;
}

.radares-pro-heading {
  max-width: 830px;
  margin-bottom: 38px;
}

.radares-pro-heading p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.68);
}

.radares-pro-grid {
  gap: 22px;
}

.radares-pro-card {
  position: relative;
  min-height: 224px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(196, 255, 0, 0.14) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 255, 0, 0.10), transparent 38%),
    linear-gradient(180deg, rgba(15, 22, 17, 0.96), rgba(10, 14, 12, 0.92)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(196, 255, 0, 0.03);
}

.radares-pro-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 255, 0, 0), rgba(196, 255, 0, 0.58), rgba(196, 255, 0, 0));
  opacity: 0.85;
}

.radares-pro-card strong {
  width: 54px !important;
  height: 54px !important;
  margin-bottom: 20px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(196, 255, 0, 0.30), rgba(0, 200, 83, 0.17)) !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 24px !important;
}

.radares-pro-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.radares-pro-card p {
  color: rgba(255, 255, 255, 0.68);
}

.radares-pro-card small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(215, 255, 156, 0.90);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.radares-pro-card small::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 255, 0, 0.22), rgba(196, 255, 0, 0.95));
  box-shadow: 0 0 12px rgba(196, 255, 0, 0.35);
}

.radares-pro-camera {
  position: absolute;
  z-index: 1;
  margin: 0;
  pointer-events: none;
}

.radares-pro-camera img {
  display: block;
  width: 100%;
  height: auto;
}

.radares-pro-camera-main {
  top: 38px;
  right: max(20px, calc((100vw - 1180px) / 2 - 10px));
  width: clamp(180px, 18vw, 290px);
  filter:
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 26px rgba(196, 255, 0, 0.18));
  opacity: 0.98;
  transform: rotate(-6deg);
}

.radares-pro-camera-left {
  top: 112px;
  left: max(8px, calc((100vw - 1180px) / 2 - 100px));
  width: clamp(150px, 14vw, 220px);
  opacity: 0.16;
  transform: rotate(-12deg);
  filter: blur(0.5px) drop-shadow(0 8px 26px rgba(0, 0, 0, 0.30));
}

.radares-pro-camera-right {
  top: 310px;
  right: max(-18px, calc((100vw - 1180px) / 2 - 65px));
  width: clamp(120px, 13vw, 190px);
  opacity: 0.12;
  transform: rotate(8deg);
  filter: blur(0.8px) drop-shadow(0 8px 26px rgba(0, 0, 0, 0.24));
}

.radares-pro-camera-bottom {
  bottom: 28px;
  left: max(20px, calc((100vw - 1180px) / 2 - 40px));
  width: clamp(92px, 9vw, 150px);
  opacity: 0.13;
  transform: rotate(-4deg);
  filter: blur(0.6px) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.24));
}

@media (max-width: 1100px) {
  .radares-pro-camera-left,
  .radares-pro-camera-right,
  .radares-pro-camera-bottom {
    opacity: 0.10;
  }

  .radares-pro-camera-main {
    width: 210px;
    top: 54px;
    right: 20px;
  }
}

@media (max-width: 900px) {
  .landing-section-radares-pro {
    padding-top: 88px;
    padding-bottom: 94px;
  }

  .radares-pro-grid {
    grid-template-columns: 1fr;
  }

  .radares-pro-card {
    min-height: 0;
  }

  .radares-pro-camera-left,
  .radares-pro-camera-right,
  .radares-pro-camera-bottom {
    display: none;
  }

  .radares-pro-camera-main {
    width: min(210px, 48vw);
    top: 26px;
    right: -22px;
    opacity: 0.30;
  }
}

@media (max-width: 640px) {
  .radares-pro-heading {
    margin-bottom: 28px;
  }

  .radares-pro-camera-main {
    display: none;
  }

  .radares-pro-card {
    padding: 24px 22px 22px;
    border-radius: 24px !important;
  }

  .radares-pro-card strong {
    width: 50px !important;
    height: 50px !important;
    border-radius: 16px !important;
  }
}

/* =========================================================
   RADARES Y CÁMARAS — AJUSTE V2 MÁS CERCANO A REFERENCIA
   ========================================================= */
.radares-pro-v2 {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 104px;
  padding-bottom: 108px;
  background:
    radial-gradient(circle at 16% 18%, rgba(196, 255, 0, 0.10), transparent 25%),
    radial-gradient(circle at 84% 18%, rgba(196, 255, 0, 0.14), transparent 27%),
    radial-gradient(circle at 50% 88%, rgba(0, 153, 74, 0.08), transparent 28%),
    linear-gradient(180deg, #030705 0%, #050a07 52%, #030604 100%);
}

.radares-pro-v2::before,
.radares-pro-v2::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(196, 255, 0, 0.10);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.radares-pro-v2::before {
  width: 480px;
  height: 480px;
  right: -250px;
  top: -190px;
  box-shadow:
    0 0 0 52px rgba(196, 255, 0, 0.025),
    0 0 0 110px rgba(196, 255, 0, 0.018);
}

.radares-pro-v2::after {
  width: 360px;
  height: 360px;
  left: -220px;
  bottom: -210px;
  box-shadow:
    0 0 0 45px rgba(196, 255, 0, 0.025),
    0 0 0 96px rgba(196, 255, 0, 0.014);
}

.radares-pro-orbitas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(196, 255, 0, 0.38) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, #000 0 11%, transparent 23% 76%, #000 90% 100%);
}

.radares-pro-v2 .radares-pro-heading {
  width: min(760px, 72vw);
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.radares-pro-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  padding: 8px 16px !important;
  border: 1px solid rgba(196, 255, 0, 0.58) !important;
  border-radius: 999px !important;
  color: #c4ff00 !important;
  background: rgba(13, 20, 14, 0.84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 26px rgba(196, 255, 0, 0.06);
}

.radares-pro-kicker svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.radares-pro-v2 .radares-pro-heading h2 {
  max-width: 720px;
  margin: 18px auto 20px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.96;
  letter-spacing: -2.8px;
}

.radares-pro-v2 .radares-pro-heading h2 em {
  display: block;
  margin-top: 8px;
  color: #b9ff00;
  font-style: normal;
  text-shadow: 0 0 30px rgba(196, 255, 0, 0.10);
}

.radares-pro-v2 .radares-pro-heading p {
  max-width: 700px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.70);
  font-size: 17px;
  line-height: 1.65;
}

.radares-pro-v2 .radares-pro-grid {
  width: min(880px, 76vw);
  margin: 0 auto;
  gap: 28px;
}

.radares-pro-v2 .radares-pro-card {
  min-height: 340px;
  padding: 34px 30px 30px;
  border: 1px solid rgba(196, 255, 0, 0.22) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 84% 0%, rgba(196, 255, 0, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(11, 16, 13, 0.98), rgba(7, 10, 8, 0.96)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 24px 46px rgba(0, 0, 0, 0.30),
    0 0 30px rgba(196, 255, 0, 0.035);
}

.radares-pro-v2 .radares-pro-card::after {
  display: none;
}

.radares-pro-v2 .radares-pro-card strong {
  width: 66px !important;
  height: 66px !important;
  margin-bottom: 24px !important;
  border: 1px solid rgba(196, 255, 0, 0.44);
  border-radius: 20px !important;
  color: #c4ff00;
  background:
    radial-gradient(circle, rgba(196, 255, 0, 0.16), rgba(196, 255, 0, 0.035)) !important;
  box-shadow:
    0 0 0 7px rgba(196, 255, 0, 0.025),
    0 0 24px rgba(196, 255, 0, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.radares-pro-v2 .radares-pro-card strong svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.radares-pro-v2 .radares-pro-card h3 {
  max-width: 200px;
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
}

.radares-pro-linea {
  display: block;
  width: 32px;
  height: 3px;
  margin: 19px 0 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffffff 0 30%, #c4ff00 31% 100%);
  box-shadow: 0 0 16px rgba(196, 255, 0, 0.15);
}

.radares-pro-v2 .radares-pro-card p {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.58;
}

.radares-pro-v2 .radares-pro-camera {
  z-index: 1;
  opacity: 1;
}

.radares-pro-v2 .radares-pro-camera-main {
  top: 34px;
  left: -24px;
  right: auto;
  width: clamp(235px, 21vw, 340px);
  opacity: 0.93;
  transform: rotate(-3deg);
  filter:
    drop-shadow(0 26px 38px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 30px rgba(196, 255, 0, 0.11));
}

.radares-pro-camera-poste {
  top: 52px;
  right: -6px;
  width: clamp(245px, 23vw, 360px);
  opacity: 0.92;
  transform: rotate(1deg);
  filter:
    drop-shadow(0 24px 38px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 28px rgba(196, 255, 0, 0.08));
}

.radares-pro-camera-oval {
  bottom: 34px;
  left: 22px;
  width: clamp(165px, 16vw, 250px);
  opacity: 0.82;
  transform: rotate(-2deg);
  filter:
    saturate(0.84)
    drop-shadow(0 22px 32px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 22px rgba(196, 255, 0, 0.08));
}

.radares-pro-camera-dobles {
  right: -14px;
  bottom: 36px;
  width: clamp(170px, 17vw, 270px);
  opacity: 0.60;
  transform: rotate(-5deg);
  filter:
    saturate(0.78)
    blur(0.2px)
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1200px) {
  .radares-pro-v2 .radares-pro-grid {
    width: min(820px, 72vw);
  }

  .radares-pro-v2 .radares-pro-card {
    min-height: 320px;
  }

  .radares-pro-v2 .radares-pro-camera-main,
  .radares-pro-camera-poste {
    opacity: 0.72;
  }

  .radares-pro-camera-oval,
  .radares-pro-camera-dobles {
    opacity: 0.38;
  }
}

@media (max-width: 980px) {
  .radares-pro-v2 {
    min-height: auto;
  }

  .radares-pro-v2 .radares-pro-heading {
    width: min(760px, 100%);
  }

  .radares-pro-v2 .radares-pro-grid {
    width: min(680px, 100%);
    grid-template-columns: 1fr;
  }

  .radares-pro-v2 .radares-pro-card {
    min-height: 0;
    text-align: left;
  }

  .radares-pro-v2 .radares-pro-card h3,
  .radares-pro-v2 .radares-pro-card p {
    max-width: none;
  }

  .radares-pro-v2 .radares-pro-camera-main,
  .radares-pro-camera-poste,
  .radares-pro-camera-oval,
  .radares-pro-camera-dobles {
    opacity: 0.12;
  }
}

@media (max-width: 640px) {
  .radares-pro-v2 {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .radares-pro-v2 .radares-pro-heading h2 {
    font-size: clamp(38px, 13vw, 52px);
    letter-spacing: -1.8px;
  }

  .radares-pro-v2 .radares-pro-heading p {
    font-size: 15px;
  }

  .radares-pro-v2 .radares-pro-camera-main,
  .radares-pro-camera-poste,
  .radares-pro-camera-oval,
  .radares-pro-camera-dobles {
    display: none;
  }

  .radares-pro-v2 .radares-pro-card {
    padding: 28px 24px 26px;
  }
}

/* =========================================================
   HERO PRINCIPAL — CORRECCIÓN REAL PARA MÓVIL
   Evita que el celular se corte, elimina el vacío y ordena
   las tarjetas debajo del teléfono.
========================================================= */
@media (max-width: 640px) {
  .landing-header {
    top: 12px;
    width: calc(100vw - 24px);
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .landing-marca {
    gap: 10px;
    font-size: 18px;
  }

  .landing-marca-icono {
    width: 44px;
    height: 44px;
  }

  .landing-header-acciones {
    display: flex;
  }

  .btn-header-login {
    display: inline-flex;
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .landing-nav {
    top: 102px;
    left: 12px;
    right: 12px;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    scrollbar-width: none;
  }

  .landing-nav::-webkit-scrollbar {
    display: none;
  }

  .landing-nav a {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .landing-hero {
    display: block;
    min-height: auto;
    padding-top: 176px;
    padding-bottom: 72px;
    overflow: hidden;
  }

  .landing-hero-copy {
    max-width: none;
  }

  .landing-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 8px;
    font-size: 10px;
    white-space: normal;
  }

  .landing-hero h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(43px, 13vw, 60px);
    line-height: 0.98;
    letter-spacing: -2.2px;
    text-wrap: balance;
  }

  .landing-hero-copy > p {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.58;
  }

  .landing-acciones {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .btn-landing-primario,
  .btn-app3d-destacado {
    width: 100%;
    min-width: 0;
    min-height: 66px;
  }

  .landing-confianza {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
  }

  .landing-confianza span {
    flex: 0 0 auto;
    padding: 9px 12px;
  }

  .landing-visual-phone-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    margin-top: 42px;
    padding: 0;
    overflow: visible;
  }

  .landing-visual-phone-premium::before {
    inset: 3% -16% auto;
    height: 470px;
    filter: blur(28px);
  }

  .landing-visual-phone-premium::after {
    left: 8%;
    right: 8%;
    bottom: auto;
    top: 390px;
    height: 90px;
  }

  .landing-hero-phone-premium {
    position: relative;
    top: auto;
    left: auto;
    width: min(330px, 84vw);
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .landing-hero-phone-premium img {
    width: 100%;
    height: auto;
  }

  .landing-float-notes-premium {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin: 22px 0 0;
  }

  .landing-float-notes-premium .landing-float-note {
    position: static;
    width: 100%;
    min-height: 126px;
    padding: 14px;
    grid-template-columns: 40px 1fr;
    align-content: start;
  }

  .landing-float-notes-premium .landing-float-note strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .landing-float-notes-premium .landing-float-note p {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.35;
  }

  .landing-float-notes-premium .landing-float-note-cuatro {
    grid-column: 1 / -1;
    min-height: 100px;
  }
}

@media (max-width: 390px) {
  .landing-header {
    padding: 10px 12px;
  }

  .landing-marca {
    font-size: 16px;
  }

  .btn-header-login {
    padding: 0 14px;
    font-size: 14px;
  }

  .landing-float-notes-premium {
    grid-template-columns: 1fr;
  }

  .landing-float-notes-premium .landing-float-note,
  .landing-float-notes-premium .landing-float-note-cuatro {
    grid-column: auto;
    min-height: 0;
  }
}
/* DESCARGA APK DIRECTA */
.descarga-android {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 197, 94, 0.2), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #0f172a 55%, #172554 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.descarga-android::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -150px;
  border-radius: 50%;
  border: 44px solid rgba(250, 204, 21, 0.08);
  pointer-events: none;
}

.descarga-android-copy,
.descarga-android-guia {
  position: relative;
  z-index: 1;
}

.descarga-android-kicker {
  display: inline-flex;
  padding: 7px 11px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.26);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.descarga-android h2 {
  max-width: 720px;
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.descarga-android-copy > p {
  max-width: 680px;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
}

.descarga-android-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.descarga-android-meta div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}

.descarga-android-meta dt {
  margin-bottom: 5px;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.descarga-android-meta dd {
  margin: 0;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.descarga-android-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  color: #082f1b;
  background: #86efac;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
  font: inherit;
  font-weight: 850;
}

.descarga-android-boton svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.descarga-android-boton:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.58;
  box-shadow: none;
}

.descarga-android-estado {
  margin: 10px 0 0;
  color: #94a3b8 !important;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
}

.descarga-android-guia {
  padding: clamp(22px, 4vw, 34px);
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
}

.descarga-android-icono {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  place-items: center;
  color: #166534;
  background: #dcfce7;
  border-radius: 17px;
}

.descarga-android-icono svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.descarga-android-guia h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.descarga-android-guia ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: #334155;
  line-height: 1.55;
}

.descarga-android-guia li::marker {
  color: #16a34a;
  font-weight: 900;
}

.descarga-android-seguridad {
  display: grid;
  gap: 7px;
  margin-top: 20px;
  padding: 14px 15px;
  color: #713f12;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 14px;
}

.descarga-android-seguridad p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.5;
}

.descarga-android-enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
}

.descarga-android-enlaces a {
  color: #166534;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .descarga-android {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .descarga-android-meta {
    grid-template-columns: 1fr;
  }

  .descarga-android-boton {
    width: 100%;
  }
}
