/*Importamos fuente */

/* reglado el url */ 

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 :root{
    --header-height: 81px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow';

}
html{
    scroll-behavior: smooth;

}
body{
    background-color: rgb(236, 229, 221);
    padding-top: var(--header-height);
}

/*MENU*/

.contenedor-header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid #433f4c;
    background-color: rgb(207, 207, 207);
    z-index: 99;
    padding: 0 20px;
}
.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: azure;


}
.contenedor-header header h1{
    margin: 0;
}
.brand-title{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0e5d8;
    font-size: 1.9rem;
    line-height: 1;
}
.brand-logo{
    width: 30px;
    height: 30px;
    display: block;
}
.txtLetraColor{
    color: rgb(143, 121, 121);
}
.contenedor-header header nav{
    display: flex;
    align-items: center;
    gap: 6px;
}
.contenedor-header header nav a{
    display: inline-block;
    text-decoration: none;
    color: rgb(167, 158, 145);
    padding: 5px;
    text-transform: uppercase;
}
.contenedor-header header nav a:hover{
    color: rgb(119, 51, 51);

}
.contenedor-header header nav a.active{
    color: rgb(119, 51, 51);
    font-weight: 700;
}
.nav-login-btn{
    margin-left: auto;
    border: 1px solid #8f7d6a;
    border-radius: 8px;
    padding: 6px 12px !important;
    color: #5a4330 !important;
    background: rgba(255, 255, 255, 0.45);
    font-weight: 700;
}
.nav-login-btn:hover{
    background: rgba(255, 255, 255, 0.7);
    color: #4a3423 !important;
}

.nav-responsive{
    display: none;
}

.mobile-quick-tab{
    display: none;
}

/*SECCION INICIO*/

.inicio{
    height: calc(100vh - var(--header-height));
    margin-top: 0;
    background:linear-gradient(rgba(0, 1, 3, 0.5), rgba(0,0,0,.7)),url(img/inizio.png);
    /*background-image: url(fondo.jpg);*/
    background-size: cover;
    background-position: top center;
    color: #fff;
    position: relative;
}

