.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ===================================================================================================================
                                                     MISION SECTION 
====================================================================================================================== */

.mission-vision {
    padding: 180px 8%;
    background: #061626;
    color: white;
}

.mv-header {
    max-width: 900px;
    margin-bottom: 100px;
}

.mv-eyebrow {
    font-size: 17px;
    letter-spacing: 5px;
    opacity: .6;
    margin-bottom: 20px;
    display: block;
}

.mv-header h2 {
    font-size: 60px;
    margin-bottom: 20px;
}

.mv-header p {
    font-size: 20px;
    opacity: .85;
    text-align: justify;
    line-height: 1.8;
}

.mv-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mv-box {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;

}

.mv-text {
    flex-direction: column;
    align-items: flex-start;
}

.mv-text h3 {
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

.mv-text p {
    font-size: 20px;
    line-height: 1.8;
    text-align: justify;
    max-width: 420px;
}

.mv-text.yellow {
    background: linear-gradient(135deg,
            #fdd167 0%,
            #e6b84d 40%,
            #c99e2f 100%);
    color: #1a1a1a;
}

.mv-text.green {
    background: linear-gradient(135deg,
            #42b586 0%,
            #2f9b6e 40%,
            #1f7c57 100%);
}

.mv-text.blue {
    background: linear-gradient(135deg,
            #9dd8f2 0%,
            #6fc2e6 40%,
            #3fa7d6 100%);
    color: #062033;
}

.mv-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, .25),
            rgba(255, 255, 255, .05) 30%,
            transparent 60%);
    opacity: .3;
}

.mv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-box:hover {
    transform: scale(1.02);
    transition: .4s ease;
}


@media(max-width:1100px) {

    .mv-modern {
        display: flex;
        flex-direction: column;
    }

    .mv-image {
        padding-left: 0;
        padding-right: 0;
    }

    .mv-box:nth-child(1) {
        order: 1;
    }

    .mv-box:nth-child(2) {
        order: 2;
    }

    .mv-box:nth-child(3) {
        order: 4;
    }

    .mv-box:nth-child(4) {
        order: 3;
    }

    .mv-box:nth-child(5) {
        order: 5;
    }

    .mv-box:nth-child(6) {
        order: 6;
    }

    .mv-box {
        min-height: 280px;
    }

}

@media(max-width:430px) {

    .mission-vision {
        padding: 120px 6%;
    }
    
    .mv-header h2 {
        font-size: 32px;
    }

    .mv-modern {
        display: flex;
        flex-direction: column;
    }

    .mv-box {
        min-height: 240px;
        padding: 40px 25px;
    }

    .mv-image {
        padding-left: 0;
        padding-right: 0;
    }

    .mv-text h3 {
        font-size: 30px;
    }

    .mv-text p {
        font-size: 18px;
    }

}

/* ===================================================================================================================
                                                     TRAYECTORIA SECTION 
====================================================================================================================== */
.timeline-ui {
    padding: 180px 8%;
    background: #F5F1E8;
    color: #071421;
}

/* layout */

.timeline-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin: auto;
}

/* texto */

.timeline-text {
    max-width: 520px;
}

.timeline-text .label {
    font-size: 17px;
    opacity: .6;
}

.timeline-text h1 {
    font-size: 35px;
    margin: 20px 0 5px;
}

.timeline-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
    opacity: .85;
}

.timeline-text p {
    font-size: 16px;
    text-align: justify;
    line-height: 1.6;
    opacity: .75;
}

/* imagen */

.timeline-image img {
    width: 420px;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    transition: .4s;
}

/* linea */

.timeline-years {
    margin-top: 120px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-years::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(7, 21, 45, 0.2);
    transform: translateY(-50%);
}

/* items */

.year-item {
    position: relative;
    padding-top: 25px;
    cursor: pointer;
    opacity: .6;
    transition: .3s;
}

.year-item::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #07152d;
    border-radius: 50%;
}

.year-item.active {
    opacity: 1;
    color: #07152d;
}

.year-item.active::before {
    background: #07152d;
    transform: translateX(-50%) scale(1.4);
}

/* responsive */

@media(max-width:900px) {
    .timeline-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .timeline-image img {
        width: 100%;
        max-width: 380px;
    }

    .timeline-text h1 {
        font-size: 60px;
    }
}

