:root{
    --verde: #3CA55C;
    --aqua: #4CB8C4; /* Cambiado a minúsculas para consistencia */
}

*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif; /* Corregido Geneve a Geneva */
    outline: none; border: none;
    text-decoration: none;
    transition: .2s linear; /* Corregido liner a linear */
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

body{
    overflow-x: hidden;    
}

section{
    padding: 2rem 9%;
}

.footer{
    padding: 2rem 9%;
}

.heading{
    text-align: center;
    font-size: 4rem;
    color: #333;
    padding: 1rem;
    margin: 2rem 0;
    background: var(--aqua);
    color: #fff;
}


.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: 5rem;
    background: #333;
    color: #fff;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 1.7rem;
}

.btn:hover{
    background: var(--verde);
}

header{
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: #fff;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0.5rem 1rem rgba(0,0,0,.1);
}

header .logo{
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
    text-transform: none; /* Mantiene la "n" en minúsculas */
}

header .logo span:nth-child(1){
    color: var(--verde); /* Color del primer span */
}

header .logo span:nth-child(2){
    color: var(--aqua); /* Color del segundo span */
}

header .navbar a{
    font-size: 2rem;
    padding: 0 1.5rem;
    color: #666;
}

header .navbar a:hover{
    color: var(--aqua);
}

header .icons a{
    font-size: 2.5rem;
    color: #333;
    margin-left: 1.5rem;
}

header .icons a:hover{
    color: var(--aqua);
}

header #toggler{
    display: none;

}

header .fa-bars{
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding: .5rem 1.5rem;
    cursor: pointer;
    border: .1rem solid rgba(0,0,0,.3);
    display: none;
}



.home{
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: url(imagenes/logo.webp) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content{
    max-width: 50rem;

}

.home .content h3{
    font-size: 4rem;
    color: #fff;
}

.home .content p{
    font-size: 1.5rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.5;
}

.home .content h2{
    font-size: 6rem;
    color: var(--verde);
    padding: 1rem 0;
    line-height: 1.5;
}


/*Media queries*/

@media (max-width: 1365px){
    header .fa-bars{
        display: block;
   }

   header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   }

   header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
   }

   header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;
   }
}


@media (max-width: 991px){
    html{
        font-size: 55%;
    }
    header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }


    .home{
        background-position: left;
    }
}

@media (max-width: 768px){
   header .fa-bars{
        display: block;
   }

   header .navbar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #eee;
        border-top: .1rem solid rgba(0,0,0,.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
   }

   header #toggler:checked ~ .navbar{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
   }

   header .navbar a{
        margin: 1.5rem;
        padding: 1.5rem;
        background: #fff;
        border: .1rem solid rgba(0,0,0,.1);
        display: block;
   }

   .home .content h3{
        font-size: 5rem;
   }

   .home .content h2{
    font-size: 2.5rem;
    }


}

@media (max-width: 450px){
    html{
        font-size: 50%;
    }

    .heading{
        font-size: 3rem;
    }

    .servicios-container .icons h3{
        
        font-size: 2rem;
    }
    
    .servicios-container .icons span{
        
        font-size: 1.7rem;
    }
    
    
}

.about .row{
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    padding-bottom: 3rem;
}

.about .row .video-container{
    flex: 1 1 40rem;
    position: relative; 
}

.about .row .video-container video{
    width: 100%;
    border: 1.5rem solid #fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem, rgba(0,0,0,.1);
    height: 100%;
    object-fit: cover;
}

.about .row .video-container img {
    width: 100%; 
    max-width: 400px; 
    display: block;
    margin: 0 auto; 
    border: 1.5rem solid #fff;
    border-radius: 50%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about .row .video-container img:hover{
    transform: scale(1.05); 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); 
}

.about .row .video-container h3{
    position: absolute;
    top: 50%; transform: translateY(-50%);
    font-size: 3rem;
    color: #333;
    background: #fff;
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    mix-blend-mode: screen;
}

.about .row .content{
    flex: 1 1 40rem;
}

.about .row .content h3{
    font-size: 3rem;
    color: #333;
    text-align: center;
}

.about .row .content p{
    font-size: 1.5rem;
    color: #999;
    padding: .5rem 0;
    padding-top: 1rem;
    line-height: 1.5;
}

.servicios-container{
    background: #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.servicios-container .icons {
    background: #fff;
    border: .1rem solid rgba(0,0,0,.1);
    padding: 4rem;
    display: flex;
    align-items: center;
    flex: 1 1 25rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicios-container .icons:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.servicios-container .icons img{
    
    margin-right: 2rem;
}

.servicios-container .icons h3{
    color: #333;
    font-size: 1.5rem;
    padding-bottom: 1rem;
}

.servicios-container .icons span{
    color: #555;
    font-size: 1.3rem;
}


.referencias .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.referencias .box-container:hover{
    transform: scale(1.02); 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); 
}


.referencias .box-container .box{
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border-radius: .5rem;
    padding: 3rem 2rem;
    position: relative;
    border: .1rem solid rgba(0,0,0,.1);
}

.referencias .box-container .box .fa-quote-right{
    position: absolute;
    bottom: 3rem; right: 3rem;
    font-size: 6rem;
    color: #eee;
}

.referencias .box-container .box .stars i{
    color: var(--verde);
    font-size: 2rem;
}

.referencias .box-container .box p{
    color: #999;
    font-size: 1.5rem;
    line-height: 2rem;
    padding-top: 2rem;
}

.referencias .box-container .box .user{
    display: flex;
    align-items: center;
    padding-top: 2rem;
}

.referencias .box-container .box .user img{
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.referencias .box-container .box .user h3{
   font-size: 2rem;
   color: #333;
}

.referencias .box-container .box .user span{
    font-size: 1,5rem;
    color: #999;
 }

 .contacto .row{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
 }

 .contacto .row form{
    flex: 1 1 40rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
    border: .1rem solid rgba(0,0,0,.1);
    background: #fff;
    border-radius: .5rem;
 }

 .contacto .row .image{
    flex: 1 1 40rem;
 }

 .contacto .row .image img{
    width: 100%;
 }

 .contacto .row form .box{
    padding: 1rem;
    font-size: 1.7rem;
    color: #333;
    text-transform: none;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
    margin: .7rem 0;
    width: 100%;
}

 .contacto .row form .box:focus{
    border-color: var(--verde);
 }

 .contacto .row form textarea{
    height: 15rem;
    resize: none;
 }

 .footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
 }

 .footer .box-container .box{
    flex: 1 1 25rem;
 }

 .footer .box-container .box h3{
    color: #333;
    font-size: 2.5rem;
    padding: 1rem 0;
 }

 .footer .box-container .box a{
    display: block;
    color: #666;
    font-size: 1.5rem;
    padding: 1rem 0;
 }

 .footer .box-container .box a:hover{
    color: var(--verde);
    text-decoration: underline;
 }

 .footer .box-container .box img{
    margin-top: 1rem;
 }

 .footer .credit{
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,.1);
 }

 .footer .credit span {
    color: var(--verde);
 }

 /* style.css */

 /*Icono de wasa*/
.btn-wsp{
    position:fixed;
    width:60px;
    height:60px;
    line-height: 63px;
    bottom:25px;
    right:25px;
    background:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:35px;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
    z-index:100;
    transition: all 300ms ease;
}
.btn-wsp:hover{
    background: #20ba5a;
}
@media only screen and (min-width:320px) and (max-width:768px){
    .btn-wsp{
        width:63px;
        height:63px;
        line-height: 66px;
	}
}