:root {
    --color-dark: #0a192f;
    --color-gold: #d4af37;        /* diplomatic-gold aproximado */
    --color-blue: #0a192f;        /* diplomatic-blue ≈ fondo oscuro */
    --color-whatsapp: #25D366;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

.hero-bg {
    background: linear-gradient(to right, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.7)),
                url('https://images.unsplash.com/photo-1575320181282-9afab399332c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center / cover fixed;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

/* Hover tarjetas */
.card-hover {
    transition: transform 0.4s ease;
    will-change: transform;
}
.card-hover:hover {
    transform: translateY(-6px);
}

/* FAQ accesible */
details summary {
    list-style: none;
    cursor: pointer;
}
details summary::-webkit-details-marker {
    display: none;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}
.faq-summary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-gold), 0 0 0 6px var(--color-blue);
}

.faq-panel {
    padding: 0 1.5rem 1rem;
    color: #cbd5e1; /* slate-300 */
    line-height: 1.6;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    pointer-events: none; /* evita interferir con scroll */
}
.whatsapp-float a {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    will-change: transform;
}
.whatsapp-float a:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}
.whatsapp-float {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 640px) {
    .faq-summary {
        font-size: 1rem;
    }
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float a {
        width: 56px;
        height: 56px;
        font-size: 32px;
    }

.custom-checkbox input:checked + div svg {
            display: block;
        }

        /* Calendar Card Hover */
        .calendar-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        .calendar-card:hover { transform: translateX(5px); border-left-width: 8px; }

        .strike-through { text-decoration: line-through; color: #94a3b8; }
}