@media (max-width:493px) {
    .timeline-text h1 {
        font-size: 30px;
        margin-bottom: 4px;
    }
}
/* ===================================================================================================================
                                                     TEAM SECTION 
====================================================================================================================== */
.team-section {
    padding: 160px 8%;
    background: linear-gradient(135deg, #07152d, #0b1e3d);
    color: #fff;
}

.team-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 100px;
}

.team-eyebrow {
    font-size: 17px;
    letter-spacing: 4px;
    opacity: .6;
    display: block;
    margin-bottom: 15px;
}

.team-header h2 {
    font-size: 55px;
    margin-bottom: 10px;
}

.team-header p {
    font-size: 20px;
    opacity: .8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

.team-card {
    position: relative;
    background: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    min-height: 320px;
}

.team-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #FFC55A, #FFB200);
}

.team-top::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(120deg, rgba(255, 255, 255, .08) 20%, transparent 20%),
        linear-gradient(240deg, rgba(0, 0, 0, .15) 20%, transparent 20%),
        linear-gradient(60deg, rgba(255, 255, 255, .06) 25%, transparent 25%),
        linear-gradient(300deg, rgba(0, 0, 0, .12) 25%, transparent 25%);

    background-size: 120px 120px;
}

.team-top {
    box-shadow: inset 0 -30px 50px rgba(0, 0, 0, .25);
}

.team-top::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    background: #f5f5f5;
    border-radius: 50%;
    z-index: 2;
}

.team-avatar {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.team-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid #fff;
}

.team-body {
    position: absolute;
    bottom: 85px;
    width: 100%;
    padding: -2px 20px;
}

.team-body h3 {
    font-size: 18px;
    color: #111;
    margin-bottom: 4px;
}

.team-body span {
    font-size: 12px;
    color: #777;
    display: block;
    margin-bottom: 8px;
}

.team-body p {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}


.team-section:not(.staff) .team-body {
    bottom: 50px;
    /* antes 85px → baja el contenido */
}

.team-section:not(.staff) .team-body h3 {
    margin-top: 10px;
}


/*  RESPONSIVE */
@media(max-width:1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .team-section {
        padding: 120px 6%;
    }

    .team-header h2 {
        font-size: 34px;
    }
}

/* ===================================================================================================================
                                                     ALIADOS SECTION 
====================================================================================================================== */

.alliances {
    background: #040a17;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.major-ally {
    padding: 240px 8%;
    background:
        radial-gradient(circle at 20% 30%, rgba(7, 21, 45, 0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(11, 30, 61, 0.05), transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(255, 197, 90, 0.12), transparent 60%),
        linear-gradient(180deg, #F5F1E8 0%, #f2ece2 100%);
    position: relative;
}

.major-ally-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "text logo"
        "button logo";
    align-items: center;
    gap: 60px 120px;
    max-width: 1200px;
    margin: auto;
}

.major-ally-text {
    grid-area: text;
}

.ally-button {
    grid-area: button;
}

.major-ally-logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
}

.major-ally-text h1 {
    font-size: 60px;
    color: #07152d;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.major-ally-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #07152d;
    text-align: justify;
    max-width: 600px;
}

.ally-tag {
    font-size: 17px;
    letter-spacing: 4px;
    opacity: .6;
    color: #07152d;
    display: block;
    margin-bottom: 20px;
}

.ally-button {
    margin-top: 30px;
}

.ally-cta {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 40px;
    background: linear-gradient(135deg, #E31837, #B5122A);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.ally-cta:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #F02045, #C51631);
}

.major-ally-logo img {
    width: 500px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7));
}


@media (max-width:1100px) {

    .major-ally {
        padding: 140px 7%;
    }

    .major-ally-container {
        grid-template-columns: 1fr;
        grid-template-areas: "text" "logo" "button";
        text-align: center;
        gap: 60px;
    }

    .major-ally-text p {
        margin: auto;
        text-align: justify;
    }

    .ally-button {
        display: flex;
        justify-content: center;
    }

    .major-ally-logo img {
        width: 320px;
    }
}

