.page-faq {
  --faq-index-width: 280px;
  --faq-gap: 32px;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  position: relative;
  padding: 88px 0 56px;
  overflow: hidden;
}

.page-faq .faq-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-faq .faq-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-faq .faq-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 40, 0.55) 0%, var(--bg-deep) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(62, 180, 212, 0.18) 0%, transparent 60%);
}

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

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 28px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  max-width: 860px;
  margin: 14px 0 18px;
  color: var(--text-primary);
}

.page-faq .faq-hero-desc {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.page-faq .faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-hero-actions .btn {
  padding: 12px 22px;
  font-weight: 600;
}

/* ===== Stats ===== */
.page-faq .faq-stats {
  position: relative;
  z-index: 2;
  margin-top: -8px;
  padding-bottom: 40px;
}

.page-faq .faq-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-faq .faq-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-fine);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-stat-num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}

.page-faq .faq-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ===== Body Layout ===== */
.page-faq .faq-body {
  padding: 16px 0 72px;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: start;
}

/* ===== Index ===== */
.page-faq .faq-index {
  border: 1px solid var(--border-fine);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 33, 66, 0.9) 0%, rgba(10, 20, 40, 0.7) 100%);
  padding: 20px 16px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.page-faq .faq-index-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-faq .faq-index-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-index-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-fine);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-faq .faq-index-link:hover {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-bright);
}

.page-faq .faq-index-num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.9rem;
}

.page-faq .faq-index-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border-left: 2px solid var(--gold);
  background: rgba(10, 20, 40, 0.45);
  border-radius: 0 12px 12px 0;
}

.page-faq .faq-index-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.page-faq .faq-index-tip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== Panels ===== */
.page-faq .faq-panels {
  min-width: 0;
}

.page-faq .faq-section {
  margin-bottom: 56px;
}

.page-faq .faq-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-fine);
  padding-bottom: 14px;
}

.page-faq .faq-section-num {
  font-family: var(--font-mono);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 162, 39, 0.55);
}

.page-faq .faq-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

/* ===== FAQ Item ===== */
.page-faq .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-fine);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text-primary);
  user-select: none;
  transition: background 0.2s ease;
}

.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item summary::-moz-list-bullet {
  list-style-type: none;
}

.page-faq .faq-item summary:hover {
  background: rgba(62, 180, 212, 0.06);
}

.page-faq .faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
}

.page-faq .faq-answer {
  padding: 4px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-faq .faq-answer p {
  margin: 14px 0 12px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.page-faq .faq-answer p:first-child {
  margin-top: 16px;
}

.page-faq .faq-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--action);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.page-faq .faq-more-link:hover {
  border-bottom-color: rgba(255, 107, 74, 0.45);
  gap: 10px;
}

.page-faq .faq-more-link svg {
  flex-shrink: 0;
}

/* ===== Contact Card ===== */
.page-faq .faq-contact-card {
  margin-top: 28px;
  border: 1px solid var(--border-fine);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(18, 33, 66, 0.92) 0%, rgba(10, 20, 40, 0.88) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-contact-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 220px;
}

.page-faq .faq-contact-info {
  padding: 24px 22px 28px;
}

.page-faq .faq-contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 18px;
  color: var(--text-primary);
}

.page-faq .faq-contact-list {
  margin: 0 0 16px;
  border: 1px solid var(--border-fine);
  border-radius: 14px;
  overflow: hidden;
}

.page-faq .faq-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 20, 40, 0.3);
}

.page-faq .faq-contact-row:last-child {
  border-bottom: 0;
}

.page-faq .faq-contact-row dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-mono);
}

.page-faq .faq-contact-row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-primary);
  word-break: break-all;
}

.page-faq .faq-contact-row dd code {
  font-family: var(--font-mono);
  background: rgba(62, 180, 212, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--cyan);
}

.page-faq .faq-contact-info > p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

/* ===== Trust ===== */
.page-faq .faq-trust {
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(62, 180, 212, 0.1) 0%, transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(10, 20, 40, 0.6) 100%);
}

.page-faq .faq-trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 720px;
}

.page-faq .faq-trust-shield {
  flex-shrink: 0;
}

.page-faq .faq-trust-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.page-faq .faq-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.page-faq .faq-trust-actions .btn {
  padding: 11px 22px;
}

/* ===== Desktop ≥ 720px ===== */
@media (min-width: 720px) {
  .page-faq .faq-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .faq-stat {
    padding: 22px 20px;
  }

  .page-faq .faq-contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-faq .faq-contact-media {
    height: 100%;
  }

  .page-faq .faq-contact-media img {
    max-height: none;
    height: 100%;
    object-fit: cover;
  }

  .faq-contact-info {
    padding: 30px 28px 32px;
  }
}

/* ===== Desktop ≥ 960px ===== */
@media (min-width: 960px) {
  .page-faq .faq-layout {
    grid-template-columns: var(--faq-index-width) minmax(0, 1fr);
    gap: 56px;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 90px;
    z-index: 4;
    padding: 24px 20px;
  }

  .page-faq .faq-index-nav {
    flex-direction: column;
    gap: 4px;
  }

  .page-faq .faq-index-link {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .page-faq .faq-section-head {
    margin-bottom: 26px;
  }

  .page-faq .faq-section {
    margin-bottom: 72px;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item summary::after {
    transition: none;
  }

  .page-faq .faq-more-link {
    transition: none;
  }
}
