/* GENERAL */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    background-image: url(../img/fondo.jpg);
    
}

/* BOTON DE WHATSAPP */
.btn-wspp{
    position: fixed;
    bottom: 8rem;
    right: 1rem;
    padding: 1.2rem;
    border-radius: 100%;
    background-color: #026e02;
    color: #fff;
    width: 4rem;
    height: 4rem;
    z-index: 1;
}

.btn-wspp i{
    font-size: 2.8rem;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

/* Modal: imagen cuando se abre la pestaña */
.modalImg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
 
.modalImg-overlay.active {
  opacity: 1;
  pointer-events: all;
}
 
.modalImg {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.36, 1);
}
 
.modalImg-overlay.active .modalImg {
  transform: translateY(0) scale(1);
}
 
.modalImg-imagen {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;

}
 
.modalImg-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a237e;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.15s;
}
 
.modalImg-close:hover {
  background: #0d1257;
}

/* HEADER */
.header{
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header-redes{
    padding: 1.5rem;
}

.header-redes a{
    font-size: 1.2rem;
    background-color: #026e02;
    color: #fff;
    padding: .7rem;
    border: #026e02 solid .2rem;
    text-decoration: none;
    border-radius: 1rem;
}

.header-redes .i-wsp{
    color: #fff;
    background-color: #026e02;
    padding: .5rem;
    border: #fff solid .1rem;
    border-radius: 100%;
}

.header-redes-idiomas{
    position: absolute;
    right: 18px;
    top: 18px;
    height: 50px;
    overflow: hidden;
    transition: height 0.3s ease;
    border-radius: 6px;
    cursor: pointer;
}

.header-redes-idiomas.abierto{
  height: 200px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.header-redes-idiomas .idioma{
    background-color: #042a83;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .5rem;
    color: #fff;
    height: 50px;
}

.header-redes-idiomas img{
    width: 60px;
    object-fit: contain;
    border-radius: 4px;
}

.header-redes-idiomas p{
    margin: .5rem 1.2rem .5rem .5rem;
}

.header-redes-idiomas .btnIdioma{
    position: absolute;
    top: 17px;
    right: 5px;
    color: #fff;
}

.header-logo-clubtnt{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-logo-clubtnt a{
    background-color: #042a83;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-logo img{
    width: 12rem;
    object-fit: contain;
}

.header-nav{
    display: flex;
    margin: 2rem 0;
    transform: rotate(0deg) scale(1.003) skew(-25deg) translate(0px);
    transform-style: flat;
}

.header-nav-ul{
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: top .7s linear;
}

.header-nav-ul-li a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: .6rem;
    border: 2px solid #fff;
    border-radius: .4rem;
    background-color: #9D9D9D;
}

.header-nav-ul-li a:active, .header-nav-ul-li a:hover{
    background-color: #042a8371;
}

.header-nav-ul-li-a-active{
    border: 2px solid #fff;
    background-color: #042a8371 !important;
}

/* MAIN */
.main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/*SLIDER PROPAGANDA*/
.container-slider{
    width: 100%;
    overflow: hidden;
    
}

.slider{
    max-height: 38rem;
    display: flex;
    width: 900%;
    margin-left: -100%;
}

.slider-section{
    width: 100%;
    position: relative;
}

.slider-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SECTION 2 */
.section2-text{
    width: 100%;
    padding: 1.5rem;
}

.section2-text h2{
    margin-bottom: 5px;
    color: #042a83;
}

/* SECTION 3 */
.section3-img{
    width: 100%;
    padding: 1rem 0;
}

.section3-img img{
    width: 100%;
    object-fit: contain; 
}

/* SECTION 4 */
.section4{
    width: 100%; 
    text-align: center;
}

.section4 img{
    object-fit: contain;
    width: 100%;
    margin-bottom: 2rem;
}


/* SECTION 5 */
.section5{
    width: 100%;
    text-align: center;
    background-image: linear-gradient(45deg, rgba(5, 172, 235, 1) 37%, rgba(4, 42, 131, 1) 100%);
    padding:  1rem 0;;
}

.section5 i{
    padding: 1rem;
    border-radius: 100%;
    color: #fff;
    background-color: #002850;
    text-align: center;
    font-size: 2.3rem;
    margin: 1rem 0;
}

.section5 h3, .section5 h2{
    color: #fff;
}

.section5 h2{
    margin-top: .6rem ;
    font-size: 2rem;
}

/* FOOTER */
.footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer .footer-logo{
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    margin-left: 1rem;
}

.footer-contacto{
    margin-left: .8rem;
}

.footer-contacto h3{
    margin-bottom: .4rem;
    color: #042a83;
}

.footer-contacto ul{
    list-style: none;
}

.footer-contacto ul li{
    line-height: 1.4rem;
}

.footer-contacto ul li i{
    color: #042a83;
    margin-right: 4px;
}

.footer-direccion{
    margin-left: .8rem;
}

.footer-direccion p{
    line-height: 1.4rem;
}

.footer-direccion h3{
    margin: .4rem 0;
    color: #042a83;
}

.footer-redes{
    margin-left: .8rem;
}

.footer-redes h3{
    margin: .4rem;
    color: #042a83;
}

.footer-redes a{
    display: inline-block;
    position: relative;
    color: #042a83;
    font-size: 1.5rem;
    border: .1rem solid #042a83;
    margin: 0 .5rem 0 0;
    border-radius: 100%;
    width: 2.8rem;
    height: 2.8rem;
}

.footer-redes a:active, .footer-redes a:hover{
    background-color: #042a83;
    color: #fff;
}

.footer-redes a i{
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-horarios{
    margin-left: .8rem;
}

.footer-horarios h3{
    margin-bottom: .4rem;
    color: #042a83;
}

.footer-horarios p{
    line-height: 1.4rem;
}

.footer-division{
    width: 85%;
    height: .1rem;
    background-color: #042a83;
    margin: 2rem .8rem;
}

.footer-final{
    margin:  0 .8rem 1rem .8rem;
}

.creditos{
    margin: .5rem auto .8rem 1rem;
}

.creditos a{
    text-decoration: none;
    font-weight: 700;
    color: #00017B;
    padding: .8rem;
    border: 1px solid #00017B;
    border-radius: .4rem;
}

.creditos a:active, .creditos a:hover{
    background-color: #042a83;
    color: #fff;
}

/* RESPONSIVE */
@media screen and (min-width:425px){
    /* HEADER */
    .header-logo h2{
        font-size: 2.7rem;
    }

    /* FOOTER */
    .footer-contacto ul li:nth-child(4){
        margin-bottom: 0;
    }
}

@media screen and (min-width:549px){
    /* FOOTER */
    .footer-direccion h3{
        margin: 0 0 .4rem 0;
    }
}

@media screen and (min-width:622px){
    /* GENERAL */
    body{
        background-size: contain;
    }
}

@media screen and (min-width:646px){
    /* FOOTER */
    .creditos{
        margin: .5rem 1rem .8rem auto;
    }
}

@media screen and (min-width:729px){
    /* FOOTER */
    .footer-redes h3{
        margin: 0 0 .4rem 0;
    }
}

@media screen and (min-width:973px){
    /* FOOTER */
    .footer-horarios h3{
        margin-top: 0;
    }
}

@media screen and (min-width:1024px){
    /* HEADER */
    .header{
        position: relative;
        flex-direction: row;
        justify-content: space-between;
    }

    .header-redes{
        flex-shrink: 0;
        margin: auto 0 auto 0;
        padding: .5rem;
    }
    
    .header-redes a{
        padding: .6rem;
        font-size: 1rem;
    }

    .header-logo-clubtnt {
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-nav{
        margin: auto 0 auto 0;
    }
    
    .header-nav-ul-li {
        margin: 0 1rem 0 1rem;
    }
    
    .header-redes-idiomas{
        top: 8px;
        height: 35px;
        z-index: 10;
    }

    .header-redes-idiomas.abierto{
        height: 140px;
    }

    .header-redes-idiomas .idioma{
        padding: .25rem;
        height: 35px;
    }

    .header-redes-idiomas img{
        width: 40px;
    }

    .header-redes-idiomas .btnIdioma{
        top: 9.5px
    }
    /* SLIDER */
    .container-slider{
        width: 35%;
        position: absolute;
        right: 1.5rem; 
        top: 7rem;
    }

    .slider{
        max-height: 38rem;
    }

    .section2-text{
	    width: 60%;
    }

    /* SECTION 2 */
    .section2-text h2{
        font-size: 27px;
    }

    .section2-text p{
        font-size: 18px;
    }

    .section2-text2{
        order: 5;
    }

    /* SECTION 3 */
    .section3-img{
	    width: 60%;
        margin-left: 1.5rem;
    }

    /* PASO A PASO */
    .section4 img{
        padding: 1.5rem;
    }

}

@media screen and (min-width:1101px){
    /* HEADER */
    .header-redes{
        margin: auto 0 auto 2rem;
    }

    .header-nav{
        margin: auto 2rem auto 0;
    }
}

@media screen and (min-width:1115px){
    /* HEADER */
    .header-nav-ul-li {
        margin: 0 1.5rem 0 1.5rem;
    } 
    
    /* SLIDER */
    .container-slider{
        max-height: 42rem;
    }

    .slider{
        max-height: 42rem;
    }

    /* FOOTER */
    .footer-contacto,.footer-contacto,.footer-direccion, .footer-redes, .footer-horarios{
        margin-left: 3rem;
    } 
}

@media screen and (min-width:1365px){
    /* HEADER */
    .header-nav-ul-li {
        margin: 0 2rem 0 2rem;
    } 

    /* FOOTER */
    .footer-contacto,.footer-contacto,.footer-direccion, .footer-redes, .footer-horarios{
        margin-left: 5rem;
    } 
}

@media screen and (min-width:1440px){
    .header-logo-clubtnt{
        gap: 4rem;
    }
}


