.page-wrapper-faq {
    padding-top: 96px;
}

.faq-section {
    padding-top: 22px;
}

.faq-section__row_header {
    margin-bottom: 64px;
}

.faq-section__column_tabs {
    display: flex;
}

.faq-section__row_tabs {
    margin-bottom: 2px;
}

.faq-section__tab {
    position: relative;
    width: 50%;
    padding: 16px 0 15px;
    border-bottom: 1px solid var(--font-color-secondary);
    cursor: pointer;
    transition: var(--transition-all-main);
    overflow: hidden;
}

.faq-section__tab::before {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: -1px;
    background-color: var(--accent-color-main);
    border-radius: 8px;
    transition: var(--transition-all-main);
}

.faq-section__tab_left::before {
    transform: translateX(100%);
}

.faq-section__tab_right::before {
    transform: translateX(-100%);
}

.faq-section__tab.faq-section__tab_active {
    color: var(--accent-color-main);
}

.faq-section__tab.faq-section__tab_active::before {
    transform: translateX(0);
}

.faq-section__item {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    max-height: 137px;
    padding: 32px;
    border-bottom: 1px solid var(--border-color-main);
    overflow: hidden;
    transition: var(--transition-all-main);
    cursor: pointer;
}

.faq-section__item-name {
    max-width: 87%;
}

.faq-section__item.faq-section__item_active {
    max-height: 750px;
}

.faq-section__item-button {
    width: 48px;
    height: 48px;
    background-color: transparent;
    background-image: url(../img/plus-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    border: 1px solid var(--border-color-main);
    border-radius: 50%;
    transition: var(--transition-all-main);
}

.faq-section__item-button:hover {
    background-color: var(--border-color-main);
}

.faq-section__item_active .faq-section__item-button {
    transform: rotate(45deg);
}

.faq-section__item-desc {
    width: 100%;
    opacity: 0;
    transition: var(--transition-all-main);
    max-height: 0;
}

.faq-section__item_active .faq-section__item-desc {
    margin-top: 16px;
    opacity: 1;
    max-height: unset;
}

.faq-section__row_answers {
    overflow: hidden;
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.faq-section__answers-column {
    transition: var(--transition-all-main);
}

.faq-section__answers-column_left {
    transform: translateX(-100%);
}

.faq-section__answers-column_right {
    transform: translateX(100%);
}

.faq-section__answers-column_left.faq-section__answers-column_active {
    transform: translateX(0);
}

.faq-section__answers-column_right.faq-section__answers-column_active {
    transform: translateX(-100%);
}

.faq-section__row_btns {
    margin-top: 65px;
}

.faq-section__col_btns {
    margin-top: 32px;
}

.faq-section__contact-btn_icon {
    padding-left: 63px;
}

.faq-section__contact-btn-icon {
    position: relative;
}

.faq-section__contact-btn-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(../img/socials-tg.svg);
    background-size: cover;
}

@media(max-width: 1199px) {
    .faq-section {
        margin-top: -19px;
    }

    .faq-section__row_header {
        margin-bottom: 56px;
    }

    .faq-section__row_tabs {
        margin-bottom: 0;
    }
    
    .faq-section__item {
        padding: 32px 32px 31px;
    }

    .faq-section__row_btns {
        margin-top: 56px;
    }
}

@media(max-width: 767px) {
    .page-wrapper-faq {
        padding-top: 76px;
    }
    
    .faq-section {
        margin-top: -19px;
    }
    .faq-section__row_header {
        margin-bottom: 48px;
    }

    .faq-section__tab {
        padding: 22px 0 21px;
    }

    .faq-section__item {
        padding: 18px 16px;
    }

    .faq-section__item-name {
        max-width: 80%;
    }
    
    .faq-section__row_btns {
        margin-top: 48px;
    }

    .faq-section__btns-block {
        margin-top: -16px;
        flex-flow: column nowrap;
    }

    .faq-section__contact-btn {
        width: 100%;
        margin-top: 16px;
        margin-left: 0;
    }
}