.faq {
    background: var(--lime);
    padding: 96px 0;
}

.faq__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.faq__title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 80px;
    line-height: 96px;
    text-transform: uppercase;
    color: var(--ink);
}

.faq__label {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--muted-lime);
}

.faq__list {
    margin-top: 52px;
}

.faq__item {
    border-top: 3px solid var(--ink);
}

.faq__item:last-child {
    border-bottom: 3px solid var(--ink);
}

.faq__question {
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding-right: 7px;
}

.faq__num {
    flex-shrink: 0;
    width: 34px;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: var(--violet);
}

.faq__question-text {
    flex: 1;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    text-transform: uppercase;
    color: var(--ink);
}

.faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 3px;
    background: var(--ink);
    transition: transform .25s;
}

.faq__icon::after {
    transform: rotate(90deg);
}

.faq__item.js-open .faq__icon::after {
    transform: rotate(0deg);
}

.faq__item.js-open .accordion__content-wrapper {
    max-height: unset;
}

.faq__answer {
    padding: 0 7px 24px 50px;
    font-size: 18px;
    line-height: 27px;
    color: var(--ink);
}

@media (max-width: 1380px) {
    .faq {
        padding: 80px 0;
    }

    .faq__title {
        font-size: 64px;
        line-height: 72px;
    }
}

@media (max-width: 1023px) {
    .faq {
        padding: 64px 0;
    }

    .faq__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .faq__title {
        font-size: 48px;
        line-height: 52px;
    }

    .faq__list {
        margin-top: 32px;
    }

    .faq__question {
        gap: 14px;
        min-height: 64px;
    }

    .faq__num,
    .faq__question-text {
        font-size: 22px;
        line-height: 28px;
    }

    .faq__num {
        width: 28px;
    }

    .faq__answer {
        padding-left: 42px;
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 767px) {
    .faq {
        padding: 48px 0;
    }

    .faq__title {
        font-size: 36px;
        line-height: 38px;
    }

    .faq__item {
        border-top-width: 2px;
    }

    .faq__item:last-child {
        border-bottom-width: 2px;
    }

    .faq__question {
        align-items: flex-start;
        gap: 10px;
        min-height: 0;
        padding: 16px 0;
    }

    .faq__num,
    .faq__question-text {
        font-size: 18px;
        line-height: 24px;
    }

    .faq__num {
        width: 24px;
    }

    .faq__icon {
        margin-top: 2px;
    }

    .faq__answer {
        padding: 0 0 16px 34px;
        font-size: 15px;
        line-height: 22px;
    }
}
