/* =========================================================
   WOMENIZE LATAM — ALIADOS 4.0
   Octubre 2026
   ========================================================= */

.wl-a40 {
    --wine: #4f0718;
    --wine-dark: #2e060d;
    --wine-soft: #6d1027;
    --paper: #fffdf9;
    --cream: #fbf8f1;
    --gold: #c58c45;
    --line: #eadfd6;
    --text: #251719;
    background: var(--paper);
    color: var(--text);
}

.wl-a40 *,
.wl-a40 *::before,
.wl-a40 *::after {
    box-sizing: border-box;
}

.wl-a40-container {
    width: min(100% - 48px, 1220px);
    margin-inline: auto;
}

/* HERO */
.wl-a40-hero {
    display: grid;
    grid-template-columns: .92fr 1.18fr;
    height: 465px;
    min-height: 0;
    overflow: hidden;
    background: #160806;
}

.wl-a40-hero__copy {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 95% 50%, rgba(104,55,34,.26), transparent 42%),
        linear-gradient(125deg, #180907 0%, #26100b 62%, #3a180f 100%);
}

.wl-a40-hero__copy-inner {
    width: min(100% - 70px, 520px);
    margin-left: auto;
    margin-right: 0;
}

.wl-a40-hero h1 {
    margin: 0 0 18px;
    color: #fff9ef;
    font-family: var(--font-title);
    font-size: var(--fs-hero-title);
    line-height: .94;
    font-weight: 500;
  
    letter-spacing: -.025em;
}

.wl-a40-hero p {
    max-width: 400px;
    margin: 0;
    color: rgba(255,249,239,.93);
    font-family: var(--font-body);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.2;
    font-style: italic;
}

.wl-a40-hero__media {
    height: 465px;
    min-height: 0;
    overflow: hidden;
}

.wl-a40-hero__media img {
    display: block;
    width: 100%;
    height: 465px;
    max-height: 465px;
    object-fit: cover;
    object-position: center;
}

/* SECTIONS */
.wl-a40-section {
    padding: 50px 0;
}

.wl-a40-section--strategic {
    background: #fff;
}

.wl-a40-section--institutional {
    padding-top: 38px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.wl-a40-heading {
    margin-bottom: 30px;
}

.wl-a40-heading h2 {
    margin: 0;
    color: #3f2d2f;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: none;
    letter-spacing: .02em;
}

/* LOGOS */
.wl-a40-logo-grid {
    display: grid;
    align-items: stretch;
}

.wl-a40-logo-grid--strategic {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wl-a40-logo-grid--institutional {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 30px;
}

.wl-a40-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    padding: 24px;
    border: 1px solid #efe5de;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    transition: .2s ease;
}

.wl-a40-logo-card:hover {
    transform: translateY(-2px);
    border-color: #d6bdb4;
    box-shadow: 0 10px 25px rgba(61,11,23,.06);
}

.wl-a40-logo-card img {
    display: block;
    width: auto;
    max-width: 80%;
    max-height: 58px;
    object-fit: contain;
}

.wl-a40-wordmark {
    color: #383031;
    font-size: clamp(24px, 2.2vw, 38px);
    line-height: 1;
    font-weight: 700;
    text-align: center;
}

.wl-a40-logo-grid--institutional .wl-a40-wordmark {
    font-size: clamp(20px, 1.8vw, 31px);
}

/* CTA */
.wl-a40-cta {
    padding: 0;
    background:
        radial-gradient(circle at 82% 40%, rgba(137,24,57,.28), transparent 34%),
        linear-gradient(115deg, #3d0512 0%, #62091f 60%, #3a0410 100%);
    color: #fff;
}

.wl-a40-cta__inner {
    display: grid;
    grid-template-columns: 1.25fr .85fr;
    gap: 80px;
    align-items: center;
    min-height: 245px;
    padding-top: 34px;
    padding-bottom: 34px;
}

.wl-a40-cta__copy h2 {
    margin: 0 0 8px;
    color: #fff8ef;
    font-family: var(--font-title);
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
    font-weight: 550;
}

.wl-a40-cta__copy p {
    max-width: 520px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    line-height: 1.5;
}

.wl-a40-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 4px;
    background: var(--gold);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    text-decoration: none;
    letter-spacing: .03em;
}

.wl-a40-cta__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.wl-a40-cta__links div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wl-a40-cta__links span {
    margin-bottom: 5px;
    color: #d8ad7a;
    font-size: 11px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: .08em;
}

.wl-a40-cta__links a {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    text-decoration: none;
}

.wl-a40-cta__links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .wl-a40-hero {
        grid-template-columns: 1fr 1.05fr;
        height: 430px;
    }

    .wl-a40-hero__media,
    .wl-a40-hero__media img {
        height: 430px;
        max-height: 430px;
    }

    .wl-a40-logo-grid--strategic {
        grid-template-columns: repeat(2, 1fr);
    }

    .wl-a40-logo-grid--institutional {
        grid-template-columns: repeat(2, 1fr);
    }

    .wl-a40-cta__inner {
        gap: 45px;
    }
}

@media (max-width: 760px) {
    .wl-a40-container {
        width: min(100% - 32px, 1220px);
    }

    .wl-a40-hero {
        grid-template-columns: 1fr;
        height: auto;
    }

    .wl-a40-hero__copy-inner {
        width: min(100% - 32px, 680px);
        margin: 0 auto;
        padding: 52px 0;
    }

    .wl-a40-hero__media,
    .wl-a40-hero__media img {
        height: 330px;
        max-height: 330px;
    }

    .wl-a40-cta__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
        padding-top: 46px;
        padding-bottom: 46px;
    }
}

@media (max-width: 520px) {
    .wl-a40-logo-grid--strategic,
    .wl-a40-logo-grid--institutional {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wl-a40-logo-card {
        min-height: 105px;
    }

    .wl-a40-cta__links {
        gap: 20px;
    }

    .wl-a40-hero h1 {
        font-size: 50px;
    }
}

/* =========================================================
   TIPOGRAFÍA GLOBAL — OVERRIDE RESPONSIVE
   Mantiene el título principal consistente entre páginas.
========================================================= */
@media (max-width: 767px) {
    .wl-a40-hero h1 {
        font-size: var(--fs-hero-title-mobile);
    }
}
