/* ════════════════════════════════════════════
   FAQ PAGE — faq.css
   Design tokens from style.css
════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   브레드크럼
───────────────────────────────────────── */
.fq-breadcrumb {
  background: var(--black2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fq-bc-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.fq-bc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray2);
}
.fq-bc a {
  color: var(--gray2);
  text-decoration: none;
  transition: color 0.2s;
}
.fq-bc a:hover   { color: var(--gold); }
.fq-bc span      { color: var(--gray2); }
.fq-bc-current   { color: var(--gold); }

/* ─────────────────────────────────────────
   히어로
───────────────────────────────────────── */
.fq-hero {
  background: var(--black);
}
.fq-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 48px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* 왼쪽 */
.fq-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.fq-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}
.fq-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.fq-hero-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 32px;
}
.fq-hero-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--gold);
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.fq-hero-btn:hover { background: var(--gold-light); }

/* 오른쪽: 통계 카드 */
.fq-hero-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fq-stat-card {
  background: var(--black2);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fq-stat-card--featured {
  background: var(--black3);
  border-color: rgba(201,168,76,0.25);
}
.fq-stat-label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fq-stat-value {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   필터 바
───────────────────────────────────────── */
.fq-filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 48px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  max-width: 100%;
}
.fq-filter-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray2);
  flex-shrink: 0;
}
.fq-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fq-pill {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
  background: transparent;
  border: 1px solid rgba(247,245,240,0.1);
  border-radius: 20px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.fq-pill:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--white);
}
.fq-pill.is-active {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold);
}
.fq-pill-cnt {
  font-size: 11px;
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   FAQ 2컬럼 레이아웃
───────────────────────────────────────── */
.fq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 60px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

/* ─────────────────────────────────────────
   왼쪽 Sticky 네비
───────────────────────────────────────── */
.fq-sidenav {
  position: sticky;
  top: 24px;
  padding-right: 40px;
}
.fq-sidenav-title {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-bottom: 12px;
}
#fqNav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fq-nav-item {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray);
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  width: 100%;
}
.fq-nav-item:hover {
  color: var(--white);
  background: rgba(255,255,255,0.03);
}
.fq-nav-item.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

/* ─────────────────────────────────────────
   오른쪽 아코디언 래퍼
───────────────────────────────────────── */
.fq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─────────────────────────────────────────
   카테고리 구분선 타이틀
───────────────────────────────────────── */
.fq-cat-title {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2px;
}
.fq-cat-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.15);
}

/* ─────────────────────────────────────────
   아코디언 아이템
───────────────────────────────────────── */
#fqAccordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fq-item {
  background: var(--black2);
  border: 1px solid rgba(247,245,240,0.06);
  transition: border-color 0.2s;
}
.fq-item.is-open {
  border-color: rgba(201,168,76,0.25);
}

/* 질문 행 */
.fq-item-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}
.fq-item-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.fq-q-badge {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 2px 8px;
  border-radius: 2px;
  flex-shrink: 0;
  line-height: 1.6;
  margin-top: 1px;
}
.fq-q-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--white);
  line-height: 1.55;
}
.fq-toggle {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}
.fq-item.is-open .fq-toggle {
  transform: rotate(45deg);
}

/* 답변 */
.fq-item-a {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
  padding: 20px 28px 28px 56px;
}

/* ─────────────────────────────────────────
   "못 찾으셨나요?" 배너
───────────────────────────────────────── */
.fq-notfound {
  background: var(--black2);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.fq-notfound-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
}
.fq-notfound-title em {
  font-style: italic;
  color: var(--gold);
}
.fq-notfound-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray);
}
.fq-notfound-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--gold);
  padding: 13px 24px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.fq-notfound-btn:hover { background: var(--gold-light); }

/* ─────────────────────────────────────────
   CTA 배너
───────────────────────────────────────── */
.fq-cta {
  background: var(--black2);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 72px 0;
}
.fq-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.fq-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.fq-cta-title em {
  font-style: italic;
  color: var(--gold);
}
.fq-cta-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}
.fq-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}
.fq-cta-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--gold);
  padding: 16px 32px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.fq-cta-btn:hover { background: var(--gold-light); }
.fq-cta-reassure {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray2);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   반응형
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .fq-hero-inner { gap: 48px; padding: 60px 32px 56px; }
  .fq-layout     { padding: 48px 32px 64px; }
  .fq-filter-bar { padding: 24px 32px; }
  .fq-cta-inner  { padding: 0 32px; }
  .fq-bc-inner   { padding: 0 32px; }
}

@media (max-width: 900px) {
  .fq-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 40px;
  }
  .fq-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px 56px;
  }
  .fq-sidenav {
    position: static;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  #fqNav { flex-direction: row; flex-wrap: wrap; }
  .fq-nav-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 12px;
    width: auto;
  }
  .fq-nav-item.is-active {
    border-bottom-color: var(--gold);
    background: transparent;
  }
  .fq-filter-bar { padding: 20px 24px; }
  .fq-bc-inner   { padding: 0 24px; }
  .fq-cta-inner  { padding: 0 24px; }
}

@media (max-width: 640px) {
  .fq-hero-title { font-size: 32px; }
  .fq-stat-card  { padding: 16px 20px; }
  .fq-item-q     { padding: 18px 20px; }
  .fq-item-a     { padding: 16px 20px 22px 20px; }
  .fq-notfound   { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .fq-notfound-btn { width: 100%; text-align: center; }
  .fq-cta-inner  { flex-direction: column; align-items: flex-start; }
  .fq-cta-btn    { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════════
   SECTION-LIGHT OVERRIDES — faq.php
══════════════════════════════════════════════════ */
.section-light .fq-filter-bar      { background: transparent; border-top-color: rgba(0,0,0,0.04); border-bottom-color: rgba(0,0,0,0.08); }
.section-light .fq-filter-label    { color: #6e6e73; }
.section-light .fq-pill            { color: #6e6e73; border-color: rgba(0,0,0,0.1); }
.section-light .fq-pill:hover      { color: #1d1d1f; }
.section-light .fq-item            { background: #fff; border-color: rgba(0,0,0,0.1); }
.section-light .fq-item.is-open    { border-color: rgba(201,168,76,0.3); }
.section-light .fq-q-text          { color: #1d1d1f; }
.section-light .fq-item-a          { color: #6e6e73; }
.section-light .fq-sidenav-title   { color: #6e6e73; }
.section-light .fq-nav-item        { color: #6e6e73; }
.section-light .fq-nav-item:hover  { color: #1d1d1f; background: rgba(0,0,0,0.03); }
.section-light .fq-notfound        { background: #fff; border-color: rgba(0,0,0,0.1); }
.section-light .fq-notfound-title  { color: #1d1d1f; }
.section-light .fq-notfound-sub    { color: #6e6e73; }
