/* =========================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
========================================= */
:root {
    --bg-dark: #0a0514;
    --bg-card: rgba(20, 10, 35, 0.6);
    --bg-dock: rgba(10, 5, 20, 0.65);
    --lila-neon: #a855f7;
    --lila-glow: #d8b4fe;
    --cyan-accent: #22d3ee;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(168, 85, 247, 0.15);
    --bg-input: rgba(255, 255, 255, 0.05);
    --bg-footer: #05020a;
    --bg-bento: rgba(15, 5, 24, 0.6);
    --bg-bento-large: linear-gradient(145deg, rgba(20, 10, 35, 0.8), rgba(10, 5, 20, 0.9));
    --bg-about: linear-gradient(180deg, #05020a, transparent);
    --bg-about-card: rgba(20, 10, 35, 0.6);
    --bg-about-card-hover: rgba(25, 10, 45, 0.8);
    --bg-contact-panel: rgba(20, 10, 35, 0.6);
    --bg-input: rgba(0, 0, 0, 0.3);
    
    /* Efectos */
    --glass-border: 1px solid var(--border-color);
    --neon-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    --blur-effect: blur(16px);
}



html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 75px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .velocidad, .region-title {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.5px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   MENÚ GLASS DOCK
========================================= */
.glass-dock {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 92%;
    max-width: 980px;
}

.dock-inner {
    background: var(--bg-dock);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

.dock-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    padding-left: 20px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.dock-logo {
    height: 60px;
    transform: scale(1.7) translateY(4px);
    transform-origin: 0% 50%;
    width: auto;
    object-fit: contain;
    margin-left: 10px;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

.dock-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.dock-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dock-link:hover {
    color: var(--lila-glow);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.dock-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dock-cta {
    background: var(--lila-neon);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dock-cta:hover {
    background: #d8b4fe;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    transform: scale(1.05);
}

.dock-cta-login {
    background: rgba(168, 85, 247, 0.15);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--lila-neon);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.dock-cta-login:hover {
    background: var(--lila-neon);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    transform: scale(1.05);
}

.dock-link-login-mobile {
    display: none;
}

/* =========================================
   BOTONES MODERNOS
========================================= */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--lila-neon), #7e22ce);
    color: white;
    box-shadow: var(--neon-shadow);
}
.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
}

.btn-outline-small {
    background: transparent;
    border: 1px solid var(--lila-neon);
    color: var(--lila-neon);
    padding: 10px 24px;
    font-size: 0.8rem;
}
.btn-outline-small:hover {
    background: var(--lila-neon);
    color: white;
    box-shadow: var(--neon-shadow);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
    background-color: var(--bg-dark);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hero-video.is-loaded {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-orbs {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 40%);
    filter: blur(60px);
}

/* =========================================
   FIBER OPTIC ANIMATION
========================================= */
.fiber-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.fiber-line {
    position: absolute;
    opacity: 0;
    filter: drop-shadow(0 0 12px currentColor);
}

.fiber-line.vert {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, transparent, currentColor, transparent);
}

.fiber-line.horiz {
    width: 250px;
    height: 2px;
    background: linear-gradient(to right, transparent, currentColor, transparent);
}

/* Vertical lines */
.fiber-line:nth-child(1) { left: 15%; color: var(--cyan-accent); height: 250px; animation: fiberShoot 3s infinite linear; }
.fiber-line:nth-child(2) { left: 35%; color: var(--lila-neon); height: 200px; animation: fiberShoot 4.5s infinite linear 1s; }
.fiber-line:nth-child(3) { left: 65%; color: var(--cyan-accent); height: 180px; animation: fiberShoot 3.8s infinite linear 2s; }
.fiber-line:nth-child(4) { left: 85%; color: var(--lila-neon); height: 300px; animation: fiberShoot 3.2s infinite linear 0.5s; }
.fiber-line:nth-child(5) { left: 50%; color: #fff; height: 120px; animation: fiberShoot 5s infinite linear 1.5s; }

/* Horizontal lines */
.fiber-line:nth-child(6) { top: 25%; color: var(--lila-neon); animation: fiberShootH 6s infinite linear; }
.fiber-line:nth-child(7) { top: 65%; color: var(--cyan-accent); width: 350px; animation: fiberShootH 4.5s infinite linear 2s; }
.fiber-line:nth-child(8) { top: 85%; color: var(--lila-neon); animation: fiberShootH 5s infinite linear 1s; }

@keyframes fiberShoot {
    0% { transform: translateY(-30vh); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(130vh); opacity: 0; }
}

@keyframes fiberShootH {
    0% { transform: translateX(-30vw); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateX(130vw); opacity: 0; }
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(168, 85, 247, 0.15);
    color: var(--lila-glow);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 40px;
}

.promo-tag {
    display: block;
    width: max-content;
    margin: 20px auto 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid var(--cyan-accent);
    padding: 8px 24px;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* =========================================
   TITULOS DE SECCION MODERNOS
========================================= */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--lila-neon), transparent);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--lila-glow);
}

/* =========================================
   BENTO GRID DARK (CORREGIDO)
========================================= */
.benefits-section {
    padding: 80px 0;
    background-color: var(--bg-footer); /* Utilizar color variable */
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas para desktop */
    gap: 20px;
}

/* La primera tarjeta ocupa 2 columnas para dar jerarquía */
.bento-card.large {
    grid-column: span 2;
    background: var(--bg-bento-large);
}

.bento-card {
    background: var(--bg-bento);
    border: 1px solid var(--border-color); /* Borde sutil */
    border-radius: 24px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto Hover Futurista */
.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--lila-neon);
    box-shadow: 0 10px 40px -10px rgba(168, 85, 247, 0.2);
    background: rgba(20, 10, 35, 0.8);
}

