/* ======================================================
   RESET
====================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ======================================================
   VARIABLES
====================================================== */

:root{

    --primary:#76FF45;

    --bg:#000000;

    --text:#ffffff;

    --button-gradient:
    linear-gradient(
        to bottom,
        #003300 0%,
        #005500 45%,
        #002200 50%,
        #004400 100%
    );

}

/* ======================================================
   BASE
====================================================== */

body{

    background:var(--bg);

    color:var(--text);

    font-family:Arial,sans-serif;

    overflow-x:hidden;

}

/* ======================================================
   HEADER
====================================================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:150px;

    background:#000;

    overflow:hidden;

    z-index:10;

    border-bottom:2px solid #111;

}

.layer-content{

    position:relative;

    z-index:2;

    width:100%;

    max-width:1400px;

    height:100%;

    margin:auto;

    padding-inline:40px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

}

.header-top{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    width:100%;

    min-height:95px;

}

.logo-container{

    display:flex;

    align-items:center;

}

.site-logo{

    height:110px;

    width:auto;

    object-fit:contain;

    filter:
    drop-shadow(
        0 0 12px
        rgba(0,255,180,.4)
    );

}

/* ======================================================
   NAV
====================================================== */

.glass-nav{

    display:flex;

    justify-content:center;

    gap:4px;

    width:100%;

}

.nav-item{

    display:inline-block;

    padding:12px 30px;

    color:#fff;

    text-decoration:none;

    font-size:13px;

    font-weight:bold;

    letter-spacing:1px;

    border-radius:10px 10px 0 0;

    border:none;

    background:var(--button-gradient);

    box-shadow:

    inset 0 1px 0 rgba(255,255,255,.4),

    inset 0 10px 10px rgba(255,255,255,.15),

    0 4px 6px rgba(0,0,0,.5);

    transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;

}
/* ======================================================
   ACTIVE MENU STATE
====================================================== */

.nav-item{

position:relative;

transition:.3s;

}



/* estado activo de página */

.nav-item.active{

color:#76FF45;

font-weight:900;

text-shadow:

0 0 10px rgba(
118,
255,
69,
0.4
);

}



/* línea inferior glow opcional */

.nav-item.active::after{

content:"";

position:absolute;

left:0;

bottom:-6px;

width:100%;

height:2px;

background:#76FF45;

box-shadow:

0 0 12px rgba(
118,
255,
69,
0.6
);

border-radius:2px;

}
.nav-item:hover{

    transform:translateY(-2px);

    box-shadow:

    inset 0 1px 0 rgba(255,255,255,.5),

    0 0 15px rgba(0,255,180,.35);

}

.nav-item.active{

    border-top:

    1px solid rgba(
        0,
        255,
        180,
        .35
    );

}

/* ======================================================
   CANVAS BACKGROUND
====================================================== */

canvas{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    pointer-events:none;

}

/* ======================================================
   MAIN BASE
====================================================== */

main{

    position:relative;

    background:#000;

    z-index:1;

}

/* ======================================================
   FOOTER
====================================================== */

footer{

    position:fixed;

    bottom:0;

    left:0;

    width:100%;

    height:50px;

    background:#000;

    overflow:hidden;

    z-index:10;

}

.footer-info{

    position:relative;

    z-index:2;

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:100%;

    font-size:12px;

    color:#c0bcbc;

    letter-spacing:1.5px;

    text-align:center;

    padding-inline:100px;

}

/* ======================================================
/* BOTÓN AUTO-SCROLL UP */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 30px;
    width: 50px;
    height: 55px;
    border-radius: 8px 8px 4px 4px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid rgba(0, 0, 0, 0.9);
    background: linear-gradient(to bottom, #003300 0%, #005500 45%, #002200 50%, #004400 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 10px 10px rgba(255, 255, 255, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: linear-gradient(to bottom, #005500 0%, #008800 45%, #004400 50%, #007700 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 12px 12px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(118, 255, 69, 0.4);
    transform: translateY(-3px);
}

.chevron-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 5px;
}

.chevron-arrow span {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 10px;
    margin: -1px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: block;
}

