/* FAQ аккордеон */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-list__item {
    background: #F5F6FB;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
}

.faq-list__item.is-open .faq-list__head {
    padding-bottom: 20px;
}


.faq-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    background: #F5F6FB;

    &:hover {
        background: #ECEEF4;
    }

    &:hover .faq-list__icon path {
        stroke: #5A616C;
    }
}

.faq-list__question {
    font-family: "Geologica", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    color: #111827;
}

.faq-list__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9299a5;
    transition: transform 0.3s, color 0.3s;
}

.faq-list__item.is-open .faq-list__icon {
    transform: rotate(180deg);
    color: #5A616C;
}

.faq-list__body {
    display: none;
}

.faq-list__answer {
    padding: 0 24px 22px;
    font-family: "Geologica", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: rgba(17, 24, 39, 1);
}

.faq-list__answer p {
    margin: 0 0 12px;
}

.faq-list__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .faq-list__question {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }

    .faq-list__head {
        padding: 16px 18px;
        align-items: flex-start;

        &:hover {
            background: unset;
        }
    }

    .faq-list__item.is-open .faq-list__head {
        padding-bottom: 16px;
    }

    .faq-list__answer {
        font-weight: 400;
        font-size: 16px;
        line-height: 28px;
        padding: 0 20px 16px 20px;
    }

    .faq-list__item {
        border-radius: 12px;
    }
}