:root {

    --negro: #101010;
    --negro-suave: #1b1b1b;

    --rojo: #e50914;
    --rojo-claro: #ff2936;
    --rojo-oscuro: #b20710;

    --amarillo: #ffd60a;
    --amarillo-claro: #ffe66d;

    --verde: #16a34a;
    --verde-claro: #25d366;
    --verde-oscuro: #087f23;

    --verde-neon: #39ff14;
    --verde-neon-claro: #7cff5b;

    --azul-mar: #087ea4;
    --azul-oceano: #05668d;
    --azul-profundo: #023047;
    --azul-claro: #48cae4;
    --agua: #90e0ef;

    --blanco: #ffffff;
    --gris: #626262;
    --gris-claro: #eeeeee;

}


/* =====================================================
   RESETEO
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000000;
    color: var(--blanco);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 9999;

    background: var(--verde);
    border: 3px solid var(--verde-neon);
    border-radius: 50px;

    padding: 8px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .5),
        0 0 5px rgba(57, 255, 20, 1),
        0 0 15px rgba(57, 255, 20, .9),
        0 0 30px rgba(57, 255, 20, .7),
        0 0 55px rgba(57, 255, 20, .4);

    transition:
        transform .4s ease,
        background .4s ease,
        box-shadow .4s ease;

    animation: navbarEntrada .7s ease forwards;
}


/* =====================================================
   NAVBAR HOVER
===================================================== */

.navbar:hover {
    transform: translateX(-50%) translateY(-4px) scale(1.03);
    background: var(--verde-claro);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .5),
        0 0 5px rgba(57, 255, 20, 1),
        0 0 18px rgba(57, 255, 20, 1),
        0 0 35px rgba(57, 255, 20, .9),
        0 0 60px rgba(57, 255, 20, .6);
}


/* =====================================================
   NAVBAR SCROLL
===================================================== */

.navbar.scrolled {
    transform: translateX(-50%) translateY(-5px) scale(.97);
    background: var(--verde-oscuro);
}


/* =====================================================
   CONTENEDOR NAVBAR
===================================================== */

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* =====================================================
   LOGO
===================================================== */

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--verde-neon);
    background: var(--verde);

    box-shadow:
        0 0 5px rgba(57, 255, 20, 1),
        0 0 15px rgba(57, 255, 20, .7),
        0 0 25px rgba(57, 255, 20, .4);

    transition: transform .3s ease;
}

.brand-logo:hover {
    transform: scale(1.08) rotate(-3deg);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =====================================================
   ENLACES NAVBAR
===================================================== */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 15px;
    border-radius: 30px;

    color: rgba(255, 255, 255, .95);

    /* CAMBIO: antes .82rem */
    font-size: .92rem;
    font-weight: 700;
    white-space: nowrap;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.nav-links a:hover {
    background: var(--amarillo);
    color: #000000;
    transform: translateY(-2px);

    box-shadow:
        0 0 8px rgba(255, 214, 10, .8),
        0 0 18px rgba(255, 214, 10, .5);
}


/* =====================================================
   LINK ACTIVO
===================================================== */

.nav-links a.active {
    background: var(--amarillo);
    color: #000000;

    box-shadow:
        0 0 8px rgba(255, 214, 10, .8),
        0 0 18px rgba(255, 214, 10, .4);
}


/* =====================================================
   SECCION UBICACION
===================================================== */

.location-section {
    position: relative;
    min-height: 100vh;
    padding: 100px 7% 150px;
    overflow: hidden;

    background:
        radial-gradient(circle at 50% 0%, rgba(229, 9, 20, .16), transparent 35%),
        radial-gradient(circle at 10% 70%, rgba(22, 163, 74, .12), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 214, 10, .08), transparent 30%),
        linear-gradient(180deg, #000000 0%, #010508 55%, #020202 100%);
}


/* =====================================================
   EFECTO OCEANO
===================================================== */

.location-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;

    background:
        radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 214, 10, .08) 1px, transparent 2px);

    background-size: 90px 90px, 140px 140px;
    opacity: .5;
    animation: movimientoFondo 18s linear infinite;
}


