.faq {
    padding: 44px 0;
    z-index: 1;
}

.faq-container {
    position: relative;
    z-index: 2;
}

.faq-text {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
}

.faq-btn {
    margin-top: 10px;
}

.faq-btn a {
    white-space: nowrap;
}

.faq-list {
    margin-top: 24px;
}

.faq-item {
    margin-bottom: 24px;
    position: relative;
    transition: margin-bottom 0.4s ease;
}

.faq-item-question {
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.2857;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.faq-item-question > div {
    flex: 0 0 calc(100% - 68px);
}

.faq-item-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item-answer {
    grid-template-rows: 1fr;
}

.faq-item-answer-wrap {
    overflow: hidden;
    padding-right: 68px;
}

.faq-item-answer-content {
    padding: 24px 24px 14px;
    border-radius: 0 22px 22px 22px;
    background: var(--uasoft-dark);
    color: #ffffff;
}

.faq-item-answer-wrap p {
    margin-bottom: 10px;
}

.faq-toggle {
    position: relative;
    border: 1px solid var(--uasoft-color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.faq-toggle::after {
    content: url("data:image/svg+xml,%0A%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.91667 0.625C7.91667 0.279822 7.63684 0 7.29167 0C6.94649 0 6.66667 0.279822 6.66667 0.625L6.66667 6.66667H0.625C0.279822 6.66667 0 6.94649 0 7.29167C0 7.63684 0.279822 7.91667 0.625 7.91667H6.66667V13.9583C6.66667 14.3035 6.94649 14.5833 7.29167 14.5833C7.63684 14.5833 7.91667 14.3035 7.91667 13.9583V7.91667H13.9583C14.3035 7.91667 14.5833 7.63684 14.5833 7.29167C14.5833 6.94649 14.3035 6.66667 13.9583 6.66667H7.91667L7.91667 0.625Z' fill='%231F3F5D'/%3E%3C/svg%3E");
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.faq-item.active .faq-toggle::after {
    top: calc(50% - 6px);
    content: url("data:image/svg+xml,%3Csvg width='15' height='2' viewBox='0 0 15 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.625 0C0.279822 0 0 0.279822 0 0.625C0 0.970178 0.279822 1.25 0.625 1.25H13.9583C14.3035 1.25 14.5833 0.970178 14.5833 0.625C14.5833 0.279822 14.3035 0 13.9583 0H0.625Z' fill='%231F3F5D'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .faq {
        position: relative;
        padding: 80px 0 40px;
        margin-top: 160px;
    }

    .faq-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .faq-text {
        flex: 1;
        display: flex;
        justify-content: end;
    }

    .faq-list {
        margin-top: 62px;
    }

    .faq-item.active {
        margin-bottom: 40px;
    }

    .faq-tor {
        position: absolute;
        top: -280px;
        right: 0;
        width: 1150px;
        height: 836px;
        background-image: url('images/tor-faq-min.jpg');
        background-repeat: no-repeat;
        background-position: 0;
    }
}

@media (min-width: 1200px) {
    .faq {
        margin-top: 140px;
    }

    .faq-container {
        display: flex;
        justify-content: space-between;
    }

    .faq-header,
    .faq-text {
        display: block;
    }

    .faq-header {
        flex: 0 0 282px;
    }

    .faq-text, .faq-btn {
        margin-top: 44px;
    }

    .faq-list {
        width: 60%;
        max-width: 800px;
        margin-top: 134px;
    }

    .faq-tor {
        top: -296px;
    }
}