/* ============ 答疑中心 · 页面专属样式 ============ */
.page-faq {
  --faq-pad: clamp(14px, 2.4vw, 22px);
  --faq-gap: clamp(10px, 1.5vw, 14px);
  background: var(--ah-ink);
  color: var(--ah-body-text);
  font-family: var(--ah-font-body);
  font-size: 16px;
  line-height: 1.9;
}

.page-faq *,
.page-faq *::before,
.page-faq *::after {
  box-sizing: border-box;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.4vw, 42px) 0 clamp(34px, 6vw, 66px);
  background: linear-gradient(180deg, #0d2136 0%, var(--ah-ink) 78%);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -34%;
  width: 84%;
  height: 152%;
  background: linear-gradient(206deg, rgba(79, 216, 208, 0.16) 0%, rgba(18, 54, 43, 0.84) 48%, rgba(11, 27, 43, 0) 100%);
  clip-path: polygon(28% 0, 100% 0, 76% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -30px;
  width: 48%;
  height: 110px;
  background: var(--ah-bronze);
  opacity: 0.16;
  transform: skewY(-4deg);
  pointer-events: none;
}

.page-faq .faq-crumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 30px);
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ah-stone);
}

.page-faq .faq-crumb a {
  color: var(--ah-dim);
  text-decoration: none;
  transition: color 0.25s var(--ah-ease);
}

.page-faq .faq-crumb a:hover,
.page-faq .faq-crumb a:focus-visible {
  color: var(--ah-cyan);
}

.page-faq .faq-crumb span[aria-current] {
  color: var(--ah-amber);
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.page-faq .faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-amber);
}

.page-faq .faq-hero__kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ah-amber);
}

.page-faq .faq-hero__title {
  margin: 0 0 18px;
  max-width: 620px;
  font-family: var(--ah-font-head);
  font-weight: 800;
  font-size: clamp(27px, 5.4vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--ah-bone);
}

.page-faq .faq-hero__lede {
  margin: 0 0 24px;
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.95;
  color: var(--ah-dim);
}

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

.page-faq .faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--ah-amber);
  border-radius: var(--ah-radius);
  background: var(--ah-amber);
  color: #0d1e2d;
  font-family: var(--ah-font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s var(--ah-ease), color 0.25s var(--ah-ease), border-color 0.25s var(--ah-ease);
}

.page-faq .faq-btn:hover,
.page-faq .faq-btn:focus-visible {
  background: transparent;
  color: var(--ah-amber);
}

.page-faq .faq-btn--ghost {
  background: transparent;
  border-color: rgba(245, 241, 232, 0.3);
  color: var(--ah-bone);
}

.page-faq .faq-btn--ghost:hover,
.page-faq .faq-btn--ghost:focus-visible {
  border-color: var(--ah-cyan);
  color: var(--ah-cyan);
}

.page-faq .faq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ah-line-soft);
}

.page-faq .faq-hero__fact dt {
  margin: 0 0 4px;
  font-family: var(--ah-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ah-stone);
}

.page-faq .faq-hero__fact dd {
  margin: 0;
  font-family: var(--ah-font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ah-amber);
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
  border: 1px solid rgba(122, 78, 29, 0.5);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ah-turf-deep);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.85);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.page-faq .faq-hero__media figcaption,
.page-faq .faq-figure figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  border-top: 1px solid rgba(122, 78, 29, 0.5);
  border-right: 1px solid rgba(122, 78, 29, 0.5);
  background: rgba(11, 27, 43, 0.82);
  font-family: var(--ah-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ah-stone);
}

/* ---------- 分类索引 ---------- */
.page-faq .faq-index {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(11, 27, 43, 0.94);
  border-top: 1px solid var(--ah-line-soft);
  border-bottom: 1px solid var(--ah-line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-faq .faq-index__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-faq .faq-index__inner::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-index__label {
  flex: none;
  padding-right: 12px;
  border-right: 1px solid var(--ah-line-soft);
  font-family: var(--ah-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-stone);
  white-space: nowrap;
}

.page-faq .faq-index__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .faq-index__link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(122, 78, 29, 0.55);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ah-body-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ah-ease), border-color 0.25s var(--ah-ease), background 0.25s var(--ah-ease);
}

.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus-visible {
  color: var(--ah-cyan);
  border-color: var(--ah-cyan);
  background: rgba(79, 216, 208, 0.08);
}

/* ---------- 章节骨架 ---------- */
.page-faq .faq-section {
  position: relative;
  padding: clamp(42px, 7vw, 82px) 0;
  scroll-margin-top: 76px;
}

.page-faq .faq-section--ink {
  background: var(--ah-ink);
}

.page-faq .faq-section--turf {
  background: linear-gradient(180deg, var(--ah-turf) 0%, var(--ah-turf-deep) 100%);
}

.page-faq .faq-section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 24px);
  align-items: start;
  margin-bottom: clamp(20px, 3.4vw, 34px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ah-line);
}

.page-faq .faq-section__index {
  padding-top: 3px;
  font-family: var(--ah-font-mono);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--ah-amber);
  opacity: 0.55;
}

.page-faq .faq-section__title {
  margin: 0 0 8px;
  font-family: var(--ah-font-head);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 30px);
  line-height: 1.3;
  color: var(--ah-bone);
}

.page-faq .faq-section__note {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ah-dim);
}

