/* --- 1. VARIABLES Y RESET --- */
:root {
    --azul-fondo: #203145;
    --blanco: #ffffff;
    --amarillo: #fdd835;
    --celeste: #00b0e6;
    --verde: #7cb342;
    --verde-suave: #aed581; 
    --gris-suave: #f4f4f4;
    --fuente-principal: 'Inter', sans-serif;
}

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

body {
    font-family: var(--fuente-principal);
    background-color: #16212e;
    color: var(--blanco);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    scroll-behavior: smooth;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

a { text-decoration: none; transition: 0.3s ease; }

/* --- 2. NAV (LOGO FLOTANTE CENTRADO EN BARRA) --- */
.nav-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
    background-color: var(--azul-fondo);
    height: 90px;
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #00ffff, #ff00ff, #ffff00, #000000, var(--verde)) 1;
}

.logo-contenedor {
    display: flex;
    align-items: center;
    z-index: 3100;
}

.logo-img {
    height: 74px;
    width: auto;
    filter: drop-shadow(4px 6px 12px rgba(0,0,0,0.5));
    transition: transform 0.4s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.enlaces { display: flex; gap: 30px; }
.enlaces a {
    color: var(--blanco);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.enlaces a:hover { color: var(--amarillo); }

/* --- 3. HERO (RUTA CORREGIDA) --- */
.hero-minimal {
    height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background-image: 
       linear-gradient(to bottom, rgba(32, 49, 69, 0.6) 0%, rgba(32, 49, 69, 0.75) 100%), url('../imagenes/fachada-mevapack.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Fix iOS Safari: background-attachment:fixed rompe el hero en iPhones */
@supports (-webkit-touch-callout: none) {
    .hero-minimal { background-attachment: scroll; }
}

h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitulo {
    font-size: 17px;
    max-width: 550px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-principal {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid var(--blanco);
    color: var(--blanco);
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-principal:hover {
    background-color: var(--blanco);
    color: var(--azul-fondo);
    transform: translateY(-2px);
}

/* --- 4. NOSOTROS (CARRUSEL INDIVIDUAL Y PILLS) --- */
.seccion-nosotros { padding: 100px 0; }
.grid-nosotros { display: flex; gap: 60px; align-items: center; }
.nosotros-imagen { flex: 0 0 45%; position: relative; }

.carrusel-nosotros {
    position: relative;
    width: 100%;
    height: 450px; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    background-color: #1a2533;
}

.foto-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.foto-slider:nth-child(1),
.foto-slider:nth-child(2) {
    object-fit: cover;
    object-position: center;
}

.foto-slider:nth-child(3),
.foto-slider:nth-child(4) {
    object-fit: contain;
    padding: 30px;
}

.foto-slider.active { opacity: 1; }

.nav-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(32, 49, 69, 0.4);
    color: white;
    border: none;
    padding: 20px 12px;
    cursor: pointer;
    font-size: 18px;
    z-index: 20;
    transition: 0.3s;
}
.nav-slider:hover { background: var(--celeste); }
.prev { left: 0; border-radius: 0 8px 8px 0; }
.next { right: 0; border-radius: 8px 0 0 8px; }

.decoracion-cmyk {
    position: absolute;
    top: -15px; left: -15px; width: 100%; height: 100%;
    border: 2px solid var(--celeste);
    border-radius: 15px; z-index: -1;
}

.experiencia-badget {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--amarillo);
    color: var(--azul-fondo);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    z-index: 25;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.experiencia-badget .años { font-size: 24px; font-weight: 800; display: block; }
.experiencia-badget .texto { font-size: 10px; font-weight: 700; text-transform: uppercase; }

.nosotros-texto { flex: 1; }
.nosotros-texto h2 { font-size: 36px; margin: 10px 0 20px 0; color: var(--blanco); }
.subtit { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; color: var(--celeste); }

.valores-grid-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.capsula-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
}
.capsula-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--celeste);
}

/* --- 5. SECCIÓN PRODUCTOS (OPTIMIZADA PARA PNG) --- */
.destacado-minimal { 
    padding: 100px 0; 
    background-color: var(--gris-suave); 
    color: #1a1a1a; 
}

.encabezado-productos { text-align: center; margin-bottom: 60px; }
.encabezado-productos h2 { font-size: 36px; margin-bottom: 10px; }
.encabezado-productos p { color: #555; font-size: 16px; }

.ficha-producto {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.ficha-header { margin-bottom: 40px; }
.tag-linea {
    background: var(--azul-fondo);
    color: var(--amarillo);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ficha-header h3 { font-size: 28px; margin: 15px 0 10px 0; color: #1a1a1a; }

.ficha-cuerpo { display: flex; gap: 50px; align-items: flex-start; }
.ficha-cuerpo.inverse { flex-direction: row-reverse; }
.col-tabla { flex: 1.2; }
.col-visor { flex: 1; }

.tabla-medidas { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.tabla-medidas th {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 2px solid #eee;
    color: #888;
    text-transform: uppercase;
    font-size: 11px;
}
.tabla-medidas td { padding: 15px; border-bottom: 1px solid #eee; color: #444; }
.tabla-medidas tr td:first-child { font-weight: 700; color: var(--azul-fondo); }
.txt-centro { text-align: center; color: #999 !important; font-style: italic; }

.contenedor-hibrido {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.visor-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--azul-fondo);
    color: var(--amarillo);
    padding: 12px 20px;
}

.btn-nav-visor {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-nav-visor:hover { color: var(--amarillo); transform: scale(1.2); }

.visor-3d-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
    background: #f9f9f9;
}

.visor-fotos-reales {
    padding: 20px; 
    background: #ffffff; 
    border-top: 1px solid #eee;
    text-align: center;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.visor-fotos-reales img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.15));
}

.lista-industrial { list-style: none; padding: 0; }
.lista-industrial li { padding: 12px 0; border-bottom: 1px solid #eee; color: #444; }
.lista-industrial li strong { color: var(--azul-fondo); }

.btn-presupuesto-especial {
    display: inline-block;
    margin-top: 25px;
    color: var(--azul-fondo);
    background: var(--amarillo);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.btn-presupuesto-especial:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }

/* --- 6. CERTIFICACIONES --- */
.seccion-certificaciones { padding: 100px 0; background-color: #16212e; }
.grid-cert { display: flex; gap: 60px; align-items: flex-start; }
.cert-texto { flex: 1.2; }
.cert-texto h2 { font-size: 38px; color: var(--amarillo); margin-bottom: 25px; }

.cuadro-blanco-tecnico {
    background: #fff;
    color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 6px solid var(--celeste);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.cuadro-blanco-tecnico strong { color: var(--celeste); display: block; font-size: 16px; margin-bottom: 5px; }

.cert-cuadros { flex: 0.8; display: flex; flex-direction: column; gap: 20px; }
.cuadro-interactivo {
    background: #fff; color: #1a1a1a; padding: 25px; border-radius: 15px; text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.cuadro-interactivo:hover { transform: translateY(-5px); }
.cuadro-interactivo .icono { font-size: 35px; margin-bottom: 10px; display: block; }

.especial-verde-difuminado {
    background: linear-gradient(135deg, #7cb342, #4db6ac) !important;
    color: white !important;
}
.especial-verde-difuminado h3, .especial-verde-difuminado p { color: white !important; }

/* --- 7. FOOTER --- */
.footer-minimal { padding: 100px 0 40px 0; background-color: #16212e; }
.grid-footer { display: flex; gap: 60px; align-items: center; }
.info-contacto { flex: 1; }
.info-contacto h2 { font-size: 38px; margin: 10px 0 25px 0; }
.items-contacto p { margin-bottom: 15px; font-size: 16px; display: flex; align-items: center; gap: 10px; }

.mapa-contenedor { 
    flex: 1.5; 
    border-radius: 15px; 
    overflow: hidden; 
    height: 400px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.copyright { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; opacity: 0.6; }

/* --- 8. WHATSAPP --- */
.whatsapp-minimal { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    background: #25d366; 
    color: #fff; 
    padding: 12px 25px; 
    border-radius: 50px; 
    font-weight: 600; 
    z-index: 4000; 
    display: flex; 
    align-items: center; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.whatsapp-minimal:hover { transform: scale(1.05); background: #20ba5a; }

/* --- 9. RESPONSIVE OPTIMIZADO --- */
@media (max-width: 992px) {
    .logo-img {
        height: 58px;
        filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.4));
    }

    .nav-minimal {
        height: 70px;
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }
    .enlaces { 
        gap: 12px; 
    }
    .enlaces a { 
        font-size: 10px; 
        letter-spacing: 1px;
    }

    .hero-minimal {
        height: 70vh;
        text-align: center;
        padding-top: 100px;
    }
    h1 { font-size: 32px; }
    .subtitulo { font-size: 15px; margin: 0 auto 25px auto; }

    .contenedor { padding: 0 20px; }
    .grid-nosotros, .grid-cert, .grid-footer { 
        flex-direction: column; 
        text-align: center; 
        gap: 40px;
    }
    .ficha-producto { padding: 25px 15px; }
    .ficha-cuerpo, .ficha-cuerpo.inverse { 
        flex-direction: column; 
        gap: 25px; 
    }

    .visor-3d-wrapper iframe { height: 280px; }
    .visor-fotos-reales { height: 250px; padding: 15px; }
    .col-tabla, .col-visor { width: 100%; }

    .cert-cuadros {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .cuadro-interactivo {
        width: 100%;
        max-width: 320px; 
        padding: 20px;
    }
    .cert-texto h2 { font-size: 28px; }

    .whatsapp-minimal {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .mapa-contenedor { height: 250px; width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    .enlaces { gap: 8px; }
    .enlaces a { font-size: 9px; }
    .logo-img { height: 52px; }
}
/* --- 10. NODO INTERACTIVO --- */
.seccion-nodo {
    padding: 100px 0;
    background-color: #0b1520;
    background-image:
        radial-gradient(ellipse 60% 55% at 50% 55%, rgba(0,176,230,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 30% 30% at 30% 40%, rgba(124,179,66,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 20% 20% at 70% 65%, rgba(253,216,53,0.04) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Ccircle cx='45' cy='120' r='1' fill='rgba(255,255,255,0.25)'/%3E%3Ccircle cx='180' cy='55' r='0.8' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='320' cy='90' r='1.2' fill='rgba(255,255,255,0.3)'/%3E%3Ccircle cx='480' cy='30' r='0.7' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='550' cy='160' r='1' fill='rgba(255,255,255,0.25)'/%3E%3Ccircle cx='70' cy='280' r='0.8' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='130' cy='400' r='1.1' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='400' cy='200' r='0.6' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='520' cy='320' r='1' fill='rgba(255,255,255,0.25)'/%3E%3Ccircle cx='240' cy='480' r='0.8' fill='rgba(255,255,255,0.18)'/%3E%3Ccircle cx='460' cy='500' r='1.2' fill='rgba(255,255,255,0.22)'/%3E%3Ccircle cx='580' cy='440' r='0.7' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='20' cy='550' r='0.9' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='350' cy='560' r='1' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='90' cy='180' r='0.6' fill='rgba(0,176,230,0.4)'/%3E%3Ccircle cx='500' cy='80' r='0.7' fill='rgba(0,176,230,0.35)'/%3E%3Ccircle cx='420' cy='420' r='0.8' fill='rgba(0,176,230,0.3)'/%3E%3C/svg%3E");
    background-size: auto, auto, auto, 600px 600px;
    text-align: center;
    position: relative;
}
.encabezado-nodo { margin-bottom: 40px; }
.encabezado-nodo h2 { font-size: 36px; margin: 10px 0 10px 0; }
.encabezado-nodo p { color: rgba(255,255,255,0.5); font-size: 14px; }
.nodo-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
}
.nodo-wrap {
    position: relative;
    width: 850px;
    max-width: 100%;
}
#nodoCanvas {
    width: 100%;
    height: auto;
    display: block;
}
.nodo-preview {
    position: absolute;
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    background: #16212e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 10;
}
.nodo-preview.visible { opacity: 1; }
.nodo-preview img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #203145;
    padding: 8px;
}
.nodo-preview #nodoPreviewNombre {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.nodo-preview #nodoPreviewCat {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 11. FILTROS DE PRODUCTO --- */
.filtros-producto {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.btn-filtro {
    padding: 8px 20px;
    border: 2px solid var(--azul-fondo);
    border-radius: 50px;
    background: transparent;
    color: var(--azul-fondo);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.25s ease;
    font-family: var(--fuente-principal);
}
.btn-filtro:hover {
    background: var(--azul-fondo);
    color: var(--amarillo);
}
.btn-sub {
    padding: 5px 14px;
    border: 1.5px solid var(--azul-fondo);
    border-radius: 50px;
    background: transparent;
    color: var(--azul-fondo);
    font-size: 12px;
    font-family: var(--fuente-principal);
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 8px;
    opacity: 0.7;
    transition: all 0.2s;
}
.btn-sub.activo, .btn-sub:hover {
    background: var(--azul-fondo);
    color: var(--amarillo);
    opacity: 1;
}
.btn-filtro.activo {
    background: var(--azul-fondo);
    color: var(--amarillo);
}

/* --- 12. TAG GRANDE CATEGORÍA --- */
.tag-grande {
    font-size: 16px !important;
    padding: 8px 20px !important;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

/* --- 13. NOTA ADICIONAL EN PRODUCTOS --- */
.nota-adicional {
    margin-top: 16px;
    font-size: 13px;
    color: #888;
    font-style: italic;
    line-height: 1.5;
}

/* --- 14. PILLS ESTÁTICOS (sin hover) --- */
.capsula-pill {
    cursor: default;
    pointer-events: none;
}

/* --- 15. RESPONSIVE NODO Y FILTROS --- */
@media (max-width: 992px) {
    .nodo-wrap { width: 100%; }
    .nodo-preview { display: none; }
    .filtros-producto { gap: 8px; }
    .btn-filtro { font-size: 11px; padding: 6px 14px; }
    .seccion-nodo { padding: 60px 0; }
    .tag-grande { font-size: 14px !important; }
}

/* --- 16. BOTONES FOTO REAL (foto-nav) --- */
.visor-fotos-reales {
    position: relative;
}
.foto-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 12px;
    z-index: 10;
}
.foto-nav button {
    background: rgba(32, 49, 69, 0.75);
    color: #fdd835;
    border: 1px solid rgba(253, 216, 53, 0.4);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.foto-nav button:hover {
    background: var(--azul-fondo);
    border-color: var(--amarillo);
}


/* --- 17. SECCIONES DE PRODUCTOS — modo oscuro fijo --- */
.destacado-minimal { background-color: #16212e; }
.ficha-producto { background: #1e2d3d; border-color: rgba(255,255,255,0.08); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.encabezado-productos h2 { color: #ffffff; }
.encabezado-productos p { color: rgba(255,255,255,0.6); }
.ficha-header h3 { color: #ffffff; }
.tabla-medidas th { background: #162030; color: rgba(255,255,255,0.5); border-bottom-color: rgba(255,255,255,0.1); }
.tabla-medidas td { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.07); }
.tabla-medidas tr td:first-child { color: var(--celeste); }
.txt-centro { color: rgba(255,255,255,0.4) !important; }
.btn-filtro { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
.btn-filtro:hover, .btn-filtro.activo { background: var(--amarillo); color: #203145; border-color: var(--amarillo); }
.btn-sub { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
.btn-sub.activo, .btn-sub:hover { background: var(--amarillo); color: #203145; }
.nota-adicional { color: rgba(255,255,255,0.45); }
.col-tabla p { color: rgba(255,255,255,0.85); }
.col-tabla strong { color: var(--celeste); }
.lista-item-desc { color: rgba(255,255,255,0.85) !important; }
.lista-item-titulo { color: var(--celeste) !important; }

/* --- 17b. SIN VISOR 3D: ocultar área y expandir foto --- */
.sin-visor .visor-3d-wrapper { display: none !important; }
.sin-visor .visor-fotos-reales { height: 500px !important; }

/* --- 17b. FIX BADGE OVERFLOW --- */
.nosotros-imagen {
    overflow: visible; /* permite que el badge se vea, pero contenemos el scroll */
}
.experiencia-badget {
    right: -10px;
    bottom: -10px;
}
@media (max-width: 992px) {
    .experiencia-badget {
        right: 10px;
        bottom: -10px;
    }
}

/* --- 18. TABLA CON SCROLL HORIZONTAL EN MÓVIL --- */
.col-tabla {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- 19. HAMBURGUESA Y MENÚ MOBILE --- */
.hamburguesa-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 3200;
}
.hamburguesa-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blanco);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animación X cuando está abierto */
.hamburguesa-btn.activo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa-btn.activo span:nth-child(2) { opacity: 0; }
.hamburguesa-btn.activo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay menú mobile */
.menu-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--azul-fondo);
    z-index: 3100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.menu-mobile.abierto {
    display: flex;
    opacity: 1;
}
.menu-mobile-cerrar {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.menu-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}
.menu-mobile-links a {
    color: var(--blanco);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.menu-mobile-links a:hover { color: var(--amarillo); }

@media (max-width: 992px) {
    .hamburguesa-btn { display: flex; }
    .enlaces { display: none; } /* ocultar nav de escritorio en mobile */
}
