/* ==========================
   VARIABLES DE DISEÑO
========================== */

:root {

    /* Colores de marca */
    --color-primary: #f00;
    --color-primary-dark: #c3160a;
    --color-primary-light: #f06c55;

    /* Textos */
    --color-heading: #192334;
    --color-text: #576379;
    --color-muted: #747d8c;

    /* Fondos */
    --color-white: #ffffff;
    --color-cream: #fff8f2;
    --color-cream-light: #fffdf9;
    --color-cream-dark: #ffe2d3;

    /* Bordes */
    --color-border: #e2e7ed;

    /* Gradientes */
    --gradient-brand:
        linear-gradient(
            135deg,
            #f00000 0%,
            #ef5144 48%,
            #c3160a 100%
        );

    --gradient-soft:
        linear-gradient(
            120deg,
            #fffdf9 0%,
            #fff8f2 47%,
            #ffe2d3 100%
        );

    /* Sombras */
    --shadow-soft:
        0 10px 28px rgba(20, 32, 50, 0.08);

    --shadow-card:
        0 14px 34px rgba(31, 39, 54, 0.10);

    /* Radios */
    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 20px;
}


/* ==========================
   RESET
========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--color-heading);
    background: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* ==========================
   HEADER
========================== */

.header {
    position: relative;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid #eeeeee;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    height: 82px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 32px;
}


/* ==========================
   LOGO
========================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;
}

.logo img {
    display: block;

    width: 74px;
    height: 74px;

    object-fit: contain;
}

.logo-text {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;

    color: var(--color-heading);

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.logo-com {
    display: inline-block;

    margin-left: 2px;

    font-size: 0.78em;
    font-weight: 600;

    color: var(--color-primary);

    transition:
        color 0.25s ease;
}

.logo:hover .logo-text {
    color: var(--color-primary);
}

.logo:hover .logo-com {
    color: var(--color-primary-dark);
}


/* ==========================
   NAVEGACIÓN PRINCIPAL
========================== */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 42px;

    margin-left: 40px;
    margin-right: 40px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;

    padding: 0;

    color: #414958;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}


/* ==========================
   HEADER ACTIONS
========================== */

.header-actions {
    display: flex;
    align-items: center;

    gap: 22px;

    flex-shrink: 0;
}

.info-button {
    padding: 12px 16px;

    background: var(--gradient-brand);

    color: var(--color-white);

    border-radius: var(--radius-small);

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.info-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(233, 52, 44, 0.18);
}


/* ==========================
   MENÚ HAMBURGUESA
========================== */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.mobile-menu-button span {
    display: block;

    width: 24px;
    height: 2px;

    border-radius: 10px;

    background: #192334;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.mobile-menu-button.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ==========================
   MENÚ MÓVIL
========================== */

.mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    z-index: 999;

    padding: 12px 20px 22px;

    background:
        rgba(255, 255, 255, 0.98);

    border-top:
        1px solid #edf0f3;

    border-bottom:
        1px solid #e5e8ec;

    box-shadow:
        0 18px 35px rgba(25, 35, 52, 0.10);
}

