.page-faq {
  --faq-radius: 20px;
  --faq-item-radius: 14px;
  --faq-time-bg: rgba(232, 163, 61, 0.12);
  background: var(--tx-snow);
}

/* ===== Hero 区域 ===== */
.page-faq-hero {
  padding: 28px 0 8px;
}

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

.page-faq-hero-grid {
  display: grid;
  gap: 24px;
  margin-top: 12px;
}

.page-faq-hero-copy .tx-display {
  font-size: clamp(42px, 7vw, 60px);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.page-faq-hero-copy .tx-lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(32, 33, 58, 0.72);
  max-width: 460px;
}

.page-faq-hero-media {
  border-radius: var(--faq-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
}

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

/* ===== 常见问题导航 ===== */
.page-faq-catnav {
  padding: 12px 0 6px;
}

.page-faq-catnav .tx-eyebrow {
  margin-bottom: 14px;
  display: block;
}

.page-faq-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

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

.page-faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tx-stone);
  font-family: var(--tx-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-faq-pill-num {
  font-family: var(--tx-mono);
  font-size: 12px;
  color: var(--tx-prayer-red);
  letter-spacing: 0.02em;
}

.page-faq-pill:hover {
  border-color: var(--tx-lake);
  background: rgba(47, 168, 160, 0.08);
  color: var(--tx-ink);
}

/* ===== 双栏主体 ===== */
.page-faq-body {
  padding: 24px 0 72px;
}

.page-faq-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

/* ===== 左侧索引 ===== */
.page-faq-index {
  display: grid;
  gap: 18px;
}

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

.page-faq-index-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--tx-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--tx-ink);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--tx-stone);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.page-faq-index-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tx-prayer-red);
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.page-faq-index-link:hover {
  border-color: var(--tx-lake);
  color: var(--tx-night);
}

.page-faq-index-link:hover .page-faq-index-dot {
  opacity: 1;
}

.page-faq-index-card {
  background: var(--tx-night);
  border-radius: var(--faq-radius);
  padding: 24px 18px;
  color: #ffffff;
  text-align: center;
}

.page-faq-update-time {
  display: block;
  font-size: 44px;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.page-faq-update-text {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.page-faq-update-sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== 右侧内容区 ===== */
.page-faq-content {
  display: grid;
  gap: 40px;
  min-width: 0;
}

.page-faq-section .tx-h2 {
  font-size: 26px;
  font-family: var(--tx-display);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  position: relative;
  color: var(--tx-ink);
}

.page-faq-section .tx-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--tx-prayer-red), var(--tx-prayer-yellow));
}

/* ===== 单个问答折叠 ===== */
.page-faq-list {
  display: grid;
  gap: 12px;
}

.page-faq-item {
  background: #ffffff;
  border: 1px solid var(--tx-stone);
  border-radius: var(--faq-item-radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-faq-item[open] {
  border-color: var(--tx-lake);
  box-shadow: 0 4px 16px rgba(47, 168, 160, 0.12);
}

.page-faq-item summary {
  cursor: pointer;
  padding: 16px 46px 16px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--tx-ink);
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease;
}

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

.page-faq-item summary::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: var(--tx-prayer-red);
  opacity: 0.65;
}

.page-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--tx-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--tx-lake);
  transition: transform 0.2s ease;
}

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

.page-faq-item[open] summary {
  background: rgba(47, 168, 160, 0.04);
}

.page-faq-answer {
  padding: 0 18px 18px 44px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(32, 33, 58, 0.82);
}

.page-faq-answer p {
  margin: 0;
}

.page-faq-answer a {
  color: var(--tx-lake);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ===== 更新时间流程图 ===== */
.page-faq-update-flow {
  border-radius: var(--faq-radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--tx-shadow);
}

.page-faq-update-flow img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 深色 PC 端资料区 ===== */
.page-faq-section--dark {
  background: var(--tx-night);
  border-radius: var(--faq-radius);
  padding: 28px 20px;
}

.page-faq-section--dark .tx-h2 {
  color: #ffffff;
}

.page-faq-section--dark .tx-h2::after {
  background: linear-gradient(90deg, var(--tx-dpurple), var(--tx-lake));
}

.page-faq-section--dark .page-faq-item {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-faq-section--dark .page-faq-item summary {
  color: rgba(255, 255, 255, 0.94);
}

.page-faq-section--dark .page-faq-item summary::before {
  background: var(--tx-dpurple);
}

.page-faq-section--dark .page-faq-item summary::after {
  color: var(--tx-dpurple);
}

.page-faq-section--dark .page-faq-item[open] {
  border-color: rgba(107, 79, 160, 0.65);
  box-shadow: 0 4px 16px rgba(107, 79, 160, 0.2);
}

.page-faq-section--dark .page-faq-item[open] summary {
  background: rgba(107, 79, 160, 0.16);
}

.page-faq-section--dark .page-faq-answer {
  color: rgba(255, 255, 255, 0.76);
}

.page-faq-section--dark .page-faq-answer a {
  color: var(--tx-lake);
}

/* ===== 联系品牌 ===== */
.page-faq-contact {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.page-faq-contact-item {
  background: #ffffff;
  border: 1px solid var(--tx-stone);
  border-radius: var(--faq-item-radius);
  padding: 20px 18px;
}

.page-faq-contact-item .tx-h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(32, 33, 58, 0.58);
  letter-spacing: 0.04em;
}

.page-faq-contact-item .tx-data {
  font-size: 16px;
  line-height: 1.5;
  color: var(--tx-ink);
  word-break: break-all;
}

.page-faq-address {
  font-size: 15px;
}

.page-faq-contact-item .tx-muted {
  font-size: 13px;
  color: rgba(32, 33, 58, 0.52);
  margin-top: 6px;
  line-height: 1.5;
}

.page-faq-contact-note {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(32, 33, 58, 0.64);
  background: var(--faq-time-bg);
  border-left: 3px solid var(--tx-prayer-yellow);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 12px;
}

.page-faq-contact-direct {
  font-size: 13px;
  color: rgba(32, 33, 58, 0.6);
}

.page-faq-contact-direct a {
  color: var(--tx-lake);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 返回顶部 ===== */
.page-faq-backtop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.page-faq-backtop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== 滚动显现（渐进增强） ===== */
.page-faq.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease var(--tx-reveal-delay, 0s);
}

.page-faq.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 移动端优先结束，桌面端适配 ===== */
@media (min-width: 900px) {
  .page-faq-hero {
    padding: 36px 0 8px;
  }

  .page-faq-hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
    gap: 48px;
    align-items: center;
  }

  .page-faq-catnav {
    padding: 12px 0 8px;
  }

  .page-faq-catnav .tx-eyebrow {
    text-align: center;
  }

  .page-faq-pills {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .page-faq-body {
    padding: 32px 0 96px;
  }

  .page-faq-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
  }

  .page-faq-index {
    position: sticky;
    top: 104px;
  }

  .page-faq-index-nav {
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--tx-stone);
    border-radius: var(--faq-radius);
    padding: 12px;
  }

  .page-faq-index-link {
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    background: transparent;
  }

  .page-faq-index-link:hover {
    background: rgba(47, 168, 160, 0.08);
  }

  .page-faq-index-card {
    padding: 28px 20px;
  }

  .page-faq-section .tx-h2 {
    font-size: 30px;
  }

  .page-faq-section--dark {
    padding: 32px 28px;
  }

  .page-faq-contact {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-faq-contact-item {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq.js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-faq-item summary::after {
    transition: none;
  }
}

.page-faq {
  --tx-reveal-delay: 0.3s;
}
