/* =====================================================
   RESPONSABILIDAD CORPORATIVA
   Tokens de custom.css. Tres bloques: Propósito (tipográfico),
   Misión (foto + texto) y Visión 2032 (cierre en grafito con la
   franja lima de la librea, como la franja de accesos de la Home).
===================================================== */

.rc-section {
    padding: var(--lv-s7) 0;
}

.rc-section + .rc-section {
    padding-top: 0;
}

/* Rótulo de bloque: número + nombre */
.rc-label {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    margin: 0 0 var(--lv-s3);
    color: var(--lv-ink-2);
    font-size: var(--lv-fs-sm);
    font-weight: 600;
}

.rc-label__num {
    color: var(--lv-green);
    font-family: var(--lv-font-display);
    font-size: var(--lv-fs-md);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.rc-label--light {
    color: rgba(255, 255, 255, .78);
}

.rc-label--light .rc-label__num {
    color: var(--lv-lime);
}

.rc-title {
    margin: 0 0 var(--lv-s3);
    font-size: var(--lv-fs-2xl);
    line-height: 1.05;
}


/* =====================================================
   01 · PROPÓSITO
===================================================== */

.rc-statement {
    max-width: 22ch;
    margin: 0 0 var(--lv-s6);
    font-size: clamp(2.25rem, 4.6vw, 4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.02em;
}

/* Cuatro ideas: filete lima arriba, sin tarjetas */
.rc-ideas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--lv-s4);
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc-ideas li {
    display: flex;
    flex-direction: column;
    gap: var(--lv-s2);
    padding-top: var(--lv-s3);
    border-top: 4px solid var(--lv-lime);
}

.rc-ideas i {
    color: var(--lv-green);
    font-size: 1.75rem;
    line-height: 1;
}

.rc-ideas span {
    font-family: var(--lv-font-display);
    font-size: var(--lv-fs-md);
    font-weight: 500;
    line-height: 1.25;
    text-wrap: balance;
}


/* =====================================================
   02 · MISIÓN
===================================================== */

.rc-mission__grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--lv-s6);
    align-items: center;
}

.rc-mission__photo {
    margin: 0;
}

.rc-mission__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 60% 50%;
    border-radius: var(--lv-radius);
}

.rc-mission__text {
    max-width: 34rem;
}

.rc-mission__text p:not(.rc-label) {
    margin: 0 0 1em;
    color: var(--lv-ink);
    line-height: 1.65;
}


/* =====================================================
   03 · VISIÓN 2032 — cierre a sangre
===================================================== */

.rc-vision {
    container-type: inline-size;
    background: var(--lv-graphite);
    border-top: 6px solid var(--lv-lime);
    color: var(--lv-white);
}

.rc-vision__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: clamp(460px, 60vh, 640px);
}

.rc-vision__text {
    display: flex;
    align-items: center;
    /* Alinea el texto con el contenedor de 1200px del resto de la página */
    /* Alinea el texto con .container (máx. 1200px, relleno lateral de .75rem) */
    padding: var(--lv-s6) var(--lv-s5) var(--lv-s6) max(.75rem, calc((100cqw - 1200px) / 2 + .75rem));
}

.rc-vision__inner {
    max-width: 34rem;
}

/* El año como pieza tipográfica: contorno lima sobre grafito */
.rc-year {
    margin: 0 0 var(--lv-s2);
    color: transparent;
    -webkit-text-stroke: 2px var(--lv-lime);
    font-family: var(--lv-font-display);
    font-size: clamp(5rem, 11vw, 9.5rem);
    font-weight: 600;
    line-height: .85;
    letter-spacing: -.03em;
}

@supports not (-webkit-text-stroke: 2px black) {
    .rc-year {
        color: var(--lv-lime);
    }
}

.rc-vision .rc-title {
    color: var(--lv-white);
}

.rc-vision p:not(.rc-label):not(.rc-year) {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.65;
}

.rc-vision__photo {
    position: relative;
    margin: 0;
    min-height: 320px;
}

.rc-vision__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 45%;
}


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

@media (max-width: 991px) {

    .rc-section {
        padding: var(--lv-s6) 0;
    }

    .rc-ideas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--lv-s4) var(--lv-s3);
    }

    .rc-mission__grid {
        grid-template-columns: 1fr;
        gap: var(--lv-s4);
    }

    .rc-mission__text,
    .rc-mission__photo {
        max-width: 40rem;
    }

    .rc-vision__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .rc-vision__photo {
        order: -1;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .rc-vision__text {
        padding: var(--lv-s5) .75rem var(--lv-s6);
    }
}

@media (max-width: 575px) {

    .rc-statement {
        margin-bottom: var(--lv-s5);
    }

    .rc-ideas {
        grid-template-columns: 1fr;
        gap: var(--lv-s3);
    }

    .rc-ideas li {
        flex-direction: row;
        align-items: center;
        gap: var(--lv-s2);
    }

    .rc-vision__photo {
        aspect-ratio: 4 / 3;
    }

    .rc-vision__text {
        padding: var(--lv-s4) 1.25rem var(--lv-s5);
    }

    .rc-year {
        -webkit-text-stroke-width: 1.5px;
    }
}
