/* ===== ROTATING BANNER ===== */
.banner-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slide .slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 1;
}

.banner-slide .slide-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 650px;
}

.banner-slide .slide-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.banner-slide h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-slide p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    line-height: 1.6;
}

.banner-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-btn:hover {
    background: #b45309;
    transform: translateY(-1px);
}

/* Banner navigation */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #f59e0b;
    width: 24px;
    border-radius: 5px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.banner-arrow:hover {
    background: rgba(245,158,11,0.3);
}

.banner-arrow.prev {
    left: 14px;
}

.banner-arrow.next {
    right: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-slide {
        height: 320px;
    }
    
    .banner-slide .slide-content {
        padding: 2rem 1.5rem;
    }
    
    .banner-slide h2 {
        font-size: 2rem;
    }
    
    .banner-slide p {
        font-size: 0.95rem;
    }
    
    .banner-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== BN-* CLASSES (banner-system.js split layout) ===== */
.bn-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* MOBILE: imagen full-width, texto como overlay */
@media (max-width: 639px) {
    .bn-wrap {
        height: 210px !important;
    }
    .bn-slide {
        height: 210px !important;
        position: relative !important;
        display: block !important;
        min-width: 100% !important;
        overflow: hidden !important;
    }
    /* Imagen ocupa todo el slide */
    .bn-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 210px !important;
        z-index: 1 !important;
        display: block !important;
    }
    .bn-img img {
        width: 100% !important;
        height: 210px !important;
        object-fit: cover !important;
        object-position: center 20% !important;
        display: block !important;
    }
    /* Overlay gradiente real */
    .bn-mob-overlay {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 62% !important;
        height: 210px !important;
        z-index: 2 !important;
        background: linear-gradient(90deg, rgba(8,14,40,0.90) 0%, rgba(8,14,40,0.65) 65%, rgba(8,14,40,0) 100%) !important;
    }
    /* Texto encima */
    .bn-text {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 62% !important;
        height: 210px !important;
        z-index: 3 !important;
        padding: .8rem .6rem .8rem .9rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        text-align: left !important;
        background: none !important;
        box-sizing: border-box !important;
    }
    .bn-text h2 {
        font-size: .85rem !important;
        margin: 0 0 6px !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }
    .bn-text p {
        display: none !important;
    }
    .bn-text .bn-tag {
        font-size: .52rem !important;
        padding: 2px 8px !important;
        margin-bottom: 5px !important;
        white-space: nowrap !important;
    }
    .bn-text button {
        padding: 4px 11px !important;
        font-size: .6rem !important;
    }
    .bn-logo {
        width: 36px !important;
        height: 36px !important;
        left: 61% !important;
    }
    .bn-logo img {
        width: 26px !important;
        height: 26px !important;
    }
    /* Flechas y dots más pequeños */
    .banner-arrow {
        width: 32px !important;
        height: 32px !important;
        font-size: .9rem !important;
    }
    .banner-dots {
        bottom: 10px !important;
    }
}
