/* RESET */
body{
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    color:#1a1a1a;
}

/* CONTENEDOR */
.container{
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* =========================
   NAV
========================= */

.nav{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(255,255,255,0.25);
    position:fixed;
    top:0;
    width:100%;
    z-index:20;
    transition:.35s ease;
}
.nav.scrolled{
    background:rgba(255,255,255,0.95);
    border-bottom:1px solid #e6e9ef;
}

.nav-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 0;
}
/* grupo derecho del nav */
.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}
.nav a{
    color:#162a52;
}

.nav a:hover{
    opacity:.7;
}

/* logo */
.logo img{
    height:42px;
    display:block;
}

/* idioma + botÃ³n */
.lang{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
    color:#333;
}

.lang img{
    width:20px;
    border-radius:2px;
}

/* hamburguesa SIEMPRE visible */
.menu-toggle{
    margin-left:20px;
    display:flex;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    width:26px;
    height:3px;
    background:#162a52;
    border-radius:2px;
    transition:.35s;
}
/* animaciÃ³n hamburguesa a X */
.menu-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2){
    opacity:0;
}
.menu-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* MENÃš LATERAL */
.menu{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    width:300px;
    background:white;
    list-style:none;
    padding:120px 40px;
    box-shadow:-20px 0 40px rgba(0,0,0,.15);
    transform:translateX(100%);
    transition:.45s ease;
    display:flex;
    flex-direction:column;
    gap:22px;

    z-index:9999;   /* ðŸ‘ˆ ESTE ES EL ARREGLO */
}

/* visible */
.menu.open{
    transform:translateX(0);
}

/* links */
.menu a{
    text-decoration:none;
    font-size:18px;
    color:#162a52;
    transition:.3s;
}
.menu a:hover{
    opacity:.6;
}
.close-menu{
    position:absolute;
    top:30px;
    left:25px;
    font-size:26px;
    border:none;
    background:none;
    cursor:pointer;
    color:#162a52;
    transition:.3s;
}

.close-menu:hover{
    transform:translateX(-4px);
    opacity:.6;
}


/* =========================
   HERO VIDEO
========================= */

.hero{
    position:relative;
    height:80vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    color:white;
}

.hero-video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.hero-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(10,20,40,.65);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    animation: fadeUp 1.2s ease forwards;
    opacity:0;
}

.hero h2{
    font-size:48px;
    margin-bottom:10px;
}

.hero button{
    padding:14px 26px;
    border:none;
    background:#162a52;
    color:white;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===== ABOUT / CONÃ“CENOS ===== */

.about{
    padding:110px 0;
    background:#ffffff;
}

.about-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;   /* texto domina, imagen acompaÃ±a */
    gap:80px;
    align-items:center;
}

.about-text h5{
    color:#162a52;
    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.about-text h2{
    font-size:34px;
    margin-bottom:20px;
    color:#1a1a1a;
}

.about-text p{
    font-size:16px;
    line-height:1.7;
    color:#555;
    margin-bottom:28px;
}

.btn-primary{
    display:inline-block;
    padding:14px 26px;
    background:#162a52;
    color:white;
    text-decoration:none;
    border-radius:6px;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}

/* imagen mÃ¡s discreta */
.about-img{
    display:flex;
    justify-content:center;
}

.about-img img{
    width:82%;
    max-width:420px;
    border-radius:10px;
    box-shadow:0 16px 32px rgba(0,0,0,.10);
}

/* animaciÃ³n suave */
.about-text{
    animation: fadeUp 1s ease forwards;
    opacity:0;
}

/* responsive */
@media(max-width:900px){

    .about-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .about{
        padding:80px 0;
    }

    .about-img img{
        width:100%;
        max-width:420px;
    }
}
/* ===== COMPROMISO SOCIAL ===== */

.impacto{
    background:#f4f6f9;
    padding:120px 0;
    overflow:hidden;
}

.impacto-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
}

/* imagen lado izquierdo */
.impacto-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* texto lado derecho */
.impacto-text{
    padding:0 60px;
}

