/* ==================================================
   SECCIÓN DE BANNERS PRINCIPAL
================================================== */
.banners-background {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background2);
    width: 100%;
    padding: 2rem 1rem;
    box-sizing: border-box;
    position: relative;
}

/* Swiper ocupa toda el área y se adapta a columnas */
.banners-background .swiper {
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* ya no se usa absolute */
    box-sizing: border-box;
}

/* ==================================================
   CONTENIDO DEL BANNER
================================================== */
.banner-content {
    display: flex;
    flex-wrap: wrap; /* ✅ Permite adaptar imagen y texto a columna en pantallas pequeñas */
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ==================================================
   COLUMNAS: IMAGEN Y TEXTO
================================================== */
.banner-column-1,
.banner-column-2 {
    flex: 1 1 400px;     /* mínimo de 400px, se ajusta si no cabe */
    max-width: 600px;    /* límite para evitar que se estiren demasiado */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* ==================================================
   IMAGEN DEL BANNER
================================================== */
.banner-column-1 img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease; /* transicion suave */
}

.banner-column-1 img:hover {
    transform: scale(1.05); /* pequeño zoom */
}


/* ==================================================
   TEXTO DEL BANNER
================================================== */
.banner-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    gap: 1rem;
    box-sizing: border-box;
}

/* Título secundario o destacado */
.banner-subtext strong {
    font-size: 1rem;
    font-weight: bold;
}

/* ==================================================
   BOTÓN DE ACCIÓN
================================================== */
.banner-text a {
    background-color: var(--main);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 2px;
    width: fit-content;
    transition: background 0.3s;
}

.banner-text a:hover {
    background-color: #a00000;
}
