@font-face {
    font-family: 'Poppins';
    src: url("assets/Poppins-Medium.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}
/* Default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}
/* Cambia el color del spinner de SweetAlert globalmente */
.swal2-popup .swal2-loader {
    border-color: #d95a14 transparent #d95a14 transparent; /* Colores arriba/abajo, transparentes a los lados */
}
body {
    background-color: #F1E8C7;
}
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}
/*Seccion NAV BAR*/
#inicio{
    background-color: #F1E8C7;
}
.navbar{
    display: flex;
    justify-content: space-between;
}
.logos{
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 10px;
}
.logo1{
    width: 40px;
    height: auto;
}
.logo2{
    width: 200px;
    height: auto;
}
.menu{
    margin: 15px;
}
.menu ul{
    display: flex;
    margin: 10px;
    text-decoration: none;
    list-style: none;
}
.menu ul li{
    margin: 5px;
}
.menu ul li a{
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    color: #D95814;
    transition: 0.3s;
}
.menu ul li a:hover{
    color: #ee5908;
}
/* HAMBURGUESA */
.hamburger{
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #D95814;
    padding: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px){
    .navbar{
        position: relative;
    }
    .hamburger{
        display: block;
        font-size: 32px;
        cursor: pointer;
        color: #D95814;
        z-index: 1001;
    }
    .menu{
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #F1E8C7;
        display: none;
        z-index: 1000;
        margin: 0;
        padding: 0;
        border-radius: 0 0 20px 20px;
        box-shadow: 0px 8px 12px rgba(0,0,0,0.15);
        overflow: hidden;
    }
    .menu.active{
        display: block;
    }
    .menu ul{
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0;
        padding: 20px;
        list-style: none;
    }
}

/*Boton para cambiar de Idioma*/
.lang-toggle{
    position: fixed;
    bottom: 2%;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6D2A02;
    color: #F1E8C7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}
.lang-toggle:hover{
    transform: scale(1.08);
}
@media (max-width: 768px){
    .lang-toggle{
        width: 50px;
        height: 50px;
        right: 15px;
        font-size: 16px;
    }
}

/* CELULAR */
@media (max-width: 480px){
    .lang-toggle{
        width: 45px;
        height: 45px;
        right: 12px;
        font-size: 15px;
    }
}


/*Seccion Contacto*/
#contacto{
    display: flex;
    gap: 480px;
    margin: 15px auto;
    justify-content: center;
    align-items: center;
}
.text-container,
.contact-container{
    flex: 1;
    max-width: 600px
}

.text-container{
    color: #6D2A02;
}
.contact-text,
.redes-container{
    padding: 20px;
}
.redes-container{
    display: flex;
    flex-direction: column;
}
.redes-container a{
    text-decoration: none;
    color: #6D2A02;
    font-size: 20px;
    margin: 2px;
    transition: all 0.3s;
}
.redes-container a i{
    gap: 25px;
    margin-right: 8px;
}
.redes-container a:hover{
    color: #D95814;
    transform: scale(1.08);
}
#formulario-correo{
    background-color: #6D2A02;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
}
.row-input{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background-color: #6D2A02;
}
.input-group{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #6D2A02;
}
#formulario-correo label{
    background-color: #6D2A02;
    color: #F1E8C7;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}
