/* ============================================================
   RW Banner CTA Widget
   BEM: .rw-banner-cta
   ============================================================ */

.rw-banner-cta {
    width: 100%;
    overflow: hidden;
    background-color: #ebebeb;
}

.rw-banner-cta__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 64px 24px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .rw-banner-cta__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 100px 80px;
        gap: 60px;
    }
}

/* ── Lado izquierdo: foto + texto ────────────────────────── */

.rw-banner-cta__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1 1 0;
    min-width: 0;
}

@media (min-width: 768px) {
    .rw-banner-cta__left {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }
}

/* ── Foto circular ───────────────────────────────────────── */

.rw-banner-cta__image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .rw-banner-cta__image {
        width: 184px;
        height: 184px;
    }
}

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

/* ── Texto ───────────────────────────────────────────────── */

.rw-banner-cta__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rw-banner-cta__heading {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    color: #00938a;
}

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

.rw-banner-cta__body {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    margin: 0;
}

.rw-banner-cta__body p {
    margin: 0 0 1em;
}

.rw-banner-cta__body p:last-child {
    margin: 0;
}

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

.rw-banner-cta__cta {
    flex-shrink: 0;
}

.rw-banner-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 16px 42px;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    background-color: transparent;
    border: 1px solid #000000;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.rw-banner-cta__btn:hover,
.rw-banner-cta__btn:focus-visible {
    background-color: #000000;
    color: #ffffff;
}

.rw-banner-cta__btn-label {
    display: block;
}

.rw-banner-cta__btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

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

.rw-banner-cta__btn:hover .rw-banner-cta__btn-icon svg,
.rw-banner-cta__btn:focus-visible .rw-banner-cta__btn-icon svg {
    stroke: #ffffff;
    transform: translateX(4px) translateY(-4px);
}
