/*====================================
            HERO
====================================*/

.hero{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-image{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.55)
    );
}

.hero-content{
    position: relative;
    z-index: 5;
}

.hero-text{
    max-width: 650px;
    color: #fff;
}

.tag{
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 25px;
    border-radius: 40px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(15px);
}

.hero h1{
    margin-bottom: 25px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
}

.hero p{
    max-width: 500px;
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-buttons{
    display: flex;
    gap: 20px;
}


/*====================================
            NOSOTROS
====================================*/

.nosotros{
    padding:100px 0;
    background:#f9f7f2;
    overflow:hidden;
}

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.nosotros .contenedor{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:80px;
}

.etiqueta{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:#dff7f5;
    color:#1aa6a2;
    font-size:.8rem;
    font-weight:700;
    margin-bottom:20px;
}

.texto h2{
    font-size:3.4rem;
    color:#1d2942;
    margin-bottom:25px;
    font-family:"Playfair Display",serif;
}

.texto p{
    color:#6d7687;
    line-height:1.9;
    margin-bottom:20px;
}

.btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 28px;
    margin-top:15px;
    background:#0b6e6b;
    color:#fff;
    border-radius:14px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn:hover{
    transform:translateY(-4px);
    background:#138a86;
}

.imagen{
    position:relative;
}

.imagen img{
    width:100%;
    display:block;
    border-radius:28px;
    aspect-ratio:4/3;
    object-fit:cover;
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

/* Tarjeta flotante */

.card-flotante{
    position:absolute;
    left:40px;
    bottom:-30px;
    display:flex;
    align-items:center;
    gap:18px;
    padding:18px 25px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.card-flotante i{
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0b6e6b;
    color:#fff;
    font-size:1.6rem;
}

.card-flotante h4{
    color:#1d2942;
    margin-bottom:4px;
}

.card-flotante span{
    color:#777;
    font-size:.9rem;
}

/*====================================
        EXPERIENCIA
====================================*/

.experiencia{
    width:90%;
    max-width:1200px;
    margin:80px auto 0;
    padding:45px 60px;

    background:#fff;
    border-radius:28px;

    border:1px solid rgba(26,166,162,.12);

    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.experiencia h3{
    text-align:center;
    font-size:2rem;
    color:#1d2942;
    font-family:"Playfair Display", serif;
    margin-bottom:15px;
}

.linea{
    width:80px;
    height:4px;
    margin:0 auto 45px;
    background:#1aa6a2;
    border-radius:50px;
}

.numeros{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.item{
    text-align:center;
    position:relative;
    padding:0 20px;
}

.item:not(:last-child)::after{
    content:"";
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    width:1px;
    height:70px;
    background:#e6ecef;
}

.item h2{
    font-size:3rem;
    color:#0f7d79;
    font-family:"Playfair Display", serif;
    margin-bottom:10px;
}

.item span{
    display:block;
    color:#6d7687;
    font-size:1rem;
    line-height:1.6;
}

/*====================================
        RESPONSIVE
====================================*/

@media(max-width:992px){

    .experiencia{
        padding:40px 30px;
    }

    .numeros{
        grid-template-columns:repeat(2,1fr);
        row-gap:40px;
    }

    .item:nth-child(2)::after{
        display:none;
    }

}

@media(max-width:768px){

    .experiencia{
        padding:35px 25px;
    }

    .experiencia h3{
        font-size:1.8rem;
    }

    .numeros{
        grid-template-columns:1fr;
        gap:35px;
    }

    .item::after{
        display:none;
    }

    .item h2{
        font-size:2.5rem;
    }

}

/*====================================
            VENTAJAS
====================================*/

.ventajas{
    padding:110px 0;
    background:linear-gradient(#f7fbff,#eef7fb);
    text-align:center;
}

.ventajas h2{
    font-size:3rem;
    color:#1d2942;
    margin:20px 0 60px;
    font-family:"Playfair Display",serif;
}

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 45px rgba(0,0,0,.15);
}

.icono{
    width:80px;
    height:80px;
    margin:35px auto 20px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#dff7f5;
}

.icono i{
    color:#1aa6a2;
    font-size:2rem;
}

.card h3{
    color:#1d2942;
    margin-bottom:15px;
}

.card p{
    color:#6d7687;
    padding:0 25px;
    line-height:1.8;
    margin-bottom:25px;
}

.card img{
    width:100%;
    height:170px;
    object-fit:cover;
    display:block;
}

.boton-centro{
    margin-top:50px;
}

/*====================================
            RESPONSIVE
====================================*/

@media(max-width:992px){

    .nosotros .contenedor{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .estadisticas{
        grid-template-columns:repeat(2,1fr);
    }

    .texto{
        text-align:center;
    }

    .card-flotante{
        left:50%;
        transform:translateX(-50%);
        width:85%;
    }

}

@media(max-width:768px){

    .cards,
    .estadisticas{
        grid-template-columns:1fr;
    }

    .texto h2,
    .ventajas h2{
        font-size:2.4rem;
    }

}

/*====================================
                CTA
====================================*/

.cta{
    position: relative;
    padding: 100px 0;
    background: url("../img/fondopromo.jpg") center center / cover no-repeat;
    overflow: hidden;
}

.cta::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.cta-content{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content span{
    color: #FFD166;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-content h2{
    margin: 15px 0;
    max-width: 600px;
    color: #fff;
    font-size: 2.8rem;
    line-height: 1.2;
    font-family: "Playfair Display", serif;
}

.cta-content p{
    max-width: 520px;
    color: rgba(255,255,255,.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.cta .btn-primary{
    background: #F4A261;
}

.cta .btn-primary:hover{
    background: #E76F51;
}


/*====================================
            RESPONSIVE
====================================*/

@media (max-width:1100px){

    .hero h1{
        font-size: 4rem;
    }

    .cta-content{
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width:992px){

    .nosotros .contenedor{
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .texto{
        text-align: center;
    }

    .estadisticas{
        grid-template-columns: repeat(2,1fr);
    }

    .cards{
        grid-template-columns: repeat(2,1fr);
    }

}


@media (max-width:768px){

    .hero{
        min-height: 90vh;
    }

    .hero h1{
        font-size: 3rem;
    }

    .hero p{
        font-size: 1rem;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: flex-start;
    }

    .texto h2{
        font-size: 2.2rem;
    }

    .ventajas h2{
        font-size: 2.2rem;
    }

    .estadisticas{
        grid-template-columns: 1fr;
    }

    .cards{
        grid-template-columns: 1fr;
    }

    .cta{
        padding: 70px 0;
    }

    .cta-content{
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2{
        font-size: 2rem;
    }

}


@media (max-width:480px){

    .hero h1{
        font-size: 2.4rem;
    }

    .hero-buttons{
        width: 100%;
    }

    .hero-buttons .btn{
        width: 100%;
        justify-content: center;
    }

    .nosotros,
    .ventajas{
        padding: 70px 0;
    }

    .texto h2,
    .ventajas h2{
        font-size: 1.9rem;
    }

    .cta-content h2{
        font-size: 1.8rem;
    }

}