/*====================================
    HERO OPINIONES
=====================================*/

.opiniones-hero{

    position: relative;

    height: 60vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    overflow: hidden;

    background:
    linear-gradient(rgba(15,139,131,.80),rgba(15,139,131,.80)),
    url("../img/heroopiniones.jpg") center center/cover no-repeat;

}

.opiniones-hero .container{

    position: relative;

    z-index: 2;

}

.opiniones-hero h1{

    font-family: "Playfair Display", serif;

    font-size: 4rem;

    color: #fff;

    margin-bottom: 20px;

}

.opiniones-hero p{

    color: rgba(255,255,255,.95);

    font-size: 1.15rem;

    max-width: 700px;

    margin: auto;

    line-height: 1.8;

}

/*====================================
    ESTADÍSTICAS
=====================================*/

.estadisticas{

    width:90%;

    max-width:1200px;

    margin:80px auto;

}

.estadisticas-titulo{

    text-align:center;

    margin-bottom:50px;

}

.estadisticas-titulo .etiqueta{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(0,184,169,.12);

    color:#0F8B83;

    font-weight:600;

}

.estadisticas-titulo .etiqueta i{

    font-size:1.1rem;

}

.estadisticas-titulo h2{

    font-size:2rem;

    color:#222;

    margin:20px 0 15px;

}

.estadisticas-titulo p{

    max-width:700px;

    margin:auto;

    color:#666;

    line-height:1.8;

}

.estadisticas-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}

.stat{

    background:#fff;

    border-radius:20px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.35s;

}

.stat:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,184,169,.18);

}

.stat i{

    font-size:2.8rem;

    color:#00b8a9;

    margin-bottom:15px;

}

.stat h3{

    font-size:2rem;

    color:#0F8B83;

    margin-bottom:10px;

}

.stat p{

    color:#666;

    line-height:1.6;

}

/*====================================
    ¿POR QUÉ NOS RECOMIENDAN?
=====================================*/

.porque-nosotros{

    width:90%;

    max-width:1100px;

    margin:80px auto;

    background:#fff;

    border-radius:25px;

    padding:60px 50px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.porque-contenido{

    text-align:center;

}

.etiqueta{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(0,184,169,.12);

    color:#0F8B83;

    font-weight:600;

    margin-bottom:20px;

}

.etiqueta i{

    font-size:1.1rem;

}

.porque-contenido h2{

    font-size:2rem;

    color:#222;

    margin-bottom:18px;

}

.porque-contenido p{

    color:#666;

    line-height:1.8;

    max-width:700px;

    margin:0 auto 35px;

}

.beneficios{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:18px;

}

.beneficios div{

    display:flex;

    align-items:center;

    gap:12px;

    background:#f8f9fa;

    padding:18px 22px;

    border-radius:15px;

    color:#444;

    font-weight:500;

    transition:.3s;

}

.beneficios div:hover{

    background:#eefcfb;

    transform:translateY(-4px);

}

.beneficios i{

    color:#00b8a9;

    font-size:1.3rem;

}

/*====================================
    OPINIONES
=====================================*/

.opiniones{

    padding:100px 20px;

    background:#f8fafc;

}

.opiniones .container{

    max-width:1200px;

    margin:auto;

}

.opiniones-titulo{

    text-align:center;

    margin-bottom:60px;

}

.opiniones-titulo h2{

    font-family:"Playfair Display",serif;

    font-size:2.8rem;

    color:#222;

    margin-bottom:15px;

}

.opiniones-titulo p{

    color:#666;

    max-width:700px;

    margin:auto;

    line-height:1.8;

}

.opiniones-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

    margin-bottom:80px;

}

.opinion{

    background:#fff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

}

.opinion:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,184,169,.18);

}

.cliente{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}

.cliente img{

    width:65px;

    height:65px;

    border-radius:50%;

    object-fit:cover;

}

.cliente h4{

    color:#222;

    margin-bottom:5px;

    font-size:1.1rem;

}

.cliente span{

    color:#888;

    font-size:.9rem;

}

.estrellas{

    display:flex;

    gap:5px;

    margin-bottom:18px;

    color:#ffc107;

    font-size:1.2rem;

}

.opinion p{

    color:#666;

    line-height:1.8;

}

/*====================================
    FORMULARIO
=====================================*/

.comentario-box{

    background:#fff;

    padding:50px;

    border-radius:25px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.comentario-box h3{

    text-align:center;

    font-size:2rem;

    color:#222;

    margin-bottom:10px;

}

.comentario-box p{

    text-align:center;

    color:#666;

    margin-bottom:35px;

}

.input-group{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:20px;

}

.comentario-form input,
.comentario-form select,
.comentario-form textarea{

    width:100%;

    padding:15px 18px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:1rem;

    outline:none;

    transition:.3s;

    font-family:inherit;

}

.comentario-form input:focus,
.comentario-form select:focus,
.comentario-form textarea:focus{

    border-color:#18B5A4;

    box-shadow:0 0 0 4px rgba(24,181,164,.15);

}

.comentario-form textarea{

    resize:vertical;

    min-height:150px;

    margin:20px 0;

}

.comentario-form button{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin:auto;

    padding:14px 35px;

    border:none;

    border-radius:50px;

    background:linear-gradient(135deg,#0F8B83,#18B5A4);

    color:#fff;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.comentario-form button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(24,181,164,.35);

}

/*====================================
    RESPONSIVE
=====================================*/

@media(max-width:768px){

    .opiniones-hero{

        height:50vh;

    }

    .opiniones-hero h1{

        font-size:3rem;

    }

    .estadisticas{

        width:92%;

    }

    .estadisticas-grid{

        grid-template-columns:1fr;

    }

    .estadisticas-titulo h2{

        font-size:1.7rem;

    }

    .input-group{

        grid-template-columns:1fr;

    }

    .comentario-box{

        padding:35px 25px;

    }

}