*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

:root{
    --bg-color: #ffffff;
    --text-color: #000;
    --secound-color: #a09dab;
    --main-color: #8ddbd5;
    --big-font: 5rem;
    --h2-font: 3rem;
    --p-font: 1.1rem;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 30px 18%;
    transition: .3s;
}

.logo{
    max-width: 100%;
    width: 130px;
    height: auto;
}



.navlist{
    display: flex;
}

.navlist li{
    position: relative;
}

.navlist a{
    font-size: var(--p-font);
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 27px;
}

.navlist a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #24ddce;
    bottom: -3px;
    left: 0;
    transition: ease .40s;
}

.navlist a:hover::after{
    width: 100%;
}

#menu-icon{
    font-size: 35px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

.top-btn{
    display: inline-block;
    padding: 9px 30px;
    background: transparent;
    border: 2px solid #0dafcc;
    border-radius: 30px;
    color: var(--text-color);
    letter-spacing: 1px;
    font-size: var(--p-font);
    font-weight: 500;
    transition: ease .50s;
}

.top-btn:hover{
    transform: scale(1.1);
    background: #AED6F1;
    border: 2px solid #AED6F1;
    color: var(--bg-color);
}

section{
    padding: 100px 18%;
}

.home{
    min-height: 100vh;
    height: 100%;
    width: 100%;
    background: url(../img/Home.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 4rem;
}

.home-text h1{
    margin: 10 px 0px 25px;
    font-size: var(--big-font);
    line-height: 1;
    font-weight: 500;
}

.home-text h5{
    margin-bottom: 23px;
    font-size: 19px;
    font-weight: 500;
}

span{
    color: #0cbbe7;
}

.home-text h3{
    color: #0cbbe7;
    font-size: 20px;
    font-weight: 500;
}

.home-text p{
    font-size: var(--p-font);
    color: #000;
    line-height: 28px;
    margin-bottom: 20px;
}

.social a{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1cafaf;
    font-size: 17px;
    color: var(--bg-color);
    margin-right: 22px;
    margin-bottom: 30px;
}

.social a:hover{
    transform: scale(1.1);
    background: #38e9e9;
    transition: .5s;
}

.btn{
    display: inline-block;
    color: var(--bg-color);
    background: #0dafcc;
    font-size: var(--p-font);
    padding: 10px 40px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 30px;
    transition: ease .40s;
}

.btn:hover{
    transform: scale(1.1);
}

.home-img img{
    max-width: 100%;
    width: 540px;
    height: auto;
}

header.sticky{
    background: var(--bg-color);
    padding: 20px 15%;
    box-shadow: 0px 0px 10px rgb(0 0 0 /10%);
}

.items{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, auto));
    grid-gap: 2rem;
    align-items: center;
    text-align: center;
}

.sub-box{
    padding: 45px 45px 45px 45px;
    transition: ease .50s;
    cursor: pointer;
}

.sub-img img{
    max-width: 100%;
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.sub-box h3{
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}

.sub-box p{
    font-size: var(--p-font);
    color: var(--secound-color);
    line-height: 29px;
}

.sub-box:hover{
    background: #ffffff;
    box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
    border-radius: 12px;
    will-change: transform;
    transform: perspective(1000px) rotateX(4.80deg) rotateY(10.23deg) scale3d(1.05,1.05,1.05);
}

.about{
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    align-items: center;
    grid-gap: 2rem;
}

.about-img img{
    max-width: 50%;
    width: 540px;
    height: auto;
    border-radius: 10%;
}

.about-text h2{
    font-size: var(--h2-font);
    font-weight: 500;
    margin: 8px 0px 25px;
    line-height: 1.1;
}


.about-text h3{
    color: #38e9e9;
    font-size: 20px;
    font-weight: 500;
}

.about-text p{
    max-width: 550px;
    font-size: var(--p-font);
    color: var(--secound-color);
    line-height: 28px;
    margin-bottom: 45px;
}

.heading{
    text-align: center;
}

.heading h2{
    font-size: var(--h2-font);
    font-weight: 500;
    margin: 7px 0px 20px;
    line-height: 1.1;
}

.heading h3{
    color: #38e9e9;
    font-size: 20px;
    font-weight: 500;
}

.heading p{
    font-size: var(--p-font);
    color: var(--secound-color);
    line-height: 28px;
}

.service-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 5rem;
}

