@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

:root{
    --main-color: #819d86;
    --black: #222;
    --white: #fff;
    --light-color: #888;
    --light-bg: #eee;
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
    --border: .1rem solid rgba(0,0,0,.2);

}

*{
    font-family: "Roboto", system-ui;
    box-sizing: border-box;
    margin: 0; padding: 0;
    border: none; outline: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 9rem;
}

::-webkit-scrollbar{
    width: 1rem;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb{
    background: var(--main-color);
}

body{
    background: var(--white);
}

body:has(#themeToggler:checked){
    
    --black: #fff;
    --white: #111;
    --light-bg: #222;
    --box-shadow:0 .5rem 1rem #000;
    --border: .1rem solid rgba(255,255,255,.2);
}

section{
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fade-right{
    animation: fade-right both;
    animation-timeline: view(70% 15%);
}

@keyframes fade-right {
    from{
        opacity: 0;
        transform: translateX(5rem);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-left{
    animation: fade-left both;
    animation-timeline: view(70% 15%);
}

@keyframes fade-left  {
    from{
        opacity: 0;
        transform: translateX(-5rem);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-up{
    animation: fade-up both;
    animation-timeline: view(70% 15%);
}

@keyframes fade-up  {
    from{
        opacity: 0;
        transform: translateY(5rem);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}


.header{
    background-color: var(--black);
    position: sticky;
    z-index: 1000;
    top: 0; left: 0; right: 0;    
}

.header::before{
    content: '';
    position: absolute;
    bottom: -1rem; left: 0;
    height: 1rem;
    background-color: var(--main-color);
    width: 0%;
    z-index: 1;
    animation: scrollIndicator linear;
    animation-timeline: scroll() ;
}

@keyframes scrollIndicator {
    to{
        width: 100%;
    }
}

.header .flex{
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .flex .logo{
    font-size: 2.5rem;
    color: var(--main-color);
}

.header .flex .navbar a{
    font-size: 2rem;
    color: var(--light-color);
    margin: 0 1rem;
}

.header .flex .navbar a:hover{
    color: var(--white);
}

.header .flex .icons input[type="checkbox"]{
    display: none;
}

.header .flex .icons a, .header .flex .icons label {
    cursor: pointer;
    font-size: 2.5rem;
    color: var(--white);
    margin-left: 1.5rem;
    
}

.header .flex .icons a:hover, .header .flex .icons label:hover{
    color: var(--main-color);
}

.header .flex .icons label[for="menuBtn"]{
    display: none;
}

.heading{
    font-size: 3.5rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;  
    font-weight: bold
}

.inicio {
    background: url('../images/pregnant-women-practicing-yoga-together.webp'), linear-gradient(180deg, transparent, var(--light-bg)) no-repeat;
    background-blend-mode: overlay;
    background-position: bottom;
    background-size: cover;
    position: relative;
    min-height: 80vh;   
}

.inicio .content {
    position: absolute;
    bottom: 0; right: 0; left: 0;
    z-index: 1;
    text-align: center;
    overflow: visible;
}

.inicio .content img {
    height: 20rem;
    filter: drop-shadow(0 0.5rem 1rem var(--light-bg));
    transform-origin: top;
    animation: float 2s linear infinite;

}

@keyframes float{
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2rem);
    }
}

.inicio .content h3{
    font-size: clamp(3.5rem, 7.5vw, 11rem);
    color: var(--black);
}

.inicio .content p{
    font-size: clamp(1.5rem, 3.5rem, 5rem);
    color: var(--black);
    font-weight: lighter;
    padding-bottom: 1rem;
}


.marketeru{
    position: fixed;
    bottom: 5rem; right: 5rem;
    z-index: 10000;
}

.marketeru .content i{
    width: 4.5rem;
    line-height: 4.5rem;
    height: 4.5rem;
    color: #ddd;
    background-color: #222;
    cursor: pointer;
    z-index: 10000;
    border: 1px solid #fff;
    border-radius: 5rem;
    margin-right: 1rem;
}

.marketeru .content div{
    font-size: 1.7rem;
    padding: 1rem 3rem;
    
    
    border-radius: .5rem;
    text-align: center;
    color: #ddd;
    background-color: #222;
    
    cursor: pointer;
    z-index: 10000;
    border: 1px solid #fff;

}

.marketeru .content a{
    color: #ddd;
}

.btn {
    background-color: var(--main-color);
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: .5rem;
    padding: 1rem 3rem;
    cursor: pointer;
    display: inline-block;
    color: var(--white);
    letter-spacing: .1rem;
}

.btn:hover{
    background-color: var(--black);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.nosotros .row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.nosotros .row .image {
    flex: 1 1 40rem;
}

.nosotros .row .image img{
    width: 100%;
}

.nosotros .row .contenido{
    flex: 1 1 40rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    border: var(--border);
    padding: 3rem;
    margin-left: -5rem;
    background-color: var(--white)
}

.nosotros .row .contenido h3 {
    font-size: clamp(2rem, 3rem, 4rem);
    color: var(--main-color);
    margin-bottom: 1rem;
    font-weight: normal;
}

.nosotros .row .contenido p{
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--light-color);
    padding: 1rem 0;

}

.nosotros .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 27rem);
    align-items: flex-start;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.nosotros .box-container .box img {
    height: 20rem;
    margin-bottom: 2rem;
}

.nosotros .box-container .box{
    text-align: center;
}

.nosotros .box-container .box p{
    font-size: 1.8rem;
    color: var(--light-color);
    line-height: 1.4;
}

.nosotros .box-container .box:hover p{
    color: var(--black);
}

.productos .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}

.productos .box-container .box{
    text-align: center;
}

.productos .box-container .box img{
    height: 35rem;
    border-radius: .5rem;
    width: 100%;
    margin-bottom: 1rem;
    object-fit: cover;
    filter: grayscale(1);
}

.productos .box-container .box img:hover{
    filter: grayscale(0);
}

.productos .box-container .box h3{
    font-size: 1.8rem;
    color: var(--black);
}

.servicios .box-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.servicios .box-container .box{
    flex: 1 1 40rem;
    padding: 1rem;
}

.servicios .box-container .box:nth-child(odd){
    text-align: right   ;
}

.servicios .box-container .box img{
    height: 20rem;
    margin-bottom: 1rem;
}

.servicios .box-container .box h3 {
    font-size: 1.8rem;
    color: var(--black);
    padding: 1rem;
}

.servicios .box-container .box p{
    font-size: 1.6rem;
    color: var(--light-color);
    line-height: 1.8;
}

.servicios .box-container .box:hover img{
    transform: translateY(-1rem);
}

.servicios .box-container .box:hover h3{
    color: var(--main-color);
}

.tarifas {
    background-color: var(--light-bg);
}

.tarifas .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    
}

.tarifas .box-container .box {
    background-color: var(--white);
    padding: 2rem;
    border: var(--border);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
}

.tarifas .box-container .box h3{
    font-size: 2.2rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.tarifas .box-container .box .list{
    padding: 1rem 0;
}

.tarifas .box-container .box .list p{
    font-size: 1.6rem;
    color: var(--light-color);
    padding: 0.5rem 0;
    
}

.tarifas .box-container .box .precio{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    background-color: var(--light-bg);
    border-radius: .5rem;
    padding: .5rem;
    margin-bottom: 1.5rem;
    border: var(--border);
}

.tarifas .box-container .box .precio span{
    font-size: 1.4rem;
    color: var(--light-color)
}

.tarifas .box-container .box .precio p{
    font-size: 3rem;
    color: var(--black)
}
.tarifas .box-container .box .btn{
    display: block;
}

.testimonios input[type=radio]{
    display: none;
}

.testimonios .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    
}

.testimonios .row .content{
    flex: 1 1 40rem;
}

.testimonios .row .content h3{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.testimonios .row .content p{
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--light-color);
}

.testimonios .row .content .controles{
    text-align: center;
    
}

.testimonios .row .content .controles label{
    margin: 2rem 0.3rem;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 5rem;
    background-color: var(--light-bg);
    cursor: pointer;
    display: inline-block;

}

.testimonios .row .content .controles label:hover{
    background-color: var(--light-color);
}

.testimonios .row .box-container{
    flex: 1 1 40rem;
    width: 50rem;
    display: flex;
    overflow: hidden;
    border-radius: .5rem;

}

.testimonios .row .box-container .box{
    flex: 1 0 100%;
    text-align: center;
    padding: 2rem 3rem;
    background-color: var(--light-bg);
    user-select: none;
}

.testimonios .row .box-container .box img{
    height: 15rem;
    width: 15rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonios .row .box-container .box h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-top: 2rem;
}

.testimonios .row .box-container .box p{
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--light-color);
    margin: 2rem 0;
    
}

.testimonios .row .box-container .box .stars i{
    color: var(--main-color);
    font-size: 1.3rem;
}

#r1:checked ~ .row .box-container .box:first-child {
    margin-left: 0%;
}

#r2:checked ~ .row .box-container .box:first-child {
    margin-left: -100%;
}

