.faq-page {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-page:before {
    content: '';
    width: 100%;
    background: linear-gradient(180deg, #7c3dc7 0, #f1f1f1 100%);
    position: absolute;
    height: calc(100% + 20px);
    z-index: -1;
    top: -20px;
}

.faq-page__content {
    width: 100%;
    padding: 62px 20px;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.questions-wrapper:first-child {
    .questions__title {
        color: #fff;
    }
}

.questions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-radius: 20px;
    padding: 42px;
}

.questions__title {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 48px;
    line-height: 115%;
    text-transform: uppercase;
    padding-left: 52px;
    color: #44247a;
}

.question {
    display: flex;
    align-items: flex-start;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    border-bottom: 1px solid #e2d5ff;
    padding: 32px 0;
    cursor: url('/public/cursors/pointer.cur'), auto;
}
.question:first-child {
    padding-top: 0;
}
.question:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.question-content {
    flex: 1;
    margin-right: 16px;
}

.question__question {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #44247a;
    margin: 0;
}

.question_answer {
    font-family: var(--main-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #333;
    margin-top: 16px;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease-out,
        opacity 0.3s ease-out;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question_answer.open {
    max-height: 200px;
    opacity: 1;
}

.question__btn {
    background: transparent;
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('/public/cursors/pointer.cur'), auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin: auto 0;
}

.question__btn:hover {
    transform: scale(1.1);
}

.question__btn-close {
    display: none;
}

.question__btn.active .question__btn-open {
    display: none;
}

.question__btn.active .question__btn-close {
    display: block;
}

.faq-page-pixels-1 {
    z-index: -1;
    left: 21%;
    top: -70px;
}
.faq-page-pixels-2 {
    z-index: -1;
    right: 16%;
    top: -44px;
}

@media (max-width: 768px) {
    .faq-page-pixels-1 {
        display: none;
    }
    .faq-page-pixels-2 {
        top: -80px;
        right: 40%;
    }
    .faq-page__content {
        gap: 60px;
        padding: 62px 0;
    }
    .questions__title {
        font-size: 28px;
        padding-left: 32px;
    }

    .question__question {
        font-size: 14px;
    }
    .question_answer {
        font-size: 12px;
    }
    .questions {
        padding: 24px 7px 24px 16px;
    }

    .question {
        padding: 16px;
    }
}