/* =====================================================
   BALLENA
===================================================== */

.location-section::after {
    content: "🐋";
    position: absolute;
    left: -150px;
    top: 250px;
    font-size: 75px;
    opacity: .10;
    pointer-events: none;
    animation: ballena 28s linear infinite;
}


/* =====================================================
   ANIMACION FONDO
===================================================== */

@keyframes movimientoFondo {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-30px, 20px); }
    100% { transform: translate(0, 0); }
}


/* =====================================================
   ANIMACION BALLENA
===================================================== */

@keyframes ballena {
    0%   { transform: translateX(0) translateY(0); }
    50%  { transform: translateX(60vw) translateY(-20px); }
    100% { transform: translateX(120vw) translateY(10px); }
}


/* =====================================================
   ENCABEZADO
===================================================== */

.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto 35px;
    animation: aparecer .7s ease forwards;
}


/* =====================================================
   ETIQUETA
===================================================== */

.section-label {
    display: inline-block;
    color: var(--verde-neon);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;

    text-shadow:
        0 0 5px rgba(57, 255, 20, .8),
        0 0 12px rgba(57, 255, 20, .5);
}

.section-label::before,
.section-label::after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 3px;
    margin: 0 10px;
    vertical-align: middle;
    background: var(--verde-neon);
    border-radius: 10px;

    box-shadow:
        0 0 5px rgba(57, 255, 20, 1),
        0 0 15px rgba(57, 255, 20, .8);
}


/* =====================================================
   TITULO
===================================================== */

.section-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--blanco);
    text-shadow: 0 4px 15px rgba(0, 0, 0, .8);
}

.section-header h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 10px;
    background: var(--verde-neon);

    box-shadow:
        0 0 5px rgba(57, 255, 20, 1),
        0 0 15px rgba(57, 255, 20, .8),
        0 0 30px rgba(57, 255, 20, .5);
}

.section-header p {
    margin: 18px auto 0;
    max-width: 600px;
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
    line-height: 1.6;
}


/* =====================================================
   MENU COMPATIBILIDAD / HORARIO
===================================================== */

.location-menu {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 650px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}


/* =====================================================
   BOTONES MINIMALISTAS
===================================================== */

.location-menu-button {
    flex: 1;
    min-height: 52px;
    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;

    background: rgba(16, 16, 16, .72);
    color: rgba(255, 255, 255, .72);

    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


/* =====================================================
   ICONO BOTON
===================================================== */

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .65);
    transition: color .3s ease, transform .3s ease;
}


/* =====================================================
   FLECHA
===================================================== */

.menu-arrow {
    font-size: .65rem;
    color: rgba(255, 255, 255, .45);
    transition: transform .3s ease, color .3s ease;
}


/* =====================================================
   HOVER BOTONES
===================================================== */

.location-menu-button:hover {
    transform: translateY(-2px);
    background: rgba(57, 255, 20, .08);
    color: var(--verde-neon);
    border-color: rgba(57, 255, 20, .55);

    box-shadow:
        0 0 8px rgba(57, 255, 20, .18),
        0 0 18px rgba(57, 255, 20, .10);
}

.location-menu-button:hover .menu-icon {
    color: var(--verde-neon);
    transform: scale(1.05);
}

.location-menu-button:hover .menu-arrow {
    color: var(--verde-neon);
}


/* =====================================================
   BOTON ACTIVO
===================================================== */

.location-menu-button.active {
    background: rgba(57, 255, 20, .10);
    color: var(--verde-neon);
    border-color: rgba(57, 255, 20, .65);

    box-shadow:
        0 0 8px rgba(57, 255, 20, .20),
        0 0 18px rgba(57, 255, 20, .10);
}

.location-menu-button.active .menu-icon {
    color: var(--verde-neon);
}

.location-menu-button.active .menu-arrow {
    color: var(--verde-neon);
}


