.faq-page {
    background: var(--color-bg);
    min-height: calc(100vh - 300px);
}

.faq-page__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

.faq-page__head {
    text-align: center;
    margin-bottom: 40px;
}

.faq-page__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.faq-page__desc {
    font-size: 14px;
    color: var(--color-text-light);
}

.faq-page__search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    margin-bottom: 16px;
}

.faq-page__search-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--color-text-muted);
}

.faq-page__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    background: transparent;
}

.faq-page__search-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

@media (max-width: 480px) {
    .faq-page__search {
        height: 48px;
        gap: 6px;
        padding: 5px 5px 5px 16px;
    }

    .faq-page__search-btn {
        padding: 0 16px;
        font-size: 12px;
    }
}

.faq-page__search-result {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.faq-page__search-clear {
    color: var(--color-primary-dark);
    font-weight: 700;
    margin-left: 6px;
}

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

.faq-page__item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-page__question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.faq-page__question::-webkit-details-marker {
    display: none;
}

.faq-page__q-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 800;
    font-size: 13px;
}

.faq-page__q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
}

.faq-page__chevron {
    flex-shrink: 0;
    font-size: 18px;
    color: var(--color-text-muted);
    transition: transform 0.15s ease;
}

.faq-page__item[open] .faq-page__chevron {
    transform: rotate(180deg);
}

.faq-page__answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-page__item[open] .faq-page__answer-wrap {
    grid-template-rows: 1fr;
}

.faq-page__answer-clip {
    min-height: 0;
    overflow: hidden;
}

.faq-page__answer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 0 22px 22px;
}

.faq-page__a-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-primary-dark);
    font-weight: 800;
    font-size: 13px;
}

.faq-page__answer p {
    flex: 1;
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    padding-top: 4px;
}

.faq-page__empty {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    padding: 40px 0;
}
