/* ============================================================================
   🖤 BLACK FRIDAY 2026 — MODO "BLACK TROPICAL" (MARKARIBE.COM)
   Hoja de estilos aislada: se carga únicamente mientras black_friday_active=True
   (hasta el 30 de noviembre de 2026 a las 23:59:59 COT).
   ============================================================================ */

/* Contenedor sticky conjunto: Barra Countdown + Navbar sin solapamientos */
.bf-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.bf-sticky-header .navbar {
    position: relative !important;
    top: auto !important;
    z-index: 1001;
}

@media (max-width: 768px) {
    body.bf-mode-active .navbar-backdrop {
        top: 0 !important;
        z-index: 990 !important;
    }
}

/* ---------- 1. Barra Superior Announcement + Countdown ---------- */
.bf-announcement-bar {
    background: linear-gradient(90deg, #070d18 0%, #0f1b33 50%, #070d18 100%);
    border-bottom: 1px solid rgba(245, 183, 0, 0.35);
    color: #f8fafc;
    padding: 8px 14px;
    font-size: 0.86rem;
    line-height: 1.3;
    width: 100%;
    box-sizing: border-box;
}

.bf-announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.bf-bar-tag {
    background: linear-gradient(135deg, #f5b700 0%, #ffd54f 100%);
    color: #0b1220;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.bf-bar-copy {
    color: #e2e8f0;
    font-weight: 500;
    text-align: center;
}

.bf-bar-copy strong {
    color: #ffffff;
}

.bf-bar-copy .bf-gold-accent {
    color: #f5b700;
    font-weight: 700;
}

.bf-countdown-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 183, 0, 0.35);
    padding: 3px 9px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bf-countdown-label {
    font-size: 0.74rem;
    color: #cbd5e1;
    margin-right: 2px;
}

.bf-cd-unit {
    color: #f5b700;
    font-weight: 800;
    font-size: 0.84rem;
}

.bf-cd-sep {
    color: rgba(245, 183, 0, 0.55);
    font-weight: 700;
}

.bf-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #2fc2c9 0%, #1a9ca3 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(47, 194, 201, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bf-bar-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f5b700 0%, #e6a800 100%);
    color: #0b1220 !important;
    box-shadow: 0 4px 14px rgba(245, 183, 0, 0.45);
}

/* ---------- 2. Hero "Modo Black Tropical" (Home) ---------- */
.hero.hero--bf {
    position: relative;
    background-color: #0b1220;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 56px 20px 48px;
    border-bottom: 3px solid rgba(245, 183, 0, 0.45);
}

.bf-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.bf-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 18, 32, 0.78);
    border: 1px solid rgba(245, 183, 0, 0.6);
    color: #ffd54f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.bf-hero-pill .bf-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fc2c9;
    box-shadow: 0 0 0 0 rgba(47, 194, 201, 0.75);
    animation: bfDotPulse 1.8s infinite;
}

@keyframes bfDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(47, 194, 201, 0.75); }
    70% { box-shadow: 0 0 0 9px rgba(47, 194, 201, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 194, 201, 0); }
}

.hero.hero--bf h1 {
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.12;
    margin-bottom: 14px;
    font-weight: 800;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero.hero--bf h1 .bf-highlight-gold {
    color: #f5b700;
}

.hero.hero--bf .bf-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.22rem);
    max-width: 740px;
    margin: 0 auto 26px;
    color: #e2e8f0;
    opacity: 0.98;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero.hero--bf .search-box {
    border: 2px solid rgba(245, 183, 0, 0.45);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

/* 4 Píldoras de beneficios comerciales exactos del CRM */
.bf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 920px;
    margin: 26px auto 0;
}

.bf-benefit-pill {
    background: rgba(11, 18, 32, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px 12px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bf-benefit-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 183, 0, 0.65);
}

.bf-benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(245, 183, 0, 0.15);
    color: #f5b700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    flex-shrink: 0;
}

.bf-benefit-pill strong {
    display: block;
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 2px;
}

.bf-benefit-pill span {
    display: block;
    color: #cbd5e1;
    font-size: 0.75rem;
    line-height: 1.3;
}

/* 5 Chips rápidos de los destinos top del PDF */
.bf-quick-dests {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bf-quick-dests-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bf-quick-chips-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.bf-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.22s ease;
}

.bf-quick-chip:hover {
    background: #2fc2c9;
    border-color: #2fc2c9;
    color: #0b1220 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 194, 201, 0.35);
}

.bf-quick-chip--featured {
    background: linear-gradient(135deg, #f5b700 0%, #ffcf40 100%);
    border-color: #f5b700;
    color: #0b1220 !important;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(245, 183, 0, 0.35);
}

.bf-quick-chip--featured:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0b1220 !important;
}

.bf-quick-chip i.fa-whatsapp {
    font-size: 0.95rem;
}

/* ---------- 3. Burbuja BF junto al Botón Flotante de WhatsApp ---------- */
.whatsapp-bf-pill {
    position: fixed;
    right: 102px;
    bottom: 34px;
    z-index: 1200;
    background: linear-gradient(135deg, #0b1220 0%, #15223d 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(245, 183, 0, 0.65);
    box-shadow: 0 10px 26px rgba(11, 18, 32, 0.38);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-bf-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 18, 32, 0.48);
}

.whatsapp-bf-pill .bf-pill-gold {
    color: #f5b700;
}

/* ---------- Responsive Móvil ---------- */
@media (max-width: 900px) {
    .bf-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bf-announcement-bar {
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .bf-announcement-inner {
        gap: 6px 8px;
    }

    .bf-bar-copy {
        font-size: 0.76rem;
    }

    .bf-bar-cta {
        padding: 4px 10px;
        font-size: 0.73rem;
    }

    .hero.hero--bf {
        padding: 36px 14px 32px !important;
    }

    .bf-hero-pill {
        font-size: 0.72rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .bf-benefits-grid {
        gap: 8px;
        margin-top: 18px;
    }

    .bf-benefit-pill {
        padding: 9px 9px;
        gap: 8px;
        border-radius: 11px;
    }

    .bf-benefit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.84rem;
    }

    .bf-benefit-pill strong {
        font-size: 0.78rem;
    }

    .bf-benefit-pill span {
        font-size: 0.7rem;
    }

    .bf-quick-chips-row {
        gap: 7px;
    }

    .bf-quick-chip {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .whatsapp-bf-pill {
        right: 88px;
        bottom: 27px;
        padding: 7px 11px;
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .bf-countdown-label {
        display: none;
    }

    .whatsapp-bf-pill {
        display: none;
    }
}
