/* ============================================================
   ENSOBRADOS 2035 — REDES
   ============================================================ */

.ens-2035-redes {
    width: 100%;
    overflow: hidden;
}

.ens-2035-redes-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO */

.ens-2035-redes-hero {
    padding: 110px 0 90px;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

html[data-theme="dark"] .ens-2035-redes-hero {
    border-bottom-color: rgba(255,255,255,.12);
}

.ens-2035-redes-kicker,
.ens-2035-community-platform,
.ens-2035-community-public,
.ens-2035-red-card-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ens-2035-redes-title {
    max-width: 900px;
    margin: 18px 0 25px;

    font-size: clamp(52px, 8vw, 118px);
    line-height: .88;
    letter-spacing: -.065em;
}

.ens-2035-redes-lead {
    max-width: 680px;
    margin: 0;

    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.45;
}


/* COMUNIDAD */

.ens-2035-redes-community {
    padding: 55px 0;
}

.ens-2035-community-card {
    padding: 35px;
    border: 1px solid rgba(0,0,0,.18);
}

html[data-theme="dark"] .ens-2035-community-card {
    border-color: rgba(255,255,255,.22);
}

.ens-2035-community-top,
.ens-2035-community-content,
.ens-2035-community-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.ens-2035-community-top {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

html[data-theme="dark"] .ens-2035-community-top {
    border-bottom-color: rgba(255,255,255,.12);
}

.ens-2035-community-content {
    padding: 55px 0;
    align-items: flex-end;
}

.ens-2035-community-main {
    max-width: 700px;
}

.ens-2035-community-main h2 {
    margin: 0 0 18px;

    font-size: clamp(38px, 5vw, 74px);
    line-height: .95;
    letter-spacing: -.05em;
}

.ens-2035-community-main p {
    max-width: 580px;
    margin: 0;

    font-size: 20px;
    line-height: 1.5;
}

.ens-2035-community-members {
    min-width: 260px;
}

.ens-2035-community-members strong {
    display: block;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -.05em;
}

.ens-2035-community-members span {
    display: block;
    margin-top: 12px;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .12em;
}

.ens-2035-community-bottom {
    align-items: center;
    padding-top: 28px;

    border-top: 1px solid rgba(0,0,0,.12);
}

html[data-theme="dark"] .ens-2035-community-bottom {
    border-top-color: rgba(255,255,255,.12);
}

.ens-2035-community-bottom p {
    max-width: 550px;
    margin: 0;

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

.ens-2035-community-button,
.ens-2035-red-card a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
}

.ens-2035-community-button {
    padding: 14px 18px;
    border: 1px solid currentColor;
}

.ens-2035-community-button span,
.ens-2035-red-card a span {
    font-size: 18px;
    line-height: 1;
}


/* PLATAFORMAS */

.ens-2035-redes-platforms {
    padding: 90px 0;
}

.ens-2035-redes-section-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.ens-2035-redes-section-head h2 {
    margin: 16px 0 0;

    font-size: clamp(34px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.045em;
}

.ens-2035-redes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(0,0,0,.14);
}

html[data-theme="dark"] .ens-2035-redes-grid {
    border-color: rgba(255,255,255,.18);
}

.ens-2035-red-card {
    display: flex;
    flex-direction: column;

    min-height: 360px;
    padding: 30px;

    border-right: 1px solid rgba(0,0,0,.14);
}

html[data-theme="dark"] .ens-2035-red-card {
    border-right-color: rgba(255,255,255,.18);
}

.ens-2035-red-card:last-child {
    border-right: 0;
}

.ens-2035-red-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.ens-2035-red-card-icon {
    font-size: 30px;
    font-weight: 900;
}

.ens-2035-red-card h3 {
    margin: 55px 0 15px;

    font-size: 42px;
    line-height: 1;
    letter-spacing: -.04em;
}

.ens-2035-red-card p {
    margin: 0;

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

.ens-2035-red-card a {
    width: fit-content;
    margin-top: auto;
    padding-bottom: 8px;

    border-bottom: 1px solid currentColor;
}


/* CIERRE */

.ens-2035-redes-closing {
    padding: 110px 0;
    border-top: 1px solid rgba(0,0,0,.12);
}

html[data-theme="dark"] .ens-2035-redes-closing {
    border-top-color: rgba(255,255,255,.12);
}

.ens-2035-redes-closing-inner {
    max-width: 920px;
}

.ens-2035-redes-closing h2 {
    margin: 18px 0 24px;

    font-size: clamp(44px, 7vw, 92px);
    line-height: .9;
    letter-spacing: -.055em;
}

.ens-2035-redes-closing p {
    max-width: 680px;
    margin: 0;

    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.45;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .ens-2035-redes-grid {
        grid-template-columns: 1fr;
    }

    .ens-2035-red-card {
        min-height: 280px;

        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,.14);
    }

    html[data-theme="dark"] .ens-2035-red-card {
        border-bottom-color: rgba(255,255,255,.18);
    }

    .ens-2035-red-card:last-child {
        border-bottom: 0;
    }

    .ens-2035-community-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .ens-2035-community-members {
        min-width: 0;
    }

}

@media (max-width: 640px) {

    .ens-2035-redes-container {
        width: min(100% - 28px, 1180px);
    }

    .ens-2035-redes-hero {
        padding: 75px 0 65px;
    }

    .ens-2035-community-card {
        padding: 22px;
    }

    .ens-2035-community-top,
    .ens-2035-community-bottom {
        flex-direction: column;
    }

    .ens-2035-community-content {
        padding: 38px 0;
    }

    .ens-2035-redes-platforms {
        padding: 65px 0;
    }

    .ens-2035-red-card h3 {
        margin-top: 40px;
    }

    .ens-2035-redes-closing {
        padding: 80px 0;
    }

}
