/* Variables y configuraciones base */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Gradiente personalizado */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.group-open:animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

/* Hover effects mejorados */
.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Transiciones suaves */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Mobile menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Detalles FAQ */
details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Utilidades adicionales */
.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .gradient-bg h1 {
        font-size: 2.5rem;
    }
}

/* Focus visible para accesibilidad */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}