/* ==========================================================================
   NAVBAR VACACERDO — v2026.07 + Contador 18S (nuevo formato apilado)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: padding .35s ease, background .35s ease, backdrop-filter .35s ease;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.brand {
    text-decoration: none;
    color: #fff;
    display: block;
}

.brand .brand-name {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    color: #fff;
}

.brand p {
    font-size: 11px;
    letter-spacing: .3em;
    opacity: .7;
    margin: 0px 0 0 0;   /* ← cambiado: ahora tiene margen arriba */
    text-align: center;   /* ← agregado: centra el texto */
}



.navbar nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar nav a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: opacity .25s ease;
}

.navbar nav a:hover {
    opacity: .75;
}

/* ── Fiestas Patrias — Botón con contador regresivo ── */
.fiestas-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 18px;
    border: 1.5px solid rgba(196, 56, 34, 0.4);
    border-radius: 40px;
    color: #ff8a70;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: .35s ease;
    margin-left: 18px;
    background: rgba(196, 56, 34, 0.08);
    white-space: nowrap;
}

.fiestas-btn:hover {
    background: rgba(196, 56, 34, 0.18);
    border-color: rgba(196, 56, 34, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(196, 56, 34, .25);
}

/* Separador vertical entre "18 DE SEPTIEMBRE" y el contador */
.fc-sep {
    width: 1px;
    height: 14px;
    background: rgba(196, 56, 34, 0.35);
    flex-shrink: 0;
}

/* ── CONTADOR: NÚMERO ARRIBA, ETIQUETA ABAJO, SEPARADORES : ── */
.fc-time {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.fc-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 30px;
}

.fc-num {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.fc-text {
    font-size: 0.52rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: rgba(255, 255, 255, 0.45);
}

.fc-divider {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(196, 56, 34, 0.5);
    padding-top: 1px;
    line-height: 1;
}

/* ── Botón hamburguesa ── */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1200;
    background: transparent;
    border: none;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    transition: .3s ease;
    display: block;
}

/* ── Responsive móvil ── */
@media(max-width:900px){
    .navbar {
        padding: 14px 0;
    }
    .navbar nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 34px;
        transition: right .45s ease, visibility .45s ease;
        z-index: 1100;
        visibility: hidden;
        overflow-y: auto;
    }

    .navbar nav.active {
        right: 0;
        visibility: visible;
    }

    .navbar nav a { font-size: 18px; }
    
    .fiestas-btn {
        margin-left: 0;
        margin-top: 14px;
        height: auto;
        min-height: 48px;
        padding: 10px 24px;
        font-size: 12px;
    }
    
    .fc-num   { font-size: 1rem; }
    .fc-text  { font-size: 0.48rem; }

    .mobile-toggle { display: flex; }

    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(11px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-11px); }
}