/* ═══════════════════════════════════════════════════════════
   AIRBID — faq.css
═══════════════════════════════════════════════════════════ */

/* ── ACTIVE NAV ── */
.faq-active-nav {
    color: var(--vibrant-coral) !important;
    background-color: rgba(240, 107, 100, 0.12);
    border-radius: 6px;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.faq-hero {
    background-color: var(--primary);
    padding: 96px 0 80px;
}

.faq-hero-label {
    opacity: 0.9;
}

.faq-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.faq-hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 17px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 36px;
}

/* Search bar inside hero */
.faq-search-bar-wrap {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
    max-width: 620px;
    margin: 0 auto;
    padding: 6px 6px 6px 0;
}

.faq-search-icon {
    font-size: 22px;
    color: var(--outline);
    padding: 0 12px 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    color: var(--on-surface);
    padding: 14px 8px 14px 0;
    min-width: 0;
}
.faq-search-input::placeholder { color: var(--outline); }

.faq-search-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.faq-search-btn:hover { background: #1a2e3a; }

/* ══════════════════════════════════
   BODY SECTION
══════════════════════════════════ */
.faq-body-section {
    padding: 56px 0 80px;
    background: var(--surface-lowest);
}

/* ══════════════════════════════════
   LEFT SIDEBAR — CATEGORIES
══════════════════════════════════ */
.faq-sidebar {
    position: sticky;
    top: 88px;
}

.faq-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--outline);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.faq-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-cat-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 14px 16px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--on-surface);
    cursor: pointer;
    position: relative;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}
.faq-cat-btn:hover {
    background: rgba(240,107,100,0.06);
    color: var(--vibrant-coral);
}
.faq-cat-btn:hover .faq-cat-bar { opacity: 1; }

.faq-cat-bar {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--vibrant-coral);
    opacity: 0;
    transition: opacity 0.2s;
}

.faq-cat-active {
    background: rgba(240,107,100,0.08);
    color: var(--vibrant-coral);
    font-weight: 700;
}
.faq-cat-active .faq-cat-bar { opacity: 1; }

.faq-cat-icon {
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: inherit;
}
.faq-cat-active .faq-cat-icon {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ══════════════════════════════════
   FAQ PANELS + ACCORDION
══════════════════════════════════ */
.faq-panel { }

.faq-acc-btn {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--deep-teal) !important;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--outline-variant);
}

.faq-acc-btn:not(.collapsed) {
    color: var(--vibrant-coral) !important;
}

.faq-acc-btn::after {
    filter: invert(27%) sepia(29%) saturate(594%) hue-rotate(152deg) brightness(92%) contrast(91%);
}
.faq-acc-btn:not(.collapsed)::after {
    filter: invert(52%) sepia(55%) saturate(601%) hue-rotate(319deg) brightness(98%) contrast(92%);
}

.faq-acc-body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--outline);
    border-bottom: 1px solid var(--outline-variant);
}

.accordion-item.faq-item {
    background: transparent;
    border: none;
    border-radius: 0 !important;
}

/* highlight search matches */
.faq-highlight {
    background: rgba(240, 107, 100, 0.18);
    border-radius: 2px;
    color: var(--vibrant-coral);
    font-weight: 700;
}

/* no results state */
.faq-no-results {
    text-align: center;
    padding: 64px 24px;
}
.faq-no-icon {
    font-size: 56px;
    color: var(--outline-variant);
    display: block;
    margin-bottom: 16px;
}
.faq-no-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 8px;
}
.faq-no-sub {
    color: var(--outline);
    font-size: 14px;
    margin: 0;
}

/* ══════════════════════════════════
   BOTTOM CARDS
══════════════════════════════════ */
.faq-bottom-cards {
    margin-top: 48px;
}

.faq-bottom-card {
    border-radius: 16px;
    padding: 36px 32px;
    height: 100%;
}

.faq-card-teal {
    background: var(--deep-teal);
    color: #ffffff;
}
.faq-card-coral {
    background: var(--vibrant-coral);
    color: #ffffff;
}

.faq-bottom-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
    color: rgba(255,255,255,0.9);
}

.faq-bottom-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-bottom-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}

.faq-bottom-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.35);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.faq-bottom-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}
.faq-bottom-link .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.2s;
}
.faq-bottom-link:hover .material-symbols-outlined { transform: translateX(4px); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 991.98px) {
    .faq-sidebar { position: static; }
    .faq-hero { padding: 64px 0 56px; }
    .faq-body-section { padding: 40px 0 60px; }
    .faq-cat-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .faq-cat-btn { width: auto; padding: 10px 16px; border-radius: 99px; }
    .faq-cat-bar { display: none; }
    .faq-cat-active { background: var(--vibrant-coral); color: #ffffff; }
}

@media (max-width: 767.98px) {
    .faq-hero { padding: 56px 0 48px; }
    .faq-body-section { padding: 32px 0 48px; }
    .faq-acc-btn { font-size: 14px; }
    .faq-bottom-cards { margin-top: 32px; }
}

@media (max-width: 575.98px) {
    .faq-hero { padding: 48px 0 40px; }
    .faq-hero-sub { font-size: 15px; margin-bottom: 28px; }
    .faq-search-bar-wrap { border-radius: 10px; padding: 4px 4px 4px 0; }
    .faq-search-btn { padding: 12px 16px; font-size: 13px; border-radius: 7px; }
    .faq-bottom-card { padding: 28px 24px; }
    .faq-bottom-title { font-size: 18px; }
    .faq-cat-btn { font-size: 13px; padding: 8px 12px; }
}
