.faq-page {
    background: #1a1a1a;
    color: white;
    min-height: 100dvh;
}

/* --- Кнопка Home --- */
.faq-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #2a2a2a;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

/* --- Заголовок --- */
.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* --- Поисковая строка --- */
.faq-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #2a2a2a;
    border-radius: 28px;
    margin-bottom: 24px;
}

.faq-search-text {
    color: #888;
    font-size: 14px;
}

.faq-search-icons {
    display: flex;
    gap: 14px;
}

/* --- Аккордеон --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-group {
    border-bottom: 0.5px solid #333;
}

.faq-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
}

.faq-group-icon {
    width: 32px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.faq-group-title {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-group-header.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-group-body {
    display: none;
    padding-bottom: 8px;
}

.faq-group-header.open + .faq-group-body {
    display: block;
}

.faq-item {
    border-top: 0.5px solid #2a2a2a;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 12px 42px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.faq-question .faq-chevron {
    transition: transform 0.3s ease;
}

.faq-question.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 42px 12px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.faq-question.open + .faq-answer {
    display: block;
}

.faq-group-icon {
    width: 32px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-group-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.faq-search-icons {
    display: flex;
    gap: 14px;
    align-items: center;
}

.faq-search-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

html, body {
    background: #1a1a1a !important;
}

.faq-page {
    --bg: #1a1a1a;
}
