/* =========================================================
   CASLA DEL SURESTE - PÁGINA NOSOTROS
   Diseño moderno, compacto y responsive
========================================================= */

:root {
    --nos-azul: #0d5bd7;
    --nos-azul-oscuro: #082c6c;
    --nos-azul-noche: #061a3d;
    --nos-azul-claro: #eaf3ff;
    --nos-texto: #253449;
    --nos-texto-secundario: #607086;
    --nos-borde: #e2eaf4;
    --nos-blanco: #ffffff;
}

/* BASE */

body {
    color: var(--nos-texto);
}

.nosotros-titulo-seccion,
.nosotros-historia,
.nosotros-mvv,
.nosotros-objetivos,
.nosotros-elegirnos {
    position: relative;
}

.nosotros-historia .container,
.nosotros-mvv .container,
.nosotros-objetivos .container,
.nosotros-elegirnos .container {
    max-width: 1180px;
}

/* =========================================================
   TÍTULO PRINCIPAL
========================================================= */

.nosotros-titulo-seccion {
    overflow: hidden;
    padding: 38px 0 35px;
    color: var(--nos-blanco);
    background:
        radial-gradient(circle at 90% 10%, rgba(54, 133, 255, .32), transparent 30%),
        linear-gradient(115deg, var(--nos-azul-noche), var(--nos-azul-oscuro) 65%, #104ca4);
}

.nosotros-titulo-seccion::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -65px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.nosotros-titulo-seccion .container {
    position: relative;
    z-index: 1;
}

.nosotros-titulo-seccion h1 {
    margin: 0 0 9px;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 850;
    letter-spacing: 1.5px;
}

.nosotros-titulo-seccion p {
    margin: 0;
    color: #dce9ff;
    font-size: 16px;
    font-weight: 500;
}

/* =========================================================
   HISTORIA
========================================================= */

.nosotros-historia {
    padding: 48px 0;
    background: #ffffff;
}

.nosotros-historia .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1.5rem;
}

.nosotros-imagen {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border: 5px solid #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(8, 44, 108, .13);
}

.nosotros-titulo-seccion-texto {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--nos-azul);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.7px;
}

.nosotros-titulo-seccion-texto::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 5px;
    background: var(--nos-azul);
}

.nosotros-historia h2 {
    margin: 0 0 17px;
    color: var(--nos-azul-oscuro);
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 850;
    line-height: 1.2;
}

.nosotros-historia p {
    margin-bottom: 13px;
    color: var(--nos-texto-secundario);
    font-size: 15px;
    line-height: 1.8;
}

.nosotros-historia p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ENCABEZADOS DE SECCIÓN
========================================================= */

.nosotros-seccion-encabezado {
    max-width: 760px;
    margin: 0 auto 27px;
}

.nosotros-seccion-encabezado h2 {
    margin: 0 0 9px;
    color: var(--nos-azul-oscuro);
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 850;
    line-height: 1.25;
}

.nosotros-seccion-encabezado p {
    margin: 0;
    color: var(--nos-texto-secundario);
    font-size: 15px;
    line-height: 1.65;
}

/* =========================================================
   MISIÓN, VISIÓN Y VALORES
========================================================= */

.nosotros-mvv {
    padding: 43px 0 48px;
    background: #f4f7fc;
    border-top: 1px solid #edf1f7;
    border-bottom: 1px solid #edf1f7;
}

.nosotros-card-mvv {
    position: relative;
    height: 100%;
    min-height: 220px;
    padding: 27px 23px 24px;
    overflow: hidden;
    background: var(--nos-blanco);
    border: 1px solid var(--nos-borde);
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(8, 44, 108, .045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nosotros-card-mvv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--nos-azul);
}

.nosotros-card-mvv:hover {
    transform: translateY(-5px);
    border-color: #c7dcfb;
    box-shadow: 0 14px 28px rgba(8, 44, 108, .10);
}

.nosotros-card-mvv h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--nos-azul-oscuro);
    font-size: 21px;
    font-weight: 800;
}

.nosotros-card-mvv h3::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: var(--nos-azul-claro);
    color: var(--nos-azul);
    font-size: 20px;
}

.nosotros-card-mvv.mision h3::before {
    content: "◎";
}