/* =====================================================
   FLECHA ACTIVA
===================================================== */

.location-menu-button.active .menu-arrow {
    transform: rotate(180deg);
}


/* =====================================================
   INFORMACION DESPLEGABLE
===================================================== */

.location-details {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
}


/* =====================================================
   INFORMACION OCULTA
===================================================== */

.location-detail {
    display: none;
}


/* =====================================================
   INFORMACION MOSTRADA
===================================================== */

.location-detail.show {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px 22px;
    margin-bottom: 15px;

    background: rgba(16, 16, 16, .72);
    color: var(--blanco);

    border-radius: 20px;
    border: 1px solid rgba(57, 255, 20, .35);

    box-shadow: 0 0 10px rgba(57, 255, 20, .12);

    animation: mostrarInformacion .35s ease forwards;
}


/* =====================================================
   CONTENIDO INFORMACION
===================================================== */

.detail-content {
    width: 100%;
    text-align: center;
}


/* =====================================================
   TITULO INFORMACION
===================================================== */

.detail-content h2 {
    margin: 0 0 15px;
    color: var(--verde-neon);
    font-size: 1rem;
    font-weight: 700;
}


/* =====================================================
   TEXTO INFORMACION
===================================================== */

.detail-content p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .85rem;
    line-height: 1.6;
}


/* =====================================================
   ICONO INFORMACION
===================================================== */

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}


/* =====================================================
   COMPATIBILIDAD APPLE / ANDROID
===================================================== */

.platform-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}


/* =====================================================
   PLATAFORMAS
===================================================== */

.platform-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-weight: 600;

    transition: color .3s ease, transform .3s ease;
}

.platform-item i {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, .7);
    transition: color .3s ease, transform .3s ease;
}

.platform-item:hover {
    color: var(--verde-neon);
    transform: translateY(-2px);
}

.platform-item:hover i {
    color: var(--verde-neon);
    transform: scale(1.1);
}


/* =====================================================
   MAPA
===================================================== */

.location-map {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    min-height: 400px;
    margin: 0 auto;
    overflow: hidden;

    border-radius: 25px;
    border: 3px solid rgba(255, 255, 255, .08);
    background: var(--blanco);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .4),
        0 0 25px rgba(72, 202, 228, .15);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;
}


/* =====================================================
   MAPA HOVER
===================================================== */

.location-map:hover {
    transform: translateY(-5px);
    border-color: var(--verde-neon);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .5),
        0 0 15px rgba(57, 255, 20, .5),
        0 0 35px rgba(57, 255, 20, .25);
}


/* =====================================================
   IFRAME GOOGLE MAPS
===================================================== */

.location-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}


/* =====================================================
   CONTENEDOR BOTON COMO LLEGAR
===================================================== */

.map-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, .08);
}


/* =====================================================
   BOTON GOOGLE MAPS
===================================================== */

.location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 24px;
    border-radius: 25px;

    background: rgba(16, 16, 16, .75);
    color: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .14);

    font-size: .85rem;
    font-weight: 600;
    box-shadow: none;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}


/* =====================================================
   HOVER GOOGLE MAPS
===================================================== */

.location-button:hover {
    transform: translateY(-2px);
    background: rgba(57, 255, 20, .08);
    color: var(--verde-neon);
    border-color: rgba(57, 255, 20, .55);

    box-shadow:
        0 0 8px rgba(57, 255, 20, .18),
        0 0 18px rgba(57, 255, 20, .10);
}


/* =====================================================
   WHATSAPP FLOTANTE
   (una sola regla: tamaño 48px, separado del borde
   y por encima de la burbuja del menú)
===================================================== */

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: calc(110px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    z-index: 999;
}

.whatsapp-float img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    position: relative;
    background: #080808;
    padding: 60px 7% 25px;
    color: var(--blanco);
}


/* =====================================================
   CENTRAR MARCA DEL FOOTER
===================================================== */

.footer {
    text-align: center;
}

