
/* ==========================================================================
   RANDAZZO INSPIRED BANNER — ACCURATE SLIM OVERLAY LAYOUT
   ========================================================================== */

.mk-rand-banner {
    --rb-bg-outer: #ffffff;    /* Fondo total externo para que ensamble con tu footer/sección */
    --rb-accent: #d90000;      /* Tu rojo central */
    --rb-text: #ffffff;
    --rb-font: 'Roboto', sans-serif;

    background-color: var(--rb-bg-outer);
    padding: 2rem 0;           /* Espaciado vertical sutil de separación */
    width: 100%;
}

/* El contenedor replica el comportamiento del banner estático de Randazzo */
.mk-rand-banner__container {
    max-width: 1000px;         /* Clava el ancho exacto de tus tarjetas y ficha técnica */
    margin: 0 auto;
    box-sizing: border-box;
    
    /* Manejo de la imagen de fondo superpuesta */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    
    /* Estructura de la franja */
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 2rem 3.5rem;      /* Aire interno para los textos */
    
    /* Bordes limpios para que parezca una pieza de diseño independiente */
    border: 1px solid #1a1a1a;
    border-radius: 4px;
}

/* CONTENIDO SUPERPUESTO (Izquierda dominante) */
.mk-rand-banner__content {
    max-width: 55%;            /* Evita que el texto tape la sección importante de la foto */
    z-index: 2;
}

.mk-rand-banner__title {
    font-family: var(--rb-font);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.15rem 0;
    color: var(--rb-text);
}

.mk-rand-banner__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mk-rand-banner__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--rb-font);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Checks cuadrados con tu rojo central */
.mk-rand-banner__checkmark {
    background-color: var(--rb-accent);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-rand-banner__text {
    color: #e5e5e5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Protege la lectura si la foto se mueve */
}

/* RESPONSIVE FLUIDO */
@media (max-width: 768px) {
    .mk-rand-banner {
        padding: 1rem 0;
    }
    
    .mk-rand-banner__container {
        max-width: 100%;
        margin: 0 1rem;
        padding: 2.5rem 1.5rem;
        /* En mobile cambiamos el degradado para que tape toda la foto y el texto no flote arriba del auto */
        background-image: linear-gradient(90deg, rgba(13,13,13,0.98) 0%, rgba(13,13,13,0.85) 100%) !important;
    }
    
    .mk-rand-banner__content {
        max-width: 100%;
    }
    
    .mk-rand-banner__title {
        font-size: 1.2rem;
    }
}