.nosotros-card-mvv.vision h3::before {
    content: "◉";
}

.nosotros-card-mvv.valores h3::before {
    content: "✦";
}

.nosotros-card-mvv p {
    margin: 0;
    color: var(--nos-texto-secundario);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   OBJETIVOS
========================================================= */

.nosotros-objetivos {
    padding: 43px 0 48px;
    background: #ffffff;
}

.nosotros-lista {
    gap: 10px;
    border: 0;
    background: transparent;
}

.nosotros-lista .list-group-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-height: 60px;
    padding: 17px 18px;
    color: #253449;
    background: #f7faff;
    border: 1px solid #e5edf8 !important;
    border-radius: 11px !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.nosotros-lista .list-group-item::first-letter {
    color: var(--nos-azul);
}

.nosotros-lista .list-group-item:hover {
    transform: translateX(3px);
    background: #edf5ff;
    border-color: #c9defd !important;
}

/* =========================================================
   ¿POR QUÉ ELEGIRNOS?
========================================================= */

.nosotros-elegirnos {
    padding: 43px 0 50px;
    background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
    border-top: 1px solid #eaf0f8;
}

.nosotros-card-estadistica {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--nos-borde);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(8, 44, 108, .055);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.nosotros-card-estadistica:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(8, 44, 108, .12);
}

.nosotros-card-estadistica .card-body {
    padding: 25px 17px 23px;
}

.nosotros-card-estadistica h3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 66px;
    margin: 0 0 13px;
    padding: 5px 12px;
    color: var(--nos-azul);
    background: var(--nos-azul-claro);
    border-radius: 15px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.nosotros-card-estadistica h5 {
    margin: 0 0 9px;
    color: var(--nos-azul-oscuro);
    font-size: 16px;
    font-weight: 800;
}

.nosotros-card-estadistica p {
    margin: 0;
    color: var(--nos-texto-secundario);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .nosotros-historia,
    .nosotros-mvv,
    .nosotros-objetivos,
    .nosotros-elegirnos {
        padding-top: 36px;
        padding-bottom: 38px;
    }

    .nosotros-imagen {
        height: 320px;
    }

    .nosotros-card-mvv {
        min-height: 200px;
    }

    .nosotros-seccion-encabezado {
        margin-bottom: 23px;
    }
}

@media (max-width: 767.98px) {
    .nosotros-titulo-seccion {
        padding: 30px 0 28px;
    }

    .nosotros-titulo-seccion p {
        font-size: 14px;
    }

    .nosotros-imagen {
        height: 280px;
    }

    .nosotros-historia h2 {
        font-size: 26px;
    }

    .nosotros-card-mvv {
        min-height: auto;
        padding: 23px 20px;
    }

    .nosotros-lista .list-group-item {
        min-height: auto;
        padding: 14px;
    }

    .nosotros-card-estadistica .card-body {
        padding: 21px 14px;
    }
}

@media (max-width: 575.98px) {
    .nosotros-historia,
    .nosotros-mvv,
    .nosotros-objetivos,
    .nosotros-elegirnos {
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .nosotros-imagen {
        height: 230px;
        border-width: 3px;
        border-radius: 13px;
    }

    .nosotros-historia p {
        font-size: 14px;
        line-height: 1.7;
    }

    .nosotros-seccion-encabezado h2 {
        font-size: 25px;
    }

    .nosotros-card-estadistica h3 {
        min-height: 58px;
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nosotros-card-mvv,
    .nosotros-card-estadistica,
    .nosotros-lista .list-group-item {
        transition: none;
    }
}


/* =========================================================
   ENCABEZADO PRINCIPAL - PRODUCTOS
   Mismo estilo visual que la página Nosotros
========================================================= */

.productos-titulo-seccion {
    position: relative;
    overflow: hidden;
    padding: 38px 0 35px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(54, 133, 255, .32),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            #061a3d,
            #082c6c 65%,
            #104ca4
        );
}

.productos-titulo-seccion::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -65px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.productos-titulo-seccion .container {
    position: relative;
    z-index: 1;
}

.productos-titulo-seccion h1 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 850;
    letter-spacing: 1.5px;
}

