/* =================================================
   GENERAL
================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #071b43;
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
}


/* =================================================
   REPRESENTANTES
================================================= */

.representantes {
    padding: 28px 40px 22px;

    text-align: center;

    background:
        linear-gradient(
            rgba(255,255,255,0.93),
            rgba(255,255,255,0.93)
        ),
        url("img/fondo-hexagonos.png");

    background-size: cover;
    background-position: center;

    border-bottom: 1px solid #dfe8ef;
}


.representantes h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #071b43;
    margin-bottom: 25px;
    text-transform: uppercase;
}


.logos-representantes {
    max-width: 1250px;

    margin: 0 auto 18px;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    align-items: center;

    gap: 8px;
}


.logos-representantes img {
    min-width: 0;

    width: auto;

    max-width: 115px;

    max-height: 55px;

    object-fit: contain;
}


.representantes p {
    font-size: max(14px, 12px);

    color: #344054;
}


/* =================================================
   PRIMER BLOQUE NOSOTROS
================================================= */

/* =================================================
   PRIMER BLOQUE NOSOTROS
================================================= */

.nosotros-principal {
    position: relative;
    overflow: hidden;
    padding: 26px 28px 34px;
    background: #f2f6f9;
}

.nosotros-principal::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -10px;
    width: 320px;
    height: 180px;
    opacity: 0.25;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            -25deg,
            transparent 0 12px,
            rgba(0, 126, 199, 0.18) 12px 14px
        );
}

.nosotros-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr 0.95fr;
    gap: 18px;
    align-items: stretch;
}


/* =================================================
   COLUMNA IZQUIERDA
================================================= */

.nosotros-presentacion {
    padding: 8px 8px 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.titulo-chico {
    color: #11a2eb;
    font-size: max(14px, 12px);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.nosotros-presentacion h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 3.1vw, 50px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #071b43;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.logo-30-img {
    width: clamp(200px, 26vw, 390px);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.frase-omnilab {
    margin-top: 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    line-height: 1.5;
    color: #000000;
    text-align: center;
}


/* =================================================
   IMAGEN CENTRAL
================================================= */

.nosotros-imagen {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #edf5fb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    height: auto;
    align-self: stretch;
}

.nosotros-imagen img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
}


/* =================================================
   COLUMNA DERECHA
================================================= */

.nosotros-cards {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-card {
    background: #f7f7f7;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    padding: 22px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.icono-card {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f2f9fe;
    border: 1px solid #d3e8f7;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1c63b7;
    font-size: 28px;
}

.info-card-texto h3 {
    font-size: 16px;
    font-weight: 800;
    color: #071b43;
    margin-bottom: 10px;
}

.info-card-texto p {
    font-size: 14px;
    line-height: 1.6;
    color: #26354d;
}


/* =================================================
   RESPONSIVE PRIMER BLOQUE
================================================= */

@media (max-width: 1100px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-presentacion {
        text-align: center;
        align-items: center;
    }

    .nosotros-presentacion h1 {
        font-size: 46px;
    }

    .nosotros-imagen {
        clip-path: none;
        border-radius: 18px;
    }
}

@media (max-width: 700px) {
    .nosotros-principal {
        padding: 22px 16px 28px;
    }

    .nosotros-presentacion h1 {
        font-size: 38px;
    }

    .logo-30-img {
        width: 200px;
    }

    .info-card {
        padding: 18px;
    }

    .info-card-texto h3 {
        font-size: 15px;
    }

    .info-card-texto p {
        font-size: max(14px, 13px);
    }
}
/* =================================================
   SEGUNDA SECCIÓN
================================================= */

.mision {
    padding: 45px 40px;

    background:
        linear-gradient(
            180deg,
            #f1f9fd,
            #edf8fc
        );
}


.mision-contenedor {
    max-width: 1280px;

    min-height: 480px;

    margin: auto;

    position: relative;

    display: flex;

    align-items: center;
}


/* =================================================
   TARJETA MISIÓN
================================================= */

.mision-card {
    width: 52%;

    min-height: 400px;

    position: relative;

    z-index: 2;

    padding: 48px;

    background: #ffffff;

    border-radius: 15px;

    box-shadow:
        0 8px 25px
        rgba(0,0,0,0.10);
}


.mision-card h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 2.8vw, 42px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #071b43;
    margin-bottom: 28px;
    text-transform: uppercase;
}


/* =================================================
   TEXTO MISIÓN
================================================= */

.mision-texto {
    display: flex;

    gap: 20px;
}


.mision-icono {
    width: 52px;
    min-width: 52px;

    height: 52px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #008dd5;

    border: 1px solid #bce5f8;

    font-size: 30px;
}


.mision-texto p {
    max-width: 430px;

    margin-bottom: 16px;

    font-size: max(14px, 11px);

    line-height: 1.65;

    color: #344054;
}


/* =================================================
   VALORES
================================================= */

.valores {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 30px;
}


.valor {
    flex: 1;

    text-align: center;
}


.valor-icono {
    width: 45px;
    height: 45px;

    margin: auto auto 8px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #008bd2;

    font-size: 25px;

    background: #eef9ff;
}


.valor span {
    font-size: max(14px, 9px);

    font-weight: 800;

    color: #071b43;
}


/* =================================================
   IMAGEN MISIÓN
================================================= */

.mision-imagen {
    position: absolute;

    right: 0;

    width: 63%;

    height: 100%;

    overflow: hidden;

    border-radius:
        150px 0 0 0;
}


.mision-imagen img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    transform: scale(1.04);
    filter: blur(4px);
}


