/* ── FAQ Page — Modern v1 ─────────────────────────── */
.faq-page-wrap { font-family: inherit; }

/* Hero */
.faq-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.faq-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(234,88,12,0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 60%, rgba(99,102,241,0.12) 0%, transparent 55%);
    pointer-events: none;
}
.faq-hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.faq-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(234,88,12,0.15); border: 1px solid rgba(234,88,12,0.35);
    color: #fb923c; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
    margin-bottom: 22px;
}
.faq-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; line-height: 1.2;
    margin: 0 0 16px; color: #fff;
}
.faq-hero h1 span { color: #fb923c; }
.faq-hero-sub {
    font-size: 1.05rem; color: #94a3b8; margin: 0 0 32px; line-height: 1.7;
}
.faq-hero-search {
    display: flex; max-width: 480px; margin: 0 auto;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; overflow: hidden;
}
.faq-hero-search input {
    flex: 1; background: none; border: none; outline: none;
    padding: 14px 18px; color: #fff; font-size: 0.95rem; font-family: inherit;
}
.faq-hero-search input::placeholder { color: #64748b; }
.faq-hero-search button {
    background: #EA580C; border: none; cursor: pointer;
    padding: 14px 20px; color: #fff; font-size: 1rem;
    transition: background 0.2s;
}
.faq-hero-search button:hover { background: #c2410c; }
.faq-hero-stats {
    display: flex; justify-content: center; gap: 40px;
    margin-top: 40px; flex-wrap: wrap;
}
.faq-hero-stat { text-align: center; }
.faq-hero-stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: #fb923c; }
.faq-hero-stat-label { font-size: 0.78rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }

/* Category tabs */
.faq-tabs-bar {
    background: #fff; border-bottom: 2px solid #f1f5f9;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.faq-tabs-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; overflow-x: auto; gap: 0;
    padding: 0 24px; scrollbar-width: none;
}
.faq-tabs-inner::-webkit-scrollbar { display: none; }
.faq-tab {
    flex-shrink: 0; padding: 16px 22px;
    border: none; background: none; cursor: pointer;
    font-family: inherit; font-size: 0.88rem; font-weight: 600;
    color: #64748b; border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
}
.faq-tab:hover { color: #EA580C; }
.faq-tab.active { color: #EA580C; border-bottom-color: #EA580C; }
.faq-tab-count {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; background: #f1f5f9;
    border-radius: 999px; font-size: 0.72rem; font-weight: 700;
    color: #94a3b8; transition: background 0.2s, color 0.2s;
}
.faq-tab.active .faq-tab-count { background: #EA580C; color: #fff; }

/* Main layout */
.faq-main { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.faq-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }

/* Category section — hidden by default, JS adds .visible */
.faq-category { margin-bottom: 56px; display: none; }
.faq-category.visible { display: block; }
.faq-category-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}
.faq-category-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #EA580C, #f97316);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.faq-category-header h2 {
    font-size: 1.25rem; font-weight: 800;
    color: #0f172a; margin: 0;
}
.faq-category-header h2 span {
    display: block; font-size: 0.8rem; font-weight: 500;
    color: #94a3b8; margin-top: 2px;
}

/* Accordion items */
.faq-item {
    border: 1.5px solid #e2e8f0; border-radius: 12px;
    margin-bottom: 10px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.faq-item.open {
    border-color: #fed7aa;
    box-shadow: 0 4px 20px rgba(234,88,12,0.09);
}
.faq-item-btn {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; background: none; border: none; cursor: pointer;
    text-align: left; font-family: inherit; font-size: 0.96rem;
    font-weight: 700; color: #0f172a; line-height: 1.45;
    transition: background 0.15s;
}
.faq-item-btn:hover { background: #fafafa; }
.faq-item.open .faq-item-btn { background: #fff8f4; color: #EA580C; }
.faq-item-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; min-width: 26px;
    background: #f1f5f9; border-radius: 7px;
    font-size: 11px; font-weight: 800; color: #94a3b8;
    transition: all 0.2s; flex-shrink: 0;
}
.faq-item.open .faq-item-num { background: #EA580C; color: #fff; }
.faq-item-q { flex: 1; }
.faq-item-chevron {
    width: 28px; height: 28px; min-width: 28px;
    display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; border-radius: 50%;
    transition: background 0.2s; flex-shrink: 0;
}
.faq-item-chevron svg {
    width: 14px; height: 14px;
    transition: transform 0.3s ease;
    fill: none; stroke: #64748b;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.faq-item.open .faq-item-chevron { background: #fff3e9; }
.faq-item.open .faq-item-chevron svg { transform: rotate(180deg); stroke: #EA580C; }
.faq-item-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.38s ease;
}
.faq-item-answer-inner {
    padding: 14px 20px 20px 60px;
    font-size: 0.93rem; color: #475569;
    line-height: 1.85; border-top: 1px solid #f8f0e8;
}
.faq-item-answer-inner p { margin: 0 0 10px; }
.faq-item-answer-inner p:last-child { margin: 0; }
.faq-item-answer-inner strong { color: #1e293b; }
.faq-item-answer-inner a { color: #EA580C; }
.faq-item-answer-inner ul { margin: 8px 0; padding-left: 20px; }
.faq-item-answer-inner li { margin-bottom: 6px; }

/* Search no-results */
.faq-no-results {
    text-align: center; padding: 60px 20px;
    color: #94a3b8; display: none;
}
.faq-no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* Sidebar */
.faq-sidebar-card {
    background: #fff; border: 1.5px solid #e2e8f0;
    border-radius: 16px; padding: 28px; margin-bottom: 24px;
}
.faq-sidebar-card h3 {
    font-size: 1rem; font-weight: 800; color: #0f172a;
    margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.faq-sidebar-card h3 i { color: #EA580C; }
.faq-sidebar-card p { font-size: 0.88rem; color: #64748b; margin: 0 0 16px; line-height: 1.7; }
.faq-sidebar-cta {
    display: flex; flex-direction: column; gap: 10px;
}
.faq-sidebar-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 700; text-decoration: none;
    transition: all 0.2s;
}
.faq-sidebar-cta a.cta-wa { background: #25d366; color: #fff; }
.faq-sidebar-cta a.cta-call { background: #f1f5f9; color: #0f172a; }
.faq-sidebar-cta a:hover { transform: translateY(-1px); opacity: 0.9; }
.faq-quick-links { list-style: none; margin: 0; padding: 0; }
.faq-quick-links li { border-bottom: 1px solid #f1f5f9; }
.faq-quick-links li:last-child { border: none; }
.faq-quick-links a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 0; font-size: 0.88rem; font-weight: 600;
    color: #334155; text-decoration: none; transition: color 0.15s;
}
.faq-quick-links a:hover { color: #EA580C; }
.faq-quick-links a i { color: #EA580C; width: 16px; text-align: center; }
.faq-popular { display: flex; flex-direction: column; gap: 10px; }
.faq-pop-item {
    background: #f8fafc; border-radius: 10px; padding: 14px;
    cursor: pointer; transition: background 0.15s;
    font-size: 0.85rem; font-weight: 600; color: #334155;
    display: flex; align-items: flex-start; gap: 10px;
}
.faq-pop-item:hover { background: #fff3e9; color: #EA580C; }
.faq-pop-item i { color: #EA580C; margin-top: 2px; flex-shrink: 0; }

/* Bottom CTA */
.faq-bottom-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 64px 24px; text-align: center; margin-top: 40px;
}
.faq-bottom-cta-inner { max-width: 640px; margin: 0 auto; }
.faq-bottom-cta h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 0 14px; }
.faq-bottom-cta p { font-size: 1rem; color: #94a3b8; margin: 0 0 32px; line-height: 1.7; }
.faq-bottom-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.faq-bottom-cta-btns a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px; font-size: 0.95rem;
    font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.faq-bottom-cta-btns a.btn-wa { background: #25d366; color: #fff; }
.faq-bottom-cta-btns a.btn-call { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2); color: #fff; }
.faq-bottom-cta-btns a:hover { transform: translateY(-2px); opacity: 0.9; }

/* Responsive */
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; }
    .faq-sidebar { order: -1; }
    .faq-sidebar-card:not(:first-child) { display: none; }
}
@media (max-width: 640px) {
    .faq-hero { padding: 48px 16px 56px; }
    .faq-hero-stats { gap: 24px; }
    .faq-item-answer-inner { padding-left: 20px; }
    .faq-main { padding: 40px 16px; }
    .faq-tabs-inner { padding: 0 12px; }
}