#r3:checked ~ .row .box-container .box:first-child {
    margin-left: -200%;
}

#r4:checked ~ .row .box-container .box:first-child {
    margin-left: -300%;
}

#r1:checked ~ .row .content .controles label:nth-child(1),
#r2:checked ~ .row .content .controles label:nth-child(2),
#r3:checked ~ .row .content .controles label:nth-child(3),
#r4:checked ~ .row .content .controles label:nth-child(4){
    background-color: var(--black);
}

.agenda .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.agenda .row .imagen {
    flex: 1 1 40rem;
}

.agenda .row .imagen img{
    width: 100%;
    border-radius: .5rem;
}

.agenda .row .form {
    flex: 1 1 40rem;
}

.agenda .row .form .flex{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agenda .row .form .flex .input{
    flex: 1 1 25rem;
}

.agenda .row .form p{
    font-size: 1.3rem;
    color: var(--light-color);
    padding-bottom: 1rem;
}

.agenda .row .form .input input {
    width: 100%;
    border-radius: .5rem;
    color: var(--black);
    font-size: 1.5rem;
    text-transform: none;
    border:  var(--border);
    background-color: var(--light-bg);
    padding: 1rem 2.2rem;

} 

.agenda .row .form textarea{
    width: 100%;
    height: 20rem;
    resize: none;
    border-radius: .5rem;
    background-color: var(--light-bg);
    font-size: 1.5rem;
    border:  var(--border);
    padding: 1rem 2.2rem;
}

.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}



