/* =====================================================
   FAQS PAGE LIST
   Página dedicada de FAQs: categorías + acordeón
   Template: faqs
   ===================================================== */

/* --- Contenedor principal --- */
.faqs-page-list {
    padding: 40px 0 80px;
}

/* --- Grupo de categoría --- */
.faqs-category {
    margin-bottom: 52px;
}

.faqs-category__title {
    padding-bottom: 14px;
    margin-bottom: 0;
    border-bottom: 1px solid #AEAEAE;
}

/* --- Item acordeón --- */
.faqs-item {
    border-bottom: 1px solid #AEAEAE;
    list-style: none;
}

/* Quitar el marcador nativo del <summary> */
.faqs-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 16px 12px 16px 0;
    cursor: pointer;
    list-style: none;
}

.faqs-item__question::-webkit-details-marker {
    display: none;
}

.faqs-item__question-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

/* --- Icono +/- --- */
.faqs-item__icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    position: relative;
}

.faqs-item__icon-bar {
    display: block;
    position: absolute;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faqs-item__icon-bar--h {
    width: 16px;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faqs-item__icon-bar--v {
    width: 1px;
    height: 16px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faqs-item[open] .faqs-item__icon-bar--v {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* --- Respuesta --- */
.faqs-item__answer {
    padding: 0 12px 18px 0;
    font-size: 16px;
    line-height: 1.75;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .faqs-page-list {
        padding: 24px 0 60px;
    }

    .faqs-category {
        margin-bottom: 36px;
    }

    .faqs-item__question-text {
        font-size: 18px;
    }
}
