.faq {
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.faq__inner {
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
.faq__inner::before {
    content: "";
    position: absolute;
    width: 915.57px;
    height: 344.95px;
    z-index: -1;
    pointer-events: none;
    left: -400px;

    background: radial-gradient(50% 50% at 50% 50%, #FF977A 0%, rgba(255, 151, 122, 0) 100%);
    filter: blur(99.2527px);
    transform: rotate(140.95deg);
}
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
    width: 100%;
}

.faq-item {
    background: #f9ead4;
    border: 1px solid #f3e8d8;
    border-radius: var(--radius-lg);
    padding: 25px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.faq-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.faq-item__question {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.48px;
    color: var(--color-black);
    flex: 1;
}
.faq-item__btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 1px solid var(--color-gray-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        transform 0.3s var(--ease-spring),
        background 0.18s;
    background: transparent;
    cursor: pointer;
}
.faq-item__btn:hover {
    background: rgba(0, 0, 0, 0.04);
}
.faq-item__btn svg {
    width: 14px;
    height: 14px;
}
.faq-item__answer {
    font-size: 18px;
    line-height: 1.4;
    color: rgba(10, 10, 10, 0.8);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        margin-top 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.faq-item.is-open .faq-item__answer {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
}
.faq-item.is-open .faq-item__btn {
    transform: rotate(45deg);
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .faq {
        padding: 80px 24px;
    }
    .faq-item__question {
        font-size: 20px;
    }
    .faq-item__answer {
        font-size: 16px;
    }
}
@media (max-width: 600px) {
    .faq {
        padding: 60px 16px;
    }
    .faq-item {
        padding: 18px;
    }
    .faq-item__question {
        font-size: 17px;
    }
    .faq-item__answer {
        font-size: 15px;
    }
}
