/*
Theme Name: Encanto Academy
Theme URI: http://horaciodominguez.com/
Description: Encanto Academy is a WordPress theme built for the Encanto Academy website. It is designed to be clean, responsive, and easy to customize.
Author: Horacio Dominguez
Author URI: http://horaciodominguez.com/
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {font: 13px Helmet, Freesans, sans-serif;}
body, select, input, textarea {color: #333;}
a {color: #03f;}
a:hover {color: #69f;}
::-moz-selection{color: #fff; text-shadow: none;}
::selection { color: #fff; text-shadow: none;}
ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }



html, body {
    height: 100%;
}

.page-template-front-page header {
    height: 100%;
}



header .hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}



header nav {
    display: flex;
    
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    background: #0a1f44;
}

header nav .logo-small {
    background: 
    url(images/logo_encanto_chico.png) center center / 80% no-repeat,
    linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);

    width: 120px;
    margin-bottom: 0;
}

header nav .logo-small:before {
    content: "";
    display: block;
    padding-top: 52.6187576126674%;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    gap: 30px;
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;

    font-size: 1rem;
}

header nav .btn-start {
    
    background: linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);
    
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-weight: bold;

    

    border-radius: 1em;

    font-size: 1rem;
    padding: .4em 1.5em;
    margin: 0;
}






/* HERO SOLO EN HOME */


.hero nav .logo-small {
    display: block;
    width: 20%;
    margin-bottom: 10%;
}

.home .hero nav {

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 50%;
    background: url(images/navbg.jpg) center center / cover no-repeat;
    padding: 5%;
}

.home .hero nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home .hero nav ul li {
    margin: 20px 0 0;
}

.home .hero nav ul li a {
    font-size: 2rem;
}


.home .hero nav .btn-start {
    margin-top: auto;
    padding: .5em 2em;
    font-size: 1.6rem;
}

.hero .hero-content {
    background: linear-gradient(135deg, #0a1f44 0%, #1e0b3b 40%, #8a2be2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50%;
}

.hero .hero-content .mainlogo {
    background: url(images/logo_encanto_blanco.png) center center / contain no-repeat;
    display: block;
    width: 80%;
}

.hero .hero-content .mainlogo:before {
    content: "";
    display: block;
    padding-top:31.746031746031%;
}

.hero .hero-content .slogan {
    color: #fff;
    font-size: 2rem;
    margin-top: 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: italic;
    width: 80%;
}




body:not(.home) .hero-content {
    display: none;
}



/* HAMBURGER */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Animación a X */
body.menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}







/* El Header que "viaja" con el scroll */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #0a1f44;
    display: flex;
    align-items: center;
    transform: translateY(-100%); /* Escondido arriba */
    transition: transform 0.4s ease-in-out;
    z-index: 9999;
    overflow: hidden;
}

.sticky-header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 5%;
}

/* Solo se muestra cuando agregamos esta clase con JS */
body.show-sticky .sticky-header {
    transform: translateY(0);
}

/* En páginas internas (no home), siempre se muestra */
body:not(.home) .sticky-header {
    transform: translateY(0);
}

/* El Hero original deja de ser position:fixed para no romper el snap */
.home .main-hero {
    position: relative; /* Cambiado de fixed a relative */
    height: 100vh;
    scroll-snap-align: start;
}









.sticky-header .logo-small {
    width: 80px;
    margin-bottom: 0;
}

.sticky-header ul li a {
    font-size: 1rem;
}

.sticky-header .btn-start {
    font-size: 1rem;
    padding: .4em 1.5em;
    margin: 0;
}










section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2em 0;
}

.scontainer {
    width: 80%;
    max-width: 1200px;
    padding: 50px 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin: 0;
    padding: 0 0 2em;
}





section .two-columns {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

section .two-columns .column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section .entry {
    width: 100%;
}


.fluentform h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    
}

.ff-section_break_desk {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.fluentform .ff-el-input--label label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 1em;
}

.fluentform .ff-el-form-check-label span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}


body:not(.home) {
    padding-top: 70px; /* Altura del sticky header */
}


.tutor-wrap {
    padding: 1em 0;
}


.quienes-somos {
    font-family: 'Montserrat', sans-serif;
}

