/* CONTENEDOR PRINCIPAL */
.faqs-list__container {
    max-width: 960px;
    margin: 0 auto;
}

/* CABECERA: TÍTULOS */
.faqs-list__header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 50px;
    font-weight: bold;
    margin: 0 0 10px;
}

.section-subtitle h2 {
    font-size: 22px;
    color: #666;
    margin: 0;
}

/* INTRODUCCIÓN Y MÁS INFO */
.faqs-list__description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}

.faqs-list__more-info {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
}

/* GRID DE FAQS */
.faq-list {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 0;
    font-family: Arial, sans-serif;
    margin-bottom: var(--separation-section-desktop);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* GRUPO INDIVIDUAL DE FAQ */
.faq-list__group {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

/* TÍTULO DE PREGUNTA */
.faq-list__title {
    margin: 0;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f4f4f4;
    transition: background-color 0.3s ease;
    position: relative;
    border-radius: 12px;
}

.faq-list__title:hover {
    background-color: #e9e9e9;
}

.faq-list__title::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-list__title.open::after {
    content: '−';
}

/* DESCRIPCIÓN DE LA RESPUESTA */
.faq-list__description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 20px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    border-radius: 0 0 12px 12px;
}

.faq-list__description.open {
    padding: 20px;
    max-height: 400px; /* Ajusta según necesidad */
}

/* RESPONSIVE PARA MÓVILES */
@media screen and (max-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}
