.faq-hero {
    padding: 4rem 0 2.4rem;
    text-align: center;
}

.faq-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #0f2248;
    margin-bottom: 0.8rem;
}

.faq-hero__title span {
    color: #3563e9;
}

.faq-hero__description {
    max-width: 760px;
    margin: 0 auto 1rem;
    color: #637089;
}

.faq-search {
    max-width: 680px;
    margin: 0 auto;
}

.faq-search input {
    width: 100%;
    border: 1px solid #d8e0f1;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
}

.faq-search input:focus {
    outline: none;
    border-color: #3563e9;
    box-shadow: 0 0 0 3px rgba(53, 99, 233, 0.15);
}

.faq-section {
    padding: 0 0 3.5rem;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.faq-category {
    border: 1px solid #d9e2f5;
    background: #fff;
    color: #4f607c;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
}

.faq-category--active {
    background: #3563e9;
    border-color: #3563e9;
    color: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #dce6f7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(24, 40, 80, 0.08);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    cursor: pointer;
}

.faq-item__question:hover {
    background: #f6f9ff;
}

.faq-item__question-text {
    color: #16315f;
    font-weight: 700;
}

.faq-item__icon {
    color: #3563e9;
    transition: transform 0.2s ease;
}

.faq-item--open .faq-item__icon {
    transform: rotate(90deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item--open .faq-item__answer {
    max-height: 360px;
}

.faq-item__answer p {
    margin: 0;
    border-top: 1px solid #ecf1fa;
    color: #637089;
    padding: 0.95rem 1rem;
}

@media (max-width: 700px) {
    .faq-item__question {
        padding: 0.85rem 0.85rem;
    }

    .faq-item__answer p {
        padding: 0.85rem;
    }
}
