/* Contenedor principal del carrusel */
.banner-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
}

/* Estilo de cada slide */
.banner-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.5s ease-in-out;
    padding: 0 100px;
    overflow: hidden;
}

/* Máscara RGBA sobre el fondo */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: black;
    z-index: 200;
}

/* Título */
.banner-content h2 {
    font-size: 2rem;
    margin: 10px 0;
    line-height: 1.2;
}

/* Subtítulo */
.banner-content p {
    font-size: 1.2rem;
    margin: 10px 0;
    line-height: 1.5;
}

/* Botón */
.banner-button {
    display: inline-flex;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    height: 46px;
    align-items: center;
    text-decoration: none!important;
}

/* Hover en botón */
.banner-button:hover {
    opacity: 0.8;
}

/* Tamaños predefinidos del banner */
.banner-slide[data-size="XS"] {
    height: 200px;
}

.banner-slide[data-size="S"] {
    height: 300px;
}

.banner-slide[data-size="M"] {
    height: 400px;
}

.banner-slide[data-size="L"] {
    height: 500px;
}

.banner-slide[data-size="XL"] {
    height: 600px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-content h2 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

.banner-layer{
    background: linear-gradient(to right, white, transparent);
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 50%;
    z-index: 100;
}


@media(max-width: 991px){
    .banner-slide{
        padding: 0 40px;
    }
}

.banner-prev,
.banner-next {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 0!important;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(248, 130, 0, 0.6);
}

.banner-next svg path, .banner-prev svg path{
    stroke: white;
}


.label-legal{
    margin-top: 30px;
    font-size: 15px;
    display: block;
    line-height: 0;
}