/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.ab-faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.ab-faq__item {
    background: var(--ab-white);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-md);
    overflow: hidden;
    transition: var(--ab-dur);
}
.ab-faq__item.is-open { border-color: var(--ab-ice-500); box-shadow: var(--ab-shadow); }
.ab-faq__q {
    width: 100%; text-align: left;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 22px 26px;
    font-family: var(--ab-font-display);
    font-size: 1.1rem; line-height: 1.3;
    text-transform: none; letter-spacing: 0;
    color: var(--ab-ink-900);
    cursor: pointer;
    background: transparent;
}
.ab-faq__q:hover { background: var(--ab-frost); }
.ab-faq__icon {
    width: 32px; height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ab-frost);
    color: var(--ab-ice-700);
    display: flex; align-items: center; justify-content: center;
    transition: var(--ab-dur);
    font-size: 1.4rem; font-family: var(--ab-font-mono);
}
.ab-faq__item.is-open .ab-faq__icon { background: var(--ab-orange-500); color: var(--ab-white); transform: rotate(45deg); }
.ab-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ab-ease);
}
.ab-faq__a-inner {
    padding: 0 26px 24px;
    color: var(--ab-ink-500);
    line-height: 1.7;
    font-size: 1rem;
}
.ab-faq__a-inner p:not(:last-child) { margin-bottom: 1em; }
.ab-faq__item.is-open .ab-faq__a { max-height: 800px; }

/* Filter chips */
.ab-faq-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.ab-faq-chip {
    padding: 10px 18px;
    background: var(--ab-white);
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius-pill);
    font-family: var(--ab-font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ab-ink-500);
    cursor: pointer;
    transition: var(--ab-dur);
}
.ab-faq-chip:hover { border-color: var(--ab-ice-500); color: var(--ab-ice-700); }
.ab-faq-chip.is-active { background: var(--ab-petrol-600); border-color: var(--ab-petrol-600); color: var(--ab-white); }

/* Category groups — heading above each block of FAQs */
.ab-faq-group { margin-bottom: 48px; }
.ab-faq-group:last-child { margin-bottom: 0; }
.ab-faq-group__h {
    font-family: var(--ab-font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    color: var(--ab-ink-900);
    margin: 0 0 28px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
}
.ab-faq-group__h::after {
    content: '';
    display: block;
    width: 64px;
    height: 2px;
    background: var(--ab-ice-brand);
    margin: 14px auto 0;
}
