@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
:root{
    --header-height: 7rem;
    --normal-font-size: .938rem;
    --color-detalles: hsl(333, 76%, 36%);
    --color-detalles-transparente: hsla(333, 76%, 36%, 0.589);
    --color-gris: hsl(0, 3%, 31%);
    --color-white: hsl(0, 0%, 100%);
    --font-regular: 400;
    --font-bold: 600;
    --z-tooltip: 10;
    --z-fixed: 100;
}
@media screen and (width >= 1024px){
    :root{
        --normal-font-size: 1rem;
    }
}
body::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
body::-webkit-scrollbar-track {
    background: var(--color-primary);
    height: 1px;
}  
body::-webkit-scrollbar-thumb {
    background-color: var(--color-detalles);
    border-radius: 20px;
    border: 1px solid var(--color-detalles);
}
h1,h3{
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-optical-sizing: auto;
}
p, li{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
}
a{
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
}
ul{
    list-style-type: none;
    /* font-family: "Open Sans", sans-serif; */
}
ul li{
    font-family: "Open Sans", sans-serif;
}
body{
    background-color: var(--color-primary);
}
.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background: transparent;
    transition: 1s;
}
.nav{
    height: var(--header-height);
}
.nav_burger,
.nav_close{
    color: var(--color-white);
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}
.nav_close{
    opacity: 0;
}
.nav_logo{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    color: var(--color-white);
    font-family: "Zalando Sans SemiExpanded", sans-serif;
    font-weight: 600;
}
.nav_logo span{
    color: var(--color-detalles);
}
.nav_logo img{
    width: 80px;
}
.nav_data{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_toggle{
    position: relative;
    width: 40px;
    height: 40px;
}
@media screen and (width <= 340px){
    .container{
        margin-inline: 1rem;
    }
    .nav_link{
        padding-inline: 1rem;
    }
}
@media screen and (width <= 1118px){
    .nav_menu{
        position: absolute;
        left: 0;
        top: 5rem;
        width: 100%;
        height: calc(100vh - 4rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav_menu::-webkit-scrollbar{
        width: 0;
    }
    .nav_list{
        background: var(--color-detalles);
        /* margin-top: 1rem; */
    }
}
.nav_link{
    color: var(--color-white);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    transition: background-color .3s;
}
.nav_link:hover{
    background-color: var(--color-white);
    color: var(--color-detalles);
}
.show-menu{
    opacity: 1;
    top: 7rem;
    pointer-events: initial;
}
.show-icon .nav_burger{
    opacity: 0;
    transform: rotate(90deg);
}
.show-icon .nav_close{
    opacity: 1;
    transform: rotate(90deg);
}

/* inicio */

.inicio{
    width: 100%;
    overflow: hidden;
    height: 100vh;
}
.video-background{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.video-background video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inicio-container{
    position: absolute;
    z-index: 1;
    color: var(--color-white);
    padding: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 700px;
}
.inicio-container h1{
    font-size: clamp(1.3rem, 1.3rem + 2vw, 3rem);
    margin-bottom: 1rem;
}
.inicio-container p{
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
}
.inicio-container span{
    color: var(--color-detalles);
}
.btn-empieza-hoy{
    color: var(--color-white);
    position: relative;
    margin-top: 1rem;
    padding: 1rem;
    width: 200px;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow:
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #b371b3,
    0 0 10px #c248c2;
    background: rgba(255, 255, 255, 0.247);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
    transition: 1s;
    letter-spacing: 1px;
}
.btn-empieza-hoy::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-detalles-transparente);
    z-index: -1;
    transition: 1s;
}
.btn-empieza-hoy:hover::before{
    width: 100%;
}

/* nosotros */
.nosotros{
    /* background-color: gray; */
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.imagen-nosotros{
    width: 100%;
    height: 100%;
}
.imagen-nosotros img{
    width: 100%;
    height: 100%;
}
.texto-nosotros{
    width: 100%;
    padding: 1.5rem;
    margin: auto;
}
.texto-nosotros span{
    color: var(--color-detalles);
}
.texto-nosotros h1{
    font-size: clamp(1.25rem, 1.25rem + 2vw, 3rem);
}
.texto-nosotros p{
    font-size: clamp(.9rem, .9rem + 2vw, 1.25rem);
}

/* objetivo */

.objetivo{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.video-objetivo{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    z-index: -1;
}
.video-objetivo video{
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}
.objetivo-container{
    position: absolute;
    z-index: 1;
    color: var(--color-white);
    padding: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 700px;
}
.objetivo-container span{
    color: var(--color-detalles);
}
.objetivo-container h1{
    font-size: clamp(1rem, 1rem + 2vw, 3rem);
    margin: 1rem 0;
}
.objetivo-container p{
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
}

/* formación y crecimiento */

.ofrecemos{
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: var(--color-white);
}
.ofrecemos span{
    color: var(--color-detalles);
}
.ofrecemos h1{
    font-size: clamp(1rem, 1rem + 2vw, 2.75rem);
}
.formacionCrecimiento{
    background-color: var(--color-white);
}
.formacion-container{
    width: 100%;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    gap: 20px;
}
.formacion-container .tarjeta{
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}
.formacion-container .tarjeta span{
    color: var(--color-detalles);
}
.formacion-container .tarjeta h1{
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 1.5rem);
}
.formacion-container .tarjeta ul{
    text-align: justify;
    padding: 0 2rem;
    font-size: clamp(.8rem, .8rem + 2vw, 1rem);
}
.formacion-container .tarjeta ul li{
    margin: .5rem 0;
    font-size: clamp(.5rem, .5rem + 2vw, 1rem);
}

/* familia de productos */

.fproductos{
    background-image: url(./img/fondo\ fproductos.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 1.2rem 1.5rem;
}
.titulo-fproductos{
    width: 100%;
}
.titulo-fproductos h1{
    color: var(--color-white);
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 2.5rem);
}
.titulo-fproductos span{
    color: var(--color-detalles);
}
.titulo-fproductos p{
    color: var(--color-white);
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
}
.fproductos-container{
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.imagen-item{
    width: 100%;
    max-width: 500px;
    margin: 1.5rem 0;
}
.imagen-item img{
    width: 100%;
}
.fproductos-item p{
    color: var(--color-white);
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
}
.btn-descubre{
    color: var(--color-white);
    position: relative;
    margin: 1rem auto;
    padding: 1rem;
    width: 300px;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow:
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #b371b3,
    0 0 10px #c248c2;
    background: rgba(255, 255, 255, 0.247);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
    transition: 1s;
    letter-spacing: 1px;
}
.btn-descubre::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-detalles-transparente);
    z-index: -1;
    transition: 1s;
}
.btn-descubre:hover::before{
    width: 100%;
}

/* testimonios */
.testimonios{
    width: 100%;
}
.titulo-testimonios{
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
}
.titulo-testimonios h1{
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 2.5rem);
}
.titulo-testimonios span{
    color: var(--color-detalles);
}
.carousel {
    position: relative;
    width: 90%;
    /* max-width: 1200px; */
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin: auto;
}
.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}
.slide {
    width: 100%;
    flex: 0 0 100%;
    text-align: center;
    padding: 40px 30px;
    transition: all 0.3s ease;
}
.slide img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}
.slide h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}
.slide p.role {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.slide p.text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsividad: 2 y 3 slides visibles */
@media screen and (width >= 700px) {
    .slide {
        min-width: 33.33%;
        flex: 0 0 33.33%;
    }
}

/* Controles */
.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
}
.btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--color-detalles);
    color: #fff;
}
/* Dots */
.dots {
    text-align: center;
    padding: 15px 0;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active {
    background-color: var(--color-detalles);
}

/* Descargables */

.pdfs-container{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 3rem;
    margin: auto;
    justify-content: center;
}
.pdf-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- VISTA PREVIA PDF --- */
.pdf-preview {
    width: 100%;
    height: 550px;
    border: none;
}

/* --- BOTÓN FLOTANTE DE DESCARGA --- */
.download-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--color-detalles);
    color: #fff;
    border: none;
    outline: none;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
    background: #0056b3;
    transform: scale(1.08);
}