@media (max-width:430px) {

    .major-ally {
        padding: 140px 7%;
    }

    .major-ally-text h1 {
        font-size: 44px;
    }

    .major-ally-text p {
        font-size: 18px;
        line-height: 1.7;
    }

    .ally-cta {
        padding: 14px 32px;
        font-size: 14px;
    }

    .major-ally-logo img {
        width: 260px;
    }
}


@media (max-width:393px) {

    .major-ally {
        padding: 120px 6%;
    }

    .major-ally-text h1 {
        font-size: 38px;
    }

    .major-ally-text p {
        font-size: 15px;
    }

    .major-ally-logo img {
        width: 230px;
    }
}

/* ===================================================================================================================
                                                     ALIADOS - CONTADOR
====================================================================================================================== */

.ally-impact {
    padding: 200px 8%;
    text-align: center;
    background:
        radial-gradient(circle at 80% 20%, rgba(252, 210, 102, .12), transparent 45%),
        radial-gradient(circle at 20% 70%, rgba(122, 178, 178, .10), transparent 40%),
        linear-gradient(180deg, #07152d 0%, #081c3a 60%, #02060f 100%);
}

.impact-eyebrow {
    font-size: 17px;
    letter-spacing: 4px;
    opacity: .7;
    margin-bottom: 20px;
    color: #d3d3d3;
}

.impact-header h2 {
    font-size: 55px;
    color: #ffffff;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1100px;
    margin: 160px auto 0;
}

.impact-card {
    position: relative;
    padding: 60px 30px 45px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .6);
}

.impact-image {
    position: absolute;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
}

.impact-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    background: linear-gradient(135deg, #ffffff, #e8edf5);
    padding: 14px;
    border: 4px solid rgba(255, 255, 255, .2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .4), inset 0 2px 4px rgba(255, 255, 255, .4);
}

.impact-body {
    margin-top: 20px;
}

.impact-body h3 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #ffffff, #d6e4f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.impact-body span {
    font-size: 20px;
    color: rgba(255, 255, 255, .7);
}

.impact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(252, 210, 102, .15), transparent 60%);
    opacity: 0;
    transition: .4s;
}

.impact-card:hover::after {
    opacity: 1;
}

@media(max-width:900px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}

@media (max-width: 1100px) {

    .ally-impact {
        padding: 160px 6%;
    }

    .impact-header h2 {
        font-size: 46px;
        line-height: 1.15;
    }

    .impact-grid {
        gap: 40px;
        margin-top: 140px;
    }

    .impact-card {
        padding: 55px 24px 40px;
    }

    .impact-image {
        top: -95px;
    }

    .impact-image img {
        width: 125px;
        height: 125px;
    }

    .impact-body h3 {
        font-size: 50px;
    }

    .impact-body span {
        font-size: 18px;
    }
}

@media (max-width: 493px) {

    .ally-impact {
        padding: 120px 5% 100px;
    }

    .impact-eyebrow {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .impact-header h2 {
        font-size: 40px;
        line-height: 1.2;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 110px;
        margin-top: 110px;
    }

    .impact-card {
        padding: 50px 20px 34px;
        border-radius: 20px;
    }

    .impact-image {
        top: -78px;
    }

    .impact-image img {
        width: 105px;
        height: 105px;
        padding: 10px;
    }

    .impact-body {
        margin-top: 10px;
    }

    .impact-body h3 {
        font-size: 40px;
        margin-bottom: 6px;
    }

    .impact-body span {
        font-size: 16px;
        line-height: 1.5;
        display: block;
    }
}

/* ===================================================================================================================
                                          ALIADOS - ALIADO ESTRATEGICO 
====================================================================================================================== */

.strategic-main-ally {
    padding: 180px 8%;
    background:
        radial-gradient(circle at 80% 20%, rgba(252, 210, 102, .15), transparent 45%),
        radial-gradient(circle at 20% 70%, rgba(122, 178, 178, .12), transparent 40%),
        linear-gradient(180deg, #07152d 0%, #081c3a 60%, #02060f 100%);
}

.strategic-main-wrapper {
    max-width: 900px;
    margin: auto;
}

.strategic-main-eyebrow {
    font-size: 18px;
    letter-spacing: 6px;
    color: #d3d3d3;
    opacity: .8;
    display: block;
    margin-bottom: 60px;
    text-align: center;
}

.strategic-main-spacing {
    margin-top: 50px;
}

/* ================= CARD ================= */


.strategic-main-card {
    position: relative;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    perspective: 1200px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .4);
}

/* CONTENEDOR FLIP */
.strategic-flip {
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1);
    transform-style: preserve-3d;
}