.inicio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.inicio .info{
    width: fit-content;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.inicio .info h2{
    font-size: 4rem;
    letter-spacing: 3px;
}

.inicio .info p{
    margin: 20px 0;
    color: darkgray;
    font-size: 16px;
    text-transform: uppercase;
}

.hero-login-note{
    color: #d7cec2 !important;
    text-transform: none !important;
    margin: 0 0 14px 0 !important;
}

.hero-subtitle-mobile{
    display: none;
}

.hero-login-btn{
    display: inline-flex;
    width: fit-content;
    text-decoration: none;
}

.hero-login-btn:hover{
    background: rgba(255, 255, 255, 0.55);
}

.glass-cta-box{
    margin-top: 12px;
    width: min(520px, 92vw);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.inicio .info .btn-mas{
    width: 50px;
    margin: auto;
    height: 50px;
    border: 2px solid #7e511ef4;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #b28c60;
    margin-top: 50px;
    text-decoration: none;
}

.opciones{
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

}

.opciones .opcion{
    border-top: 2px solid #b28c60;
    padding: 7px;
    color: #797e8e;
    margin: 0 20px;
}




/* Pagina NOSOTROS */

.nosotros{
    max-width: 1100px;
    margin: auto;
    height: 100vh;
    background-color: #dde1e9;
    padding: 100px 20px;
}
.nosotros .fila{
    display: flex;
    align-items: center;
}
.nosotros .fila .col{
    width: 50%;
}
.nosotros .fila .col img{
    width: 80%;
    display: block;
    margin: auto;
    margin-bottom: 50px;
}
.nosotros .fila .col .contenedor-titulo{
    display: flex;
    align-items:center
}
.nosotros .fila .col .contenedor-titulo .numero{
    color: #96a1b5;
    font-weight: bold;
    display: block;
    font-size: 5rem;
}
.nosotros .fila .col .contenedor-titulo .info{
    margin-left: 30px;
}
.nosotros .fila .col .contenedor-titulo .info .frase{
    color: #b9ede4;
}
.nosotros .fila .col .contenedor-titulo .info h2{
    font-size: 2rem;
}
.nosotros .fila .col p{
   margin-bottom: 10px;
   line-height: 28px;
}
.nosotros .fila .col .p-especial{
    font-weight: bold;
}
.nosotros hr{
    margin-bottom: 30px;
}
.nosotros .fila-nosotros{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nosotros .fila-nosotros .frase{
    font-size: 18px;
    font-weight: 600;
}
.nosotros .fila-nosotros h2{
    font-size: 25px;
}
.nosotros .fila-nosotros button{
    background-color: #b3916c;
    border: none;
    color: #603915;
    padding: 15px 35px;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.inicio-nosotros{
    background: linear-gradient(rgba(0, 1, 3, 0.5), rgba(0,0,0,.7)), url(img/nosotros.png);
    background-size: cover;
    background-position: top center;
}

.inicio-clases{
    background: linear-gradient(rgba(0, 1, 3, 0.5), rgba(0,0,0,.7)), url(img/clases.jpg);
    background-size: cover;
    background-position: center;
}

.inicio-clases .info{
    text-align: center;
}

.inicio-clases .lista-clases{
    margin-top: 24px;
    list-style: none;
    color: #d7cec2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inicio-clases .lista-clases li{
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.inicio-clases .lista-clases a{
    color: #d7cec2;
    text-decoration: none;
    border-bottom: 1px solid rgba(215, 206, 194, 0.3);
}

.inicio-clases .lista-clases a:hover{
    color: #f2e8db;
    border-bottom-color: rgba(242, 232, 219, 0.9);
}

.nosotros-texto{
    padding: 56px 20px;
}

.nosotros-texto-wrap{
    max-width: 1100px;
    margin: auto;
    background: #e1d9cf;
    border: 1px solid #c2ad96;
    border-radius: 12px;
    padding: 26px;
}

.nosotros-texto-wrap p{
    color: #5a4330;
    line-height: 1.85;
    margin-bottom: 16px;
}

.nosotros-texto-wrap p:last-child{
    margin-bottom: 0;
}

.clases-detalle{
    max-width: 1100px;
    margin: 0 auto;
    padding: 54px 20px;
    display: grid;
    gap: 24px;
}

.clase-item{
    background: #e1d9cf;
    border: 1px solid #c2ad96;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 58%;
}

.clase-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    opacity: 0;
    transform: translateX(-36px);
    animation: claseImgIn 700ms ease-out forwards;
}

.clase-item:nth-child(2) img{
    animation-delay: 140ms;
}

.clase-item:nth-child(3) img{
    animation-delay: 280ms;
}

.clase-item-texto{
    padding: 24px;
}

.clase-item-texto h3{
    color: #5a4330;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clase-item-texto p{
    color: #73593f;
    line-height: 1.8;
}

.inicio-tarifa{
    background: linear-gradient(rgba(0, 1, 3, 0.5), rgba(0,0,0,.7)), url(img/tarifa.jpg);
    background-size: cover;
    background-position: center;
}

.tabla-tarifa{
    width: min(760px, 90vw);
    margin-top: 24px;
    background: rgba(9, 11, 15, 0.55);
    border: 1px solid rgba(178, 140, 96, 0.6);
    border-radius: 12px;
    padding: 12px 18px;
}

.fila-tarifa{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(215, 206, 194, 0.25);
    color: #d7cec2;
    text-transform: uppercase;
}

.fila-tarifa:last-child{
    border-bottom: none;
}

.fila-tarifa strong{
    color: #f0e5d8;
    white-space: nowrap;
}

.inicio-contacto{
    background: linear-gradient(rgba(0, 1, 3, 0.5), rgba(0,0,0,.75)), url(img/contacto.jpg);
    background-size: cover;
    background-position: center;
}

.contacto-panel{
    width: min(860px, 92vw);
    margin-top: 44px;
    background: rgba(9, 11, 15, 0.52);
    border: 1px solid rgba(178, 140, 96, 0.6);
    border-radius: 12px;
    padding: 16px;
}

.contacto-panel iframe{
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 10px;
}

.contacto-botones{
    display: flex;
    gap: 14px;
    margin-top: 14px;
    justify-content: center;
}

.btn-contacto{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #f0e5d8;
    border: 1px solid #b28c60;
    border-radius: 8px;
    padding: 10px 16px;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.btn-contacto:hover{
    background-color: rgba(178, 140, 96, 0.2);
}

.inicio-login{
    background: linear-gradient(rgba(0, 1, 3, 0.58), rgba(0,0,0,.78)), url(img/login.jpg);
    background-size: cover;
    background-position: center;
}

.inicio-signin{
    background: linear-gradient(rgba(0, 1, 3, 0.58), rgba(0,0,0,.78)), url(img/signin.jpg);
    background-size: cover;
    background-position: center;
}

.auth-wrap{
    width: min(920px, 94vw);
    text-align: center;
}

.auth-grid{
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
}

.auth-card{
    background: rgba(9, 11, 15, 0.58);
    border: 1px solid rgba(178, 140, 96, 0.6);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.auth-card h3{
    color: #f0e5d8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.auth-card label{
    color: #d7cec2;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.auth-card input{
    width: 100%;
    border: 1px solid #9e8365;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #f5f0e9;
    padding: 10px 12px;
}

.auth-card input::placeholder{
    color: rgba(245, 240, 233, 0.7);
}

.auth-card button{
    margin-top: 8px;
    border: 1px solid #b28c60;
    border-radius: 8px;
    background: #b28c60;
    color: #2b1d0f;
    padding: 11px 14px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}

.auth-card button:hover{
    background: #c39b6e;
}

.auth-single{
    width: min(460px, 92vw);
    margin: 24px auto 0;
}

.auth-help{
    margin: 4px 0 0;
    color: #d7cec2;
    text-transform: none;
    font-size: 0.95rem;
}

.auth-link{
    color: #cfa677;
    text-decoration: underline;
    text-transform: none;
    margin-bottom: 8px;
}

.site-footer{
    background-color: #d3cbc2;
    border-top: 1px solid #9e9083;
    padding: 28px 20px;
}

.footer-contenido{
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 20px;
}

.footer-col h3,
.footer-col h4{
    color: #5f4630;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-col p{
    color: #73593f;
}

.footer-col a{
    display: block;
    text-decoration: none;
    color: #73593f;
    margin-bottom: 7px;
}

.footer-col a:hover{
    color: #4f3621;
}

@media (max-width: 900px){
    body{
        padding-bottom: 78px;
    }

    .contenedor-header{
        padding: 0 14px;
    }

    .contenedor-header header{
        padding: 14px 0;
        gap: 10px;
        justify-content: space-between;
    }

    .contenedor-header header h1{
        font-size: 1.15rem;
    }

    .contenedor-header header nav{
        display: none;
        gap: 6px;
        flex-direction: column;
        position: absolute;
        left: 14px;
        right: 14px;
        top: calc(var(--header-height) - 4px);
        background: rgba(214, 207, 197, 0.97);
        border: 1px solid #998978;
        border-radius: 10px;
        padding: 10px;
        transform-origin: top;
        z-index: 130;
    }

    .contenedor-header header nav a{
        font-size: 0.9rem;
        padding: 9px 10px;
        background: rgba(255,255,255,0.45);
        border-radius: 6px;
    }

    .contenedor-header header nav .nav-login-btn{
        margin-left: 0;
        text-align: center;
    }

    #nav.is-open{
        display: flex;
    }

    #nav.is-opening{
        animation: menuOpen 220ms ease-out forwards;
    }

    #nav.is-closing{
        animation: menuClose 220ms ease-in forwards;
    }

    .nav-responsive{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        border: 1px solid #8f7d6a;
        border-radius: 8px;
        color: #5a4330;
        background: rgba(255, 255, 255, 0.45);
        padding: 6px 12px;
        font-size: 0.86rem;
        text-transform: uppercase;
        font-weight: 700;
        cursor: pointer;
    }

    .inicio{
        height: auto;
        min-height: 0;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: top center;
        background-color: transparent;
        padding-top: clamp(180px, 58vw, 420px);
    }

    .inicio .contenido-seccion{
        min-height: 0;
        display: block;
        padding: 0 14px 24px;
    }

    .inicio .info{
        position: static;
        transform: none;
        width: min(92vw, 700px);
        margin: -54px auto 0;
    }

    .inicio .info h2{
        font-size: 2.5rem;
        line-height: 1.1;
        text-shadow: 0 3px 12px rgba(0,0,0,0.5);
    }

    .inicio .info p{
        margin: 14px 0;
        font-size: 0.92rem;
    }

    .hero-subtitle-desktop{
        display: block;
    }

    .hero-subtitle-mobile{
        display: none;
    }

    .glass-cta-box{
        width: 100%;
        padding: 14px;
    }

    .auth-grid{
        grid-template-columns: 1fr;
    }

    .fila-tarifa{
        flex-direction: column;
        align-items: flex-start;
    }

    .contacto-panel iframe{
        height: 260px;
    }

    .contacto-botones{
        flex-direction: column;
    }

    .clase-item{
        grid-template-columns: 1fr;
    }

    .clase-item img{
        min-height: 240px;
    }

    .footer-contenido{
        grid-template-columns: 1fr 1fr;
    }

    .mobile-quick-tab{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: #cfc5bb;
        border-top: 1px solid #8f7f6f;
    }

    .mobile-quick-tab a{
        text-decoration: none;
        color: #5c4530;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 9px 4px 10px;
        font-size: 0.78rem;
        text-transform: uppercase;
    }

    .mobile-quick-tab a i{
        font-size: 1.1rem;
    }
}

@media (max-width: 560px){
    .contenedor-header header{
        flex-direction: row;
        align-items: center;
    }

    .contenedor-header header nav{
        width: 100%;
        left: 10px;
        right: 10px;
    }

    .brand-logo{
        width: 24px;
        height: 24px;
    }

    .inicio .info h2{
        font-size: 2rem;
    }

    .inicio{
        padding-top: clamp(165px, 62vw, 320px);
    }

    .inicio .info{
        margin-top: -42px;
    }

    .lista-clases li,
    .fila-tarifa span,
    .fila-tarifa strong{
        font-size: 0.95rem;
    }

    .contacto-panel{
        padding: 12px;
    }

    .contacto-panel iframe{
        height: 220px;
    }

    .auth-card{
        padding: 16px;
    }

    .clases-detalle,
    .nosotros-texto{
        padding: 36px 14px;
    }

    .clase-item-texto{
        padding: 16px;
    }

    .footer-contenido{
        grid-template-columns: 1fr;
    }
}

@keyframes menuOpen{
    from{
        opacity: 0;
        transform: translateY(-8px) scaleY(0.96);
    }
    to{
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes menuClose{
    from{
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
    to{
        opacity: 0;
        transform: translateY(-8px) scaleY(0.96);
    }
}

@keyframes claseImgIn{
    from{
        opacity: 0;
        transform: translateX(-36px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}
