.faq-section {
    background: linear-gradient(to bottom right, #5a189a, #3f0f6b); /* Fondo morado oscuro */
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px); /* Empieza desde abajo */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    margin: auto;
}

.faq-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-titled {
    font-size: 2.8em;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2;
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background-color: rgba(255, 255, 255, 0.08); /* Fondo ligeramente transparente */
    border-radius: 15px;
    padding: 30px;
    width: calc(33.33% - 60px); /* Tres tarjetas por fila con espacio entre ellas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.faq-section.visible .faq-card {
    opacity: 1;
    transform: scale(1);
}

.faq-icon {
    font-size: 2.5em;
    color: #8a2be2;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #8a2be2;
}

.faq-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 3px #8a2be2;
}

.faq-card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #eee;
}

/* Animaciones de entrada para cada tarjeta */
.faq-section.visible .faq-card:nth-child(1) {
    animation: fadeIn 0.6s ease-out forwards;
}

.faq-section.visible .faq-card:nth-child(2) {
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.faq-section.visible .faq-card:nth-child(3) {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Adaptación para pantallas más pequeñas */
@media (max-width: 1024px) {
    .faq-card {
        width: calc(50% - 40px); /* Dos tarjetas por fila */
    }
}

@media (max-width: 768px) {
    .faq-card {
        width: 90%; /* Una tarjeta por fila */
    }
}