/* ============================================================
   RW Catálogos Footer Widget
   BEM: .rw-catalog-footer
   ============================================================ */

.rw-catalog-footer {
    width: 100%;
    overflow: hidden;
    background-color: #ebebeb;
    padding: 128px 0;
}

.rw-catalog-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 24px;
    max-width: 1727px;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .rw-catalog-footer__inner {
        flex-direction: row;
        align-items: stretch;
        gap: 56px;
        padding: 0 clamp(24px, 10vw, 200px);
    }
}

/* ── Imagen ──────────────────────────────────────────────── */

.rw-catalog-footer__image {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 378 / 383;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .rw-catalog-footer__image {
        width: 378px;
        aspect-ratio: auto;
    }
}

.rw-catalog-footer__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Columnas de texto ───────────────────────────────────── */

.rw-catalog-footer__col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 1024px) {
    .rw-catalog-footer__col--heading {
        width: 386px;
        flex-shrink: 0;
    }

    .rw-catalog-footer__col--body {
        flex: 1 1 0;
        max-width: 451px;
    }
}

/* ── Eyebrow ─────────────────────────────────────────────── */

.rw-catalog-footer__eyebrow {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: var(--rw-color-alternative-text, #007770);
}

/* ── Titular ─────────────────────────────────────────────── */

.rw-catalog-footer__heading {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    color: #4b3b47;
    margin: 0 0 30px;
}

@media (min-width: 768px) {
    .rw-catalog-footer__heading {
        font-size: 40px;
        line-height: 48px;
    }
}

/* ── Cuerpo de texto ─────────────────────────────────────── */

.rw-catalog-footer__body {
    font-family: 'Nunito', sans-serif;
    font-size: var(--rw-fs-body);
    font-weight: 400;
    line-height: 24px;
    color: #37454e;
    margin: 0 0 30px;
}

.rw-catalog-footer__body p {
    margin: 0 0 1em;
}

.rw-catalog-footer__body p:last-child {
    margin: 0;
}

/* ── Botón ───────────────────────────────────────────────── */

.rw-catalog-footer__cta {
    display: flex;
}

.rw-catalog-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 16px 42px;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: var(--rw-fs-body);
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
    background-color: #4b3b47;
    transition: background-color 0.3s ease;
}

.rw-catalog-footer__btn:hover,
.rw-catalog-footer__btn:focus-visible {
    background-color: #382b34;
}

.rw-catalog-footer__btn-label {
    display: block;
}

.rw-catalog-footer__btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rw-catalog-footer__btn-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
    transition: transform 0.3s ease;
}

.rw-catalog-footer__btn:hover .rw-catalog-footer__btn-icon svg,
.rw-catalog-footer__btn:focus-visible .rw-catalog-footer__btn-icon svg {
    transform: translateX(4px) translateY(-4px);
}
