
/* ==========================================
   CARRUSEL DE PROMOCIONES - ARCUEROS
========================================== */

.promociones-section {
    width: 100%;
    padding: 55px 5%;
    background: #f5f5f5;
}

.promociones-carousel {
    position: relative;
    width: 100%;
    max-width: 1500px;
    height: 430px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: #080808;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.promociones-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.promocion-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.promocion-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.promocion-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.promocion-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 45px 9%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.65) 42%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.promocion-contenido {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #ffffff;
}

.promocion-etiqueta {
    display: inline-block;
    margin-bottom: 18px;
    color: #FAC800;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.promocion-contenido h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
}

.promocion-contenido p {
    max-width: 500px;
    margin: 0 0 27px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.promocion-boton {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 23px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: #ffffff;
    color: #080808;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease;
}

.promocion-boton:hover {
    border-color: #FAC800;
    background: #FAC800;
    color: #080808;
}

/* Flechas */

.promocion-flecha {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, color 0.25s ease;
}

.promocion-flecha:hover {
    background: #FAC800;
    color: #080808;
}

.promocion-anterior {
    left: 20px;
}

.promocion-siguiente {
    right: 20px;
}

/* Indicadores */

.promocion-indicadores {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.promocion-indicador {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.promocion-indicador.active {
    width: 25px;
    border-radius: 10px;
    background: #FAC800;
}

/* Adaptación a móviles */

@media (max-width: 768px) {
    .promociones-section {
        padding: 35px 4%;
    }

    .promociones-carousel {
        height: 390px;
        border-radius: 10px;
    }

    .promocion-overlay {
        padding: 35px 9%;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.48)
        );
    }

    .promocion-contenido {
        max-width: 85%;
    }

    .promocion-contenido h2 {
        font-size: 32px;
    }

    .promocion-contenido p {
        font-size: 13px;
    }

    .promocion-flecha {
        width: 34px;
        height: 34px;
    }

    .promocion-anterior {
        left: 8px;
    }

    .promocion-siguiente {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .promociones-carousel {
        height: 350px;
    }

    .promocion-overlay {
        padding: 28px 8%;
    }

    .promocion-contenido {
        max-width: 100%;
    }

    .promocion-contenido h2 {
        font-size: 27px;
    }

    .promocion-contenido p {
        font-size: 12px;
        line-height: 1.6;
    }

    .promocion-boton {
        padding: 12px 16px;
        font-size: 10px;
    }
}

/* Adaptación del carrusel a celulares */
@media (max-width: 768px) {
    .promociones-carousel {
        height: 260px;
        border-radius: 12px;
    }

    .promocion-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .promocion-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.15)
        );
    }
}

@media (max-width: 480px) {
    .promociones-carousel {
        height: 210px;
    }
}

