/* ===== 支持中心 FAQ 页面专属样式 ===== */
.page-faq {
  --faq-line: #D9DEE4;
  --faq-code: "Oswald", "Bahnschrift", "Arial Narrow", "Impact", sans-serif;
  --faq-nav-w: 260px;
}

/* ---------- 顶部横幅 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.page-faq .faq-hero::before,
.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  display: none;
}

.page-faq .faq-hero::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -70px;
  border: 2px dashed rgba(255, 255, 255, 0.16);
}

.page-faq .faq-hero::after {
  width: 120px;
  height: 120px;
  right: 42px;
  top: 28px;
  border: 2px solid rgba(255, 107, 53, 0.5);
}

.page-faq .faq-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 28px;
}

.page-faq .faq-hero__content .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-family: var(--font-body);
  margin-bottom: 14px;
}

.page-faq .faq-hero__content .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-hero__content .breadcrumb a:hover,
.page-faq .faq-hero__content .breadcrumb a:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.page-faq .faq-hero__kicker {
  font-family: var(--faq-code);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 18px 0 8px;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--white);
}

.page-faq .faq-hero__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0;
}

.page-faq .faq-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.page-faq .faq-hero__rule {
  height: 8px;
  margin-top: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 18px,
    rgba(255, 255, 255, 0.32) 18px 20px
  );
}

.page-faq .faq-hero__media {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  line-height: 0;
}

.page-faq .faq-hero__media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: -10px;
}

/* ---------- 控制台主体布局 ---------- */
.page-faq .faq-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 0;
}

/* ---------- 左侧分类栏 ---------- */
.page-faq .faq-rail {
  background: var(--navy);
  color: var(--white);
  padding: 18px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-faq .faq-rail__eyebrow {
  font-family: var(--faq-code);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}

.page-faq .faq-cat-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 2px;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.page-faq .faq-cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.page-faq .faq-cat-link:hover,
.page-faq .faq-cat-link:focus-visible {
  color: var(--white);
  border-bottom-color: var(--orange);
  background: rgba(255, 107, 53, 0.12);
}

.page-faq .faq-cat-link__num {
  font-family: var(--faq-code);
  color: var(--orange);
  font-size: 12px;
}

.page-faq .faq-rail__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.75);
}

.page-faq .faq-rail__note {
  margin-top: 12px;
  padding-left: 10px;
  border-left: 2px solid var(--moss);
  font-size: 13px;
  line-height: 1.6;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 问题分区 ---------- */
.page-faq .faq-content {
  min-width: 0;
}

.page-faq .faq-section {
  margin-bottom: 44px;
  scroll-margin-top: 24px;
}

.page-faq .faq-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.page-faq .faq-section__head h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.5px;
}

/* ---------- 手风琴面板 ---------- */
.page-faq .faq-item {
  background: var(--cream);
  border: 1px solid var(--faq-line);
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-faq .faq-item:hover {
  border-color: var(--navy);
  box-shadow: 4px 4px 0 rgba(10, 31, 68, 0.08);
}

.page-faq .faq-item summary {
  list-style: none;
  list-style-type: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
  transition: background 0.2s;
}

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

.page-faq .faq-item summary:hover {
  background: rgba(255, 107, 53, 0.06);
}

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.page-faq .faq-item__q {
  flex: 1;
  transition: color 0.2s;
}

.page-faq .faq-item summary:hover .faq-item__q {
  color: var(--orange);
}

.page-faq .faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--navy);
  transition: transform 0.25s ease, background 0.2s, border-color 0.2s;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--navy);
  transition: transform 0.25s ease, background 0.2s;
}

.page-faq .faq-item__icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

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

.page-faq .faq-item[open] .faq-item__icon {
  transform: rotate(90deg);
  background: var(--orange);
  border-color: var(--orange);
}

