.design-faq {
    background: #f9f3f1;
    padding: 2.9rem 0 3.5rem;
}

.design-faq__inner {
    width: min(760px, calc(100% - 2rem));
}

.design-faq h2 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 48px;
    line-height: 1;
    color: #1f2127;
    text-align: center;
}

.design-faq-item {
    margin: 0;
    border-left: 1px solid #d1c5c2;
    border-right: 1px solid #d1c5c2;
    border-bottom: 1px solid #d1c5c2;
    border-top: 1px solid #d1c5c2;
    margin-bottom: 16px;
}

.design-faq-item:first-of-type {
    margin-top: 2rem;
}

.design-faq-item > summary {
    list-style: none;
    cursor: pointer;
    margin: 0;
    padding: 0.9rem 1rem 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    color: #171a21;
    background: rgb(153 116 106 / 0.35);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.design-faq-item > summary::-webkit-details-marker {
    display: none;
}

.design-faq-item > summary::after {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    margin-top: 0.3rem;
    border-right: 1.5px solid #6d6562;
    border-bottom: 1.5px solid #6d6562;
    transform: rotate(45deg);
    transition: transform 0.2s ease, margin-top 0.2s ease;
    flex-shrink: 0;
}

.design-faq-item[open] > summary::after {
    transform: rotate(-135deg);
    margin-top: 0.45rem;
}

.design-faq-item:not([open]) > summary {
    padding-bottom: 0.9rem;
}

.design-faq-item > summary:focus-visible {
    outline: 2px solid rgba(143, 111, 100, 0.45);
    outline-offset: -2px;
}

.design-faq-answer {
    padding: 0 1rem 1rem;
    background: rgb(153 116 106 / 0.35);
}

.design-faq-answer p {
    margin: 0;
    color: #2e3138;
    line-height: 1.32;
    font-size: 16px;
}

.design-faq-item a {
    color: inherit;
    text-underline-offset: 2px;
}

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

    .design-faq__inner {
        width: 100%;
    }

    .design-faq h2 {
        padding: 1.9rem 2.55rem 1.2rem;
        font-size: clamp(2.45rem, 11vw, 3rem);
        line-height: 0.96;
    }

    .design-faq-item {
        border-left: 0;
        border-right: 0;
    }

    .design-faq-item:first-of-type {
        margin-top: 0;
    }

    .design-faq-item > summary {
        padding: 1.45rem 2.55rem 0.62rem;
        font-size: 1.15rem;
        line-height: 1.24;
    }

    .design-faq-item:not([open]) > summary {
        padding-bottom: 1.4rem;
    }

    .design-faq-answer {
        padding: 0 2.55rem 1.55rem;
    }

    .design-faq-answer p {
        font-size: 1.06rem;
        line-height: 1.34;
    }
}
