.faq {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq__item {
    background: #fff;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    overflow: hidden;
    /* transition: background-color 0.25s ease, box-shadow 0.25s ease; */
}

.faq__item.is-open {
    background: #6565cc;
    /* box-shadow: 0 4px 16px rgba(101, 101, 204, 0.35); */
}

.faq__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 28px 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.faq__question {
    flex: 1;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: #8383e2;
    transition: color 0.25s ease;
}

.faq__item.is-open .faq__question {
    color: #fff;
}
.faq__item.is-open .faq__header {
    padding-bottom: 20px;
}

.faq__icon {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
    color: #8383e2;
    transition: color 0.25s ease;
}

.faq__item.is-open .faq__icon {
    color: #fff;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq__icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
}

.faq__body {
    display: none;
    padding: 0 30px 30px;
}

.faq__item.is-open .faq__body {
    display: block;
}

.faq__answer {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0.15px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
    .faq {
        gap: 20px;
    }
    .faq__header {
        padding: 16px 18px;
    }

    .faq__question {
        font-size: 15px;
    }

    .faq__body {
        padding: 0 18px 16px;
    }
}

@media (max-width: 640px) {
    .faq {
        gap: 16px;
    }
    
}
