/* 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;
}

/* IMAGEN Y TEXTO */
.caja-textoImgen{
    width: 100%;
    text-align: center;
}

.caja-textoImgen img{
    width: 100%;
    object-fit: contain;
    margin: 1.5rem 0;
}

.caja-textoImgen h3{
    padding: 1.5rem;
    font-family: "Nunito Sans", serif;
    background-color: #00000069;
    color: #fff;
    margin: 1rem;
    border-radius: 4px;
}

/* FORMULARIO */
.caja-formulario{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: #00000069;
    color: #fff;
    margin: 1rem;
    border-radius: 4px;
}

.caja-formulario h3{
    text-align: center;
    color: #042a83;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.caja-formulario p{
    text-align: center;
}

.formulario{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.formulario label{
    margin: .5rem 0;
    font-weight: 600;
    color: #042a83; 
}

.formulario-input{
    padding: .8rem;
    font-size: 1rem;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #00017B;
    outline: none;
    color: #fff;
}

.formulario-input::placeholder{
    color: #ffffff49;
}

.formulario input[type="number"] {
    -webkit-appearance: textfield;
       -moz-appearance: textfield;
            appearance: textfield;
  }
.formulario input[type=number]::-webkit-inner-spin-button, 
.formulario input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
}

.formulario-input:focus{
    border: 1px solid #00017B;
}

.formulario-textArea{
    height: 8rem;
}

.formulario-btn{
    width: fit-content;
    margin: auto;
    padding: 1rem;
    font-size: 1rem;
    margin: 2rem auto 2rem auto;
    color: #00017B;
    border: 1px solid #00017B;
    font-weight: 600;
    background-color: transparent;
    border-radius: 1rem;
}

.formulario-btn:focus, .formulario-btn:hover{
    background-color: #00017B;
    color: #fff;
    cursor: pointer;
}

.formulario-mensajeEnviado{
    display: none;
}

.h-captcha{
    margin-top: 1rem;
}

/* FOOTER */
.footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.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-redes{
    margin-left: .8rem;
}

.footer-redes h3{
    margin-bottom: .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: 80%;
    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:768px){
    /* FORMULARIO */
    .formulario{
        width: 80%;
        margin: 2rem auto;
    }
}

@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-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
    }

    .header-logo-clubtnt {
        gap: 1rem;
        padding: 1rem;
    }

    .header-nav{
        margin: auto 0 auto 0;
    }

    .header-nav-ul-li {
        margin: 0 1rem 0 1rem;
    }

    /* FORMULARIO */
    .formulario{
        width: 60%;
    }

    /* IMAGEN Y TEXTO */
    .caja-textoImgen img{
        max-width: 1560px;
        max-height: 100%;
    }
}

@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;
    } 
    
    /* 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;
    }
}

