.page-faq {
  --faq-hero-pad-x: 24px;
  --faq-radius: 6px;
  background: var(--moon);
  font-family: var(--font-body);
  color: var(--graphite);
  overflow-x: hidden;
}

/* ===================== Hero 区 ===================== */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 28px 20px 44px;
  background:
    linear-gradient(rgba(136, 192, 208, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 192, 208, .06) 1px, transparent 1px),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-light) 70%, var(--navy) 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .18;
  pointer-events: none;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.page-faq .faq-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.page-faq .faq-hero .breadcrumbs {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.page-faq .faq-hero .breadcrumb-link {
  color: var(--ice);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}

.page-faq .faq-hero .breadcrumb-link:hover {
  color: var(--orange);
}

.page-faq .faq-hero .breadcrumb-current {
  color: rgba(255, 255, 255, .78);
}

.page-faq .faq-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-faq .faq-hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  max-width: 760px;
}

.page-faq .faq-hero-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
}

.page-faq .faq-search {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 4px;
}

.page-faq .faq-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ice);
  pointer-events: none;
  z-index: 2;
}

.page-faq .faq-search .search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}

.page-faq .faq-search .search-input::placeholder {
  color: rgba(255, 255, 255, .65);
}

.page-faq .faq-search .search-input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, .16);
}

.page-faq .faq-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 6px;
}

.page-faq .faq-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
}

.page-faq .faq-meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.page-faq .faq-hero-media {
  position: relative;
  align-self: center;
  background: rgba(136, 192, 208, .1);
  padding: 10px;
}

.page-faq .faq-hero-media::before {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 36px;
  height: 36px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  pointer-events: none;
}

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

/* ===================== 主体布局 ===================== */
.page-faq .faq-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.page-faq .faq-toc {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: none;
  margin-bottom: 8px;
}

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

.page-faq .faq-toc-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mist);
  white-space: nowrap;
  flex-shrink: 0;
}

.page-faq .faq-toc-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.page-faq .faq-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--mist);
  color: var(--graphite);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}

.page-faq .faq-toc-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.page-faq .faq-toc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
}

.page-faq .faq-toc-btn {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 13px;
  padding: 8px 14px;
}

.page-faq .faq-toc-link--small {
  display: none;
}

.page-faq .faq-content {
  min-width: 0;
}

/* ===================== 内容区块 ===================== */
.page-faq .faq-section {
  padding-top: 36px;
  border-top: 1px solid var(--mist);
  margin-top: 36px;
}

.page-faq .faq-section:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.page-faq .section-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
}

.page-faq .section-title {
  margin: 6px 0 0;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-faq .section-title::before {
  content: "";
  width: 6px;
  height: 22px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}

.page-faq .section-lede {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

/* ===================== FAQ 手风琴 ===================== */
.page-faq .faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-faq .faq-item {
  position: relative;
  background: #fff;
  border-left: 3px solid var(--mist);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}

.page-faq .faq-item:hover {
  border-left-color: var(--orange);
  box-shadow: 0 4px 14px rgba(11, 29, 58, .08);
}

.page-faq .faq-item[open] {
  border-left-color: var(--orange);
}

.page-faq .faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--graphite);
}

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

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

.page-faq .faq-q-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}

.page-faq .faq-q-text {
  flex: 1;
}

.page-faq .faq-q-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.page-faq .faq-q-icon::before,
.page-faq .faq-q-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform .2s var(--ease-out);
}

.page-faq .faq-q-icon::before {
  width: 12px;
  height: 2px;
  top: 8px;
  left: 3px;
}

.page-faq .faq-q-icon::after {
  width: 2px;
  height: 12px;
  top: 3px;
  left: 8px;
}

.page-faq .faq-item[open] .faq-q-icon::after {
  transform: scaleY(0);
}

.page-faq .faq-a {
  padding: 0 18px 18px 50px;
  border-top: 1px solid var(--moon);
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-faq .faq-a p {
  margin: 12px 0 0;
}

/* ===================== 移动端兼容板块 ===================== */
.page-faq .faq-mobile-block {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.page-faq .faq-mobile-media {
  position: relative;
  padding: 10px;
  background: var(--navy);
}

.page-faq .faq-mobile-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

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

/* ===================== 联系支持 ===================== */
.page-faq .faq-contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.page-faq .faq-contact-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 24px 24px 28px;
  position: relative;
  display: grid;
  gap: 4px;
}

.page-faq .faq-contact-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--orange) transparent transparent;
  opacity: .85;
}

.page-faq .faq-contact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ice);
  text-transform: uppercase;
  margin-top: 6px;
}

.page-faq .faq-contact-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  word-break: break-all;
}

.page-faq .faq-contact-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
  margin-top: 4px;
}

.page-faq .faq-contact-cta {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--mist);
  border-left: 3px solid var(--orange);
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-faq .faq-contact-cta p {
  margin: 0 0 16px;
}

.page-faq .faq-contact-cta a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease-out);
}

.page-faq .faq-contact-cta a:hover {
  border-bottom-color: var(--orange);
}

.page-faq .faq-contact-cta .btn {
  text-decoration: none;
  border-bottom: 0;
}

/* ===================== 桌面端增强 ===================== */
@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 40px 40px 56px;
  }

  .page-faq .faq-hero-inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
  }

  .page-faq .faq-hero-lede {
    font-size: 16px;
  }

  .page-faq .faq-mobile-block {
    grid-template-columns: minmax(220px, 360px) 1fr;
    gap: 32px;
    align-items: start;
  }

  .page-faq .faq-contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 52px;
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .page-faq .faq-toc {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    border-left: 2px solid var(--navy);
    padding: 4px 0 4px 18px;
    margin-bottom: 0;
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }

  .page-faq .faq-toc-eyebrow {
    margin-bottom: 12px;
  }

  .page-faq .faq-toc-nav {
    flex-direction: column;
    gap: 2px;
  }

  .page-faq .faq-toc-link {
    border: none;
    padding: 9px 10px;
    font-size: 14px;
    position: relative;
  }

  .page-faq .faq-toc-link::before {
    content: "";
    position: absolute;
    left: -19px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    transform: translateY(-50%) scale(0);
    transition: transform .2s var(--ease-out);
  }

  .page-faq .faq-toc-link:hover::before {
    transform: translateY(-50%) scale(1);
  }

  .page-faq .faq-toc-btn {
    margin-left: 0;
    margin-top: 18px;
    align-self: flex-start;
    font-size: 14px;
    padding: 10px 16px;
  }

  .page-faq .faq-toc-link--small {
    display: inline-flex;
    margin-top: 10px;
    font-size: 13px;
  }

  .page-faq .faq-section {
    padding-top: 44px;
    margin-top: 44px;
  }

  .page-faq .section-title {
    font-size: 28px;
  }

  .page-faq .faq-item {
    border-left-width: 4px;
  }

  .page-faq .faq-q {
    padding: 18px 22px;
    font-size: 16px;
  }

  .page-faq .faq-a {
    padding: 0 22px 22px 56px;
  }
}