.productos-titulo-seccion p {
    margin: 0;
    color: #dce9ff;
    font-size: 16px;
    font-weight: 500;
}

/* RESPONSIVE */

@media (max-width: 767.98px) {
    .productos-titulo-seccion {
        padding: 30px 0 28px;
    }

    .productos-titulo-seccion p {
        font-size: 14px;
    }
}


/* =========================================================
   CASLA DEL SURESTE
   MEJORA GENERAL DE LEGIBILIDAD Y CONTRASTE - NOSOTROS
   Pegar al FINAL del archivo CSS
========================================================= */

:root {
    --nos-texto: #172b4d;
    --nos-texto-secundario: #40516b;
    --nos-azul-oscuro: #082c6c;
    --nos-azul-noche: #061a3d;
    --nos-borde: #d5deeb;
}

/* TEXTO GENERAL */

.nosotros-titulo-seccion,
.nosotros-historia,
.nosotros-mvv,
.nosotros-objetivos,
.nosotros-elegirnos {
    color: #172b4d;
}

/* TÍTULO PRINCIPAL */

.nosotros-titulo-seccion h1 {
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.nosotros-titulo-seccion p {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.75;
    opacity: 1;
}

/* HISTORIA */

.nosotros-titulo-seccion-texto {
    color: #0849a5;
    font-weight: 900;
}

.nosotros-historia h2 {
    color: #082c6c;
    font-weight: 900;
}

.nosotros-historia p {
    color: #344660;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.85;
}

/* ENCABEZADOS DE SECCIÓN */

.nosotros-seccion-encabezado h2 {
    color: #082c6c;
    font-weight: 900;
}

.nosotros-seccion-encabezado p {
    color: #40516b;
    font-weight: 500;
    line-height: 1.8;
}

/* MISIÓN, VISIÓN Y VALORES */

.nosotros-card-mvv {
    border-color: #d5deeb;
}

.nosotros-card-mvv h3 {
    color: #082c6c;
    font-weight: 900;
}

.nosotros-card-mvv h3::before {
    color: #0849a5;
    font-weight: 900;
}

.nosotros-card-mvv p {
    color: #344660;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.85;
}

.nosotros-card-mvv:hover {
    border-color: #9fc2f5;
}

/* OBJETIVOS */

.nosotros-lista .list-group-item {
    color: #253449;
    background: #f5f8fe;
    border-color: #d5e0ef !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.nosotros-lista .list-group-item:hover {
    color: #082c6c;
    background: #eaf3ff;
    border-color: #a9c8f5 !important;
}

/* ¿POR QUÉ ELEGIRNOS? */

.nosotros-card-estadistica {
    border-color: #d5deeb;
}

.nosotros-card-estadistica h3 {
    color: #0849a5;
    font-weight: 900;
}

.nosotros-card-estadistica h5 {
    color: #082c6c;
    font-weight: 900;
}

.nosotros-card-estadistica p {
    color: #344660;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.nosotros-card-estadistica:hover {
    border-color: #a9c8f5;
}

/* ENCABEZADO DE PRODUCTOS INCLUIDO EN ESTE CSS */

.productos-titulo-seccion h1 {
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.productos-titulo-seccion p {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.75;
    opacity: 1;
}

/* AJUSTES PARA MÓVILES */

@media (max-width: 767.98px) {
    .nosotros-titulo-seccion h1 {
        font-weight: 900;
    }

    .nosotros-titulo-seccion p {
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

    .nosotros-historia p,
    .nosotros-card-mvv p,
    .nosotros-card-estadistica p {
        color: #344660;
        line-height: 1.8;
    }

    .nosotros-card-mvv h3,
    .nosotros-card-estadistica h5 {
        font-weight: 900;
    }

    .productos-titulo-seccion h1 {
        font-weight: 900;
    }

    .productos-titulo-seccion p {
        color: #ffffff;
        font-weight: 600;
    }
}

/* RESPETAR PREFERENCIAS DE MOVIMIENTO */

@media (prefers-reduced-motion: reduce) {
    .nosotros-card-mvv,
    .nosotros-card-estadistica,
    .nosotros-lista .list-group-item {
        transition: none;
        transform: none;
    }
}