.mobile-menu a {
    display: flex;
    align-items: center;

    min-height: 52px;

    padding: 0 8px;

    border-bottom:
        1px solid #edf0f3;

    color: #192334;

    font-size: 16px;
    font-weight: 650;
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

.mobile-menu.open {
    display: block;

    animation:
        mobileMenuOpen 0.24s ease both;
}

@keyframes mobileMenuOpen {

    from {
        opacity: 0;

        transform:
            translateY(-8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

.mobile-menu .mobile-info-button {
    justify-content: center;

    margin-top: 14px;

    border: 0;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff2a21 0%,
            #df2117 100%
        );
}


/* ==========================
   PÁGINA QUIÉNES SOMOS
========================== */

.quienes-page {
    position: relative;
    overflow: hidden;

    min-height:
        calc(100vh - 82px);

    background:
        radial-gradient(
            circle at 5% 94%,
            rgba(255, 95, 52, 0.15) 0%,
            rgba(255, 95, 52, 0.07) 15%,
            rgba(255, 95, 52, 0.02) 28%,
            transparent 40%
        ),
        radial-gradient(
            circle at 100% 72%,
            rgba(255, 105, 58, 0.07) 0%,
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 58%,
            #fffaf7 100%
        );
}


/* ==========================
   CONTENEDOR PRINCIPAL
========================== */

.quienes-container {
    width:
        min(
            1280px,
            calc(100% - 64px)
        );

    margin: 0 auto;

    padding:
        72px 0 40px;
}


/* ==========================
   BLOQUE INTRO
========================== */

.quienes-intro {
    display: grid;

    grid-template-columns:
        250px
        1px
        minmax(0, 1fr);

    gap: 34px;

    align-items: start;
}


/* ==========================
   TITULAR IZQUIERDO
========================== */

.quienes-title-box {
    padding-top: 14px;
}

.quienes-title {
    font-size: 42px;
    line-height: 0.98;

    letter-spacing: -1.8px;

    font-weight: 800;

    color: #111821;
}

.quienes-title span {
    display: block;
}

.quienes-title .red {
    color: #f33426;
}

.quienes-title-line {
    width: 72px;
    height: 4px;

    margin-top: 26px;

    background:
        var(--color-primary);

    border-radius: 10px;
}


/* ==========================
   PUNTOS DECORATIVOS
========================== */

.quienes-dots {
    width: 130px;

    margin-top: 78px;
    margin-left: 18px;

    display: grid;

    grid-template-columns:
        repeat(6, 5px);

    gap: 16px;
}

.quienes-dots span {
    display: block;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ff7045;
}


/* ==========================
   LÍNEA VERTICAL
========================== */

.quienes-divider {
    width: 1px;
    min-height: 460px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 72, 56, 0.60),
            rgba(255, 72, 56, 0.25)
        );
}


/* ==========================
   TEXTO PRINCIPAL
========================== */

.quienes-content {
    max-width: 930px;
}

.quienes-content p {
    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.55;

    color: #151a22;
}

.quienes-content p:last-child {
    margin-bottom: 0;
}


/* ==========================
   TARJETAS INFERIORES
========================== */

.quienes-features {
    position: relative;

    width:
        min(
            1210px,
            calc(100% - 40px)
        );

    margin:
        34px auto 70px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding:
        34px 20px 30px;

    background:
        rgba(255, 255, 255, 0.97);

    border:
        1px solid #eeeeee;

    border-radius: 24px;

    box-shadow:
        0 16px 42px rgba(31, 39, 54, 0.07),
        0 3px 9px rgba(31, 39, 54, 0.03);
}


/* ==========================
   TARJETA INDIVIDUAL
========================== */

.quienes-feature {
    position: relative;

    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding:
        4px 26px 0;

    text-align: center;
}

.quienes-feature:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 8px;

    width: 1px;
    height: 190px;

    background:
        rgba(241, 62, 44, 0.22);
}


/* ==========================
   ICONOS
========================== */

