


.faq-section {
    width: 100%;
    box-sizing: border-box;
    margin: 1rem auto;
}

.faq-section__title {
    margin: 0 0 24px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.faq-list {
    width: 100%;
    border-top: 1px solid #d9d9d9;
}
.faq-item {
    border-bottom: 1px solid #d9d9d9;
    background: transparent;
    overflow: hidden;
}
.faq-item__head {
    display: grid;
    grid-template-columns: 1fr 28px;
    align-items: center;
    column-gap: 16px;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
    background: transparent;
}

.faq-item__question {
    color: var(--Unnamed-Color, #000);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.4px;
}

/* Плюс/крестик */
.faq-item__icon {
    position: relative;
    width: 24px;
    height: 24px;
    justify-self: end;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: #000;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .22s ease;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg); /* + */
}

/* Открытое состояние -> X */
.faq-item.is-open .faq-item__icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item.is-open .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Тело ответа */
.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

/* Текст ответа */
.faq-item__content {
    padding: 0 36px 18px 0;
    color: rgba(43, 46, 56, 0.90);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 145%;
}

.faq-item__content > *:first-child { margin-top: 0; }
.faq-item__content > *:last-child  { margin-bottom: 0; }

/* Состояния фокуса для доступности */
.faq-item__head:focus-visible {
    outline: 2px solid #9a9a9a;
    outline-offset: 2px;
}

/* Адаптив */
@media (max-width: 992px) {
    .faq-section {
        padding: 24px 20px 26px;
    }

    .faq-section__title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .faq-item__question {
        font-size: 18px;
    }

    .faq-item__content {
        font-size: 16px;
        padding-right: 0;
    }
}

@media (max-width: 640px) {

    .faq-item__head {
        grid-template-columns: 1fr 22px;
        padding: 14px 0;
    }

    .faq-item__question {
        font-size: 18px;
        line-height: 1.35;
    }

    .faq-item__content {
        font-size: 16px;
        padding: 0 0 14px;
    }
}