.page-faq {
  --faq-line: rgba(27, 122, 52, 0.16);
  --faq-line-strong: rgba(27, 122, 52, 0.34);
  background: var(--green-pale);
}

/* ===== Hero ===== */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(120deg, var(--green-deep) 0%, var(--green) 70%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  color: #fff;
}
.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 0;
  width: 44%;
  height: 140%;
  background: linear-gradient(148deg, transparent 30%, rgba(255, 90, 31, 0.36) 31%, rgba(255, 90, 31, 0.36) 33%, transparent 34%);
  pointer-events: none;
}
.page-faq .faq-hero__inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 40px 20px 52px;
  position: relative;
  z-index: 1;
}
.page-faq .faq-hero .breadcrumb {
  margin-bottom: 36px;
}
.page-faq .faq-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.page-faq .faq-hero .breadcrumb a:hover,
.page-faq .faq-hero .breadcrumb a:focus-visible {
  color: var(--orange);
  outline: none;
}
.page-faq .faq-hero .breadcrumb .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}
.page-faq .faq-hero .breadcrumb [aria-current="page"] {
  color: #fff;
}
.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.page-faq .faq-hero__kicker {
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.page-faq .faq-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.01em;
  color: #fff;
}
.page-faq .faq-hero__lead {
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}
.page-faq .faq-hero__aside {
  border-left: 2px solid var(--orange);
  padding: 8px 0 8px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.page-faq .faq-hero__coord {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
}
.page-faq .faq-hero__aside p:last-child {
  margin-bottom: 0;
}
@media (min-width: 860px) {
  .page-faq .faq-hero__inner {
    padding: 52px 32px 64px;
  }
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: end;
  }
}

/* ===== 主体两栏布局 ===== */
.page-faq .faq-layout {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 36px 20px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

/* ===== 左侧栏 ===== */
.page-faq .faq-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
.page-faq .faq-index-card,
.page-faq .faq-contact-card,
.page-faq .faq-stats {
  padding: 20px;
}
.page-faq .faq-index-card {
  background: var(--paper);
  border: 1px solid var(--faq-line);
  box-shadow: 6px 6px 0 rgba(11, 59, 26, 0.05);
}
.page-faq .faq-side__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}
.page-faq .faq-side__nav {
  font-size: 14px;
}
.page-faq .faq-side__group {
  margin-bottom: 8px;
}
.page-faq .faq-side__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--faq-line-strong);
}
.page-faq .faq-side__cat:hover,
.page-faq .faq-side__cat:focus-visible {
  color: var(--green);
  outline: none;
}
.page-faq .faq-side__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.page-faq .faq-side__list {
  list-style: none;
  margin: 0 0 6px;
  padding: 8px 0 4px 38px;
}
.page-faq .faq-side__list li {
  margin: 0;
}
.page-faq .faq-side__list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  line-height: 1.4;
}
.page-faq .faq-side__list a:hover,
.page-faq .faq-side__list a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
  outline: none;
}

/* ===== 联系卡片 ===== */
.page-faq .faq-contact-card {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}
.page-faq .faq-contact-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 88px;
  height: 88px;
  background: var(--orange);
  transform: rotate(16deg);
}
.page-faq .faq-contact-card .faq-side__title {
  border-bottom-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.page-faq .faq-contact-card p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.page-faq .faq-contact-card .faq-email {
  font-family: var(--font-mono);
  word-break: break-all;
  color: #fff;
  font-weight: 700;
}
.page-faq .faq-contact-card .btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}
.page-faq .faq-contact-card .btn--ghost:hover,
.page-faq .faq-contact-card .btn--ghost:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  outline: none;
}

/* ===== 数据速览 ===== */
.page-faq .faq-stats {
  background: var(--paper);
  border: 1px dashed var(--sand);
}
.page-faq .faq-stats dt,
.page-faq .faq-stats dd {
  margin: 0;
}
.page-faq .faq-stats dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin: 0;
}
.page-faq .faq-stat dt {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--green);
}
.page-faq .faq-stat dd {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.35;
}

/* ===== 右侧答案区 ===== */
.page-faq .faq-content {
  display: grid;
  gap: 40px;
  align-content: start;
}
.page-faq .faq-section {
  scroll-margin-top: 24px;
}
.page-faq .faq-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.page-faq .faq-section__index {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 6px 10px;
}
.page-faq .faq-section__intro h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: var(--ink);
}
.page-faq .faq-section__intro p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}

/* ===== FAQ 条目 ===== */
.page-faq .faq-list {
  display: grid;
  gap: 10px;
}
.page-faq .faq-item {
  background: var(--paper);
  border: 1px solid var(--faq-line);
  transition: box-shadow 0.2s ease;
}
.page-faq .faq-item[open] {
  box-shadow: 0 14px 34px rgba(11, 59, 26, 0.1);
}
.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}
.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}
.page-faq .faq-item__num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.page-faq .faq-item__q {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}
.page-faq .faq-item__icon {
  flex: 0 0 14px;
  position: relative;
  width: 14px;
  height: 14px;
}
.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 0.24s ease;
}
.page-faq .faq-item__icon::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}
.page-faq .faq-item__icon::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}
.page-faq .faq-item[open] .faq-item__icon::after {
  transform: scaleY(0);
}

/* ===== 答案区 ===== */
.page-faq .faq-item__a {
  padding: 0 18px 20px 66px;
  border-top: 1px solid var(--faq-line);
  background-image: repeating-linear-gradient(-45deg, rgba(27, 122, 52, 0.03) 0, rgba(27, 122, 52, 0.03) 1px, transparent 1px, transparent 12px);
}
.page-faq .faq-item__a > p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink);
}
.page-faq .faq-item__a a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-faq .faq-item__a a:hover,
.page-faq .faq-item__a a:focus-visible {
  color: var(--orange);
  outline: none;
}
.page-faq .faq-item__a .faq-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
}
.page-faq .faq-item__a .faq-email {
  font-family: var(--font-mono);
  word-break: break-all;
  color: var(--green-deep);
}
.page-faq .faq-item__media {
  margin: 18px 0 0;
}
.page-faq .faq-item__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--faq-line);
  background: var(--green-pale);
}
.page-faq .faq-item__media figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--slate);
}

/* ===== 底部卡片 ===== */
.page-faq .faq-bottom-card {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}
.page-faq .faq-bottom-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 6px;
  background: var(--orange);
  margin-bottom: 10px;
}
.page-faq .faq-bottom-card p {
  margin: 0;
}
.page-faq .faq-bottom-card a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-faq .faq-bottom-card a:hover,
.page-faq .faq-bottom-card a:focus-visible {
  color: var(--orange);
  outline: none;
}

/* ===== 展开动画 ===== */
@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-faq .faq-item[open] .faq-item__a {
  animation: faq-fade-in 0.3s ease both;
}
@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open] .faq-item__a {
    animation: none;
  }
}

/* ===== 桌面断点 ===== */
@media (min-width: 900px) {
  .page-faq .faq-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    padding: 44px 24px 88px;
  }
  .page-faq .faq-side {
    position: sticky;
    top: 24px;
  }
}

/* ===== 窄屏微调 ===== */
@media (max-width: 520px) {
  .page-faq .faq-item summary {
    padding: 14px 12px;
  }
  .page-faq .faq-item__num {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .page-faq .faq-item__q {
    font-size: 15px;
  }
  .page-faq .faq-item__a {
    padding-left: 14px;
    padding-right: 14px;
  }
  .page-faq .faq-layout {
    padding-left: 14px;
    padding-right: 14px;
  }
}
