﻿body{
    font-family: "Montserrat", sans-serif;
}

.ayuda{
    height: 200px;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    background: white;
    padding: 0 !important;

     box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
header .container{
    padding-top: 12px;
    padding-bottom: 12px;
}

.logotipo img{
    width: 90%;
}


.leyendas{
    text-align: center;
    font-size: 25px;
    font-weight: bold;
}
.leyendas strong{
    color: #00ccff;
    color: black;
}

.datos{
    text-align: center;
}
.datos img{
    width: 30px;
}


.leyenda2{
    background: #f7f7f7;
    background: #881821;
    text-align: center;
    color: red;
    color: white;
    font-size: 27px;
    font-weight: bold;
    margin: 0;
}


nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 49%;
    float: left;
    margin: 0 0.5%;
}
.menu{
    background: #00ccff;
    text-align: center;
    text-shadow: 2px 2px 2px black;
    font-weight: bold;
    color: white;
    font-size: 22px;
}


.efecto{
    padding: 0;
}


.leyenda3{
    position: relative;
    z-index: 1000;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.leyenda3 strong{
    background: #881821;
    color: white;
    font-size: 27px;
    padding: 12px 20px;
}


.servicios{
    padding-top: 55px;
    padding-bottom: 55px;
}


.s{
    text-align: center;
    font-size: 22px;
}
.s img{
    height: 140px;
}
.s strong{
    width: 100%;
    display: inline-block;
}


.galeria{
    background: #881821;
    columns: white;
    padding-top: 40px;
    padding-bottom: 40px;
}


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


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

.seccion{
    background: #f7f7f7;
    font-size: 19px;
    padding: 25px;
}
.seccion strong{
    background: #881821;
    color: white;
    font-size: 22px;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 20px;
}
.seccion span{
    width: 100%;
    font-weight: bold;
    color: red;
    font-size: 23px;
    display: inline-block;
    margin-bottom: 20px;
}

.imagen img{
    width: 100%;
}

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


@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){
    
}

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




.social-fixed{
    position: fixed;
    right: 18px;
    bottom: 60px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.social-fixed a{
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.social-fixed a:hover{
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

/* Colores */
.social-fixed .facebook{
    background: #1877f2;
}

.social-fixed .instagram{
    background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}




.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: normal;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}



.ss{
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}


/* =========================
   ✅ 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: 99999999;
    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;
    }
}







footer{
    position: relative;
    background: url(../images/fondo-footer.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 70px;
    padding-bottom: 25px;
    color: white;
    overflow: hidden;
}

.footer-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(136,24,33,.94), rgba(40,8,10,.88));
    z-index: 1;
}

.footer-tent .container{
    z-index: 2;
}

.footer-box{
    height: 100%;
    padding: 10px 10px 10px 0;
}

.footer-box h3{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-box h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: white;
    border-radius: 20px;
}

.footer-brand p{
    font-size: 16px;
    line-height: 1.8;
    margin-top: 18px;
    color: rgba(255,255,255,.92);
}

.footer-logo{
    width: 180px;
    max-width: 100%;
    background: white;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

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

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

.footer-links a{
    color: rgba(255,255,255,.92);
    text-decoration: none;
    transition: all .2s ease;
}

.footer-links a:hover{
    color: white;
    padding-left: 6px;
}

.footer-contacto{
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,.95);
}

.footer-contacto div{
    margin-bottom: 10px;
}

.footer-contacto a{
    color: white;
    text-decoration: none;
}

.footer-contacto a:hover{
    text-decoration: underline;
}

.footer-contacto b{
    margin-right: 8px;
}

.footer-bottom{
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
    font-size: 15px;
    color: rgba(255,255,255,.88);
}