/* Contenedor del Icono SVG */
.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--lila-glow);
    transition: all 0.3s ease;
}

.bento-card:hover .icon-box {
    background: var(--lila-neon);
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transform: scale(1.1);
}

.icon-box svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Animaciones temáticas para SVG en Bento Grid al pasar el cursor */
.bento-card:hover .svg-lightning { animation: flashLightning 0.6s infinite alternate; }
.bento-card:hover .svg-wifi { animation: pulseWifi 1s infinite alternate; }
.bento-card:hover .svg-gamepad { animation: vibrateController 0.3s infinite; }
.bento-card:hover .svg-chat { animation: bounceChat 1s infinite; }
.bento-card:hover .svg-play { animation: pulsePlay 1s infinite; }
.bento-card:hover .svg-shield { animation: blockShield 0.5s ease-out forwards; }

@keyframes flashLightning {
    0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 0 white); }
    100% { transform: scale(1.15) translateY(-3px); filter: drop-shadow(0 0 8px white); }
}
@keyframes pulseWifi {
    0% { opacity: 0.6; transform: scale(0.9); filter: drop-shadow(0 0 0 white); }
    100% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 8px white); }
}
@keyframes vibrateController {
    0% { transform: rotate(0deg) translate(0, 0); }
    25% { transform: rotate(-8deg) translate(-2px, -1px); }
    50% { transform: rotate(8deg) translate(2px, 1px); filter: drop-shadow(0 0 5px white); }
    75% { transform: rotate(-8deg) translate(-1px, 2px); }
    100% { transform: rotate(0deg) translate(0, 0); }
}
@keyframes bounceChat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); filter: drop-shadow(0 0 6px white); }
}
@keyframes pulsePlay {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 white); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px white); }
}
@keyframes blockShield {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(-15deg); filter: drop-shadow(0 0 8px white); }
    100% { transform: scale(1) rotate(0deg); }
}

.bento-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.bento-card p {
    color: #94a3b8; /* Gris azulado para texto secundario */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive para Bento Grid */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card.large { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
}

/* =========================================
   PLANES HOLOGRÁFICOS
========================================= */
.plans-section {
    padding: 60px 0;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}

.grid-planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.plan-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px 25px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

/* When exactly 4 plans exist, force a 2x2 grid on medium/large screens before they go to 1 column */
@media (min-width: 600px) and (max-width: 1199px) {
    .grid-planes:has(> .plan-card:nth-child(4):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .grid-planes:has(> .plan-card:nth-child(4):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plan-card.featured {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid var(--lila-neon);
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.15);
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--lila-neon);
}

.plan-card.featured:hover {
    transform: translateY(-15px) scale(1.1);
}

.ribbon-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lila-neon);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--lila-neon);
}

.velocidad {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    margin: 15px 0;
    color: var(--text-main);
}

.velocidad small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.neon-text {
    text-shadow: 0 0 20px var(--lila-neon);
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-main);
}

.moneda, .mes {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✦';
    color: var(--lila-neon);
}

.btn-wa {
    width: 100%;
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.btn-wa:hover {
    background: var(--lila-neon);
    border-color: var(--lila-neon);
    box-shadow: var(--neon-shadow);
}

.disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 40px;
}

/* =========================================
   SECCIÓN DE COBERTURA HOLOGRÁFICA
========================================= */
.coverage-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
    position: relative;
}