/* DESKTOP */
.strategic-main-card:hover .strategic-flip {
    transform: rotateY(180deg);
}

/* MOBILE CLICK */
.strategic-main-card.active .strategic-flip {
    transform: rotateY(180deg);
}

/* CARAS */
.strategic-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FRONT */
.strategic-front {
    background: #ffffff;
}

.strategic-front img {
    width: 320px;
    object-fit: contain;
    transition: .3s ease;
}

/* BACK */
.strategic-back {
    background: white;
    color: #07152d;
    padding: 40px;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;  
    justify-content: center;
    align-items: center;  
    text-align: center; 
}

.strategic-back h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.strategic-back p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 820px;
    text-align: center; 
}

/* HOVER EXTRA */
.strategic-main-card:hover {
    transform: translateY(-6px);
}

.strategic-main-card:hover .strategic-front img {
    transform: scale(1.05);
}

/* ================= HINT MOBILE ================= */

.strategic-hint {
    display: none;
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
}

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

@media (max-width:1100px) {

    .strategic-main-card:hover .strategic-flip {
        transform: rotateY(0deg);
    }

    .strategic-main-card.active .strategic-flip {
        transform: rotateY(180deg) !important;
    }

    .strategic-hint {
        display: block;
    }

}

@media (max-width:768px) {

    .strategic-main-ally {
        padding: 140px 6%;
    }

    .strategic-main-eyebrow {
        font-size: 14px;
        letter-spacing: 4px;
        margin-bottom: 40px;
    }

    .strategic-main-card {
        height: 260px;
    }

    .strategic-front img {
        width: 300px;
    }

    .strategic-back h3 {
        font-size: 18px;
    }

    .strategic-back p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 100%;
    }

}

@media (max-width:493px) {

    .strategic-main-ally {
        padding: 120px 5%;
    }

    .strategic-main-card {
        height: 280px;
    }

    .strategic-front img {
        width: 260px;
    }

    .strategic-back {
        padding: 25px 20px;
    }

    .strategic-back h3 {
        font-size: 16px;
    }

    .strategic-back p {
        font-size: 13px;
        text-align: justify;
        line-height: 1.5;
    }

}

/* ===================================================================================================================
                                            ALIADOS - EXPERIENCIA 
====================================================================================================================== */
.strategic-allies {
    padding: 180px 8%;
    background:
        radial-gradient(circle at 80% 20%, rgba(252, 210, 102, .15), transparent 45%),
        radial-gradient(circle at 20% 70%, rgba(122, 178, 178, .12), transparent 40%),
        linear-gradient(180deg, #07152d 0%, #081c3a 60%, #02060f 100%);
}

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

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h2 {
    font-size: 52px;
    color: #eaf4ff;
}

.section-eyebrow {
    font-size: 18px;
    letter-spacing: 4px;
    color: #d3d3d3;
    opacity: .8;
}

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

.strategic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* ================= CARD ================= */

.strategic2-card {
    position: relative;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    perspective: 1200px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    transition: .3s ease;
}

/* CONTENEDOR FLIP */
.strategic2-flip {
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1);
    transform-style: preserve-3d;
}

/* DESKTOP */
.strategic2-card:hover .strategic2-flip {
    transform: rotateY(180deg);
}

/* MOBILE CLICK */
.strategic2-card.active .strategic2-flip {
    transform: rotateY(180deg);
}

/* CARAS */
.strategic2-face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= FRONT ================= */

.strategic2-front {
    background: #ffffff;
}

/* LOGOS UNIFORMES */
.strategic2-logo {
    width: 200px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strategic2-logo img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: none; 
    opacity: 1;   
    transition: .4s ease;
}

/* ================= BACK ================= */