.page-faq .faq-item[open] .faq-item__icon::before,
.page-faq .faq-item[open] .faq-item__icon::after {
  background: var(--white);
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

/* ---------- 状态指示灯 ---------- */
.page-faq .faq-item__dot {
  width: 11px;
  height: 11px;
  margin-top: 6px;
  flex-shrink: 0;
  border-radius: 50%;
}

.page-faq .faq-item__dot--ok {
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(122, 139, 90, 0.16);
}

.page-faq .faq-item__dot--sync {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.16);
}

/* ---------- 答案内容 ---------- */
.page-faq .faq-item__a {
  margin-left: 46px;
  padding: 14px 18px 18px 0;
  border-top: 1px dashed var(--faq-line);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-faq .faq-item__a p {
  margin: 0 0 8px;
}

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

.page-faq .faq-item__a a {
  color: var(--navy);
  border-bottom: 1px solid var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-item__a a:hover,
.page-faq .faq-item__a a:focus-visible {
  color: var(--orange);
  border-bottom-color: transparent;
}

.page-faq .faq-mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.93em;
  background: rgba(10, 31, 68, 0.06);
  padding: 2px 6px;
  border-radius: 2px;
  word-break: break-all;
}

@keyframes faq-fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq .faq-item[open] .faq-item__a {
  animation: faq-fadein 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open] .faq-item__a {
    animation: none;
  }
  .page-faq .faq-item__icon {
    transition: none;
  }
}

/* ---------- 反馈流程图 ---------- */
.page-faq .faq-feedback-figure {
  margin: 24px 0 0;
  background: var(--white);
  border: 1px solid var(--faq-line);
  padding: 12px;
}

.page-faq .faq-feedback-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-faq .faq-feedback-figure figcaption {
  padding: 10px 4px 4px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

/* ---------- 底部联系状态卡 ---------- */
.page-faq .faq-contact-strip {
  margin-top: 28px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-contact-strip::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0 22px,
    transparent 22px 40px
  );
}

.page-faq .faq-contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 32px;
  padding-bottom: 36px;
}

.page-faq .faq-contact-strip__eyebrow {
  font-family: var(--faq-code);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 6px;
}

.page-faq .faq-contact-strip h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--white);
}

.page-faq .faq-contact-strip__text p:last-child {
  max-width: 560px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.page-faq .faq-contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-faq .faq-contact-strip__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  padding: 9px 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-all;
}

.page-faq .faq-contact-strip__chip-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--orange);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 8px;
}

.page-faq .faq-contact-strip .btn-primary {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: var(--white);
}

.page-faq .faq-contact-strip .btn-primary:hover,
.page-faq .faq-contact-strip .btn-primary:focus-visible {
  background: transparent;
  color: var(--orange);
}

/* ---------- 桌面端 ---------- */
@media (min-width: 900px) {
  .page-faq .faq-hero::before,
  .page-faq .faq-hero::after {
    display: block;
  }

  .page-faq .faq-hero__content {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .page-faq .faq-hero__lead {
    font-size: 17px;
  }

  .page-faq .faq-shell {
    grid-template-columns: var(--faq-nav-w) 1fr;
    gap: 44px;
    align-items: start;
    padding-top: 56px;
  }

  .page-faq .faq-rail {
    position: sticky;
    top: 24px;
    padding: 24px;
  }

  .page-faq .faq-rail__eyebrow {
    margin-bottom: 14px;
  }

  .page-faq .faq-cat-nav {
    flex-direction: column;
    overflow: visible;
    gap: 0;
  }

  .page-faq .faq-cat-link {
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 11px 8px;
    white-space: normal;
  }

  .page-faq .faq-cat-link:hover,
  .page-faq .faq-cat-link:focus-visible {
    border-bottom: none;
    border-left-color: var(--orange);
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.12), transparent);
  }

  .page-faq .faq-section__head h2 {
    font-size: 28px;
  }

  .page-faq .faq-item summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  .page-faq .faq-item__a {
    font-size: 15px;
    padding-right: 24px;
  }

  .page-faq .faq-contact-strip__inner {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .page-faq .faq-contact-strip h2 {
    font-size: 30px;
  }
}
