﻿html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* alto del header fijo */
}


body{
    background: url(../images/fondo2.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: "Montserrat", sans-serif;
}

.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
}
.chat img{
    width: 100%;
}


.ayuda{
    height: 92px;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: url(../images/fondo2.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 5px;
    padding-bottom: 5px;

    box-shadow: 0 0 20px rgba(0,0,0,0.48);
}

.logotipo img{
    width: 85%;
}


.menuR{
    display: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 20%;
    float: left;
}
nav a{
    color: black;
    text-decoration: none;
}

.menu, .menuR{
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}
.menu:hover{
    font-weight: bold;
    color: #701901;
}


.datos{
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}


.efecto{
    background: url(../images/efecto.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 230px;
    padding-bottom: 230px;
}


.titulo{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}


.nosotros{
    padding-top: 30px;
    padding-bottom: 30px;
}

.seccion{
    background: #024c87;
    color: white;
    font-size: 18px;
    padding: 40px;
}


.img1{
    background: url(../images/1.jpg) no-repeat center center;
    background-size: cover;
}




.logo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    width: max-content;                 /* clave: el track mide lo que sumen los sets */
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
}

.logo-set {
    display: flex;
    align-items: center;
}

.logo-item {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: grayscale(0%);
}

/* ahora -50% sí es EXACTAMENTE 1 set */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-item {
        flex: 0 0 140px;
        padding: 10px;
    }

    .logo-item img {
        max-height: 55px;
    }
}


.productos{
    padding-top: 40px;
    padding-bottom: 40px;
}


.pro{
    background: black;
    color: white;
    margin-bottom: 30px;
    padding: 20px;
}
.pro ul{
    padding-left:10px;
}
.pro strong{
    font-size: 20px;
    font-weight: bold;
}
.pro img{
    width: 100%;
    height:350px;

    object-fit:cover;
}


.proyectos{
    background: #024c87;
    padding-top: 50px;
    padding-bottom: 50px;
}
.proyectos .titulo{
    color: white;
}



.proy{
    text-align: center;
    font-size: 22px;
    color: white;
}
.proy b{
    font-size: 32px;
    font-weight: bold;
}
.proy img{
    height: 120px;
}
.proy strong{
    width: 100%;
    display: inline-block;
}


.marcas{
    padding-top: 40px;
    padding-bottom: 40px;
}



.galeria{
    padding-top: 60px;
    padding-bottom: 60px;
}

.i{
    width: 100%;
    height: 300px;
    cursor: pointer;
    margin-bottom: 25px;

    object-fit: cover;
}



@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){
    .ayuda{
        display: none;
    }
    header{
        position: relative;
    }
}

@media screen and (max-width:992px){
    nav{
        margin: 20px 0 !important;
    }
}

@media screen and (max-width:768px){
    .menuR{
        display: block;
    }
    nav ul{
        display: none;
    }
    nav ul li{
        width: 100%;
    }
    .img{
        height: 350px;
    }
}

@media screen and (max-width:576px){
    
}



