/* =========================
SECCIÓN NOSOTROS
========================= */

.nosotros{
    width:100%;
    padding:120px 8%;
    background:#f5f5f5;
    position:relative;
    overflow:hidden;
}

.nosotros{
    background:#f5f5f5;
}

/* =========================
CONTENEDORES
========================= */

.nosotros-container{
    display:flex;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.nosotros-container{
    align-items:center;
}

/* =========================
NOSOTROS MODERNO
========================= */

.nosotros-bloque{
   position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:70px;
    margin-bottom:120px;
    flex-wrap:wrap;
}

.nosotros-bloque.reverse{
    flex-direction:row-reverse;
}

/* =========================
IMÁGENES
========================= */

.nosotros-img{
    flex:1 1 450px;
    position:relative;
}

.nosotros-img img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:30px;
    box-shadow:
    0 15px 40px rgba(0,0,0,.12);
    transition:.4s;
}

.nosotros-img img:hover{
    transform:translateY(-8px);
}

/* DECORACIÓN */

.nosotros-img::after{

    content:"";
    position:absolute;
    width:140px;
    height:140px;
    border-radius:35px;
    background:#ff008c;
    opacity:.12;
    right:-25px;
    bottom:-25px;
    z-index:-1;
}

/* =========================
TEXTOS
========================= */

.nosotros-texto{
    flex:1 1 500px;
}

.subtitulo{
   color:#ff008c;
    font-size:14px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:12px;
}

.nosotros-texto h2{
    margin:15px 0;
    line-height:1.2;
}

.nosotros-texto h2{
     font-size:52px;
    line-height:1.1;
    color:#111;
    margin-bottom:25px;
    font-weight:800;
}

.nosotros-texto p{
    font-size:17px;
    line-height:1.8;
}

.nosotros-texto p{
   font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:22px;
}

/* =========================
FRASE IMPACTO
========================= */

.frase-impacto{
    margin-top:35px;
    padding:30px;
    border-radius:24px;
    background:#111;
    color:white;
    font-size:19px;
    font-weight:600;
    line-height:1.8;
    position:relative;
    overflow:hidden;
    box-shadow:
    0 15px 35px rgba(0,0,0,.15);
}

.frase-impacto::before{

    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:linear-gradient(
    90deg,
    #00aaff,
    #ff008c,
    #ffd500);
}

/* =========================
VENTAJAS
========================= */

.ventajas{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:70px;
}

.item{
    background:white;
    padding:28px;
    border-radius:24px;
    font-weight:700;
    color:#111;
    box-shadow:
    0 10px 25px rgba(0,0,0,.06);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

/* LINEAS */

.item:nth-child(1)::before,
.item:nth-child(4)::before{
    background:#00aaff;
}

.item:nth-child(2)::before{
    background:#ff008c;
}

.item:nth-child(3)::before{
    background:#ffd500;
}

.item::before{

    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
}

.item:hover,
.estadistica-box:hover{
    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

/* =========================
ESTADÍSTICAS
========================= */

.stats{
     margin-top:100px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.stat{
    background:white;
    padding:45px 25px;
    border-radius:28px;
    text-align:center;
    box-shadow:
    0 10px 25px rgba(0,0,0,.06);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

/* LINEAS */

.stat:nth-child(1)::before{
    background:#00aaff;
}

.stat:nth-child(2)::before{
    background:#ff008c;
}

.stat:nth-child(3)::before{
    background:#ffd500;
}

.stat::before{
    content:"";
    position:absolute;
    width:100%;
    height:6px;
    top:0;
    left:0;
}


/* HOVER */

.stat:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}


/* NUMEROS */

.stat h3{
    font-size:52px;
    margin-bottom:12px;
    font-weight:800;
}

.stat:nth-child(1) h3{
    color:#00aaff;
}

.stat:nth-child(2) h3{
    color:#ff008c;
}

.stat:nth-child(3) h3{
    color:#ffd500;
}

.stat p{
    color:#555;
    font-size:17px;
    font-weight:600;
}


/* =========================
MISIÓN Y VISIÓN
========================= */

.mision-vision{
    margin-top:100px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.box{
    background:white;
    padding:40px;
    border-radius:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    transition:.35s;
    position:relative;
    overflow:hidden;
}

/* LINEAS */

.box:nth-child(1)::before{
    background:#00aaff;
}

.box:nth-child(2)::before{
    background:#ff008c;
}

.box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
}


/* HOVER */

.box:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}


/* TITULOS */

.box h3{
    font-size:30px;
    color:#111;
    margin-bottom:20px;
    font-weight:800;
}

/* TEXTOS */

.box p{
    color:#555;
    line-height:1.9;
    font-size:17px;
}

@media(max-width:768px){


    .nosotros{
        padding:70px 5%;
    }

    .nosotros-texto h2{
        font-size:34px;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .mision-vision{
        grid-template-columns:1fr;
    }

    .ventajas{
        grid-template-columns:1fr;
    }

    .nosotros-img img{
        height:350px;
    }

    .ventajas{
        grid-template-columns:1fr;
    }

}