#formulario-correo i{
    background-color: #6D2A02;
    margin-right: 8px;
}
#formulario-correo input,
#formulario-correo textarea{
    width: 100%;
    height: 20px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    color: #6D2A02;
    background: #F1E8C7;
}
#formulario-correo textarea{
    min-height: 140px;
    resize: none;
    margin-bottom: 20px;
}
#formulario-correo input:focus,
#formulario-correo textarea:focus{
    box-shadow: -1px 0px 21px 0px rgba(222,108,7,0.75);
    -webkit-box-shadow: -1px 0px 21px 0px rgba(222,108,7,0.75);
    -moz-box-shadow: -1px 0px 21px 0px rgba(222,108,7,0.75);
}
.btn-contact{
    background-color: #D95814;
    color: #F1E8C7;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.btn-contact:hover{
    transform: scale(1.05);
    background-color: #ee5908;
}
@media (max-width: 768px){
    #contacto{
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        margin: 0;
    }
    .text-container,
    .contact-container{
        width: 100%;
        max-width: 100%;
    }
    .row-input{
        flex-direction: column;
        gap: 15px;
    }
    #formulario-correo{
        padding: 25px;
        border-radius: 25px;
    }
    #formulario-correo input,
    #formulario-correo textarea{
        font-size: 16px;
    }
    .contact-text,
    .redes-container{
        padding: 0;
    }
    .contact-text h1,
    .redes-container h1{
        font-size: 36px;
    }
    .contact-text p{
        font-size: 18px;
        line-height: 1.5;
    }
}
/* 
   SECCIÓN HERO 
*/
#hero {
    position: relative;
    width: 100%;
    
    height: calc(100vh - 90px); 
    min-height: 620px; 
    
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.1) 100%), url('assets/img16_s2.jpg'); 
    background-size: cover;
    background-position: center;
    
    padding: 60px 6% 40px 6%; 
    box-sizing: border-box;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: flex-start;
}
.hero-textos {
    max-width: 600px;
    margin-top: auto; 
    margin-bottom: auto; 
    display: flex;
    flex-direction: column;
    gap: 24px; 
}

#hero h1 {
    color: #ffffff !important;
    font-size: 3.4rem;
    line-height: 1.1;
    margin: 0;
}

.text-orange {
    color: #D95814 !important;
}

#hero p {
    color: #E0E0E0 !important;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
    max-width: 540px;
}

.boton-accion {
    display: inline-block;
    align-self: flex-start;
    background-color: #D95814;
    color: #F1E8C7 !important;
    text-decoration: none !important;
    padding: 13px 36px;
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s ease;
    box-shadow: 0px 4px 15px rgba(217, 88, 20, 0.3);
    text-align: center;
}

.boton-accion:hover {
    transform: scale(1.03);
    background-color: #ee5908;
}

.contenedor-iconos {
    align-self: flex-start;
    width: auto; 
    
    
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    
    margin-top: 0; 

    display: flex;
    gap: 35px;
    padding: 14px 30px; 
    margin-bottom: 0; 
}

.contenedor-iconos div {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px; 
}

.contenedor-iconos div i {
    color: #D95814 !important; 
    font-size: 1.25rem; 
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3)); 
}
@media (max-width: 480px) {
    .contenedor-iconos{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        gap: 8px;
    }
    .contenedor-iconos div{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 11px;
        line-height: 1.2;
    }
    .contenedor-iconos i{
        font-size: 18px;
        margin-bottom: 5px;
    }
}
/*Footer*/
footer{
    display: flex;
    flex-direction: column;
}
.footer-principal{
    background-color: #6D2A02;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    color: #F1E8C7;
    border-top: solid 2px #F1E8C7;
}
.footer-principal h1{
    font-size: 18px;
    padding-bottom: 5px;
}
.footer-principal a{
    font-size: 15px;
    text-decoration: none;
    color: #F1E8C7;
    transition: all 0.3s;
}
.footer-principal a:hover{
    color: #D95814;
    transform: scale(1.05);
}
.navegacion-rapida,
.contacto-footer,
.redes-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contacto-footer a i,
.redes-footer a i{
    margin-right: 2px;
}
.marca-agua{
    width: 100%;
    background-color: #4B1C01;
    text-align: center;
    color: #F1E8C7;
}
.marca-agua a{
    text-decoration: none;
    color: #F1E8C7;
    transition: all 0.3s;
}
.marca-agua a:hover{
    color: #D95814;
}
/* TABLET */
@media (max-width: 768px){
    .footer-principal{
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
        padding: 25px 20px;
    }
    .navegacion-rapida,
    .contacto-footer,
    .redes-footer{
        width: 100%;
    }
    .footer-principal h1{
        font-size: 20px;
    }
    .footer-principal a{
        font-size: 16px;
        margin: 3px 0;
    }
}
/* CELULARES */
@media (max-width: 480px){
    .footer-principal{
        gap: 25px;
        padding: 20px 15px;
    }
    .footer-principal h1{
        font-size: 18px;
    }
    .footer-principal a{
        font-size: 15px;
    }
    .marca-agua{
        padding: 10px;
        font-size: 14px;
    }
}
/* ========================= */
/* HISTORIA */
/* ========================= */

