/* NAVEGACIÓN PRINCIPAL GLOBAL */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--pc-blanco, #ffffff);
    border: 3px solid var(--pc-negro, #333333);
    border-radius: 20px;
    box-shadow: 6px 6px 0px var(--pc-rosa-pastell, #fce4ec);
}

.main-nav a {
    text-decoration: none;
    color: var(--pc-negro, #333333);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 8px 15px;
    border-radius: 15px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.main-nav a:hover {
    background: var(--pc-rosa-fuerte, #d81b60);
    color: var(--pc-blanco, #ffffff);
    border-color: var(--pc-negro, #333333);
    box-shadow: 3px 3px 0 var(--pc-negro, #333333);
    transform: translateY(-2px);
}

/* BOTON WHATSAPP FLOTANTE GLOBAL */
.global-wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid #333333;
    box-shadow: 4px 4px 0 #333333;
    z-index: 9999;
    transition: 0.2s;
    text-decoration: none;
}

.global-wa-float:hover {
    transform: translateY(-5px);
    box-shadow: 4px 8px 0 #333333;
}

/* BOTON CALENDARIO ANIMADO GLOBAL */
.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--pc-rosa-fuerte, #d81b60);
    color: white;
    border: 4px solid var(--pc-negro, #333333);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--pc-negro, #333333);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Nunito', sans-serif;
    margin: 10px 0;
}

.calendar-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 8px 12px 0 var(--pc-negro, #333333);
    background: var(--pc-rosa-medio, #f06292);
    color: white;
}

.calendar-btn:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 transparent;
}

.calendar-icon {
    width: 35px;
    height: 40px;
    background: white;
    border: 3px solid var(--pc-negro, #333333);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: bounce-calendar 2s infinite;
    flex-shrink: 0;
}

.calendar-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--pc-negro, #333333);
}

.calendar-top::before, .calendar-top::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 5px;
    height: 8px;
    background: white;
    border: 2px solid var(--pc-negro, #333333);
    border-radius: 4px;
}

.calendar-top::before { left: 5px; }
.calendar-top::after { right: 5px; }

.calendar-date {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 900;
    color: var(--pc-negro, #333333);
    font-family: 'Courier Prime', monospace, sans-serif;
}

@keyframes bounce-calendar {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.global-wa-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.global-wa-modal-content {
    background: #ffffff;
    border: 4px solid #333333;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    padding: 25px;
    position: relative;
    box-shadow: 8px 8px 0px #fff9c4;
    animation: popInWa 0.3s ease-out;
    font-family: 'Nunito', sans-serif;
}

.global-wa-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 900;
    color: #333333;
}

@keyframes popInWa {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* PÍLDORA FLOTANTE PARA VOLVER ARRIBA (GLOBAL) */
.global-top-pill {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--pc-negro, #333333);
    color: var(--pc-blanco, #ffffff);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid var(--pc-blanco, #ffffff);
    box-shadow: 4px 4px 0 var(--pc-rosa-fuerte, #d81b60);
    z-index: 9998;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.global-top-pill.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.global-top-pill:hover {
    background: var(--pc-rosa-fuerte, #d81b60);
    color: var(--pc-blanco, #ffffff);
    transform: translateY(-5px);
    box-shadow: 4px 8px 0 var(--pc-negro, #333333);
}