.page-faq {
  --faq-radius: 18px;
  --faq-gap: 16px;
  overflow-x: hidden;
  background: var(--c-ivory);
  color: var(--c-ink);
}

/* ========== 英雄区 ========== */
.faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-night);
  background-image: linear-gradient(120deg, rgba(15, 76, 129, 0.45) 0%, rgba(11, 29, 58, 0.92) 55%, rgba(11, 29, 58, 1) 100%);
  padding: 64px 0 72px;
  color: var(--c-ivory);
}
.faq-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 58, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-yellow) 55%, var(--c-orange) 100%);
  z-index: 1;
}
.faq-hero-inner {
  position: relative;
  z-index: 2;
}
.faq-hero-mark {
  position: absolute;
  top: 28px;
  right: 16px;
  font-family: var(--font-d);
  font-size: 72px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  transform: skewX(-8deg);
  pointer-events: none;
  user-select: none;
}
.faq-hero .breadcrumbs {
  margin-bottom: 32px;
}
.faq-hero .breadcrumbs a {
  color: var(--c-yellow);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.faq-hero .breadcrumbs a:hover {
  opacity: 0.78;
}
.faq-hero .page-kicker {
  margin-bottom: 8px;
}
.faq-hero .page-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  transform: skewX(-4deg);
}
.faq-hero .page-desc {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(249, 246, 240, 0.82);
}

/* 搜索框示意 */
.faq-searchbox {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  margin-top: 32px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.faq-search-icon {
  flex: 0 0 auto;
  color: var(--c-green);
}
.faq-searchbox-text {
  flex: 1 1 auto;
  font-size: 15px;
  color: rgba(249, 246, 240, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faq-searchbox-hint {
  flex: 0 0 auto;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-yellow);
  border: 1px solid rgba(255, 201, 102, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ========== 主体双栏 ========== */
.faq-layout {
  padding-top: 56px;
  padding-bottom: 24px;
}
.faq-index {
  margin-bottom: 36px;
  background: var(--c-ivory);
  border: 1px solid var(--c-sand);
  border-radius: var(--faq-radius);
  overflow: hidden;
}
.faq-index-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}
.faq-index-body {
  padding: 20px;
}
.faq-index-kicker {
  margin: 0 0 4px;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green);
}
.faq-index-title {
  margin: 0 0 6px;
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.faq-index-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-slate);
}
.faq-index-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.faq-index-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-sand);
  font-size: 14px;
  color: var(--c-slate);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.faq-index-link:hover {
  border-color: var(--c-green);
  color: var(--c-ink);
  transform: translateY(-1px);
}
.faq-index-link.is-active {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}
.faq-index-num {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.72;
}
.faq-index-footnote {
  border-top: 1px solid var(--c-sand);
  padding-top: 16px;
}
.faq-index-footnote p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--c-slate);
}
.faq-index-footnote .btn {
  width: 100%;
  justify-content: center;
}

/* ========== 问答内容 ========== */
.faq-content {
  min-width: 0;
}
.faq-overview {
  margin-bottom: 28px;
  padding: 16px 18px;
  background: rgba(45, 156, 78, 0.08);
  border-left: 4px solid var(--c-green);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-slate);
}
.faq-overview .data-num {
  font-family: var(--font-m);
  font-weight: 700;
  color: var(--c-green);
  font-size: 16px;
}
.faq-overview a {
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 章节块 */
.faq-block {
  margin-bottom: 56px;
  scroll-margin-top: 96px;
}
.faq-block .chapter-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-sand);
  transition: border-color 0.25s ease;
}
.faq-block[data-active] .chapter-head {
  border-bottom-color: var(--c-green);
}
.faq-block .chapter-index {
  font-family: var(--font-m);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1;
}
.faq-block .chapter-title {
  margin: 0;
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}

/* 折叠面板 */
.faq-item {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--c-sand);
  border-radius: 12px;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.faq-item:hover {
  border-color: rgba(45, 156, 78, 0.5);
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.08);
}
.faq-item[data-active] {
  border-left: 4px solid var(--c-green);
}
.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-ink);
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-q-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-m);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--c-green);
  border: 1px solid rgba(45, 156, 78, 0.35);
  border-radius: 50%;
  transition: transform 0.26s ease, background 0.26s ease, color 0.26s ease;
}
.faq-item[open] .faq-q-icon {
  transform: rotate(45deg);
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}
.faq-answer {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-slate);
}
.faq-answer p {
  margin: 0 0 8px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer a {
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.faq-answer a:hover {
  color: var(--c-track);
}
.faq-item[open] .faq-answer {
  animation: faqReveal 0.3s ease-out;
}
@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 联系支持 ========== */
.faq-contact {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--c-night) 0%, var(--c-track) 100%);
  color: var(--c-ivory);
}
.faq-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-yellow) 0%, transparent 80%);
}
.faq-contact::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 156, 78, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.faq-contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.faq-contact-copy .eyebrow {
  margin-bottom: 6px;
  color: var(--c-yellow);
}
.faq-contact-title {
  margin: 0 0 12px;
  font-family: var(--font-d);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.faq-contact-desc {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(249, 246, 240, 0.82);
}
.faq-contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.faq-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.faq-contact-label {
  flex: 0 0 auto;
  min-width: 48px;
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-yellow);
  text-transform: uppercase;
  padding-top: 2px;
}
.faq-contact-value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ivory);
  word-break: break-all;
}
.faq-contact-btn {
  margin-top: 4px;
}
.faq-contact-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--faq-radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* ========== 平板 ========== */
@media (min-width: 768px) {
  .faq-hero {
    padding: 80px 0 88px;
  }
  .faq-hero-mark {
    font-size: 104px;
    right: 40px;
    top: 36px;
  }
  .faq-layout {
    padding-top: 64px;
  }
  .faq-block .chapter-title {
    font-size: 30px;
  }
  .faq-contact {
    padding: 72px 0 80px;
  }
  .faq-contact-title {
    font-size: 36px;
  }
  .faq-contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
  }
  .faq-contact-item {
    padding: 16px 20px;
  }
}

/* ========== 桌面 ========== */
@media (min-width: 960px) {
  .faq-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding-top: 72px;
  }
  .faq-index {
    position: sticky;
    top: 96px;
    margin-bottom: 0;
  }
  .faq-index-list {
    display: block;
    padding-bottom: 0;
    overflow: visible;
  }
  .faq-index-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    white-space: normal;
  }
  .faq-index-link:hover {
    border-color: var(--c-sand);
  }
  .faq-index-link.is-active {
    border-color: var(--c-green);
  }
  .faq-content {
    padding-bottom: 24px;
  }
}
