/* ============================================
   PROMO BANNER & BRANDS BAR STYLES
   ============================================ */

/* Promo Slider Section */
.hm-promo-slider-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    margin: 0;
    padding: 0;
    width: 100%;
}

.hm-promo-slider-container {
    position: relative;
    width: 100%;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hm-promo-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hm-promo-slide {
    display: none !important;
    width: 100%;
    min-height: 480px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: none;
    box-sizing: border-box;
    padding-bottom: 96px;
}

.hm-promo-slide.active {
    display: flex !important;
    animation: fadeIn 0.8s ease forwards;
}

.hm-promo-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

/* Sin transición al salir */
.hm-promo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.75);
    transition: none;
}

/* Solo aplica el zoom al entrar */
.hm-promo-slide.active .hm-promo-bg img {
    transform: scale(1.1);
    transition: transform 6s ease-in-out;
}

.hm-promo-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.3) 0%, rgba(31,41,55,0.15) 100%);
}

/* Sin transición al ocultarse */
.hm-promo-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.75rem);
    transform: translateY(20px);
    opacity: 0;
    transition: none;
}

.hm-promo-content .btn {
    border-radius: var(--radius-md);
}

/* Solo aplica la animación al entrar */
.hm-promo-slide.active .hm-promo-content {
    transform: translateY(0);
    opacity: 1;
    animation: fadeIn 0.8s ease forwards;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.hm-promo-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
}

.hm-promo-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hm-promo-subtitle {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Decoration lines */
.hm-promo-deco-line {
    position: absolute;
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
    z-index: 5;
}

.hm-promo-deco-line:first-of-type { top: 60px; right: 5%; transform: rotate(-5deg); }
.hm-promo-deco-line:last-of-type { bottom: 60px; left: 5%; transform: rotate(5deg); }

/* Slider Controls */
.hm-promo-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 20;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.hm-promo-slider-prev,
.hm-promo-slider-next {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-promo-slider-prev:hover,
.hm-promo-slider-next:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.hm-promo-slider-dots {
    display: flex;
    gap: 12px;
}

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

.hm-promo-slider-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(249,115,22,0.4);
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {

    .hm-promo-slider-section {
        width: 100%;
        max-width: 100%;
        padding-inline: 16px;
        box-sizing: border-box;
    }

    .hm-promo-slider-container {
        min-height: 560px;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    .hm-promo-slide {
        min-height: 560px;
        padding-bottom: 112px;
    }

    .hm-promo-content {
        padding: 40px 12px 24px;
        width: 100%;
        box-sizing: border-box;
        gap: clamp(0.875rem, 4vw, 1.35rem);
    }

    .hm-promo-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
        line-height: 1.12;
    }

    .hm-promo-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    /* Botón a ancho completo y que no desborde */
    .hm-promo-content .btn {
        display: flex;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
        border-radius: var(--radius-md);
    }

    .hm-promo-slider-controls {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 12px;
        padding: 6px 14px;
        max-width: calc(100% - 32px);
    }

    .hm-promo-slider-dot {
        width: 8px;
        height: 8px;
    }

    .hm-promo-deco-line {
        width: 150px;
        opacity: 0.15;
    }
}

/* ============================================
   BRANDS BAR
   ============================================ */
.hm-brands {
    background: var(--bg-secondary);
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hm-brands-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hm-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: default;
}

.hm-brand-logo:hover {
    background: rgba(249,115,22,0.08);
    border-color: rgba(249,115,22,0.2);
    transform: translateY(-2px);
}

.hm-brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.hm-brand-logo:hover .hm-brand-text {
    color: var(--accent);
}

@media (max-width: 768px) {
    .hm-brands-track { gap: 20px; }
    .hm-brand-logo { padding: 12px 20px; }
    .hm-brand-text { font-size: 1.1rem; letter-spacing: 2px; }
}
