.faq {
    margin: 0 var(--section-gutter) var(--section-gap);
    interpolate-size: allow-keywords;
}

.faq__title {
    font-family: var(--font-title);
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--color-text);
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 clamp(30px, 5vw, 50px);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__title.in {
    opacity: 1;
    transform: none;
}

.faq__list {
    display: flex;
    flex-direction: column;
}

.faq__item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__item.in {
    opacity: 1;
    transform: none;
}

.faq__item:nth-child(1) { transition-delay: 0s; }
.faq__item:nth-child(2) { transition-delay: 0.06s; }
.faq__item:nth-child(3) { transition-delay: 0.12s; }
.faq__item:nth-child(4) { transition-delay: 0.18s; }
.faq__item:nth-child(5) { transition-delay: 0.24s; }
.faq__item:nth-child(6) { transition-delay: 0.3s; }
.faq__item:nth-child(7) { transition-delay: 0.36s; }

.faq__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(16px, 2.2vw, 22px) 8px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq__summary::-webkit-details-marker {
    display: none;
}

.faq__question {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--color-text);
}

.faq__toggle {
    box-sizing: border-box;
    flex-shrink: 0;
    width: clamp(38px, 3.6vw, 44px);
    height: clamp(38px, 3.6vw, 44px);
    border-radius: 50%;
    background: var(--color-dark);
    padding-bottom: 3px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq__item[open] .faq__toggle {
    transform: rotate(45deg);
    background: #000;
}

.faq__answer {
    padding: 0 8px 24px;
    font-family: var(--font-body);
    font-size: clamp(14px, 1.1vw, 15px);
    color: var(--color-text);
    font-weight: 500;
    max-width: 720px;
}

@media (max-width: 480px) {
    .faq__title {
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0;
    }

    .faq__question {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: -0.04em;
    }

    .faq__toggle {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    .faq__answer {
        font-size: 12px;
        line-height: 1.1;
    }
}

.faq__item::details-content {
    block-size: 0;
    opacity: 0;
    overflow: clip;
    transition:
        block-size 0.35s ease,
        opacity 0.25s ease,
        content-visibility 0.35s allow-discrete;
}

.faq__item[open]::details-content {
    block-size: auto;
    opacity: 1;
}
