/* ================= FAQ Page Hero ================= */
.faq-page-hero {
    background-color: var(--brand-black);
    padding: 160px 5% 90px;
    border-bottom: 4px solid var(--brand-yellow);
    position: relative;
    overflow: hidden;
}

.faq-page-hero::before {
    content: 'FAQ';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 30vw; font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.025);
    pointer-events: none; white-space: nowrap;
}

.faq-hero-inner {
    position: relative; z-index: 1;
    max-width: 900px;
}

.faq-hero-label {
    display: block;
    font-family: var(--font-display); font-size: 11px;
    color: var(--brand-yellow); text-transform: uppercase;
    letter-spacing: 5px; margin-bottom: 24px;
}

.faq-hero-title {
    font-family: var(--font-display); font-weight: 100;
    font-size: clamp(44px, 7vw, 88px);
    color: var(--brand-white); text-transform: uppercase;
    letter-spacing: 2px; line-height: 1; margin-bottom: 24px;
}

.faq-hero-title span {
    font-weight: 900; color: var(--brand-yellow);
}

.faq-hero-desc {
    font-size: 16px; color: rgba(255,255,255,0.5);
    line-height: 1.8; max-width: 640px; margin-bottom: 32px;
}

.faq-hero-badges {
    display: flex; gap: 16px; flex-wrap: wrap;
}

.faq-hero-badge {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15); padding: 6px 14px;
}

/* ================= FAQ Category Nav ================= */
.faq-cat-nav {
    background-color: var(--bg-warm);
    border-bottom: 2px solid rgba(0,0,0,0.06);
    position: sticky; top: var(--site-header-height); z-index: 90;
}

.faq-cat-wrap {
    max-width: 1400px; margin: 0 auto; padding: 0 5%;
    display: flex; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}

.faq-cat-wrap::-webkit-scrollbar { display: none; }

.faq-cat-btn {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    padding: 20px 24px; font-family: var(--font-display); font-weight: 700;
    font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
    border: none; background: none; cursor: pointer; color: var(--text-gray);
    border-bottom: 3px solid transparent; transition: all 0.25s;
}

.faq-cat-btn:hover { color: var(--brand-black); }
.faq-cat-btn.active { color: var(--brand-black); border-bottom-color: var(--brand-yellow); }

/* ================= FAQ Main Layout ================= */
.faq-main.main-content { padding: 0; }

.faq-page-wrap {
    max-width: 1000px; margin: 0 auto; padding: 80px 5%;
    display: flex; flex-direction: column; gap: 0;
}

/* ================= FAQ Category Section ================= */
.faq-category {
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.faq-category:last-child { border-bottom: none; }

.faq-cat-header {
    display: flex; align-items: flex-start; gap: 28px;
    margin-bottom: 48px;
}

.faq-cat-num {
    font-family: var(--font-display); font-size: 72px; font-weight: 900;
    color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.12);
    line-height: 1; flex-shrink: 0; margin-top: -8px;
    transition: -webkit-text-stroke-color 0.3s;
}

.faq-category:hover .faq-cat-num {
    -webkit-text-stroke-color: var(--brand-yellow);
}

.faq-cat-title {
    font-family: var(--font-display); font-size: 32px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--brand-black); margin-bottom: 8px;
}

.faq-cat-sub {
    font-size: 14px; color: var(--text-gray); line-height: 1.6;
}

/* ================= FAQ Accordion Items ================= */
.faq-accordion {
    display: flex; flex-direction: column; gap: 0;
    border-top: 2px solid var(--brand-yellow);
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.07);
    cursor: pointer;
    margin: 0 -20px;
    padding: 0 20px;
    border-radius: 4px;
    transition: background 0.15s;
}
.faq-item:hover { background: rgba(0,0,0,0.03); }

.faq-q {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    padding: 32px 0; text-align: left;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-display); font-size: 20px; font-weight: 300;
    color: var(--brand-black); line-height: 1.3;
    transition: color 0.2s;
}

.faq-q:hover { color: var(--brand-yellow); }
.faq-q[aria-expanded="true"] { color: var(--brand-yellow); }

.faq-q > span:first-child {
    flex: 1;
}

/* Chevron icon */
.faq-chevron {
    flex-shrink: 0; width: 24px; height: 24px;
    border: 2px solid currentColor; border-radius: 50%;
    position: relative; transition: all 0.3s ease;
}

.faq-chevron::before,
.faq-chevron::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* Plus icon */
.faq-chevron::before {
    width: 10px; height: 2px;
    transform: translate(-50%, -50%);
}

.faq-chevron::after {
    width: 2px; height: 10px;
    transform: translate(-50%, -50%);
}

/* When open: rotate to X / minus */
.faq-q[aria-expanded="true"] .faq-chevron::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-q[aria-expanded="true"] .faq-chevron {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

.faq-q[aria-expanded="true"] .faq-chevron::before,
.faq-q[aria-expanded="true"] .faq-chevron::after {
    background-color: var(--brand-black);
}

/* Answer panel */
.faq-a-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq-a-wrap.open {
    max-height: 1000px;
}

.faq-a {
    padding: 0 0 28px 0;
    border-left: 3px solid var(--brand-yellow);
    padding-left: 24px;
    margin-left: 4px;
}

.faq-a p {
    font-size: 15px; color: var(--text-gray); line-height: 1.85;
    margin-bottom: 12px;
}

.faq-a p:last-child { margin-bottom: 0; }

.faq-a ul,
.faq-a ol {
    margin: 8px 0 12px 0;
    padding-left: 0;
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
}

.faq-a ul li,
.faq-a ol li {
    font-size: 15px; color: var(--text-gray); line-height: 1.75;
    padding-left: 20px; position: relative;
}

.faq-a ul li::before {
    content: '▪';
    position: absolute; left: 0; color: var(--brand-yellow);
}

.faq-a ol {
    counter-reset: faq-ol;
}

.faq-a ol li {
    counter-increment: faq-ol;
}

.faq-a ol li::before {
    content: counter(faq-ol) '.';
    position: absolute; left: 0;
    font-weight: 700; color: var(--brand-yellow); font-size: 13px;
}

.faq-a strong {
    color: var(--brand-black); font-weight: 700;
}

.faq-a a {
    color: var(--brand-black);
    border-bottom: 1px solid var(--brand-yellow);
    transition: color 0.2s;
}

.faq-a a:hover { color: var(--brand-yellow); }

.faq-a code {
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: 13px; background-color: rgba(0,0,0,0.06);
    padding: 2px 7px; border-radius: 2px;
    color: var(--text-dark);
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
    .faq-cat-header { gap: 20px; }
    .faq-cat-num { font-size: 56px; }
}

@media (max-width: 768px) {
    .faq-page-hero { padding: 120px 5% 60px; }
    .faq-hero-title { font-size: clamp(38px, 12vw, 56px); }
    .faq-hero-badges { display: none; }

    .faq-cat-btn { padding: 16px 16px; font-size: 11px; gap: 6px; }

    .faq-page-wrap { padding: 50px 5%; }
    .faq-category { padding: 50px 0; }

    .faq-cat-header { flex-direction: column; gap: 12px; }
    .faq-cat-num { font-size: 44px; margin-top: 0; }
    .faq-cat-title { font-size: 26px; }

    .faq-q { font-size: 17px; padding: 26px 0; }
    .faq-item { margin: 0 -12px; padding: 0 12px; }

    .faq-a { padding-left: 16px; }
    .faq-a p,
    .faq-a ul li,
    .faq-a ol li { font-size: 14px; }
}