/* --- PIE DE TARJETA --- */
.pdf-footer {
    background: #f9fafb;
    padding: 18px;
    text-align: center;
    font-size: 15px;
    color: #555;
    width: 90%;
}

/* --- RESPONSIVE --- */
@media (max-width: 700px) {
    .pdf-preview {
    height: 400px;
    }
}

/* contacto */

.contacto{
    width: 100%;
    background-image: url(./img/fondo\ contacto.jpg);
    background-position: center;
    background-size: cover;
    padding: 1.2rem 1.5rem;
}
.imagen-contacto-container{
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 10px;
}
.imagen-contacto{
    width: 100px;
    display: flex;
}
.imagen-contacto img{
    width: 100%;
}
.imagen-contacto-container p{
    color: var(--color-white);
    font-size: clamp(1rem, 1rem + 2vw, 2rem);
    font-weight: 600;
}
.imagen-contacto-container span{
    color: var(--color-detalles);
}
.titulo-contacto{
    width: 100%;
}
.titulo-contacto h1{
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 2.5rem);
    color: var(--color-white);
}
.titulo-contacto span{
    color: var(--color-detalles);
}
.funciona{
    width: 100%;
    max-width: 900px;
    margin: auto;
}
.titulo-funciona{
    width: 100%;
}
.titulo-funciona h1{
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 2rem);
    color: var(--color-white);
}
.pasos{
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.lista-funciona{
    color: var(--color-white);
}
.lista-funciona li{
    font-size: clamp(.8rem, .8rem + 2vw, 1.25rem);
    margin: .75rem 0;
}
.btn-registro{
    color: var(--color-white);
    position: relative;
    margin: 1rem auto;
    padding: 1rem;
    width: 280px;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow:
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #b371b3,
    0 0 10px #c248c2;
    background: rgba(255, 255, 255, 0.247);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
    transition: 1s;
    letter-spacing: 1px;
}
.btn-registro::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-detalles-transparente);
    z-index: -1;
    transition: 1s;
}
.btn-registro:hover::before{
    width: 100%;
}
.titulo-registro{
    width: 100%;
    margin-top: 8rem;
}
.titulo-registro h1{
    margin: 1rem 0;
    text-align: center;
    font-size: clamp(1rem, 1rem + 2vw, 2.5rem);
    color: var(--color-white);
}
.titulo-registro span{
    color: var(--color-detalles);
}