.impacto-text h5{
    color:#162a52;
    font-size:14px;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.impacto-text h2{
    font-size:34px;
    margin-bottom:20px;
    color:#1a1a1a;
}

.impacto-text p{
    font-size:16px;
    line-height:1.7;
    color:#555;
    max-width:520px;
}

/* animaciÃ³n suave */
.impacto-text{
    animation: fadeUp 1s ease forwards;
    opacity:0;
}

/* responsive */
@media(max-width:900px){

    .impacto-grid{
        grid-template-columns:1fr;
    }

    .impacto-text{
        padding:60px 20px 0;
    }

    .impacto{
        padding:80px 0;
    }

}
/* ===== VIDEO INSTITUCIONAL ===== */

.video-section{
    padding:110px 0;
    background:#ffffff;
}

/* contenedor general */

.video-wrapper{
    max-width:950px;
    margin:auto;
    text-align:center;
    animation: fadeUp 1s ease forwards;
    opacity:0;
}

/* textos */

.video-text h5{
    color:#162a52;
    letter-spacing:2px;
    font-size:13px;
    text-transform:uppercase;
    margin-bottom:8px;
}

.video-text h2{
    font-size:32px;
    margin-bottom:14px;
    color:#1a1a1a;
}

.video-text p{
    color:#666;
    margin-bottom:36px;
    font-size:16px;
    line-height:1.6;
}

/* contenedor moderno del video */

.video-frame{
    position:relative;
    width:100%;
    aspect-ratio:16/9;              /* ?? reemplaza padding hack */
    border-radius:14px;
    overflow:hidden;
    background:#000;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    transition:transform .4s ease, box-shadow .4s ease;
}

/* efecto sutil al pasar mouse */

.video-frame:hover{
    transform:scale(1.01);
    box-shadow:0 30px 70px rgba(0,0,0,.35);
}

/* video o iframe */

.video-frame iframe,
.video-frame video{
    width:100%;
    height:100%;
    object-fit:cover;
    border:0;
}

/* responsive */

@media(max-width:900px){

    .video-section{
        padding:80px 0;
    }

    .video-text h2{
        font-size:26px;
    }

}
/* ===== CTA CONTACTO ===== */

.cta{
    padding:90px 0;
    background:#162a52;
    color:white;
}

.cta-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.cta-text h2{
    font-size:32px;
    margin-bottom:10px;
}

.cta-text p{
    opacity:.9;
    font-size:16px;
}

.cta-actions{
    display:flex;
    align-items:center;
    gap:24px;
}

.btn-cta{
    background:white;
    color:#162a52;
    padding:14px 28px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.cta-phone{
    font-size:18px;
    font-weight:500;
}

/* responsive */
@media(max-width:900px){

    .cta-box{
        text-align:center;
        justify-content:center;
    }

    .cta-actions{
        flex-direction:column;
        gap:12px;
    }

}

/* ===== FOOTER BASE ===== */

.footer-area{
    background:#1c1c1e;
    padding:50px 0 40px;
    border-top:1px solid rgba(255,255,255,.05);
}

/* layout */
.footer-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;
    gap:60px;
    padding:0 40px;
}

/* textos generales */
.footer-area p,
.footer-area li,
.footer-area a{
    color:#dcdcdc;
    font-size:15px;
    line-height:1.7;
    text-decoration:none;
}

/* títulos */
.footer-area h4{
    color:#ffffff;
    font-weight:600;
    margin-bottom:28px;
    font-size:20px;
}

/* logo */
.footer-logo{
    width:120px;
    margin-bottom:25px;
}

/* mail */
.footer_1 span{
    color:#58AFC4;
    display:block;
    margin-top:10px;
    font-weight:500;
}

/* redes */
.social_icon{
    margin-top:20px;
}

.social_icon a{
    color:#58AFC4;
    margin-right:12px;
    font-size:18px;
    transition:.25s;
}

.social_icon a:hover{
    color:#ffffff;
}

/* links */
.footer-links{
    list-style:none;
    padding:0;
    columns:2;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-area a:hover{
    color:#58AFC4;
}

/* certificación */
.cert{
    margin-top:30px;
}

.cert p{
    margin-bottom:10px;
    font-size:14px;
}

.cert img{
    width:85px;
    opacity:.9;
}

/* grupo irm */
.footer_3 a{
    display:block;
    margin-bottom:8px;
}

/* aviso */
.aviso{
    display:inline-block;
    margin-top:15px;
}

.aviso:hover{
    color:#58AFC4;
}

/* responsive */
@media(max-width:900px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:40px;
        padding:0 25px;
    }

    .footer-links{
        columns:1;
    }
}
/* ===== RESET BÁSICO ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: "Segoe UI", Arial, sans-serif;
    color:#333;
    line-height:1.6;
    background:#fff;
}

/* CONTENEDOR GENERAL */
.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===== BANNER ===== */
.banner{
    background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
               url("../img/breadcrumb2.jpg") center/cover no-repeat;
    color:white;
    text-align:center;
    padding:80px 20px;
}
.banner-installation{
    background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
               url("../img/breadcrumb2.jpg") center/cover no-repeat;
    color:white;
    text-align:center;
    padding:80px 20px;
}
.banner h1{
    font-size:48px;
    margin-bottom:10px;
}

.banner p{
    font-size:20px;
    opacity:.9;
}

/* ===== QUIÉNES SOMOS ===== */
.quienes-somos{
    padding:70px 0;
}

.quienes-somos .contenedor{
    display:flex;
    gap:50px;
    align-items:center;
    flex-wrap:wrap;
}

.quienes-somos .texto{
    flex:1;
}

.quienes-somos h2{
    font-size:32px;
    margin-bottom:20px;
    color:#1c3b6f;
}

.quienes-somos p{
    margin-bottom:15px;
}

.quienes-somos .imagen{
    flex:1;
    text-align:center;
}

.quienes-somos img{
    width:100%;
    max-width:450px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

/* ===== MISIÓN Y VISIÓN ===== */
.mision-vision{
    background:#f5f7fa;
    padding:70px 0;
}

.mision-vision .contenedor{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.mision-vision .bloque{
    flex:1;
    background:white;
    padding:35px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    transition:.3s;
}

.mision-vision .bloque:hover{
    transform:translateY(-5px);
}

.mision-vision h3{
    color:#1c3b6f;
    margin-bottom:15px;
    font-size:24px;
}

/* ===== VALORES CORPORATIVOS ===== */

.valores-corporativos{
    padding:80px 0;
    background:#f1f3f6;
}

.valores-grid{
    display:grid;
    grid-template-columns: 320px 1fr;
    gap:40px;
    align-items:center;
}

/* Título izquierdo */
.valores-titulo{
    border-left:6px solid #20315C;
    padding-left:30px;
}

.valores-titulo h2{
    font-size:44px;
    line-height:1.1;
    color:#1a1a1a;
    font-weight:700;
}

/* Lista derecha */
.valores-lista{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px 50px;
}

/* Cada valor */
.valor{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.valor img{
    width:48px;
    height:auto;
}

.valor h4{
    font-size:18px;
    color:#20315C;
    margin-bottom:5px;
}

.valor p{
    font-size:15px;
    color:#555;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

    .valores-grid{
        grid-template-columns:1fr;
    }

    .valores-titulo{
        text-align:center;
        border-left:none;
        border-top:5px solid #20315C;
        padding-top:20px;
    }

    .valores-titulo h2{
        font-size:36px;
    }

    .valores-lista{
        grid-template-columns:1fr;
    }

}

/* ===== CIERRE ===== */
.cierre{
    text-align:center;
    padding:70px 20px;
    background:#1c3b6f;
    color:white;
}

.cierre img{
    width:100%;
    max-width:700px;
    margin-bottom:25px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.cierre p{
    font-size:20px;
    opacity:.95;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){

    .banner h1{
        font-size:36px;
    }

    .quienes-somos .contenedor,
    .mision-vision .contenedor{
        flex-direction:column;
        text-align:center;
    }

    .quienes-somos img{
        max-width:350px;
        margin-top:25px;
    }
}
/* ===== INSTALACIONES / GALERÍA ===== */

.instalaciones{
    padding:110px 0;
    background:#f7f9fc;
}

.section-title{
    text-align:center;
    max-width:650px;
    margin:0 auto 60px auto;
}

.section-title h2{
    font-size:36px;
    margin-bottom:12px;
    color:#162a52;
}

.section-title p{
    color:#666;
    line-height:1.6;
}

/* grid galería */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
    gap:24px;
}

/* imágenes */

.gallery img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:.45s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* hover elegante */

.gallery img:hover{
    transform:scale(1.05);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* responsive */

@media(max-width:900px){

    .instalaciones{
        padding:80px 0;
    }

    .gallery img{
        height:200px;
    }

}
/* ===== SOLUCIONES ===== */
/* ===== SECCIÓN PROCESO ===== */

.proceso{
    padding:80px 0;
    background:#fff;
}

.proceso-grid{
    display:flex;
    align-items:center;
    gap:70px;
    flex-wrap:wrap;
}

/* ----- Columna texto ----- */

.proceso-info{
    flex:1;
    min-width:320px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* Título dentro del bloque */

.process h2{
    font-size:30px;
    color:#20315C;
    margin-bottom:12px;
    line-height:1.35;
}

.process hr{
    width:70px;
    height:3px;
    background:#20315C;
    border:none;
    margin-bottom:30px;
}

/* ----- Lista de pasos ----- */

.process{
    display:flex;
    flex-direction:column;
    gap:26px;
}

.step{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

/* círculo número */

.step-number{
    min-width:44px;
    height:44px;
    background:#20315C;
    color:white;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:18px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

/* texto */

.step-content h4{
    margin:0;
    font-size:19px;
    color:#20315C;
}

.step-content p{
    margin:6px 0 0 0;
    color:#555;
    line-height:1.55;
    font-size:15px;
}

/* ----- Imagen ----- */

.proceso-img{
    flex:1;
    min-width:300px;
    text-align:center;
}

.proceso-img img{
    width:100%;
    max-width:500px;
    border-radius:10px;
    box-shadow:0 12px 35px rgba(0,0,0,.14);
}

/* ===== RESPONSIVE ===== */

@media (max-width:900px){

    .proceso-grid{
        flex-direction:column;
        text-align:center;
        gap:50px;
    }

    .step{
        justify-content:center;
        text-align:left;
    }

    .process hr{
        margin:20px auto 30px auto;
    }

    .proceso-img img{
        max-width:420px;
    }

}
/* ===== ANIMACIÓN APARICIÓN PROCESO ===== */

.step{
    opacity:0;
    transform:translateY(35px);
    transition:all .7s ease;
}

/* cuando se activan */
.step.visible{
    opacity:1;
    transform:translateY(0);
}

/* pequeño delay progresivo */
.step:nth-child(2){ transition-delay:.1s; }
.step:nth-child(3){ transition-delay:.2s; }
.step:nth-child(4){ transition-delay:.3s; }
.step:nth-child(5){ transition-delay:.4s; }

.solutions-cta{
    padding:100px 0;
    text-align:center;
    background:#162a52;
    color:white;
}

.solutions-cta h2{
    font-size:32px;
    margin-bottom:10px;
}

.solutions-cta p{
    margin-bottom:30px;
    opacity:.9;
}

.solutions-cta .btn-primary{
    background:white;
    color:#162a52;
}

.solutions-cta .btn-primary:hover{
    background:#f4f7fb;
}

/* responsive */

@media(max-width:900px){

    .solution-grid{
        grid-template-columns:1fr;
    }

    .solutions-intro,
    .industries,
    .solutions-cta{
        padding:80px 0;
    }

}
/* ===== VISOR PRODUCTOS ===== */

.product-viewer{
    padding:120px 0;
    background:#fff;
}

.viewer-grid{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:70px;
    align-items:center;
    margin-top:50px;
}

.viewer-image{
    background:#f6f8fb;
    border-radius:12px;
    padding:50px;
    text-align:center;
}

.viewer-image img{
    max-width:100%;
    max-height:380px;
}

.viewer-info h3{
    font-size:30px;
    color:#162a52;
    margin-bottom:20px;
}

.product-specs p{
    margin:6px 0;
    color:#666;
}

.viewer-thumbs{
    margin-top:30px;
    display:flex;
    gap:14px;
}

.viewer-thumbs img{
    width:70px;
    height:70px;
    object-fit:contain;
    background:#f2f4f8;
    padding:8px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

.viewer-thumbs img:hover{
    transform:scale(1.08);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* responsive */

@media(max-width:900px){
    .viewer-grid{
        grid-template-columns:1fr;
    }

    .viewer-image{
        padding:30px;
    }
}
/* ===== CONTACTO NUEVO LAYOUT ===== */

.contacto{
    padding:110px 0;
    background:#f4f7fb;
}

/* GRID GENERAL */
.contacto-grid{
    display:grid;
    grid-template-columns: 1.3fr 1fr;
    gap:60px;
    align-items:start;
}

/* ===== MAPA ===== */

.contacto-mapa iframe{
    width:100%;
    height:100%;
    min-height:420px;
    border:0;
    border-radius:12px;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

/* ===== FORMULARIO ===== */

.contacto-formulario{
    background:white;
    padding:45px;
    border-radius:12px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    position:relative;
    z-index:2;
}

.contacto-formulario h2{
    margin-bottom:30px;
    color:#20315C;
    font-size:28px;
}

.contacto-formulario input,
.contacto-formulario textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #e3e7ef;
    border-radius:8px;
    font-size:15px;
    transition:.25s;
}

.contacto-formulario input:focus,
.contacto-formulario textarea:focus{
    outline:none;
    border-color:#20315C;
    box-shadow:0 0 0 3px rgba(32,49,92,.08);
}

.contacto-formulario button{
    background:#20315C;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.contacto-formulario button:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(0,0,0,.2);
}

/* ===== INFO TARJETA FLOTANTE ===== */

.contacto-info{
    background:#20315C;
    color:white;
    padding:45px;
    border-radius:12px;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
    display:flex;
    flex-direction:column;
    gap:28px;
    height:fit-content;
}

.info-box h4{
    margin-bottom:6px;
    font-size:18px;
    opacity:.9;
}

.info-box p{
    line-height:1.6;
    opacity:.85;
}

.contacto-logo{
    width:150px;
    margin-top:10px;
    opacity:.9;
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){

    .contacto-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .contacto-info{
        order:3;
    }

    .contacto-mapa iframe{
        min-height:300px;
    }

}



/* ===== SECTOR PRODUCTOS ===== */

.sector-products{
    padding:80px 0 100px 0;
    background:#f5f6f8;
    text-align:center;
}

.sector-title{
    font-size:40px;
    color:#20315C;
    margin-bottom:20px;
    font-weight:700;
}

.sector-description{
    max-width:900px;
    margin:0 auto 60px auto;
    font-size:18px;
    line-height:1.7;
    color:#555;
}

/* ===== CARRUSEL ===== */

.product-carousel{
    overflow:hidden;
    position:relative;
    width:100%;
}

.carousel-track{
    display:flex;
    gap:40px;
    animation:scrollCarousel 25s linear infinite;
    width:max-content;
}

.carousel-track img{
    width:320px;
    transition:.35s;
}

.carousel-track img:hover{
    transform:scale(1.05);
}

/* animación infinita */

@keyframes scrollCarousel{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
}

/* responsive */

@media(max-width:900px){

    .sector-title{
        font-size:32px;
    }

    .sector-description{
        font-size:16px;
        padding:0 20px;
    }

    .carousel-track img{
        width:240px;
    }

}