.quienes-somos .description p {
    font-size: 1.4rem;
    line-height: 2rem ;
    padding: 3em 0;
    text-align: left;
}










.woocommerce-page {
    font-family: 'Montserrat', sans-serif;
}


.wp-block-woocommerce-filled-cart-block a {
    color: #8a2be2;
    text-decoration: none;
}

.wp-block-woocommerce-filled-cart-block a:hover {
    color: #1e0b3b;
    text-decoration: underline;
}

.woocommerce-page .wc-block-components-product-name {
    font-weight: 600;
    font-size: 1.2rem;
}

.woocommerce-page .wc-block-cart__submit-container a {
    background: linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2em;
    padding: .5em 2em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__contact-fields ,

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__contact-fields 
.wc-block-components-text-input ,

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields 
.wc-block-components-text-input ,

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields 
.wc-blocks-components-select {
    border: 0 !important;
    display: flex;
    flex-direction: column;
}

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__contact-fields 
.wc-block-components-text-input 
input, 

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields
.wc-block-components-text-input 
input ,

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields
.wc-blocks-components-select 
select
{
    background-clip: padding-box;
    background-image: none;
    border: 1px solid #eee;
    border-radius: .5em;
    color: #333;
    line-height: 1;
    margin-bottom: 0;
    max-width: 100%;
    padding: 11px 15px !important;
    order: 1;
}

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__contact-fields 
.wc-block-components-text-input 
label, 

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields
.wc-block-components-text-input 
label, 

.woocommerce-page 
.wc-block-components-sidebar-layout 
.wc-block-components-main 
.wc-block-checkout__billing-fields
.wc-blocks-components-select 
label
{
    position: relative;
    top: auto;
    order: 0;
}

.wc-blocks-components-select__container {
    display: flex;
    flex-direction: column;
    gap: .4em;
}


.wc-block-components-form 
.wc-block-components-text-input, 

.wc-block-components-text-input,

.wc-block-checkout__form 
.wc-blocks-components-select,

.wc-blocks-components-select  {
    line-height: 0;
    margin-top: 12px;
    position: relative;
    white-space: nowrap;
}

.wc-block-components-form .wc-block-components-checkout-step .wc-block-components-country-input {
    margin-top: 12px !important;
}

.wc-block-components-checkout-place-order-button {
    background: linear-gradient(135deg, rgba(81, 121, 255, 1) 0%, rgba(186, 38, 255, 1) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2em;
    padding: .5em 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border: 0;
}

.wc-block-components-checkout-place-order-button__text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.wc-block-components-validation-error {
    order: 2;
}




.tutor-container p {
    padding-bottom: 1em;
}

.tutor-container ul {
    padding-bottom: 1em;
}

.tutor-meta.tutor-mt-auto {
    display: none;
}

.tutor-single-course-sidebar-more {
    display: none;
}






/* ===============================
   STEREO CLUB
=============================== */

section.stereo-club {
    background: linear-gradient(135deg, #0a1f44 0%, #1e0b3b 50%, #8a2be2 100%);
    color: #fff;
    text-align: center;
    height: 100%;
}

.stereo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 60px 20px;
}

.stereo-logo img {
    max-width: 300px;
    width: 100%;
}

.stereo-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 4px;
    opacity: .9;
}

/* BOTONES */

.stereo-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}



/* HOVER PREMIUM */
.stereo-actions a {
    background: linear-gradient(135deg, #405de6, #c13584);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 2em;
    padding: 1em 2em;
    text-transform: uppercase;
}

.stereo-actions a:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all .4s ease;
}

.stereo-actions a:hover:before {
    left: 100%;
}

.stereo-actions a:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}


.stereo-actions a img {
    width: 20px;
    height: 20px;
}




/* ===============================
   STEREO CLUB PAGE
=============================== */

.stereo-club-page {
    background: linear-gradient(135deg, #0a1f44 0%, #1e0b3b 50%, #8a2be2 100%);
    min-height: 100vh;
    color: #fff;
    text-align: center;
}

.stereo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-align: left;
    padding-bottom: 2rem;
}

/* GRID */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD */

.video-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 10px;
    transition: all .3s ease;
    backdrop-filter: blur(10px);
}

.video-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}








/* VIDEO */

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



.stereo-club-hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    margin-bottom: 4rem;
}

.stereo-club-hero .video-promo-content {
    width: 60%;
}

.stereo-club-hero .video-promo-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 2.2rem;
    font-weight: 500;
    margin: 0;
    text-align: left;
    margin-bottom: 1em;
}

.stereo-club-hero .video-promo-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    line-height: 2.2rem;
    font-weight: 400;
    margin: 0;
    text-align: left;
    margin-bottom: 1em;
    color: rgba(186, 38, 255, 1);
}

.stereo-club-hero .video-promo-content ul {
    margin: 0;
    padding: 0;
    list-style: circle;
}

.stereo-club-hero .video-promo-content ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    margin-left: 1em;
    text-align: left;
}

.stereo-club-hero .video-promo-content p {
    font-size: 1rem;
    opacity: .8;
}

.stereo-club-hero .video-promo-video {
    width: 40%;
}

.stereo-club-hero .video-promo-video video {
    width: 100%;
}


/* @media (max-width: 768px) {

    .stereo-title {
        font-size: 1.8rem;
    }

    .video-grid {
        gap: 20px;
    }

} */



/* ===============================
   RESPONSIVE STEREO CLUB
=============================== */

@media (max-width: 1024px) {

    .stereo-club-hero {
        flex-direction: column;
        align-items: center;
    }

    .stereo-club-hero .video-promo-content,
    .stereo-club-hero .video-promo-video {
        width: 100%;
    }

    .stereo-club-hero .video-promo-video video {
        width: 100%;
        border-radius: 10px;
    }

    .stereo-club-hero .video-promo-content {
        text-align: center;
    }

    .stereo-club-hero .video-promo-content h3,
    .stereo-club-hero .video-promo-content h4,
    .stereo-club-hero .video-promo-content ul li {
        text-align: center;
    }

    .stereo-club-hero .video-promo-content ul {
        list-style: none;
        padding: 0;
    }

}

@media (max-width: 768px) {

    .stereo-club-page {
        padding-top: 20px;
    }

    .stereo-title {
        text-align: center;
        padding-bottom: 1rem;
    }

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

    .video-item {
        padding: 8px;
    }

    .video-wrapper {
        border-radius: 8px;
    }

}

@media (max-width: 480px) {

    .stereo-title {
        font-size: 1.5rem;
    }

    .stereo-club-hero .video-promo-content h3 {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    .stereo-club-hero .video-promo-content ul li {
        font-size: 1rem;
    }

}



@media screen and (max-width: 768px) {
    header {
        height: auto;
    }
    .page-template-front-page header {
        height: auto;
    }

    header .hero {
        flex-direction: column;
        height: auto;
    }

    .home .hero nav {
        width: 100%;
        height: 100vh;
        padding: 20px;
    }

    .home .hero .hero-content {
        width: 100%;
        height: 100vh;
        padding: 20px;
    }

    .hero .hero-content .slogan {
        font-size: 1.2rem;
    }

    .home .hero nav ul {
        flex-direction: column;
    }

    .home .hero nav ul li a {
        font-size: 1.5rem;
    }

    .home .hero nav .btn-start {
        font-size: 1.2rem;
        padding: .5em 2em;
        margin: auto auto 0;
    }

    body:not(.home) .sticky-header,
    body.show-sticky .sticky-header {
        height: auto;
        overflow: visible;
        padding: 1em 0;
    }


    .nav-toggle {
        display: flex;
    }

    .sticky-header ul,
    .sticky-header .btn-start {
        display: none;
    }

    body.menu-open .sticky-header ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #0a1f44;
        padding: 20px;
        gap: 20px;
    }

    body.menu-open .sticky-header .btn-start {
        display: none;
    }

    section h2 {
        font-size: 1.8rem;
        padding: 0 0 1.2em;
    }

    .quienes-somos .description p {
        font-size: 1rem;
        line-height: 1.5rem;
        padding: 0 0 2em ;
    }

}




.tutor-course-list .tutor-card-footer ,
.tutor-single-course-sidebar .tutor-card-body {
    display: none;
}