.blogs .box-container .box .image {
    height: 45rem;
    overflow: hidden;
    position: relative;
    border-radius: .5rem;
    border-right: var(--border);
    border-top: var(--border);
}

.blogs .box-container .box .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    
}

.blogs .box-container .box:hover .image img{
    object-position: center;
}

.blogs .box-container .box .image .info {
    position: absolute;
    bottom: -10rem; left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    width: 90%;
    border-radius: .5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    

}

.blogs .box-container .box:hover .image .info{
    bottom: 1.5rem;
}

.blogs .box-container .box .image .info a{
    font-size: 1.2rem;
    
}

.blogs .box-container .box .image .info a span{
    margin-left: .5rem;
    color: var(--light-color);
}

.blogs .box-container .box .image .info a, span{
    color: var(--black);
    margin-right: .2rem;
}

.blogs .box-container .box .contenido{
    text-align: center;
}

.blogs .box-container .box .contenido h3{
    font-size: 2.2rem;
    color: var(--black);
    margin: 1.5rem 0;

}

.blogs .box-container .box .contenido p{
    font-size: 1.2rem;
    color: var(--light-color);
    line-height: 1.5;
}

.scroll {
    background-color: var(--light-bg);
    white-space: nowrap;
}

.scroll:hover .container .row .col{
    animation-play-state: paused;
}
.scroll .container .row{
    overflow: hidden;
}


.scroll .container .row .col{
    
    display: inline-block;
    animation: scroll 20s linear infinite;
    
}

@keyframes scroll {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
    
}

.scroll .container .row .col p{
    display: inline-block;
    font-size: 1.5rem;
    color: var(--light-color);
    margin: 0 0.5rem;
    
}

.scroll .container .row .col p:hover{
    color: var(--black);
}

.scroll .container .row .col i{
    color: var(--light-color);
    font-size: 1.8rem;
    margin: 0 2.5rem;
}

.footer {
    background-color: var(--black);
    
    
}

.footer .contenedor{
    display: grid;
    grid-template-columns: repeat(auto-fit, 35rem);
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}



.footer .contenedor .box h3{
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2rem;
    
}

.footer .contenedor .box ul {
    list-style: none;
}

.footer .contenedor .box li {
    margin:  1rem 0;
}

.footer .contenedor .box li:hover a, 
.footer .contenedor .box li:hover i,
.footer .contenedor .box li:hover span{
    color:  var(--white);
}

.footer .contenedor .box i{
    font-size: 1.2rem;
    color: var(--light-color);
    
}

.footer .contenedor .box a,span {
    font-size: 1.3rem;
    color: var(--light-color);
    margin: 0 0.5rem;
}

.firma {
    display: flex;
    align-items: center;
    justify-content: center;
   
    
    width: 100%;
    padding-bottom: 2rem;
}

.firma a{
    font-size: 1.5rem;
    color: var(--white);
    text-transform: none;
}








/* queries */

@media (max-width:1280px){

    .fade-right{
        animation: fade-up both;
        animation-timeline: view(70% 5%);
    }

    .fade-left{
        animation: fade-up both;
        animation-timeline: view(70% 5%);
    }
}


@media (max-width:991px){
    html{
        font-size: 55%;
    }
}

@media (max-width:768px){
    .header .flex .icons label[for="menuBtn"]{
        display: inline-block;
    }

    .header .flex .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        padding: 2rem 3rem;
        background-color: var(--black);
        border-top: .1rem solid var(--white);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .flex .navbar a{
        display: block;
        margin: 1rem 0;
        font-size: 2.5rem;
    }

    body:has(#menuBtn:	) .header .flex .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nosotros .row .contenido{
        margin-left: 0rem;
        margin-top: -3rem;
    }
}

@media (max-width:450px){
    html{
        font-size: 50%;
    }

    
}