/* formulario */

.formulario{
    width: 100%;
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
}
form{
    width: 100%;
    max-width: 400px;
    margin: auto;
}
form .inputs{
    display: flex;
    flex-direction: column;
    width: 100%;
}
form .inputs input{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: none;
    outline: none;
    text-align: center;
}
form .txtarea{
    width: 100%;
}
form .txtarea textarea{
    width: 100%;
    height: 7rem;
    margin: 1rem 0;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: none;
    outline: none;
}
.btn-registrate{
    color: var(--color-white);
    position: relative;
    margin: 1rem auto;
    padding: 1rem;
    width: 300px;
    border-radius: 10px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    box-shadow:
    0 0 10px #ffffff,
    0 0 10px #ffffff,
    0 0 10px #b371b3,
    0 0 10px #c248c2;
    background: rgba(255, 255, 255, 0.247);
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 1;
    transition: 1s;
    letter-spacing: 1px;
    font-size: 1.25rem;
    cursor: pointer;
}
.btn-registrate::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-detalles-transparente);
    z-index: -1;
    transition: 1s;
}
.btn-registrate:hover::before{
    width: 100%;
}

/* footer */

footer{
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-image: url(./img/fondo\ footer.jpg);
    background-position: center;
    background-size: cover;
}
.footer-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.logo-footer-container{
    width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-footer-container p{
    color: var(--color-white);
}
.logo-footer-container span{
    color: var(--color-detalles);
}
.logo-footer{
    width: 100%;
    max-width: 100px;
}
.logo-footer img{
    width: 100px;
}
.redes-sociales{
    gap: 1rem;
    display: flex;
}
.redes-sociales a{
    color: var(--color-white);
    font-size: clamp(1rem, 1rem + 2vw, 2rem);
}
.redes-sociales a:hover{
    color: var(--color-detalles);
}
.enlaces-contacto{
    display: flex;
    flex-direction: column;
}
.enlaces-contacto a,
.enlaces-contacto p{
    color: var(--color-white);
}
.enlaces-contacto a:hover{
    color: var(--color-detalles);
}
.aviso{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.aviso a{
    color: var(--color-white);
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
    margin: 1rem 0;
}
.aviso a:hover{
    color: var(--color-primary);
}
.aviso p{
    color: var(--color-white);
    font-size: clamp(1rem, 1rem + 2vw, 1.25rem);
}

/* seccion productos */

.inicio-productos{
    width: 100%;
    height: 50vh;
    background-image: url(./img/fondo\ productos.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
.inicio-productos h1{
    color: var(--color-white);
    font-size: clamp(1rem, 1rem + 2vw, 2rem);
    position: absolute;
    bottom: 4rem;
    left: 2rem;
}
.inicio-productos span{
    color: var(--color-detalles);
}
.imgproductos{
    width: 100%;
    padding: 1.2rem 1.5rem;
}
.imgproductos img{
    width: 100%;
}


@media screen and (width >= 450px){
    .imagen-nosotros{
        max-width: 50%;
    }
    .texto-nosotros{
        max-width: 50%;
    }
}
@media screen and (width >= 1119px){
    .container{
        margin-inline: auto;
    }
    .nav{
        height: calc(var(--header-height) + 1.5rem);
        display: flex;
        justify-content: space-between;
    }
    .nav_logo{
        margin-left: -3rem;
    }
    .nav_toggle{
        display: none;
    }
    .nav_list{
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }
    .nav_link{
        color: var(--color-white);
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
        font-size: 1.25rem;
        transition: 1s;
        align-items: center;
    }
    .nav_link:hover{
        background-color: transparent;
        color: var(--color-detalles);
    }
    .imagen-contacto{
        width: 250px;
    }
    
}