/* ---------- 问答列表 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: var(--faq-gap);
  max-width: 880px;
}

.page-faq .faq-item {
  border: 1px solid var(--ah-line-soft);
  border-radius: var(--ah-radius);
  background: rgba(245, 241, 232, 0.04);
  transition: border-color 0.3s var(--ah-ease), background 0.3s var(--ah-ease);
}

.page-faq .faq-item:hover {
  border-color: rgba(242, 169, 59, 0.36);
}

.page-faq .faq-item[open] {
  border-color: rgba(242, 169, 59, 0.5);
  background: rgba(245, 241, 232, 0.07);
}

.page-faq .faq-item__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px var(--faq-pad);
  min-height: 46px;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .faq-item__head::marker {
  content: "";
}

.page-faq .faq-item__head:focus-visible {
  outline: 2px solid var(--ah-cyan);
  outline-offset: -2px;
}

.page-faq .faq-item__num {
  flex: none;
  padding-top: 4px;
  font-family: var(--ah-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ah-amber);
}

.page-faq .faq-item__q {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--ah-font-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ah-bone);
}

.page-faq .faq-item__hot {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
  font-family: var(--ah-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ah-cyan);
}

.page-faq .faq-item__hot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ah-cyan);
  animation: faq-pulse 2s var(--ah-ease) infinite;
}

.page-faq .faq-item__sign {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border: 1px solid rgba(124, 135, 148, 0.55);
  border-radius: 50%;
  transition: transform 0.32s var(--ah-ease), border-color 0.32s var(--ah-ease);
}

.page-faq .faq-item__sign::before,
.page-faq .faq-item__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ah-amber);
  transform: translate(-50%, -50%);
  transition: opacity 0.32s var(--ah-ease), transform 0.32s var(--ah-ease);
}

.page-faq .faq-item__sign::before {
  width: 9px;
  height: 1.5px;
}

.page-faq .faq-item__sign::after {
  width: 1.5px;
  height: 9px;
}

.page-faq .faq-item[open] .faq-item__sign {
  transform: rotate(180deg);
  border-color: var(--ah-amber);
}

.page-faq .faq-item[open] .faq-item__sign::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-item__body {
  padding: 2px var(--faq-pad) 20px calc(var(--faq-pad) + 28px);
}

.page-faq .faq-item__body p {
  margin: 0 0 10px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.92;
  color: var(--ah-body-text);
}

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

.page-faq .faq-item__body a {
  color: var(--ah-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 216, 208, 0.4);
}

.page-faq .faq-item__body a:hover {
  border-bottom-color: var(--ah-cyan);
}

/* ---------- 回访记录检索 ---------- */
.page-faq .faq-revisit {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-faq .faq-revisit__text .faq-list {
  max-width: none;
}

.page-faq .faq-figure {
  position: relative;
  margin: 0;
  border: 1px solid rgba(122, 78, 29, 0.5);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ah-turf-deep);
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-faq .faq-lookup {
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(79, 216, 208, 0.28);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(79, 216, 208, 0.1), rgba(245, 241, 232, 0.04));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-faq .faq-lookup__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--ah-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ah-bone);
}

.page-faq .faq-lookup__title::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ah-cyan);
  animation: faq-pulse 2s var(--ah-ease) infinite;
}

.page-faq .faq-lookup__items {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-faq .faq-lookup__item {
  padding: 13px 15px;
  border: 1px solid var(--ah-line-soft);
  border-radius: var(--ah-radius);
  background: rgba(11, 27, 43, 0.5);
}

.page-faq .faq-lookup__k {
  display: block;
  margin-bottom: 6px;
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ah-amber);
}

.page-faq .faq-lookup__v {
  display: block;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ah-dim);
}

/* ---------- 联系客服 ---------- */
.page-faq .faq-contact {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}

.page-faq .faq-contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ah-line-soft);
}

.page-faq .faq-contact__row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ah-line-soft);
}

.page-faq .faq-contact__k {
  font-family: var(--ah-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ah-stone);
}

.page-faq .faq-contact__v {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ah-bone);
  word-break: break-word;
}

.page-faq .faq-contact__note {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(122, 78, 29, 0.5);
  border-radius: 6px;
  background: rgba(11, 27, 43, 0.42);
}

.page-faq .faq-contact__note p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ah-body-text);
}

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

.page-faq .faq-contact__note a {
  color: var(--ah-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 216, 208, 0.4);
}

.page-faq .faq-contact__note a:hover {
  border-bottom-color: var(--ah-cyan);
}

/* ---------- 动效 ---------- */
@keyframes faq-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.75);
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-faq .faq-contact__row {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

@media (min-width: 620px) {
  .page-faq .faq-lookup__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-faq .faq-revisit {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(28px, 4vw, 52px);
  }

  .page-faq .faq-contact {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(26px, 4vw, 48px);
  }
}

@media (min-width: 920px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 5vw, 64px);
  }
}

@media (max-width: 719px) {
  .page-faq .faq-hero::before {
    top: auto;
    bottom: -20%;
    right: -46%;
    width: 96%;
    height: 108%;
    clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-faq .faq-item__hot {
    display: none;
  }

  .page-faq .faq-item__body {
    padding-left: var(--faq-pad);
  }

  .page-faq .faq-crumb {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__hot::before,
  .page-faq .faq-lookup__title::before {
    animation: none;
  }

  .page-faq .faq-item__sign,
  .page-faq .faq-item__sign::before,
  .page-faq .faq-item__sign::after,
  .page-faq .faq-btn {
    transition: none;
  }
}
