/* ============================================================
   FAQ PAGE — Stylish Accordion
   ============================================================ */

/* --- Hero --- */
.faq-hero {
    background: linear-gradient(160deg, #2a1008 0%, var(--crimson-dark) 40%, #1e1410 100%);
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(254, 205, 109, 0.06), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(209, 96, 31, 0.08), transparent 50%);
}

.faq-hero-content {
    position: relative;
    z-index: 1;
}

.faq-hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(209, 96, 31, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.faq-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.faq-hero-sub {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Category pills --- */
.faq-categories {
    background: #f7f4f0;
    padding: 28px 24px;
    position: sticky;
    top: 52px;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
}

.faq-pill-row {
    display: flex;
    gap: 8px;
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.faq-pill-row::-webkit-scrollbar { display: none; }

.faq-pill {
    padding: 8px 20px;
    border: 1.5px solid var(--gray-300);
    border-radius: 20px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
    white-space: nowrap;
    flex-shrink: 0;
}
.faq-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.faq-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* --- FAQ list --- */
.faq-list {
    background: #f7f4f0;
    padding: 40px 24px 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Individual FAQ item --- */
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(12px);
}
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.faq-item.hidden-cat {
    display: none;
}
.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Question button */
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.5;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    transition: all 0.35s var(--ease-out-expo);
    line-height: 1;
}

/* Open state */
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.faq-item.open .faq-q {
    color: var(--accent);
}

/* Left accent bar when open */
.faq-item.open {
    border-left: 3px solid var(--accent);
}

/* Answer area */
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out-expo), padding 0.45s var(--ease-out-expo);
    padding: 0 24px;
}

.faq-item.open .faq-a {
    max-height: 600px;
    padding: 0 24px 24px;
}

.faq-a p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .faq-hero { padding: 120px 24px 60px; }
    .faq-q { font-size: 15px; padding: 16px 20px; }
    .faq-a { padding: 0 20px; }
    .faq-item.open .faq-a { padding: 0 20px 20px; }
    .faq-categories { top: 0; }
}
