/* Estilos para el Hero con efecto Glassmorphism */
.glass-hero {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.soft-elevation {
    box-shadow: 0 10px 30px rgba(40, 139, 193, 0.15);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(40, 139, 193, 0.25);
}

.btn-hover:hover {
    transform: translateY(-2px);
}

/* Acordeones */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.accordion-content.open {
    max-height: 500px;
    padding-bottom: 1.5rem;
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-icon.open {
    transform: rotate(180deg);
}

/* Animación Hero */
.hero-bg {
    animation: zoomSlow 25s infinite alternate ease-in-out;
}
@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: white;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    margin: 1rem;
}
.modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}