/* =========================
   FOOTER SIECA (PRO)
========================= */
.footer-sieca{
    background: linear-gradient(180deg, #024c87 0%, #013a68 100%);
    color: #ffffff;
    padding: 55px 0 25px 0;
    margin-top: 0;
}

.footer-logo{
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

.footer-text{
    font-size: 15.5px;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 16px;
}

.footer-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.footer-badge b{
    font-size: 14px;
}

.footer-title{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: #701901;
    border-radius: 20px;
}

.footer-links{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: 10px;
}

.footer-links a{
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}

.footer-links a:hover{
    opacity: 1;
    transform: translateX(3px);
    color: #ffffff;
}

.footer-list{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li{
    margin-bottom: 10px;
    font-size: 14.8px;
    opacity: 0.95;
    line-height: 1.5;
}

.footer-list b{
    margin-right: 8px;
    font-size: 15px;
}

.footer-contact{
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.footer-contact-item{
    margin-bottom: 14px;
}

.footer-contact-label{
    display: block;
    font-size: 12.5px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.footer-contact-value{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.footer-contact-value b{
    font-size: 18px;
    margin-right: 8px;
}

.footer-cta{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 10px;
}

.btn-footer{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    border: 1px solid transparent;
}

.btn-footer:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.18);
    opacity: 0.98;
}

.btn-footer-primary{
    background: #701901;
    color: #ffffff;
    border-color: rgba(255,255,255,0.12);
}

.btn-footer-whatsapp{
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,255,0.20);
}

.footer-note{
    font-size: 13px;
    opacity: 0.90;
    line-height: 1.5;
}

.footer-divider{
    border-color: rgba(255,255,255,0.18);
    margin: 28px 0 18px 0;
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-copy{
    font-size: 13.5px;
    opacity: 0.90;
}

.footer-legal{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-legal-link{
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: 13.5px;
}

.footer-legal-link:hover{
    color: #ffffff;
    text-decoration: underline;
}

.footer-legal-sep{
    opacity: 0.55;
}

/* Responsive */
@media (max-width: 768px){
    .footer-sieca{
        padding: 45px 0 22px 0;
    }
    .footer-logo{
        width: 160px;
    }
}





   ✅ CAMBIO PRO: Lightbox Galería
   ========================= */

.galeria [data-gallery] img{
    transition: transform .18s ease, filter .18s ease;
}
.galeria [data-gallery] img:hover{
    transform: scale(1.02);
    filter: brightness(1.06);
}

.lightbox-galeria{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.07), rgba(0,0,0,0.78) 35%, rgba(0,0,0,0.93) 100%);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .18s ease;
}

.lightbox-galeria.is-open{
    display: flex;
    opacity: 1;
}

/* Animación de entrada */
.lightbox-galeria.is-opening .lb-content{
    transform: translateY(10px) scale(.985);
    opacity: 0;
}
.lightbox-galeria.is-open .lb-content{
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: transform .22s ease, opacity .22s ease;
}

.lb-content{
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.lb-img{
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 28px 90px rgba(0,0,0,.60);
    background: rgba(255,255,255,0.03);

    /* Pro: transición en cambios */
    opacity: 1;
    transform: scale(1);
    transition: opacity .18s ease, transform .18s ease;
    will-change: opacity, transform;
}

/* Estado durante cambio */
.lb-img.is-changing{
    opacity: 0;
    transform: scale(.99);
}

/* Botón cerrar */
.lb-close{
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 30px;
    line-height: 46px;
    display: grid;
    place-items: center;
    transition: transform .15s ease, background .15s ease, opacity .2s ease;
    opacity: .95;
}
.lb-close:hover{
    transform: scale(1.06);
    background: rgba(255,255,255,0.18);
    opacity: 1;
}

/* Flechas */
.lb-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 34px;
    display: grid;
    place-items: center;
    transition: transform .15s ease, background .15s ease, opacity .2s ease;
    user-select: none;
    opacity: .65; /* Pro: más discreto */
}
.lb-prev{ left: 18px; }
.lb-next{ right: 18px; }

.lb-nav:hover{
    transform: translateY(-50%) scale(1.06);
    background: rgba(255,255,255,0.22);
    opacity: 1;
}

/* Pro: en desktop, cuando mueves el mouse dentro, suben */
.lightbox-galeria.is-interactive .lb-nav,
.lightbox-galeria.is-interactive .lb-close{
    opacity: 1;
}

/* Contador */
.lb-counter{
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 14px;
    letter-spacing: .5px;
    opacity: .9;
}

/* Pequeño hint swipe (opcional) */
.lb-hint{
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,0.08);
    padding: 6px 10px;
    border-radius: 999px;
    opacity: .85;
}

/* Responsive */
@media screen and (max-width:768px){
    .lb-prev{ left: 10px; }
    .lb-next{ right: 10px; }
    .lb-nav{
        width: 48px;
        height: 48px;
        font-size: 28px;
        opacity: .9; /* en móvil sí visibles */
    }
    .lb-close{
        width: 44px;
        height: 44px;
        font-size: 28px;
        line-height: 44px;
        opacity: 1;
    }
}