/* Contenedor Principal */
.mk-cta-banner {
    position: relative;
    width: 100%;
    /* Fijamos la altura para la franja en escritorio */
    height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 40px 0;
}

/* Imagen de fondo y Overlay */
.mk-cta-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Estilo aplica tanto al <picture> interno como a la <img> */
.mk-cta-banner__img,
.mk-cta-banner__bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Alineación para la versión Desktop */
}

/* El gradiente en escritorio oscurece la izquierda y se hace transparente hacia la derecha */
.mk-cta-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 20, 25, 0.95) 0%, rgba(15, 20, 25, 0.6) 50%, rgba(15, 20, 25, 0.1) 100%);
}

/* Contenedor y Contenido */
.mk-cta-banner__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mk-cta-banner__content {
    max-width: 600px; /* Limitamos el ancho para que el texto apoye en la zona oscura */
}

/* Textos */
.mk-cta-banner__title {
    font-family: 'Averta Std', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.mk-cta-banner__highlight {
    color: #0CD664; /* Verde Institucional */
}

.mk-cta-banner__desc {
    font-family: 'Averta Std', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    color: #FFFFFF; /* Cambiado a blanco puro */
    margin: 0 0 32px 0;
    line-height: 1.5;
}

/* Botonera */
.mk-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mk-cta-btn {
    font-family: 'Averta Std', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón Verde */
.mk-cta-btn--primary {
    background-color: #0CD664;
    color: #1F262F;
    border: 2px solid #0CD664;
}

.mk-cta-btn--primary:hover {
    background-color: transparent;
    color: #0CD664;
}

/* Botón Oscuro Whatsapp */
.mk-cta-btn--secondary {
    background-color: #2A3038;
    color: #ffffff;
    border: 2px solid #0CD664;
}

.mk-cta-btn--secondary:hover {
    background-color: #0CD664;
    color: #1F262F;
}

/* Adaptación para Celulares */
@media (max-width: 768px) {
    .mk-cta-banner {
        height: auto;
        min-height: 450px;
    }
    
    .mk-cta-banner__img,
    .mk-cta-banner__bg picture img {
        object-position: top center; 
    }
    
    .mk-cta-banner__overlay {
        /* Subimos un poco el degradado para que el texto siga leyendo bien al subirlo */
        background: linear-gradient(0deg, rgba(15, 20, 25, 0.95) 0%, rgba(15, 20, 25, 0.8) 50%, rgba(15, 20, 25, 0) 100%);
    }
    
    .mk-cta-banner__content {
        text-align: center;
        margin-top: 0; 
        padding-top: 130px; /* ACÁ SUBIMOS EL TEXTO (antes era 200px) */
        padding-bottom: 40px; /* Le damos respiro abajo para que no quede pegado al margen */
    }
    
    .mk-cta-banner__actions {
        display: flex;
        flex-direction: column; /* Apilamos los botones uno arriba del otro */
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0 10px;
    }

    .mk-cta-banner__actions .mk-cta-btn {
        width: 100%; /* Hacemos que los botones ocupen el mismo ancho */
        max-width: 320px; /* Pero que no se estiren demasiado en celulares grandes */
        justify-content: center; /* Centramos el texto adentro del botón */
    }
}