/* Contenedor principal */
.contenedor-faq {
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    overflow-x: hidden;
}

.contenedor-faq h1 {
    font-size: 2.5rem;
    color: var(--color-secundario);
    margin-bottom: 40px;
    text-align: center;
    margin-top: 8rem;
}

/*Cards*/
.contenedor-cards-faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.card-faq {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: var(--bg-claro);
}

.card-faq:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--color-resaltado);
}

.card-faq h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--texto-oscuro);
    font-weight: 600;
}

.card-faq p {
    font-size: 1rem;
    color: var(--texto-oscuro);
    line-height: 1.7;
}

/* Responsive celulares*/
@media (max-width: 768px) {
    .contenedor-cards-faq {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contenedor-faq h1 {
        font-size: 1.5rem;
    }
    
    .card-faq {
        padding: 20px;
    }
    .card-faq h2 {
        font-size: 1rem;
    }
    .card-faq p {
        font-size: 0.9rem;
    }

}