/**
 * Banner CTA — transversal CTA banner module.
 * El bloque de fondo naranja tiene bordes redondeados; la imagen sobresale
 * verticalmente para crear el efecto visual de "salir" del banner.
 * Sistema de botones global (btn--primary/secondary + btn--inverted) ya provee
 * los estilos de los CTAs; este archivo solo maneja layout del bloque.
 */

.banner-cta {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 2rem;
    padding: 3em;
    background-color: #fb912f;
    border-radius: 26px;
    color: #fff;
    /* Sin overflow: hidden — permite que la imagen sobresalga arriba/abajo */
}

.banner-cta__content {
    min-width: 0;
}

.banner-cta__title {
    margin: 0 0 1rem;
    color: inherit;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
}

.banner-cta__description {
    margin: 0 0 1.5rem;
    color: inherit;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
}

.banner-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.banner-cta__media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* La imagen excede vertical el bloque naranja (efecto del diseño original) */
    margin-block: -1.5em;
}

.banner-cta__image {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .banner-cta {
        grid-template-columns: 1fr;
        padding: 2em 1.5em;
        text-align: center;
    }

    .banner-cta__media {
        /* En mobile no sobresale, queda contenida */
        margin-block: 0;
        justify-content: center;
    }

    .banner-cta__actions {
        justify-content: center;
    }
}