/* ==============================> CONTENEDOR GENERAL DE BANNERS */
.contenedor-banners-web {
    width: 100%;
}

/* ==============================> GRUPO DE CARRUSEL (ESCRITORIO / MOVIL) */
.carrusel-banners-grupo {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carrusel-banners {
    width: 100%;
    overflow: hidden;
}

.carrusel-banners-track {
    display: flex;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* ==============================> ITEM DE BANNER */
.banner-item {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    overflow: hidden;
}

.banner-imagen {
    width: 100%;
    height: auto;
    display: block;
}

.banner-enlace-completo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ==============================> CONTENIDO DEL BANNER */
.banner-contenido {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.banner-caja {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    pointer-events: none;
}

/* -> ORIENTACION HORIZONTAL */
.banner-orientacion-horizontal .banner-caja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* -> ORIENTACION VERTICAL */
.banner-orientacion-vertical .banner-caja {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ==============================> TEXTOS DEL BANNER */
.banner-titulo {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.banner-subtitulo {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* ==============================> BOTON DEL BANNER */
.banner-boton {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    pointer-events: auto;
    z-index: 3;
    transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.banner-boton:hover {
    opacity: 0.85;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.banner-boton i {
    font-size: 13px;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.banner-boton:hover i {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

/* ==============================> FLECHAS DE NAVEGACION */
.carrusel-flecha {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #000000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease;
}

.carrusel-flecha:hover {
    background-color: var(--e-global-color-primary);
    color: #ffffff;
}

.carrusel-flecha-prev {
    left: 20px;
}

.carrusel-flecha-next {
    right: 20px;
}

.carrusel-flecha i {
    font-size: 16px;
}

/* ==============================> DOTS DE NAVEGACION */
.carrusel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carrusel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease;
}

.carrusel-dot.activo {
    background-color: var(--e-global-color-primary);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

/* ==============================> VISIBILIDAD ESCRITORIO / MOVIL */
.carrusel-banners-escritorio {
    display: block;
}

.carrusel-banners-movil {
    display: none;
}

/* ==============================> RESPONSIVE (768px) */
@media (max-width: 768px) {

    /* -> CAMBIO DE VISIBILIDAD DE GRUPOS */
    .carrusel-banners-escritorio {
        display: none;
    }

    .carrusel-banners-movil {
        display: block;
    }

    /* -> AJUSTE DE CAJA DE CONTENIDO */
    .banner-caja {
        padding: 0 20px;
    }

    /* -> AJUSTE DE TEXTOS */
    .banner-titulo {
        font-size: 28px;
    }

    .banner-subtitulo {
        font-size: 15px;
    }

    /* -> AJUSTE DE BOTON */
    .banner-boton {
        padding: 10px 22px;
        font-size: 14px;
    }

    /* -> AJUSTE DE FLECHAS */
    .carrusel-flecha {
        width: 36px;
        height: 36px;
    }

    .carrusel-flecha-prev {
        left: 10px;
    }

    .carrusel-flecha-next {
        right: 10px;
    }

    /* -> AJUSTE DE DOTS */
    .carrusel-dots {
        bottom: 12px;
    }
}