#historia{
    padding: 60px 0;
    background-color: #F1E8C7;
}

.historia-titulo{
    text-align: center;
    color: #6D2A02;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
}

.historia-slider{
    position: relative;
    width: 96%;
    max-width: 1500px;
    margin: 0 auto;
}

.historia-slide{
    display: none;
    animation: historiaFade .5s ease;
}

.historia-slide.active{
    display: block;
}

.historia-card{

    background-color: #F1E8C7;

    border: 2px solid #D9CEA7;

    border-radius: 25px;

    min-height: 430px;

    padding: 45px 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;

    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.historia-texto{
    flex: 1;
    color: #6D2A02;
}

.historia-texto h3{
    text-align: center;
    font-size: 38px;
    margin-bottom: 25px;
    font-weight: 700;
}

.historia-texto p{
    font-size: 21px;
    line-height: 1.65;
    text-align: left;
}
.historia-texto ul{
    font-size: 21px;
    line-height: 1.65;
    text-align: left;
}
.historia-texto ul li{
    margin-left: 40px;
}

.historia-imagen{

    flex: 1.4;

    display: flex;
    justify-content: center;
    align-items: center;
}

.historia-imagen img{

    width: 100%;

    max-width: 580px;

    height: 360px;

    object-fit: cover;

    border-radius: 15px;
}

/* ========================= */
/* FLECHAS */
/* ========================= */

.historia-nav{

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: #D95814;

    color: white;

    font-size: 28px;

    cursor: pointer;

    transition: .3s;

    z-index: 20;
}

.historia-nav:hover{

    background: #ee5908;

    transform: translateY(-50%) scale(1.08);
}

.historia-prev{
    left: -20px;
}

.historia-next{
    right: -20px;
}

/* ========================= */
/* DOTS */
/* ========================= */

.historia-dots{

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 18px;
}

.historia-dots span{

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #F0B58E;

    cursor: pointer;

    transition: .3s;
}

.historia-dots span.active{
    background: #D95814;
}

/* ========================= */
/* ANIMACIÓN */
/* ========================= */

@keyframes historiaFade{

    from{
        opacity: 0;
        transform: translateY(15px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width: 1024px){
    .historia-card{
        min-height: auto;
        gap: 35px;
        padding: 35px;
    }
    .historia-texto h3{
        font-size: 32px;
    }
    .historia-texto p{
        font-size: 19px;
    }
    .historia-imagen img{
        max-width: 420px;
        height: 270px;
    }
}
/* ========================= */
/* MÓVIL */
/* ========================= */
@media (max-width: 768px){
    #historia{
        padding: 50px 15px;
    }
    .historia-titulo{
        font-size: 36px;
        margin-bottom: 25px;
    }
    .historia-card{
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
    .historia-texto h3{
        font-size: 26px;
    }
    .historia-texto p{
        font-size: 17px;
        text-align: center;
    }
    .historia-imagen{
        flex: 1;
        width: 100%;
    }
    .historia-imagen img{
        width: 100%;
        max-width: 340px;
        height: 220px;
    }
    .historia-prev{
        left: -5px;
    }
    .historia-next{
        right: -5px;
    }
    .historia-nav{
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .historia-nav{
    width: 30px;
    height: 30px;
}
}
/*Alianzas*/
#alianzas {
    width: 100%;
    height: 350px;
    padding: 15px;
    background-color: #6D2A02;
    overflow: hidden;
}
.container-clientes {
    text-align: center;
    margin-bottom: 40px;
}
.container-clientes h2 {
    font-size: 36px;
    font-weight: 900;
    color: #F1E8C7;
    text-decoration: underline;
    margin-bottom: 2px;
}
.container-info-clientes {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    color: #F1E8C7;
}
.carrusel{
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carrusel-cliente-card{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 1s ease;
    opacity: .35;
}
.carrusel-cliente-card img{
    width: 150px;
    height: auto;
}
.carrusel-cliente-card h3{
    color: #F1E8C7;
}
.carrusel-cliente-card{
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all 1s ease;
}
.center,
.left,
.right,
.far-left,
.far-right{
    opacity: 1;
}
/* CENTRO */
.center{
    transform: translateX(0) scale(1.15);
    opacity: 1;
    z-index: 5;
}
/* IZQUIERDA CERCANA */
.left{
    transform: translateX(-220px) scale(.95);
    opacity: .75;
}
/* DERECHA CERCANA */
.right{
    transform: translateX(220px) scale(.95);
    opacity: .75;
}
/* EXTREMOS */
.far-left{
    transform: translateX(-420px) scale(.8);
    opacity: .4;
}
.far-right{
    transform: translateX(420px) scale(.8);
    opacity: .4;
}
@keyframes scrollCarrusel{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}
@media (max-width: 768px){
    #alianzas{
        height: 240px;
        padding: 10px 5px;
    }
    .container-clientes h2{
        font-size: 30px;
    }
    .carrusel{
        height: 180px;
    }
    .carrusel-cliente-card img{
        width: 120px;
    }
    .left{
        transform: translateX(-140px) scale(.9);
    }
    .right{
        transform: translateX(140px) scale(.9);
    }
    .far-left,
    .far-right{
        display: none;
    }
}
@media (max-width: 480px){
    #alianzas{
        height: 240px;
        padding: 10px 5px;
    }
    .container-clientes h2{
        font-size: 26px;
    }
    .container-info-clientes p{
        font-size: 14px;
        padding: 0 15px;
    }
    .carrusel{
        height: 130px;
        margin: 5px;
    }
    .carrusel-cliente-card img{
        width: 100px;
    }
    .carrusel-cliente-card h3{
        font-size: 16px;
        text-align: center;
    }
    .left,
    .right,
    .far-left,
    .far-right{
        display: none;
    }
    .center{
        transform: translateX(0) scale(1);
    }
}
/*Seccion actividades*/
#actividades{
    margin: 10px;
    display: flex;
    color: #6D2A02;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}
.titulo-imagen{
    padding: 10px;
}
.titulo-imagen h1{
    font-size: 36px;
    text-decoration: underline;
}
.img-act{
    width: 500px;
    height: 700px;
    border-radius: 20px;
    background-image: url("./assets/img13_s.jpg");
    background-size: cover;
    background-position: center;
}
.texto{
    padding: 10px;
    text-align: justify;
    width: 650px;
    margin-top: 60px;
    font-size: 25px;
}
.cajas-texto{
    text-align: center;
    padding-top: 50px;
    font-weight: 900;
    font-size: 30px;
}
.cajas-texto span{
    font-size: 40px;
}
@media (max-width: 375px){
    #actividades{
        margin: 10px;
    }
    .titulo-imagen h1{
        font-size: 26px;
    }
    .img-act{
        height: 250px;
    }
    .texto{
        font-size: 15px;
        line-height: 1.5;
    }
    .cajas-texto{
        font-size: 20px;
        padding-top: 20px;
    }
    .cajas-texto span{
        font-size: 28px;
    }
}
@media (max-width: 480px){
    .titulo-imagen h1{
        font-size: 28px;
    }
    .img-act{
        height: 280px;
        border-radius: 15px;
    }
    .texto{
        font-size: 16px;
    }
    .cajas-texto{
        font-size: 22px;
    }
    .cajas-texto span{
        font-size: 32px;
    }
}
@media (max-width: 768px){
    #actividades{
        flex-direction: column;
        gap: 20px;
        margin: 15px;
    }
    .titulo-imagen{
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .img-act{
        width: 100%;
        height: 300px;
        max-width: none;
        margin: 0;
        border-radius: 15px;
    }
    .texto{
        width: 100%;
        padding: 0;
        margin-top: 0;
        font-size: 18px;
        text-align: justify;
        box-sizing: border-box;
    }
}
@media (max-width: 1024px){
    #actividades{
        gap: 50px;
        align-items: center;
    }
    .img-act{
        width: 350px;
        height: 500px;
    }
    .texto{
        width: 100%;
        font-size: 20px;
        margin-top: 0;
    }
}