.footer-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-brand h3 {
    color: var(--amarillo);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}


/* =====================================================
   LINEA FOOTER
===================================================== */

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--verde-neon),
        var(--amarillo),
        var(--rojo)
    );

    box-shadow: 0 0 10px rgba(57, 255, 20, .6);
}


/* =====================================================
   CONTENEDOR FOOTER
===================================================== */

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}


/* =====================================================
   LOGO FOOTER
===================================================== */

.footer-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--verde-neon);
    margin-bottom: 12px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =====================================================
   FOOTER TITULOS
===================================================== */

.footer h3 {
    color: var(--amarillo);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-brand h3 {
    margin-bottom: 8px;
}

.footer-brand p,
.footer-contact p {
    color: rgba(255, 255, 255, .65);
    font-size: .88rem;
    line-height: 1.7;
}


/* =====================================================
   LINKS FOOTER
===================================================== */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    transition: color .25s ease, transform .25s ease;
}

.footer-links a:hover {
    color: var(--verde-neon);
    transform: translateX(5px);
}


/* =====================================================
   REDES SOCIALES
===================================================== */

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 15px 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    background: #1a1a1a;
    border-radius: 50%;
    border: 2px solid #2e2e2e;

    color: #ffffff;
    text-decoration: none;
    font-size: 24px;

    transition:
        transform .3s ease,
        color .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #00AEFF;
    border-color: #00AEFF;
    box-shadow: 0 0 15px #00AEFF;
}

.social-icons a i {
    font-size: 26px;
    color: #b0b0b0;
    transition: color .3s ease;
}

.social-icons a:hover i {
    color: #ffffff;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 110px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .4);
    font-size: .8rem;
}


/* =====================================================
   ANIMACIONES
===================================================== */

@keyframes navbarEntrada {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(70px) scale(.5);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

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

@keyframes mostrarInformacion {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =====================================================
   RESPONSIVE 800px
===================================================== */

@media (max-width: 800px) {

    .location-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   RESPONSIVE 600px
===================================================== */

@media (max-width: 600px) {

    .location-section {
        padding-top: 85px;
        padding-bottom: 130px;
    }

    /* MENU HORIZONTAL SE MANTIENE */

    .location-menu {
        gap: 8px;
    }

    .location-menu-button {
        min-height: 50px;
        padding: 9px 10px;
        font-size: .76rem;
        gap: 5px;
    }

    .menu-icon {
        font-size: 1rem;
    }

    .menu-arrow {
        font-size: .55rem;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .section-label::before,
    .section-label::after {
        width: 20px;
        margin: 0 5px;
    }

    /* COMPATIBILIDAD EN MOVIL */

    .location-detail.show {
        padding: 18px;
    }

    .detail-content h2 {
        font-size: 1rem;
    }

    .detail-content p {
        font-size: .82rem;
    }

    .platform-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .platform-item {
        font-size: .8rem;
    }

    .platform-item i {
        font-size: 1.3rem;
    }

    .location-map {
        min-height: 350px;
    }

    .location-map iframe {
        height: 350px;
    }

    .map-actions {
        padding: 10px;
    }

    .location-button {
        padding: 9px 18px;
        font-size: .78rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    /* (la regla de .whatsapp-float de 54px se eliminó de aquí) */

    /* CAMBIO: burbuja del menú más grande */
    .nav-links a {
        padding: 12px 12px;
        font-size: .95rem;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

}


/* =====================================================
   RESPONSIVE 420px
===================================================== */

@media (max-width: 420px) {

    .navbar {
        max-width: calc(100% - 12px);
    }

    .nav-container {
        gap: 3px;
    }

    .nav-links {
        gap: 4px;
    }

    /* CAMBIO: burbuja del menú más grande en celulares */
    .nav-links a {
        padding: 12px 10px;
        font-size: .9rem;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
    }

    .location-menu-button {
        font-size: .72rem;
    }

    .location-menu-button .menu-icon {
        font-size: 1rem;
    }

}