.faq {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-top: 250px;
}

.faq_left,
.faq_right {
    flex: 1;
    min-width: 0;
}

.faq_title {
    width: min(100%, 500px);
    margin: 0;
    font-size: 64px;
    font-weight: var(--font-weight-medium);
    line-height: 1.05;
    text-transform: uppercase;
}

.faq_item {
    transition: opacity 0.2s ease;
}

.faq_item + .faq_item {
    border-top: 1px solid var(--color-gray-300);
}

.faq_item:hover {
    opacity: 0.8;
}

.faq_item_header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 16px;
    border: 0;
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq_item_header:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.faq_item_title {
    flex: 1;
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
}

.faq_item_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.faq_item_icon img {
    width: 11px;
    height: 11px;
}

.faq_item.is-open .faq_item_icon {
    transform: rotate(0deg);
}

.faq_item_content_wrapper {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0;
    opacity: 0;
    transition: grid-template-rows 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq_item.is-open .faq_item_content_wrapper {
    grid-template-rows: 1fr;
    padding: 8px 0 16px;
    opacity: 1;
}

.faq_item_content {
    overflow: hidden;
    line-height: 1.4;
}

@media (max-width: 1365px) {
    .faq {
        flex-direction: column;
        gap: 16px;
        padding-top: 200px;
    }

    .faq_title {
        width: 100%;
    }
}

@media (max-width: 759px) {
    .faq {
        gap: 58px;
        padding-top: 150px;
    }

    .faq_title {
        font-size: 36px;
    }

    .faq_item_title,
    .faq_item_content {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq_item,
    .faq_item_icon,
    .faq_item_content_wrapper {
        transition: none;
    }
}