.row{
    background: #ffffff;
    box-shadow: 18px 0px 87px 0px rgb(10 15 70 / 7%);
    border-radius: 12px;
    padding: 45px 45px 45px 45px;
    transition: ease .45s;
    cursor: pointer;
}

.s img{
    height: 65px;
    width: 65px;
    background: #bcd4c5;
    padding: 15px;
    border-radius: 20%;
    margin-bottom: 20px;
}

.s.s-two img{
    background: #baebcd;
}

.s.s-three img{
    background: #d9d1fa;
}

.s.s-four img{
    background: #faedce;
}

.row h3{
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 2px;
}

.row p{
    font-size: var(--p-font);
    color: var(--secound-color);
    margin-bottom: 28px;
}

.row:hover{
    will-change: transform;
    transform: perspective(1000px) rotateX(4.80deg) rotateY(10.23deg) scale3d(1.05,1.05,1.05);
}

/* Sección de características */
.cta {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.heading h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.cta-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.wrap {
    flex: 1 1 280px;
    max-width: 320px;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.wrap h3 {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #333;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Colores individuales */
.wrap.one {
    background-color: #d1f5d3;
}

.wrap.two {
    background-color: #e6ddfa;
}

.wrap.three {
    background-color: #fff3d4;
}

/* Fondo suave opción C */
.contacto {
    background: linear-gradient(to right, #dbeafe, #ecfdf5);
    padding: 60px 20px;
    color: #111;
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1100px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    animation: slideUpFade 1s ease-out forwards;
}

@media (max-width: 768px) {
  .logo {
    display: none;
  }
}

/* Animación entrada */
@keyframes slideUpFade {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container-contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.texto-contacto h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.texto-contacto h3 span {
    color: #0d9488; /* Verde azulado suave */
}

.texto-contacto p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #444;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-button:hover {
    background-color: #1ebc5a;
    transform: scale(1.05);
}

.icono {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .texto-contacto h3 {
        font-size: 1.5rem;
    }

    .whatsapp-button {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

.ends{
    text-align: center;
    padding: 30px;
}

.ends p{
    font-size: var(--p-font);
    letter-spacing: 1px;
}

@media (max-width: 1425px){
    header{
        padding: 16px 3%;
        transition: .3s;
    }

    header.sticky{
        padding: 10px 3%;
        transition: .3s;
    }

    section{
        padding: 70px 3%;
        transition: .3s;
    }

    .contacto{
        width: 95%;
        transition: .3s;
    }

    :root{
        --big-font: 4rem;
        --h2-font: 2.3rem;
        --p-font: 1rem;
        transition: .3s;
    }

    .whatsapp-button {
        font-size: 1rem;
        padding: 12px 20px;
      }
}

@media (max-width: 970px){
    #menu-icon{
        display: block;
    }

    .home{
        min-height: 80vh;
    }

    .navlist{
        position: absolute;
        top: -600px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--main-color);
        text-align: right;
        transition: all .40s;
    }

    .navlist a{
        display: block;
        padding: 1.2rem;
        margin: 1.5rem;
        border-right: 2px solid var(--bg-color);
        color: var(--bg-color);
    }

    .navlist a:hover{
        background: var(--bg-color);
        color: var(--main-color);
    }

    .navlist a::after{
        display: none;
    }

    .navlist.active{
        top: 100%;
    }

    .whatsapp-button {
        font-size: 1rem;
        padding: 12px 20px;
      }
}

@media (max-width: 800px){
    .home{
        grid-template-columns: 1fr;
        min-height: 130vh;
        grid-gap: 1rem;
    }

    .home-text{
        padding-top: 55px;
    }

    .home-img{
        text-align: center;
    }

    .home-img img{
        width: 440px;
        height: auto;
    }

    .about{
        grid-template-columns: 1fr ;
    }

    .about-img{
        text-align: center;
        margin-bottom: 30px;
    }

    :root{
        --big-font: 3.4rem;
        --h2-font: 2rem;
    }

    section{
        padding: 65px 3%;
        transition: .3s;
    }
    

    .whatsapp-button {
        font-size: 1rem;
        padding: 12px 20px;
      }
}

@media (max-width: 540px){
    .contacto .input-button-group [type=email] {
        width: 310px;
    }

    .whatsapp-button {
        font-size: 1rem;
        padding: 12px 20px;
      }
}

@media (max-width: 768px) {
    .wrap {
        max-width: 100%;
    }

    .cta-box {
        flex-direction: column;
        align-items: center;
    }
}