.coverage-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.coverage-region {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.coverage-region:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: var(--lila-neon);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}

.region-title {
    font-size: 1.2rem;
    color: var(--lila-glow);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.region-title svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.zone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zone-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: default;
}

.coverage-region:hover .zone-tag {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: white;
}

.coverage-cta {
    text-align: center;
    padding: 30px;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 16px;
    border: 1px dashed rgba(168, 85, 247, 0.3);
}

.coverage-cta p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* =========================================
   MAPA CUSTOM MARKERS NEON
========================================= */
.neon-pin {
    background: transparent;
    border: none;
}

.pin-marker {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
    transition: transform 0.3s ease;
}

.pin-marker:hover {
    transform: scale(1.1) translateY(-5px);
}

.pin-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--lila-neon);
    border-radius: 50%;
    z-index: -1;
    top: 5px;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    80% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(3); opacity: 0; }
}

/* =========================================
   LEAFLET POPUP MODERN NEON
========================================= */
.leaflet-popup-content-wrapper {
    background: rgba(15, 5, 24, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 12px !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25) !important;
}

.leaflet-popup-tip {
    background: rgba(15, 5, 24, 0.95) !important;
    /* La punta del popup usa bordes para el triángulo en CSS */
}

.leaflet-popup-content {
    margin: 15px !important;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.leaflet-popup-content .popup-title {
    color: var(--lila-glow) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.leaflet-popup-content .popup-region {
    color: #94a3b8 !important;
    font-size: 0.85rem;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #94a3b8 !important;
    padding: 6px 6px 0 0 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--lila-neon) !important;
}

/* =========================================
   FOOTER & FLOATING WA
========================================= */
/* Footer Minimalista Actualizado */
.footer-modern {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-footer);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
    /* Margen de seguridad brutal para evitar el botón de WhatsApp flotante */
    padding-right: 80px; 
}

.footer-left {
    width: 100%;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-modern p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.footer-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 15px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-center h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--lila-neon);
    transform: translateX(5px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-right h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    color: var(--lila-neon);
    transition: 0.3s;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.social-icon:hover {
    background: var(--lila-neon);
    color: white;
    box-shadow: 0 0 15px var(--lila-glow);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding-right: 0;
        text-align: center;
        padding-bottom: 80px; /* Para que al scrollear no tape nada */
    }
    
    .footer-center, .footer-right {
        align-items: center;
    }
}

.wa-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
    transition: all 0.3s ease;
    z-index: 1000;
}

.wa-float-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.9);
}

/* =========================================
   ANIMACIONES REVEAL
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .bento-card.large { grid-column: span 1; }
    .plan-card.featured { transform: scale(1); }
    .plan-card.featured:hover { transform: translateY(-10px); }
    .coverage-grid { grid-template-columns: 1fr; }
    
    /* Reduce spacing between sections on mobile */
    .benefits-section, .contact-section, .about-section { padding: 50px 0; }
    .plans-section, .coverage-section { padding: 60px 0; }
}

/* =========================================
   LAYOUT COBERTURA MAPA + LISTADO
========================================= */
.coverage-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.coverage-map-container {
    flex: 2; /* El mapa ocupa más espacio (2/3) */
    position: relative;
}

#coverage-map {
    height: 500px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    z-index: 1;
    background-color: #0a0514;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.coverage-list-container {
    flex: 1; /* El listado ocupa 1/3 */
    background: rgba(20, 10, 35, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 24px;
    padding: 25px;
    backdrop-filter: blur(10px);
    max-height: 500px;
    overflow-y: auto;
}

.list-heading {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--lila-glow);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.coverage-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coverage-region-compact h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.coverage-region-compact h4:hover {
    color: var(--lila-glow);
}

.coverage-region-compact h4 > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coverage-region-compact h4 svg:not(.chevron-icon) {
    width: 16px;
    height: 16px;
    color: var(--lila-neon);
}

.chevron-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.coverage-region-compact h4.open .chevron-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    display: none;
    padding-top: 15px;
    padding-bottom: 5px;
}

.collapsible-content.active {
    display: flex;
}

.zone-tags-compact {
    flex-wrap: wrap;
    gap: 8px;
}

.zone-tag-compact {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zone-tag-compact:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--lila-neon);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.2);
}

/* Scrollbar personalizado para el listado */
.coverage-list-container::-webkit-scrollbar {
    width: 6px;
}
.coverage-list-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}
.coverage-list-container::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 10px;
}
.coverage-list-container::-webkit-scrollbar-thumb:hover {
    background: var(--lila-neon);
}