/* =================================================
   RESPONSIVE
================================================= */

@media (max-width: 1000px) {

    .nosotros-grid {
        grid-template-columns: 1fr;
    }


    .nosotros-presentacion {
        text-align: center;
    }


    .logo-30 {
        margin: auto;
    }


    .nosotros-imagen {
        clip-path: none;
    }


    .nosotros-cards {
        padding-left: 0;
    }


    .mision-contenedor {
        display: block;
    }


    .mision-card {
        width: 100%;

        margin-bottom: 25px;
    }


    .mision-imagen {
        position: relative;

        width: 100%;

        height: 400px;

        border-radius: 15px;
    }

}


@media (max-width: 600px) {

    .representantes,
    .nosotros-principal,
    .mision {
        padding-left: 18px;
        padding-right: 18px;
    }


    .representantes h2 {
        font-size: 16px;
    }


    .logos-representantes {
        gap: 4px;
    }


    .logos-representantes img {
        max-height: 40px;
    }


    .nosotros-presentacion h1 {
        font-size: 34px;
    }


    .numero-30 {
        font-size: 80px;
    }


    .mision-card {
        padding: 28px 22px;
    }


    .mision-card h2 {
        font-size: 26px;
    }


    .mision-texto {
        flex-direction: column;
    }


    .valores {
        flex-direction: column;
    }

}

/* Grillas y elementos de la página Nosotros */
.nosotros-grid, .nosotros-cards, .info-card, .mision-contenedor, .mision-card, .mision-texto, .valor { min-width: 0; }
.info-card-texto, .mision-texto p { min-width: 0; overflow-wrap: anywhere; }
.logo-30-img { max-width: 100%; height: auto; }

@media (max-width: 700px) {
    .logos-representantes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .logos-representantes img { max-width: 112px; max-height: 46px; object-fit: contain; }
    .mision-imagen { height: clamp(230px, 65vw, 360px); }
    .nosotros-imagen img, .mision-imagen img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 420px) {
    .logos-representantes { gap: 10px; }
    .logos-representantes img { max-width: 130px; }
    .nosotros-presentacion h1 { font-size: clamp(28px, 9vw, 36px); overflow-wrap: anywhere; }
    .mision-card { padding: 22px 16px; }
    .valor { width: 100%; }
}

@media (min-width: 1800px) {
    .representantes, .nosotros-principal, .mision { padding: 2.5vw 4vw; }
    .representantes h2 { font-size: clamp(26px, 1.5vw, 66px); }
    .logos-representantes { max-width: none; width: 92vw; gap: 1vw; }
    .logos-representantes img { max-width: 12vw; max-height: 5vw; }
    .nosotros-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(0, 0.95fr);
        gap: 2vw;
    }
    .info-card-texto h3, .info-card-texto p, .nosotros-presentacion h1, .mision-card h2, .mision-texto p {
        word-break: normal;
        overflow-wrap: normal;
    }
    .nosotros-presentacion h1 { font-size: clamp(48px, 2.8vw, 125px); }
    .nosotros-presentacion p, .info-card-texto p, .mision-texto p { font-size: clamp(15px, 0.82vw, 36px); }
    .info-card { padding: 1.3vw; gap: 1vw; }
    .info-card-texto h3 { font-size: clamp(18px, 1vw, 44px); }
    .mision-contenedor {
        width: 100%;
        max-width: none;
        min-height: clamp(520px, 35vw, 1000px);
        gap: 2vw;
    }
    .mision-card { padding: 2vw; }
    .mision-card h2 { font-size: clamp(30px, 1.8vw, 80px); }
    .mision-imagen { top: 0; bottom: 0; height: auto; min-height: 100%; }
    .mision-icono { width: clamp(52px, 3vw, 130px); height: clamp(52px, 3vw, 130px); min-width: clamp(52px, 3vw, 130px); font-size: clamp(26px, 1.5vw, 66px); }
    .valor-icono { width: clamp(45px, 2.6vw, 112px); height: clamp(45px, 2.6vw, 112px); font-size: clamp(22px, 1.3vw, 56px); }
    .valor span { font-size: max(14px, clamp(11px, 0.65vw, 28px)); }
}
