/* =========================================================
   AireGPT Monitor - CSS Master Consolidado
   Jerarquía: Reset -> Layout -> Components -> UI/UX -> Responsive
========================================================= */

/* 1. RESET & BASICS */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: Arial, sans-serif !important; 
    background: transparent; 
    color: white; 
    overflow: hidden; 
}

/* 2. ESTRUCTURA PRINCIPAL (LAYOUT) */
.main-container { 
    display: flex; 
    height: 100vh; 
    width: 100%; 
    overflow: hidden; 
}

.info-column { 
    width: 380px; 
    flex: 0 0 380px; 
    background: #1e293b; 
    border-right: 1px solid #334155; 
    display: flex; 
    flex-direction: column; 
    overflow-y: auto; 
    box-shadow: 2px 0 15px rgba(0,0,0,0.5);
    z-index: 100;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.80rem; /* Fuente global reducida */
}

.info-column.collapsed { margin-left: -380px; }

.map-column { flex: 1; position: relative; }
#rainfall-map { width: 100%; height: 100%; z-index: 1; background: transparent; }

/* 3. ELEMENTOS DE NAVEGACIÓN */
.menu-toggle {
    position: fixed; top: 15px; left: 15px; z-index: 2000;
    background: #1e293b; border: 1px solid #475569; color: #38bdf8;
    width: 45px; height: 45px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); transition: all 0.2s ease;
}
.menu-toggle:hover { background: #334155; color: #0ea5e9; transform: scale(1.05); }

/* 5. HOTSPOTS LIST */
.top-stations-container { display: flex; flex-direction: column; gap: 8px; }
.top-station-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; background: rgba(15, 23, 42, 0.6);
    border-radius: 8px; cursor: pointer; border: 1px solid #334155;
    transition: all 0.2s;
}
.top-station-card:hover { background: rgba(30, 41, 59, 0.8); border-color: #475569; transform: translateX(2px); }
.station-title { font-size: 0.85rem; font-weight: 600; color: #f8fafc; }
.value-number { font-size: 0.95rem; font-weight: bold; color: #e2e8f0; }
.station-badge { 
    background-color: #334155; /* 🚨 FIX: Gris oscuro por defecto para cuando marca 0.0 mm/h */
    color: #ffffff;            /* 🚨 FIX: Fuerza el texto a blanco siempre */
    padding: 3px 8px; 
    border-radius: 10px; 
    font-size: 0.65rem; 
    font-weight: bold; 
    min-width: 60px; 
    text-align: center; 
}
/* Badges Colors */
.alert-verde { background: #dcfce7; color: #166534; }
.alert-amarillo { background: #fef9c3; color: #854d0e; }
.alert-naranja { background: #ffedd5; color: #9a3412; }
.alert-rojo { background: #fee2e2; color: #991b1b; }
.alert-purpura { background: #f3e8ff; color: #6b21a8; }

/* 6. LEYENDA */
.panel-legend-container {
    background: #0f172a; border-top: 1px solid #334155; border-bottom: 1px solid #334155;
    padding: 15px 20px;
}
.map-legend-title { font-weight: bold; margin-bottom: 10px; color: #94a3b8; text-transform: uppercase; font-size: 0.8rem; }
.legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.7rem; color: #f8fafc; }
.legend-item { display: flex; align-items: center; }
.dot { height: 12px; width: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; border: 1px solid rgba(255,255,255,0.3); }
.dot.azul { background: #0ea5e9; } /* 🚨 Agrega esta línea */
.dot.verde { background: #22c55e; }
.dot.amarillo { background: #eab308; }
.dot.naranja { background: #f97316; }
.dot.rojo { background: #ef4444; }
.dot.purpura { background: #a855f7; box-shadow: 0 0 8px #a855f7; }

/* 7. CONTROLES DE PRONÓSTICO (FORECAST) */
.forecast-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.forecast-title-group { display: flex; flex-direction: column; gap: 2px; }
.forecast-select {
    background: rgba(30, 41, 59, 0.8); color: #e2e8f0; border: 1px solid #38bdf8;
    border-radius: 6px; padding: 5px 10px; font-size: 0.85rem; cursor: pointer;
}
.play-btn {
    background: #38bdf8; color: #0f172a; border: none; border-radius: 50%;
    width: 35px; height: 35px; cursor: pointer; transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.1); }

/* 8. UTILIDADES Y CARGA */
.loading { padding: 40px 20px; text-align: center; color: #cbd5e1; }
.spinner { 
    width: 35px; height: 35px; border: 3px solid rgba(255,255,255,0.1); 
    border-top: 3px solid #38bdf8; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 15px; 
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.grid-toggle-btn {
    background: rgba(56, 189, 248, 0.15); border: 1px solid #38bdf8;
    color: #fff; padding: 10px; border-radius: 6px; cursor: pointer;
    font-weight: 600; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.grid-toggle-btn.inactive { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: #94a3b8; }

/* 9. FOOTER SOCIAL */
.social-footer {
    display: flex; justify-content: center; align-items: center; gap: 15px;
    padding: 15px 0; margin-top: auto; border-top: 1px solid #334155;
}
.social-footer a {
    display: flex; align-items: center; justify-content: center;
    width: 35px; height: 35px; background: rgba(51, 65, 85, 0.5);
    border-radius: 50%; transition: all 0.3s ease;
}
.social-footer a svg { width: 18px; height: 18px; fill: #94a3b8; }
.social-footer a:hover { background: #38bdf8; transform: translateY(-2px); }
.social-footer a:hover svg { fill: #0f172a; }

/* 10. LEAFLET FIXES & ANIMATIONS */
.leaflet-popup-content-wrapper { background: #1e293b; color: #f8fafc; border: 1px solid #475569; }
.leaflet-popup-tip { background: #1e293b; }

/* 11. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .info-column { width: 320px; flex: 0 0 320px; }
    .info-column.collapsed { margin-left: -320px; }
}

@media (max-width: 768px) {
    .map-column { height: 100vh; width: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
    .info-column {
        position: absolute; top: 0; left: 0; width: 100%; max-height: 85vh;
        z-index: 1500; transform: translateY(0); margin-left: 0 !important;
        transition: transform 0.4s ease;
    }
    .info-column.collapsed { transform: translateY(-100%); }
}

.grid-toggle-btn.active {
    background: rgba(56, 189, 248, 0.25) !important;
    border-color: #38bdf8 !important;
    color: #fff !important;
}

/* Estilo para las celdas del modelo */
.grid-cell-model {
    transition: fill 0.5s ease, fill-opacity 0.5s ease;
    pointer-events: auto;
}

/* Tooltip del Grid Modelo */
.model-grid-tooltip {
    background-color: #0f172a !important;
    color: #38bdf8 !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    font-size: 0.85rem !important;
    padding: 4px 8px !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}
.leaflet-tooltip-left.model-grid-tooltip::before { border-left-color: #38bdf8 !important; }
.leaflet-tooltip-right.model-grid-tooltip::before { border-right-color: #38bdf8 !important; }

/* Estilo para el Popup del Grid (Click) */
.grid-popup .leaflet-popup-content-wrapper {
    background: #e2e8f0;
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.grid-popup .leaflet-popup-tip {
    background: #e2e8f0;
}

/* 12. SLIDER DE HORAS (TICKS) */
.slider-wrapper { padding-bottom: 10px; }
.slider-tick {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    transition: color 0.3s ease, transform 0.3s ease;
}
.tick-mark {
    font-size: 10px;
    line-height: 1;
    margin-bottom: 3px;
    color: #475569;
}
.tick-text {
    font-size: 10px;
    font-weight: 600;
}
.tick-active {
    color: #38bdf8;
    transform: scale(1.15);
}
.tick-active .tick-mark {
    color: #38bdf8;
    font-weight: bold;
}

/* =========================================================
   14. HUD UNIFICADO (RELOJ VHS + ESCALA DE LLUVIAS)
========================================================= */
.top-hud-container {
    position: absolute;
    top: 10px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    background: rgba(15, 23, 42, 0.85); 
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 320px;
    pointer-events: auto; /* 🚨 FIX: Esto "revive" los clics y el arrastre del slider */
}

/* El Reloj VHS ahora es un elemento interno */
.vhs-clock {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #f8fafc; 
    letter-spacing: 2px;
    white-space: nowrap; 
    text-align: center;
    text-shadow: 
        2px 0px 1px rgba(255, 0, 0, 0.7),   
        -2px 0px 1px rgba(0, 0, 255, 0.7),  
        0px 0px 6px rgba(255, 255, 255, 0.6); 
    animation: vhs-flicker 4s infinite; 
    
    /* 🚨 LÍNEA DIVISORIA ELIMINADA para un diseño limpio */
    margin-bottom: 2px;
}

/* Contenedor interno de la escala */
.legend-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.legend-title-floating {
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    text-align: center;
}

.color-bar-container {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.color-segment {
    flex: 1;
    height: 100%;
}

.label-bar-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.6rem;
    color: #f8fafc;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace, sans-serif;
    margin-top: 2px;
}

/* 🚨 MANTENEMOS LA ANIMACIÓN VHS AQUÍ */
@keyframes vhs-flicker {
    0%, 100% { opacity: 0.95; }
    5% { opacity: 0.85; }
    10% { opacity: 0.95; }
    15% { opacity: 1; }
    50% { opacity: 0.95; }
    55% { opacity: 0.80; }
    60% { opacity: 0.95; }
}

@media (max-width: 768px) {
    .top-hud-container {
        top: 8px;
        max-width: 280px;
        padding: 8px 12px;
    }
    .vhs-clock {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

/* =========================================================
   HUD: SLIDER UNIFICADO DE TIEMPO
========================================================= */
.hud-timeline-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px; 
    /* 🚨 LÍNEA DIVISORIA ELIMINADA */
}

.hud-play-btn {
    background-color: #38bdf8;
    color: #0f172a;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
    transition: all 0.2s ease;
}

.hud-play-btn:hover {
    background-color: #7dd3fc;
    transform: scale(1.05);
}

.hud-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Estilización del Input Range */
.hud-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #334155;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    margin: 6px 0;
}

.hud-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #38bdf8;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    transition: transform 0.1s;
}

.hud-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* 🚨 Posicionamiento Absoluto de las Etiquetas (Matemática Pura) */
.hud-timeline-labels {
    position: relative;
    width: 100%;
    height: 12px;
    font-family: 'JetBrains Mono', monospace, sans-serif;
    font-size: 0.55rem;
    color: #64748b;
    font-weight: 600;
}

.hud-timeline-labels span {
    position: absolute;
    top: 0;
}

/* 🚨 CENTRADO PERFECTO: 
   Compensamos el radio del slider thumb (bolita) con calc() 
   para que "LIVE" quede milimétricamente debajo del centro. */
.lbl-start { left: 0%; transform: translateX(0); }
.lbl-mid   { left: 40%; transform: translateX(-50%); }
.lbl-live  { 
    left: calc(80% - 4px); 
    transform: translateX(-50%);
    color: #38bdf8; 
    font-weight: 800; 
    text-shadow: 0 0 5px rgba(56,189,248,0.5); 
}
.lbl-end   { left: 100%; transform: translateX(-100%); }

/* =========================================================
   HUD: ALERTA DE SIN HISTORIAL
========================================================= */
.no-history-msg {
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    font-weight: bold;
    margin-top: 2px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(-5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =========================================================
   REDISEÑO DEL HEADER (Secciones 4, 15 y 16 consolidadas)
========================================================= */

/* 1. Fondo y Espaciado Base */
.header {
    padding: 15px; 
    text-align: center; 
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    border-bottom: 1px solid #334155;
}

/* 2. Estructura Flexbox Principal */
.header-main-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px 0;
}

/* 3. Columnas Laterales (Equilibrio) */
.header-left, .header-right {
    display: flex;
    align-items: center;
    min-width: 85px; /* Asegura el balance central */
}

.header-right {
    justify-content: flex-end;
    gap: 12px;
}

/* 4. Columna Central */
.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.main-title {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    line-height: 1.1;
    white-space: nowrap;
    color: #f8fafc;
}

.header-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.update-info { 
    background: rgba(0,0,0,0.3); 
    padding: 4px 10px; 
    border-radius: 12px; 
    display: inline-block; 
}

.smability-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.smability-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.separator {
    color: #475569;
    font-size: 0.6rem;
}

/* 5. Botones de Acción (Share y Telegram) */
.share-btn {
    background-color: transparent;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.share-btn:hover {
    background-color: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.telegram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.telegram-link:hover {
    transform: translateY(-2px) scale(1.05);
}

/* 6. Ajustes para Pantallas Móviles */
@media (max-width: 768px) {
    .header-main-flex {
        padding: 2px 0;
    }
    
    .main-title {
        font-size: 1.05rem;
    }
    
    .header-subtitle-row {
        font-size: 0.7rem;
        gap: 5px;
    }

    .header-left, .header-right {
        min-width: 70px; /* Se encoge un poco en celulares */
    }

    .share-btn {
        width: 30px;
        height: 30px;
    }
    
    .telegram-link svg {
        width: 24px;
        height: 24px;
    }
}

/* =========================================================
   17. TELEMETRÍA DASHBOARD CONSOLIDADO
========================================================= */
.telemetry-dashboard {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #475569;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.telemetry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ai-badge {
    font-size: 0.6rem;
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-weight: bold;
}

.hotspots-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #334155, transparent);
    margin: 15px 0;
}

.sub-title {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hotspots-mini-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Estilo para los items del Top 3 */
.hotspot-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.85) !important; /* 🚨 FIX: Opacidad sube de 0.4 a 0.85 */
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.no-rain-status {
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

/* =========================================================
   18. SISTEMA UNIFICADO DE TARJETAS FLOTANTES (UI CARDS)
========================================================= */

/* 1. Fondo de la Columna Principal (Más oscuro para contraste) */
.info-column {
    background: #0f172a !important; 
    padding: 20px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; 
}

/* 2. 🚨 LA TARJETA MAESTRA (Borde suave y sombra elegante) */
.ui-card {
    background: #1e293b !important; /* Ligeramente más claro que el fondo */
    
    /* Borde suave semitransparente que da un efecto de "contenedor premium" */
    border: 1px solid rgba(148, 163, 184, 0.15) !important; 
    
    border-radius: 12px !important;
    padding: 18px !important;
    
    /* Sombra difuminada para que parezca que "flota" sobre el panel */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important; 
    
    width: 100% !important;
    flex-shrink: 0 !important;
    margin-bottom: 0 !important; 
}

/* 3. Limpiando el Header (Transparente) */
.header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 5px !important;
    margin-bottom: 5px !important;
    box-shadow: none !important;
}

/* 4. Limpiando el Footer (Transparente, apilado vertical) */
.social-footer {
    background: transparent !important;
    border-top: none !important;
    padding: 10px 0 !important;
    margin-top: auto !important; 
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important; /* Espacio entre los iconos y el texto de la fuente */
}

/* Contenedor interno para que los iconos sigan horizontales */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Estilo para el texto de las fuentes */
.data-source-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 5. Corrección de Padding interno para la Escala */
/* Ajuste de buffer para la Escala de Lluvias */
.panel-legend-container {
    /* Aumentamos el padding a 22px para dar más aire (buffer) que al resto */
    padding: 22px !important; 
}

/* Aseguramos que los items de la leyenda tengan buen espacio entre sí */
.legend-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una sola columna en móvil para que no se amontone */
    gap: 12px; /* Más espacio entre cada nivel de lluvia */
}

@media (min-width: 380px) {
    .legend-grid {
        grid-template-columns: 1fr 1fr; /* Regresa a dos columnas si hay espacio */
    }
}

/* =========================================================
   19. JERARQUÍA TIPOGRÁFICA (ARIAL / SANS-SERIF) - COMPACTA
   Sistema maestro para unificar la lectura del panel
========================================================= */

/* 1. Fuerza bruta para la fuente en TODO el panel */
body, .info-column, button, select, input, .ui-card {
    font-family: Arial, Helvetica, sans-serif !important;
    -webkit-font-smoothing: antialiased !important; 
}

/* 2. NIVEL 1: Título Principal (App Name) */
.main-title {
    font-size: 1.1rem !important; /* Reducido para no asfixiar el header */
    font-weight: 800 !important; 
    letter-spacing: -0.3px !important; 
    color: #f8fafc !important;
}

/* 3. NIVEL 2: Títulos de Tarjetas (Telemetría, Pronóstico, Escala) */
.telemetry-header h3, 
.section-title {
    font-size: 0.8rem !important; /* Reducido para dar elegancia */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #cbd5e1 !important;
}

/* 4. NIVEL 3: Subtítulos Internos (Top 3 Zonas) */
.sub-title {
    font-size: 0.7rem !important; /* Reducido */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
}

/* 5. NIVEL 4: Datos Duros (Los números de los KPIs y Hotspots) */
.audit-item .value {
    font-size: 0.95rem !important; /* Reducido drásticamente para balance */
    font-weight: 700 !important;
    color: #38bdf8 !important; 
}
.hotspot-mini-item span {
    font-size: 0.75rem !important; /* Ajuste proporcional */
    font-weight: 600 !important;
    color: #f8fafc !important;
}

/* 6. NIVEL 5: Texto Base (Labels, Leyenda, Botones, Selects) */
.audit-item .label,
.legend-item,
.grid-toggle-btn,
.forecast-select {
    font-size: 0.75rem !important; /* Ligeramente más compacto */
    font-weight: 500 !important;
    color: #cbd5e1 !important;
}

/* 7. NIVEL 6: Micro-Texto (Hora, Links, Badges, Fuentes) */
.update-info, 
.smability-link, 
.data-source-footer,
.ai-badge,
.station-badge,
.separator {
    font-size: 0.65rem !important; /* Refinado para que no quite protagonismo */
    font-weight: 500 !important;
}
/* =========================================================
   20. FIXES DE CONTRASTE Y VISIBILIDAD (TOP 3 & BOTONES FLOTANTES)
========================================================= */

/* 1. Fix del Texto Blanco: Solo el nombre de la estación debe ser blanco, no la pastilla */
.hotspot-mini-item span:first-child {
    color: #f8fafc !important; 
}

.alert-azul { 
    background-color: #0284c7 !important; /* Azul sólido y profundo (Ocean Blue) */
    color: #ffffff !important;            /* Texto blanco puro para contraste perfecto */
    border: none !important;
}

/* 2. Colores vibrantes y de alto contraste para las pastillas de lluvia */
.alert-verde { 
    background-color: #22c55e !important; 
    color: #ffffff !important; /* Texto blanco sobre verde oscuro */
    border: none !important;
}
.alert-amarillo { 
    background-color: #facc15 !important; 
    color: #0f172a !important; /* 🚨 Texto oscuro sobre amarillo para que se lea perfecto */
    border: none !important;
}
.alert-naranja { 
    background-color: #f97316 !important; 
    color: #ffffff !important; 
    border: none !important;
}
.alert-rojo { 
    background-color: #ef4444 !important; 
    color: #ffffff !important; 
    border: none !important;
}
.alert-purpura { 
    background-color: #a855f7 !important; 
    color: #ffffff !important; 
    border: none !important;
}

/* --- Botón CTA Panel Lateral --- */
.ecosystem-cta-btn {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 5px;
}
.ecosystem-cta-btn:hover {
    background-color: #7dd3fc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* --- Modal Estructura --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: none; /* Se activa con JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container {
    background: #1e293b;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    background: #0f172a;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 5010;
    width: 40px; height: 40px;
    border-radius: 50%;
    line-height: 1;
}

.modal-content {
    overflow-y: auto;
    padding: 20px;
}

/* --- PDF Viewer --- */
.pdf-wrapper {
    width: 100%;
    height: 500px; /* Ajustable */
    background: #0f172a;
    border-radius: 8px;
    margin-bottom: 30px;
}
.pdf-frame { width: 100%; height: 100%; border: none; border-radius: 8px; }

/* --- Formulario --- */
.cta-form-wrapper {
    background: rgba(15, 23, 42, 0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.cta-form-wrapper h3 { color: #38bdf8; margin-bottom: 5px; }
.cta-form-wrapper p { font-size: 0.85rem; color: #94a3b8; margin-bottom: 20px; }

#leads-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

#leads-form input, #leads-form select, #leads-form textarea {
    background: #0f172a;
    border: 1px solid #334155;
    padding: 12px;
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
}
#leads-form input:focus, #leads-form select:focus { border-color: #38bdf8; }

.textarea-group { position: relative; }
#char-count { position: absolute; bottom: 10px; right: 10px; font-size: 0.7rem; color: #64748b; }

.submit-leads {
    background: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.submit-leads:disabled { opacity: 0.5; cursor: not-allowed; }


.hidden-field { display: none !important; }

/* Responsive */
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .pdf-wrapper { height: 400px; }
}

.success-msg {
    background: #1e293b !important; /* Mismo fondo que la tarjeta */
    border: 2px solid #38bdf8 !important; /* Borde cyan para resaltar */
    border-radius: 12px;
    margin-top: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.4s ease-out;
}

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

/* Ajuste fino para el texto de la Escala de Lluvias */
.legend-item {
    font-size: 0.55rem !important; /* <-- Juega con este valor. Intenta con 0.6rem o 0.55rem */
}

/* --- Botón Play/Pausa de Pronóstico --- */
.play-btn {
    background-color: #38bdf8;
    color: #0f172a; /* Color del icono (Azul marino oscuro) */
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
    transition: all 0.2s ease;
}

.play-btn:hover {
    background-color: #7dd3fc;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.5);
}

.play-btn:active {
    transform: scale(0.95);
}

/* --- Ajuste de Caja de Comentarios (Fija y Profesional) --- */
#f-mensaje {
    min-height: 120px; /* Altura base más grande, similar a tu web principal */
    resize: none; /* 🚨 Esto quita la esquina arrastrable y la deja fija */
    width: 100%;
    font-family: inherit; /* Respeta la tipografía global */
    line-height: 1.4;
}

/* --- Efecto de Resalte (Hover) en la Malla --- */
.grid-cell-model {
    transition: stroke 0.2s, stroke-width 0.2s;
    outline: none;
}

.grid-cell-model:hover {
    stroke: #38bdf8 !important; /* Cyan Smability */
    stroke-width: 2px !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.3 !important; /* Brillo suave al pasar el mouse */
    cursor: crosshair; /* Cambia el puntero a una mira de precisión */
}

/* Transición suave para el Hover de la malla */
.leaflet-interactive {
    transition: fill-opacity 0.2s ease, stroke-opacity 0.2s ease, stroke-width 0.1s ease;
}

/* --- Efecto Sismo Técnico y Discreto --- */
.custom-pulse-container {
    pointer-events: none;
}

.radar-pulse {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 1.5px solid; /* El color se inyecta desde JS */
    box-sizing: border-box;
    animation: radar-discreet 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes radar-discreet {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* =========================================================
   13. BOTONES FLOTANTES DE CONTACTO (GLASSMORPHISM AGRESIVO BAJO)
   Fixes: Color corporativo, anti-empalme móvil, jerarquía visual baja.
========================================================= */

.floating-whatsapp-btn, 
.floating-telegram-btn {
    position: fixed !important;
    right: 20px !important;
    width: 45px !important; 
    height: 45px !important;
    background-color: #334155 !important; /* Fondo discreto corporativo */
    border: 2px solid #38bdf8 !important; /* Borde Baby Blue / Cyan */
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
}

/* Forzar que los iconos (el avión y el teléfono) sean blancos */
.floating-whatsapp-btn svg,
.floating-telegram-btn svg {
    fill: #ffffff !important;
}

/* Efecto Hover: Se encienden en Baby Blue al pasar el mouse */
.floating-whatsapp-btn:hover, 
.floating-telegram-btn:hover {
    background-color: #38bdf8 !important;
    transform: scale(1.1) !important;
}

/* * 🚨 AJUSTE DE POSICIÓN (Reducción ~60% sobre base Desktop)
 * Mantenemos la separación visual de 55px intacta.
 */
.floating-whatsapp-btn {
    /* Base anterior: 90px. Reducción agresiva al ras de la telemetría Mapbox. */
    bottom: 30px !important; 
}
.floating-telegram-btn {
    /* Base anterior: 145px. (30 WA + Gap 55 = 85). */
    bottom: 85px !important; 
}

/* Ajuste Anti-Empalme Blindado y Bajos para Móviles */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        /* Base anterior: 85px (Móvil) -> Reducción ~60% -> 35px. */
        bottom: 35px !important; 
        right: 15px !important;
        width: 40px !important; 
        height: 40px !important;
    }
    .floating-telegram-btn {
        /* Base anterior: 135px (Móvil). (35 WA + Gap 50 = 85). */
        bottom: 85px !important; 
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* =========================================================
   21. GRID DE SOLUCIONES Y FORMULARIO (DISEÑO PREMIUM)
========================================================= */

/* --- Contenedor Principal (Wrapper) --- */
.carousel-wrapper {
    --c-bg: #0f172a;
    --c-bg-card: #1e293b;
    --c-border: rgba(56, 189, 248, 0.15); /* Borde suave cyan */
    --c-text: #ffffff;
    --c-text-dim: #94a3b8;
    --c-accent: #4ade80;       /* Verde Brillante */
    --c-accent-cyan: #38bdf8;  /* Cyan Smability */
    --c-badge-bg: rgba(74, 222, 128, 0.15);
    
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 30px;
    padding: 60px 30px 40px; /* Paddings masivos del diseño original */
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    
    /* Fondo Premium Multicapa */
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
        linear-gradient(145deg, #111827, #0f172a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* --- Cabecera Premium (Jerarquía Visual Extrema) --- */
.carousel-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

/* Logo Blanco Masivo (Sustituye al Eyebrow y al punto pulsante) */
.carousel-wrapper img[alt="Smability Logo"] {
    /* Pasó de clamp(50px, 6vw, 80px) a clamp(65px, 8vw, 105px) */
    height: clamp(65px, 8vw, 105px) !important; 
    display: block !important;
    margin: 0 auto 30px !important; 
    object-fit: contain !important;
}

/* Título Maestro (Blindado) */
.carousel-wrapper h2.section-title {
    font-family: 'Sora', sans-serif !important;
    /* La nueva escala ajustada: */
    font-size: clamp(25px, 4vw, 47px) !important; 
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    max-width: 900px !important;
    margin: 0 auto 20px !important;
    text-transform: none !important; 
    white-space: normal !important;
}

/* El degradado exacto de Verde a Cyan */
.carousel-wrapper h2.section-title em {
    font-style: normal !important;
    background: linear-gradient(120deg, var(--c-accent) 0%, var(--c-accent-cyan) 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important; 
}

/* Subtítulo */
.carousel-wrapper .section-sub {
    font-family: 'Sora', sans-serif !important;
    color: var(--c-text-dim) !important;
    font-size: clamp(16px, 2vw, 19px) !important; 
    line-height: 1.6 !important;
    font-weight: 400 !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    text-transform: none !important;
}

/* =========================================================
   ESTRUCTURA GRID (2 Columnas x 3 Renglones)
========================================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Tarjetas Premium */
.sol-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.sol-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Contenedores con Altura Fija y "Corte" Inteligente */
.card-media {
    aspect-ratio: 4 / 3; 
    position: relative;
    overflow: hidden; 
    background: #000;
}

/* Imagen real dentro del cuadro */
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
}

/* Badge (NUEVO) */
.badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: var(--c-badge-bg); border: 1px solid var(--c-border);
    backdrop-filter: blur(8px); color: var(--c-accent);
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 0.12em; font-weight: 500; padding: 6px 10px; border-radius: 6px;
}

/* Ribbon (Gradients y Separadores) */
.ribbon {
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    background: linear-gradient(90deg, rgba(56,189,248,0.04), rgba(125,211,252,0.04));
    padding: 14px 20px; 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    min-height: 56px;
    position: relative; 
}

/* Inset de Hardware (Marco Circular) */
.hw-inset {
    position: absolute;
    right: 25px;
    top: -72px; 
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: #0b1120; 
    border: 4px solid #1e293b; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sol-card:hover .hw-inset {
    border-color: rgba(56, 189, 248, 0.4); 
    transform: scale(1.05); 
}

.hw-inset span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: #38bdf8;
    text-align: center;
    padding: 5px;
    line-height: 1.2;
}

/* --- Base style para imágenes de Hardware (Actualizado para escalado) --- */
.hw-inset img {
    /* Por defecto, hacemos la imagen un 20% más chica que el contenedor (80% width/height) */
    width: 95%;
    height: 95%;
    
    /* VITAL: Cambiamos 'cover' por 'contain' para asegurar que NO se corte nada */
    object-fit: contain; 
    
    /* Centramos la imagen dentro del flex container .hw-inset */
    margin: auto; 
    
    transition: transform 0.3s ease; /* Mantenemos el efecto hover */
}

/* Textos del Ribbon */
.ribbon-label {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-dim); white-space: nowrap;
}

.ribbon-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.ribbon-name {
    font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 500;
    color: var(--c-text); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.int-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--c-border);
    padding: 5px 10px; border-radius: 999px; font-size: 12px; color: var(--c-text); font-weight: 500;
}

/* Iconos SVG en el Ribbon (Reemplazo de Emojis) */
.ribbon-name { display: flex; align-items: center; gap: 8px; }
.ribbon-name svg { width: 16px; height: 16px; stroke: #38bdf8; flex-shrink: 0; }

/* Contenido de la Tarjeta */
.card-body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    letter-spacing: 0.1em; color: var(--c-accent-cyan); text-transform: uppercase;
}
.card-title { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--c-text); margin: 0; }
.card-desc { font-family: 'Sora', sans-serif; color: var(--c-text-dim); font-size: 14px; line-height: 1.6; font-weight: 300; margin: 0; }


/* =========================================================
   22. FORMULARIO B2B HOMOLOGADO (Sora + JetBrains)
========================================================= */
.cta-form-wrapper {
    background: #1e293b; 
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.2); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-form-wrapper h3 { 
    font-family: 'Sora', sans-serif;
    color: #ffffff; 
    font-size: 1.4rem;
    margin-bottom: 8px; 
}

.cta-form-wrapper p { 
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem; 
    color: #94a3b8; 
    margin-bottom: 25px; 
    line-height: 1.5;
}

#leads-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Inputs Homologados */
#leads-form input, 
#leads-form select, 
#leads-form textarea {
    font-family: 'Sora', sans-serif;
    background: #0f172a; 
    border: 1px solid #334155;
    padding: 14px 16px;
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

#leads-form input::placeholder, 
#leads-form textarea::placeholder { color: #475569; }

/* Efecto Glow al seleccionar un campo */
#leads-form input:focus, 
#leads-form select:focus, 
#leads-form textarea:focus { 
    border-color: #38bdf8; 
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.textarea-group { position: relative; }

#char-count { 
    position: absolute; bottom: 12px; right: 15px; 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.75rem; color: #64748b; 
}

/* Botón de Envío Premium (Gradiente Smability) */
.submit-leads {
    background: linear-gradient(120deg, #4ade80 0%, #38bdf8 100%);
    color: #0f172a;
    border: none;
    padding: 16px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.submit-leads:hover:not(:disabled) { 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.submit-leads:disabled { opacity: 0.5; cursor: not-allowed; }


/* =========================================================
   23. REFINAMIENTOS DE POSICIONAMIENTO (MÁXIMO IMPACTO)
========================================================= */

/* --- 1. iPhone Frame Enormizado --- */
.airegpt-media {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: radial-gradient(circle at 50% 100%, #1e293b, #0b1120);
    overflow: hidden; 
}

.iphone-frame {
    width: 230px; 
    height: 95%; 
    background: #000000;
    border: 6px solid #334155;
    border-bottom: none;
    border-radius: 28px 28px 0 0; /* Bordes curvos arriba */
    overflow: hidden; /* Corta la imagen de Telegram a la curva del cel */
    position: relative;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.6);
    z-index: 5;
    transition: transform 0.3s ease;
}

.sol-card:hover .iphone-frame { transform: translateY(-5px); }

.iphone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 20px;
    background: #334155;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.iphone-screen {
    width: 100%; height: 100%;
    padding-top: 40px; background: #0f172a;
    display: flex; align-items: center; justify-content: center; text-align: center;
}

.iphone-screen img {
    width: 100%; height: 100%;
    object-fit: cover; 
    object-position: top; /* Ancla la imagen arriba (para que se vea el header del chat) */
}

/* =========================================================
   MEDIA QUERIES (Móviles)
========================================================= */
@media (max-width: 768px) {
    .carousel-wrapper { padding: 30px 15px 20px; }
    .carousel-header { margin-bottom: 40px !important; }
    
    .solutions-grid { grid-template-columns: 1fr; } /* 1 tarjeta por renglón en móviles */
    
    .card-body { padding: 18px 20px; }
    .ribbon { padding: 12px 16px; }
    
    .form-row { grid-template-columns: 1fr; }
    .cta-form-wrapper { padding: 25px 20px; }
}

/* =========================================================
   24. SELECTOR DE MODOS (HEADER)
========================================================= */
.mode-select {
    background: rgba(15, 23, 42, 0.8);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    margin-top: 4px;
    font-family: inherit;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.mode-select:hover, 
.mode-select:focus {
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.mode-select option {
    background: #0f172a;
    color: #f8fafc;
    font-weight: 500;
}

/* Ajuste móvil para el select */
@media (max-width: 768px) {
    .mode-select {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Animación para el radio de precisión de la ubicación */
@keyframes locationPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
.user-pulse-ring {
    position: absolute;
    top: -14px;
    left: -14px;
    background: rgba(37, 99, 235, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    animation: locationPulse 2s infinite ease-out;
    pointer-events: none;
}

/* =========================================================
   EFECTO RADAR EN BRUTO (Anti-Blur Blindado para Móviles)
========================================================= */
.retro-radar-pixels,
.retro-radar-pixels img {
    image-rendering: -webkit-optimize-contrast !important; /* Safari móvil */
    image-rendering: -moz-crisp-edges !important;
    image-rendering: crisp-edges !important;
    image-rendering: pixelated !important; /* Chrome móvil */
    -ms-interpolation-mode: nearest-neighbor !important;
}