/* =========================================
   MARKER CLUSTER CUSTOM NEON STYLES
========================================= */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(168, 85, 247, 0.3) !important;
    border-radius: 50%;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(168, 85, 247, 0.8) !important;
    color: white !important;
    border: 1px solid #d8b4fe;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.marker-cluster:hover div {
    background-color: #a855f7 !important;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.9);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .coverage-layout {
        flex-direction: column;
    }
    .coverage-map-container, .coverage-list-container {
        flex: none;
        width: 100%;
    }
}

/* =========================================
   CONTACTANOS SECCION
========================================= */
.contact-section {
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.contact-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-map-panel {
    flex: 1;
    background: var(--bg-contact-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.contact-form-panel {
    flex: 1;
    background: var(--bg-contact-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.contact-form-panel .form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.contact-form-panel .form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-input);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.contact-form-panel .form-control:focus {
    border-color: var(--lila-neon);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.contact-form-panel .form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos específicos para el desplegable (Select) */
.contact-form-panel select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.contact-form-panel select.form-control option {
    background-color: #0a0514;
    color: #fff;
    padding: 10px;
}

/* Marker de usuario */
.user-pin svg {
    filter: drop-shadow(0 0 5px #25D366);
}

.btn-locate {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--lila-neon);
    padding: 10px 24px;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
}
.btn-locate:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--lila-neon);
    color: white;
}

@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
    }
}

/* =========================================
   SOBRE NOSOTROS
========================================= */
.about-section {
    padding: 80px 0 40px 0;
    position: relative;
    background: var(--bg-about);
}

.about-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-modern-list {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid rgba(168, 85, 247, 0.2);
    margin-left: 15px;
}

.modern-list-item {
    position: relative;
    padding: 30px 0 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.modern-list-item:last-child {
    border-bottom: none;
}

.modern-list-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 35px;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--lila-neon);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modern-list-item:hover::before {
    background: var(--lila-neon);
    box-shadow: 0 0 15px var(--lila-glow);
    transform: scale(1.3);
}

.modern-list-item:hover {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
}

.modern-list-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.modern-icon-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--lila-neon);
    transition: all 0.3s ease;
}

.modern-list-item:hover .modern-icon-glow {
    background: var(--lila-neon);
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    transform: scale(1.1);
}

.modern-list-header h4 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin: 0;
    transition: color 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.modern-list-item:hover .modern-list-header h4 {
    color: var(--lila-glow);
}

.modern-list-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
    }
    
    .glass-dock {
        top: 15px;
        width: 95%;
    }
    
    .dock-inner {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 8px 12px;
    }

    .dock-brand {
        order: 1;
        padding-left: 6px;
        flex-shrink: 0;
    }

    .dock-logo {
        height: 54px;
        transform: scale(1.5) translateY(2px);
        transform-origin: 0% 50%;
        margin-left: 5px;
    }

    .dock-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: transparent;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1001;
    }

    .mobile-menu-btn svg {
        width: 28px;
        height: 28px;
        display: block;
    }

    .dock-links {
        order: 3;
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 18px 0 14px 0;
        gap: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 10px;
    }

    .dock-links.active {
        display: flex !important;
        animation: slideDown 0.3s ease forwards;
    }

    .dock-link-login-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: rgba(168, 85, 247, 0.15);
        border: 1px solid var(--lila-neon);
        color: white;
        padding: 10px 28px;
        border-radius: 50px;
        font-size: 0.88rem;
        font-weight: 700;
        font-family: 'Space Grotesk', sans-serif;
        text-decoration: none;
        margin-top: 6px;
        transition: all 0.3s ease;
        width: fit-content;
        align-self: center;
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    }

    .dock-link-login-mobile:hover {
        background: var(--lila-neon);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 500px) {
    .glass-dock {
        top: 10px;
        width: 96%;
    }

    .dock-inner {
        padding: 6px 12px;
    }

    .dock-brand {
        padding-left: 4px;
    }

    .dock-logo {
        height: 50px;
        transform: scale(1.4) translateY(2px);
        transform-origin: 0% 50%;
        margin-left: 3px;
    }

    .mobile-menu-btn {
        padding: 6px;
    }

    .mobile-menu-btn svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    .promo-tag {
        font-size: 0.95rem;
        padding: 6px 18px;
    }
    .wa-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
    }
    .wa-float-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* =========================================
   FILTRO MAPA OSM DARK MODE
========================================= */
.leaflet-layer,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out,
.leaflet-control-attribution {
  filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}