.quienes-feature-icon {
    width: 140px;
    height: 95px;

    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.quienes-feature-icon svg {
    width: 110px;
    height: 88px;

    overflow: visible;
}


/* ==========================
   TEXTO TARJETAS
========================== */

.quienes-feature h2 {
    margin-top: 4px;

    font-size: 21px;
    line-height: 1.15;

    color: #f53928;

    font-weight: 750;
}

.quienes-feature strong {
    display: block;

    margin-top: 8px;

    font-size: 15px;
    font-weight: 700;

    color: #171c25;
}

.quienes-feature p {
    margin-top: 6px;

    max-width: 210px;

    font-size: 15px;
    line-height: 1.4;

    color: #394253;
}


/* ==========================
   ESTILOS SVG
========================== */

.svg-stroke {
    fill: none;

    stroke: #252b34;

    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-red {
    fill: #ff543c;
}

.svg-red-stroke {
    fill: none;

    stroke: #ff543c;

    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-soft {
    fill: #fff1ec;
}

.svg-white-stroke {
    fill: #ffffff;

    stroke: #252b34;

    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-cone {
    fill: #fff8f3;

    stroke: #252b34;

    stroke-width: 3;

    stroke-linecap: round;
    stroke-linejoin: round;
}


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

@media (max-width: 1050px) {

    .header-container {
        padding:
            0 24px;
    }

    .nav {
        gap: 24px;

        margin-left: 24px;
        margin-right: 24px;
    }

    .nav-link {
        font-size: 14px;
    }

    .logo img {
        width: 64px;
        height: 64px;
    }

    .logo-text {
        font-size: 22px;
    }
}


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

@media (max-width: 850px) {

    .header-container {
        height: 72px;

        padding:
            0 20px;
    }

    .nav {
        display: none;
    }

    .info-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 18px;
    }


    .quienes-page {
        min-height:
            calc(100vh - 72px);
    }

    .quienes-container {
        width:
            calc(100% - 40px);

        padding:
            50px 0 30px;
    }
    .historia-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .historia-images img {
        height: 190px;
    }
    .quienes-intro {
        grid-template-columns:
            1fr;

        gap: 24px;
    }

    .quienes-title-box {
        padding-top: 0;
    }

    .quienes-title {
        font-size: 40px;

        line-height: 1;
    }

    .quienes-divider {
        display: none;
    }

    .quienes-dots {
        display: none;
    }

    .quienes-content {
        max-width: none;
    }

    .quienes-content p {
        font-size: 15px;
    }


    .quienes-features {
        grid-template-columns:
            repeat(2, 1fr);

        padding:
            26px 18px;
    }

    .quienes-feature {
        margin-bottom: 20px;
    }

    .quienes-feature:nth-child(2)::after {
        display: none;
    }
}
/* ==========================
   RESPONSIVE MÓVIL
========================== */
@media (max-width: 600px) {

    .quienes-container {
        width: calc(100% - 30px);
        padding: 38px 0 20px;
    }


    /* ==========================
       TITULAR EN UNA SOLA LÍNEA
    ========================== */

    .quienes-title-box {
        width: 100%;
        padding: 0;
    }

    .quienes-title {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;

        width: 100%;

        font-size: 16px;
        line-height: 1.2;
        letter-spacing: -0.5px;
        font-weight: 800;

        white-space: nowrap;
    }

    /*
       En desktop cada palabra es un bloque.
       En móvil las ponemos todas seguidas.
    */

    .quienes-title span {
        display: inline;
    }
    /* ==========================
    GALERÍA HISTORIA - MÓVIL
    ========================== */

    .historia-images {
        display: block;
        width: 100%;
        margin-top: 30px;
    }

    /* Ocultamos todas las imágenes */
    .historia-images img {
        display: none;
    }

    /* Mostramos únicamente la primera */
    .historia-images img:first-child {
        display: block;

        width: 100%;
        height: auto;

        object-fit: cover;

        border-radius: 12px;

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

        .historia-images {
        display: block;
        width: 100%;
        min-height: 0;
        margin-top: 32px;
    }

    /* Ocultamos las fotos 2, 3 y 4 */
    .historia-images img:not(:first-child) {
        display: none;
    }

    /* Primera foto */
    .historia-images img:first-child {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
    }


    .historia {
        padding:
            48px 0 55px;
    }

    .historia-container {
        width:
            calc(100% - 30px);
    }

    .historia-kicker {
        font-size: 13px;
    }

    .historia-heading h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .historia-title-line {
        margin-top: 16px;
    }

    .historia-text p {
        margin-bottom: 18px;

        font-size: 15px;
        line-height: 1.6;
    }

    

    /* Espacios entre palabras */

    .quienes-title span:not(:last-child)::after {
        content: " ";
        white-space: pre;
    }


    /*
       Añadimos punto después de:
       aprender
       crecer
       lejos
    */

    .quienes-title span:nth-child(2)::after {
        content: ". ";
    }

    .quienes-title span:nth-child(4)::after {
        content: ". ";
    }

    .quienes-title span:nth-child(8)::after {
        content: ".";
    }


    /* Rojo: Elige crecer */

    .quienes-title .red {
        color: #f33426;
    }


    /* Línea roja inferior */

    .quienes-title-line {
        width: 72px;
        height: 4px;

        margin-top: 22px;

        border-radius: 10px;

        background: var(--color-primary);
    }


    /* Ocultamos decoración de puntos */

    .quienes-dots {
        display: none;
    }


    /* ==========================
       TEXTO
    ========================== */

    .quienes-content {
        margin-top: 18px;
    }

    .quienes-content p {
        margin-bottom: 16px;

        font-size: 15px;
        line-height: 1.55;
    }


    /* ==========================
       TARJETAS
    ========================== */

    .quienes-features {
        width: calc(100% - 24px);

        grid-template-columns: 1fr;

        padding: 14px 18px;

        border-radius: 20px;
    }

    .quienes-feature {
        min-height: auto;

        margin: 0;

        padding: 28px 12px 32px;
    }

    .quienes-feature:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 10%;

        width: 80%;
        height: 1px;
    }

    .quienes-feature h2 {
        font-size: 20px;
    }

    .quienes-feature p {
        font-size: 14px;
    }
}
/* ==========================
   RESPONSIVE MÓVIL PEQUEÑO
========================== */

@media (max-width: 480px) {

    .header-container {
        padding:
            0 14px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo-text {
        font-size: 15px;
    }

    .logo-com {
        font-size: 0.72em;
    }

}
/* ==========================
   NUESTRA HISTORIA
========================== */

.historia {
    position: relative;

    width: 100%;

    padding:
        0 0 0;

    background:
        #ffffff;
}

.historia-container {
    width:
        min(
            1210px,
            calc(100% - 64px)
        );

    margin: 0 auto;
}


/* ==========================
   TÍTULO NUESTRA HISTORIA
========================== */

.historia-heading {
    margin-bottom: 38px;
}

.historia-kicker {
    display: block;

    margin-bottom: 8px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.4px;
}

.historia-heading h2 {
    color: var(--color-heading);

    font-size: 42px;
    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.historia-title-line {
    width: 72px;
    height: 4px;

    margin-top: 20px;

    border-radius: 10px;

    background:
        var(--color-primary);
}


/* ==========================
   TEXTO NUESTRA HISTORIA
========================== */

.historia-text {
    width: 100%;
    max-width: none;
}

.historia-text p {
    margin-bottom: 22px;

    color: #252b35;

    font-size: 17px;
    line-height: 1.7;
}

.historia-text p:last-child {
    margin-bottom: 0;
}


/* ==========================
   IMÁGENES NUESTRA HISTORIA
========================== */

.historia-images {
    width: 100%;

    min-height: 260px;

    margin-top: 50px;

    /*
       Dejamos este espacio preparado.
       Cuando tengamos las imágenes
       definiremos aquí su distribución.
    */
}


/* ==========================
   NUESTRA HISTORIA - TABLET
========================== */

@media (max-width: 850px) {

    .historia {
        padding:
            60px 0 70px;
    }

    .historia-container {
        width:
            calc(100% - 40px);
    }

    .historia-heading {
        margin-bottom: 30px;
    }

    .historia-heading h2 {
        font-size: 36px;
    }

    .historia-text p {
        font-size: 16px;
        line-height: 1.65;
    }

    .historia-images {
        min-height: 220px;
        margin-top: 40px;
    }
}

/* ==========================
   IMÁGENES NUESTRA HISTORIA
========================== */

.historia-images {
    width: 100%;

    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.historia-images img {
    display: block;

    width: 100%;
    height: 210px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow:
        0 8px 24px rgba(25, 35, 52, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.historia-images img:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(25, 35, 52, 0.14);
}
/* ==========================
   GALERÍA HISTORIA - MÓVIL FINAL
========================== */

@media (max-width: 600px) {

    .historia-images {
        display: block;
        width: 100%;
        min-height: 0;
        margin-top: 32px;
    }

    /* Ocultamos imágenes 2, 3 y 4 */
    .historia-images img:not(:first-child) {
        display: none;
    }

    /* Primera imagen grande */
    .historia-images img:first-child {
        display: block;

        width: 100%;
        max-width: none;

        height: 240px;

        object-fit: cover;
        object-position: center;

        border-radius: 14px;

        box-shadow:
            0 10px 28px rgba(25, 35, 52, 0.12);
    }
}

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

.valores {
    width: 100%;

    padding:
        9px 0 100px;

    background:
        linear-gradient(
            180deg,
            #fffaf7 0%,
            #ffffff 100%
        );
}

.valores-container {
    width:
        min(
            1210px,
            calc(100% - 64px)
        );

    margin: 0 auto;
}


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

.valores-heading {
    max-width: 760px;

    margin-bottom: 50px;
}

.valores-kicker {
    display: block;

    margin-bottom: 10px;

    color: var(--color-primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.4px;
}

.valores-heading h2 {
    color: var(--color-heading);

    font-size: 44px;
    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.6px;
}

.valores-title-line {
    width: 72px;
    height: 4px;

    margin-top: 22px;

    background:
        var(--color-primary);

    border-radius: 10px;
}


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

.valores-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 18px;
}


/* ==========================
   TARJETAS
========================== */

.valor-card {
    position: relative;

    min-height: 265px;

    padding:
        28px 26px 26px;

    background:
        #ffffff;

    border:
        1px solid #eceff3;

    border-radius: 18px;

    box-shadow:
        0 10px 28px rgba(25, 35, 52, 0.06);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


/* Las tres primeras */
.valor-card:nth-child(1),
.valor-card:nth-child(2),
.valor-card:nth-child(3) {
    grid-column: span 2;
}


/* Las dos últimas centradas */
.valor-card:nth-child(4) {
    grid-column:
        2 / span 2;
}

.valor-card:nth-child(5) {
    grid-column:
        4 / span 2;
}


.valor-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(240, 0, 0, 0.18);

    box-shadow:
        0 16px 36px rgba(25, 35, 52, 0.10);
}


/* ==========================
   NÚMERO
========================== */

.valor-number {
    margin-bottom: 20px;

    color:
        rgba(240, 0, 0, 0.20);

    font-size: 38px;
    line-height: 1;

    font-weight: 800;
}


/* ==========================
   TEXTO TARJETAS
========================== */

.valor-card h3 {
    margin-bottom: 14px;

    color:
        var(--color-heading);

    font-size: 20px;
    line-height: 1.25;

    font-weight: 750;
}

.valor-card p {
    color:
        var(--color-text);

    font-size: 15px;
    line-height: 1.6;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 850px) {

    .valores {
        padding:
            70px 0 80px;
    }

    .valores-container {
        width:
            calc(100% - 40px);
    }

    .valores-heading h2 {
        font-size: 36px;
    }

    .valores-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .valor-card:nth-child(1),
    .valor-card:nth-child(2),
    .valor-card:nth-child(3),
    .valor-card:nth-child(4),
    .valor-card:nth-child(5) {
        grid-column: auto;
    }

    .valor-card:last-child {
        grid-column:
            1 / -1;
    }
}


/* ==========================
   MÓVIL
========================== */

@media (max-width: 600px) {

    .valores {
        padding:
            55px 0 65px;
    }

    .valores-container {
        width:
            calc(100% - 30px);
    }

    .valores-heading {
        margin-bottom: 34px;
    }

    .valores-kicker {
        font-size: 13px;
    }

    .valores-heading h2 {
        font-size: 31px;
        line-height: 1.1;

        letter-spacing: -1px;
    }

    .valores-title-line {
        margin-top: 18px;
    }

    .valores-grid {
        grid-template-columns:
            1fr;

        gap: 14px;
    }

    .valor-card,
    .valor-card:last-child {
        grid-column: auto;

        min-height: auto;

        padding:
            24px 22px;
    }

    .valor-number {
        margin-bottom: 14px;

        font-size: 32px;
    }

    .valor-card h3 {
        margin-bottom: 10px;

        font-size: 19px;
    }

    .valor-card p {
        font-size: 15px;
        line-height: 1.55;
    }
}

/* extras: pie home-cyp y chrome legacy */

body.quienes-page-new #header,
body.quienes-page-new .navbar,
body.quienes-page-new footer.piecyp,
body.quienes-page-new .piecyp,
body.quienes-page-new .footer-copy.xsmall {
    display: none !important;
}

.site-footer {
    width: 100%;
    overflow: hidden;
}
.footer-main {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: rgb(5, 19, 45);
}
.footer-shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 36%;
    height: 100%;
    background: rgba(6, 39, 83, 0.32);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
}
.footer-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 80px 70px 75px;
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.95fr;
    gap: 110px;
}
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-column h3,
.footer-contact h3 {
    margin: 0 0 24px;
    color: var(--color-white);
    font-size: 21px;
    font-weight: 800;
}
.footer-column a {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    font-weight: 500;
    transition: transform .18s ease, opacity .18s ease;
}
.footer-column a:hover {
    opacity: 0.78;
    transform: translateX(4px);
}
.footer-subtitle {
    margin: 18px 0 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-brand {
    margin-bottom: 30px;
    color: var(--color-white);
    font-size: 29px;
    letter-spacing: -1px;
}
.footer-brand strong {
    font-weight: 800;
}
.footer-phone {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.8px;
    transition: transform .18s ease, opacity .18s ease;
}
.footer-phone:hover {
    opacity: 0.82;
    transform: translateX(3px);
}
.footer-email {
    display: inline-block;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 650;
}
.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer-socials a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 21px;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.footer-socials a:hover {
    color: var(--color-primary-light);
    background: var(--color-white);
    transform: translateY(-3px);
}
.footer-bottom {
    min-height: 78px;
    padding: 20px 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 35px;
    background: var(--color-white);
    border-top: 1px solid #eeeeee;
}
.footer-bottom-logo {
    color: var(--color-heading);
    font-size: 18px;
}
.footer-bottom-logo strong {
    font-weight: 800;
}
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.footer-legal a {
    color: #697386;
    font-size: 13px;
    font-weight: 500;
    transition: color .18s ease;
}
.footer-legal a:hover {
    color: #ef4938;
}
body.quienes-page-new .site-footer .footer-copy {
    color: #697386;
    font-size: 13px;
    text-align: right;
    display: block !important;
}
@media (max-width: 1000px) {
    .footer-content {
        gap: 55px;
        padding: 70px 45px;
    }
}
@media (max-width: 760px) {
    .footer-main {
        min-height: auto;
    }
    .footer-shape {
        width: 100%;
        height: 330px;
        opacity: 0.55;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 25px;
    }
    .footer-contact {
        padding-top: 15px;
    }
    .footer-phone {
        font-size: 27px;
    }
    .footer-bottom {
        grid-template-columns: 1fr;
        padding: 28px 25px;
        gap: 20px;
        text-align: center;
    }
    .footer-bottom-logo,
    body.quienes-page-new .site-footer .footer-copy {
        text-align: center;
    }
    .footer-legal {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}


/* móvil: el titular del mockup iba en una sola línea y se cortaba */
@media (max-width: 600px) {
    .quienes-title {
        flex-wrap: wrap !important;
        white-space: normal !important;
        font-size: 22px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.6px;
    }
    .quienes-title span {
        display: inline !important;
        white-space: normal;
    }
}