.whatsapp-btn {
    position: fixed;
    left: 30px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;

    /* 1. RELIEVE 3D: Aplicamos el mismo degradado tridimensional de gel verde */
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid rgba(0, 0, 0, 0.9);
    background: linear-gradient(to bottom, #003300 0%, #005500 45%, #002200 50%, #004400 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 10px 10px rgba(255, 255, 255, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.5);

    /* 2. SUAVIZADO: Transición idéntica a la del botón scroll para que se mueva fluido */
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

/* 3. ANIMACIÓN HOVER: El mismo salto tridimensional y destello neón al pasar el mouse */
.whatsapp-btn:hover {
    background: linear-gradient(to bottom, #005500 0%, #008800 45%, #004400 50%, #007700 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 12px 12px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(118, 255, 69, 0.5); /* Destello verde corporativo */
    transform: translateY(-3px); /* Da el saltito flotante idéntico al scroll */
}

.whatsapp-svg {
    width: 32px;
    height: 32px;
    color: white;
    /* Asegura que el vector acompañe el salto sin tirones gráficos */
    transition: transform 0.2s ease;
}

/* ======================================================
   HAMBURGUESA
====================================================== */

.hamburger-menu{

    display:none;

}

/* ==================================================
   MEDIA ZOOM GLOBAL
================================================== */

.zoomable{

cursor:pointer;

transition:

transform .25s ease,

filter .25s ease;

}

.zoomable:hover{

transform:scale(1.02);

}


/* OVERLAY */

.media-lightbox{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:

rgba(0,0,0,.92);

display:flex;

justify-content:center;

align-items:center;

padding:30px;

z-index:9999;

opacity:0;

visibility:hidden;

transition:.25s;

}

.media-lightbox.active{

opacity:1;

visibility:visible;

}


.media-lightbox img,

.media-lightbox video{

max-width:92vw;

max-height:90vh;

object-fit:contain;

border-radius:10px;

box-shadow:

0 0 40px rgba(0,255,180,.2);

animation:

zoomOpen .25s ease;

}


@keyframes zoomOpen{

from{

transform:scale(.85);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

.close-lightbox{

position:absolute;

top:20px;

right:30px;

font-size:40px;

color:white;

cursor:pointer;

font-weight:900;

}

/* ======================================================
   RESPONSIVE GLOBAL
====================================================== */

@media (max-width:956px){

    header{

        height:75px;

        padding-inline:20px;

    }

    .layer-content{

        padding:0;

    }

    .header-top{

        justify-content:space-between;

        min-height:auto;

        height:100%;

    }

    .site-logo{

        height:75px;

    }

    .hamburger-menu{

        display:flex;

        flex-direction:column;

        justify-content:space-between;

        width:28px;

        height:18px;

        background:none;

        border:none;

        cursor:pointer;

    }

    .hamburger-menu span{

        width:100%;

        height:2.5px;

        border-radius:2px;

        background:var(--primary);

    }

    .glass-nav{

        position:fixed;

        top:75px;

        left:0;

        width:100%;

        height:calc(100vh - 75px);

        flex-direction:column;

        justify-content:center;

        align-items:center;

        background:rgba(0,0,0,.98);

        opacity:0;

        visibility:hidden;

        transform:translateY(-15px);

        transition:.3s;

    }

    .nav-item{

    width:100% !important;

    max-width:280px !important;

    height:48px !important;

    display:flex !important;

    justify-content:center !important;

    align-items:center !important;

    padding:0 !important;

    text-align:center !important;

    box-sizing:border-box !important;

    }

    .glass-nav.open{

        opacity:1;

        visibility:visible;

        transform:none;

    }

    .footer-info{

        font-size:9.5px;

        padding-inline:20px;

    }

    /* BOTON WHATSAPP MOBILE */

    .whatsapp-btn{

    width:40px;

    height:40px;

    left:10px;

    bottom:35px;

    }

    .whatsapp-svg{

    width:30px;

    height:30px;

    }


    /* BOTON SCROLL MOBILE */

    .scroll-top-btn{

    width:38px;

    height:48px;

    right:5px;

    bottom:90xp;

    }

    .chevron-arrow span{

    font-size:15px;

    line-height:10px;

    }


}