.strategic2-back {
    background: white; 
    color: #07152d; 
    transform: rotateY(180deg);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.strategic2-back h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.strategic2-back p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

/* ================= HOVER ================= */

.strategic2-card:hover {
    transform: translateY(-6px);
}

.strategic2-card:hover .strategic2-logo img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* ================= HINT MOBILE ================= */

.strategic2-hint {
    display: none;
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 11px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 10px;
}

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

@media(max-width:1100px) {

    /* DESACTIVAR HOVER */
    .strategic2-card:hover .strategic2-flip {
        transform: none;
    }

    /* MOSTRAR HINT */
    .strategic2-hint {
        display: block;
    }
}

@media(max-width:900px) {

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

    .strategic2-card {
        height: 260px;
    }

    .strategic2-logo {
        width: 160px;
        height: 70px;
    }
}

@media(max-width:493px) {

    .strategic2-card {
        height: 280px;
    }

    .strategic2-back h3 {
        font-size: 16px;
    }

    .strategic2-back p {
        font-size: 13px;
    }
}

/* ===================================================================================================================
                                                ALIADOS - LOGOS
====================================================================================================================== */

.corporate-allies {
    padding: 180px 8%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(7, 21, 45, 0.05), transparent 45%),
        radial-gradient(circle at 20% 70%, rgba(7, 21, 45, 0.03), transparent 40%),
        #F5F1E8; /* 🔥 blanco hueso */
}

.corporate-allies .section-header {
    text-align: center;
    margin-bottom: 80px;
    color: #07152d;
}

.corporate-allies .section-header h2{
    font-size: 48px;
    color: #07152d;
    margin: 20px 0;
}

.corporate-allies .section-eyebrow {
    opacity: .7;
    letter-spacing: 4px;
    color: rgba(7, 21, 45, 0.6);
}

.corporate-card {
    max-width: 1100px;
    margin: auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 70px 60px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(0, 0, 0, .05);
    position: relative;
}

.corporate-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .4), 0 0 0 6px rgba(255, 255, 255, .1);
    pointer-events: none;
}

.corporate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 80px;
    align-items: center;
    justify-items: center;
}

.corporate-grid img {
    width: 280px;   /* 🔥 más grande */
    height: 110px;   /* 🔥 todos igual altura */
    object-fit: contain;
    filter: grayscale(100%) brightness(.9);
    opacity: .8;
    transition: .4s ease;
}

.corporate-grid img:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .corporate-card {
        padding: 50px 40px;
    }

    .corporate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 40px;
    }
}

@media(max-width:430px) {

    .corporate-allies {
        padding: 120px 6%;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .corporate-card {
        padding: 40px 25px;
    }

    .corporate-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ===================================================================================================================
                                                     ALLIANCES SECTION 
====================================================================================================================== */

.davivienda-legado {
    padding: 220px 8%;
    background: linear-gradient(180deg, #040a17 0%, #07152d 100%);
    position: relative;
}

.legado-container {
    max-width: 1200px;
    margin: auto;
}

.legado-header {
    text-align: center;
    margin-bottom: 120px;
}

.legado-eyebrow {
    letter-spacing: 5px;
    font-size: 17px;
    opacity: .6;
    display: block;
    margin-bottom: 20px;
}

.legado-header h2 {
    font-size: 60px;
    letter-spacing: -1px;
}

.legado-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.legado-text p {
    font-size: 18px;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .85);
}

.legado-text h3 {
    margin: 40px 0 20px;
    font-size: 24px;
    color: #7AB2B2;
}

.legado-gallery {
    position: relative;
    height: 520px;
}

.legado-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    opacity: 0;
    transform: scale(1.08);
    transition: all .8s ease;
}

.legado-img.active {
    opacity: 1;
    transform: scale(1);
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .legado-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .legado-text {
        text-align: left;
    }

    .legado-text p {
        text-align: justify;
    }

    .legado-gallery {
        height: 810px;
        width: 100%;
    }

}

@media(max-width:430px) {

    .davivienda-legado {
        padding: 140px 7%;
    }

    .legado-header h2 {
        font-size: 40px;
    }

    .legado-text p {
        font-size: 16px;
        line-height: 1.7;
        text-align: justify;
    }

    .legado-gallery {
        height: 260px;
        position: relative;
        overflow: hidden;
        border-radius: 20px;
    }

    .legado-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

}