.page-contact {
  --fb-pad: clamp(18px, 2.4vw, 28px);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-contact .fb-hero {
  position: relative;
  background: var(--deep);
  color: var(--cream);
  padding: clamp(26px, 4vw, 48px) 0 clamp(72px, 9vw, 108px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
  overflow: hidden;
}

.page-contact .fb-hero::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -16%;
  width: 48%;
  height: 200%;
  background: linear-gradient(165deg, rgba(255, 107, 53, 0.5), rgba(242, 169, 59, 0.08));
  transform: rotate(13deg);
  pointer-events: none;
}

.page-contact .fb-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-contact .crumb {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(253, 246, 236, 0.6);
  margin-bottom: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-contact .crumb a {
  color: rgba(253, 246, 236, 0.82);
  text-decoration: none;
  border-bottom: 1px dashed rgba(253, 246, 236, 0.35);
  padding-bottom: 1px;
  transition: color 0.16s ease-out, border-color 0.16s ease-out;
}

.page-contact .crumb a:hover,
.page-contact .crumb a:focus-visible {
  color: var(--orange-soft);
  border-color: var(--orange-soft);
}

.page-contact .fb-h1 {
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 20ch;
}

.page-contact .fb-lead {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: rgba(253, 246, 236, 0.86);
  max-width: 60ch;
  margin: 0 0 clamp(22px, 3vw, 30px);
}

.page-contact .fb-hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-contact .fb-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(253, 246, 236, 0.26);
  background: rgba(253, 246, 236, 0.06);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(253, 246, 236, 0.88);
}

.page-contact .fb-hero-tag b {
  color: var(--cream);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.page-contact .fb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cd07d;
  box-shadow: 0 0 0 4px rgba(76, 208, 125, 0.18);
}

/* ---------- 区块通用 ---------- */
.page-contact .fb-section {
  padding: clamp(48px, 6.4vw, 88px) 0;
}

.page-contact .fb-section--paper {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-contact .fb-section--moss {
  background: linear-gradient(180deg, var(--cream) 0%, var(--moss) 100%);
}

/* ---------- 01 问题类型选择 ---------- */
.page-contact .fb-picker {
  margin-top: clamp(24px, 3vw, 36px);
}

.page-contact .fb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 2.6vw, 28px);
}

.page-contact .fb-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
  user-select: none;
  transition: background 0.16s ease-out, color 0.16s ease-out, border-color 0.16s ease-out, transform 0.16s ease-out;
}

.page-contact .fb-tab:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.page-contact .fb-tab-no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-contact .fb-radio:focus-visible ~ .fb-tabs .fb-tab[for="fb-t1"],
.page-contact .fb-radio:focus-visible ~ .fb-tabs .fb-tab[for="fb-t2"],
.page-contact .fb-radio:focus-visible ~ .fb-tabs .fb-tab[for="fb-t3"],
.page-contact .fb-radio:focus-visible ~ .fb-tabs .fb-tab[for="fb-t4"],
.page-contact .fb-radio:focus-visible ~ .fb-tabs .fb-tab[for="fb-t5"] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-contact #fb-t1:checked ~ .fb-tabs .fb-tab[for="fb-t1"],
.page-contact #fb-t2:checked ~ .fb-tabs .fb-tab[for="fb-t2"],
.page-contact #fb-t3:checked ~ .fb-tabs .fb-tab[for="fb-t3"],
.page-contact #fb-t4:checked ~ .fb-tabs .fb-tab[for="fb-t4"],
.page-contact #fb-t5:checked ~ .fb-tabs .fb-tab[for="fb-t5"] {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--cream);
}

.page-contact #fb-t1:checked ~ .fb-tabs .fb-tab[for="fb-t1"] .fb-tab-no,
.page-contact #fb-t2:checked ~ .fb-tabs .fb-tab[for="fb-t2"] .fb-tab-no,
.page-contact #fb-t3:checked ~ .fb-tabs .fb-tab[for="fb-t3"] .fb-tab-no,
.page-contact #fb-t4:checked ~ .fb-tabs .fb-tab[for="fb-t4"] .fb-tab-no,
.page-contact #fb-t5:checked ~ .fb-tabs .fb-tab[for="fb-t5"] .fb-tab-no {
  color: var(--amber);
}

.page-contact .fb-panel {
  display: none;
}

.page-contact #fb-t1:checked ~ .fb-panels .fb-panel--t1,
.page-contact #fb-t2:checked ~ .fb-panels .fb-panel--t2,
.page-contact #fb-t3:checked ~ .fb-panels .fb-panel--t3,
.page-contact #fb-t4:checked ~ .fb-panels .fb-panel--t4,
.page-contact #fb-t5:checked ~ .fb-panels .fb-panel--t5 {
  display: block;
}

.page-contact .fb-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: calc(var(--fb-pad) + 6px) var(--fb-pad) var(--fb-pad);
  box-shadow: var(--shadow-soft);
}

.page-contact .fb-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--fb-pad);
  width: 46px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

.page-contact .fb-panel-title {
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--deep);
  margin: 0 0 10px;
}

.page-contact .fb-panel-lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 62ch;
}

.page-contact .fb-need {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-contact .fb-need li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
}

.page-contact .fb-need li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.82em;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
}

/* ---------- 02 材料清单 ---------- */
.page-contact .fb-split {
  margin-top: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.page-contact .fb-figure {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--orange-soft) 0%, var(--cream) 55%, var(--mist) 100%);
}

.page-contact .fb-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-contact .fb-split-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 60ch;
}

.page-contact .fb-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-contact .fb-check-item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.16s ease-out, background 0.16s ease-out;
}

.page-contact .fb-check-item:hover {
  border-color: var(--blue);
  background: var(--white);
}

.page-contact .fb-check-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.page-contact .fb-check-box {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--white);
  transition: background 0.16s ease-out, border-color 0.16s ease-out;
}

.page-contact .fb-check-item input:checked ~ .fb-check-box {
  background: var(--orange);
  border-color: var(--orange);
}

.page-contact .fb-check-item input:checked ~ .fb-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.page-contact .fb-check-item input:focus-visible ~ .fb-check-box {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-contact .fb-check-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
}

.page-contact .fb-check-text strong {
  color: var(--deep);
  font-weight: 800;
}

/* ---------- 03 处理流程 ---------- */
.page-contact .fb-flow {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-contact .fb-step {
  position: relative;
  padding-left: 48px;
}

.page-contact .fb-step::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: -18px;
  border-left: 2px dashed var(--line);
}

.page-contact .fb-step:last-child::before {
  display: none;
}

.page-contact .fb-step-no {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.page-contact .fb-step-title {
  font-size: clamp(17px, 1.9vw, 19px);
  font-weight: 800;
  color: var(--deep);
  margin: 6px 0 8px;
  line-height: 1.4;
}

.page-contact .fb-step-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}

/* ---------- 04 门店合作 ---------- */
.page-contact .fb-partner-lead {
  margin: clamp(22px, 3vw, 30px) 0 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 64ch;
}

.page-contact .fb-partner {
  list-style: none;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-contact .fb-partner-item {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.1);
  border-radius: var(--r-card);
}

.page-contact .fb-partner-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 8px;
  line-height: 1.45;
}

.page-contact .fb-partner-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-contact .fb-partner-more {
  margin: clamp(22px, 3vw, 28px) 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink);
}

.page-contact .fb-partner-more a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 05 常见问题 ---------- */
.page-contact .fb-faq {
  list-style: none;
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-contact .fb-faq-item {
  padding: clamp(18px, 2.2vw, 24px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color 0.16s ease-out;
}

.page-contact .fb-faq-item:hover {
  border-color: var(--blue);
}

.page-contact .fb-faq-q {
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 8px;
  line-height: 1.5;
}

.page-contact .fb-faq-a {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

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

/* ---------- 06 联系方式 ---------- */
.page-contact .fb-reach-card {
  position: relative;
  margin-top: clamp(24px, 3vw, 34px);
  background: var(--deep);
  color: var(--cream);
  border-radius: var(--r-card);
  padding: clamp(24px, 3.4vw, 44px);
  overflow: hidden;
}

.page-contact .fb-reach-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.5), transparent 68%);
  pointer-events: none;
}

.page-contact .fb-reach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-contact .fb-reach-item {
  border-top: 1px dashed rgba(253, 246, 236, 0.24);
  padding-top: 16px;
}

.page-contact .fb-lbl {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 8px;
}

.page-contact .fb-reach-val {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--cream);
  word-break: break-word;
}

.page-contact .fb-reach-note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(253, 246, 236, 0.7);
}

.page-contact .fb-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 9px 16px;
  border: 1px solid rgba(253, 246, 236, 0.32);
  border-radius: 999px;
  background: rgba(253, 246, 236, 0.06);
  color: var(--cream);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.16s ease-out, border-color 0.16s ease-out;
}

.page-contact .fb-copy:hover,
.page-contact .fb-copy:focus-visible {
  background: rgba(46, 134, 255, 0.2);
  border-color: var(--blue);
}

.page-contact .fb-copy[data-copied] {
  background: rgba(46, 134, 255, 0.26);
  border-color: var(--blue);
}

.page-contact .fb-copy-hint {
  font-size: 12px;
  font-weight: 400;
  color: rgba(253, 246, 236, 0.62);
  letter-spacing: 0.02em;
}

.page-contact .fb-reach-more {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-mute);
}

.page-contact .fb-reach-more a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 返回顶部 ---------- */
.page-contact .fb-top {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--cream);
  border: 1px solid rgba(253, 246, 236, 0.2);
  box-shadow: var(--shadow-soft);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.16s ease-out, color 0.16s ease-out, transform 0.16s ease-out;
}

.page-contact .fb-top:hover,
.page-contact .fb-top:focus-visible {
  background: var(--orange);
  color: var(--deep);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-contact .fb-reach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }

  .page-contact .fb-partner {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact .fb-faq {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .page-contact .fb-split {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .page-contact .fb-figure--side {
    position: sticky;
    top: 92px;
  }
}

@media (min-width: 860px) {
  .page-contact .fb-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }

  .page-contact .fb-flow::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 17px;
    border-top: 2px dashed var(--line);
    z-index: 0;
  }

  .page-contact .fb-step {
    padding: 0 22px 0 0;
  }

  .page-contact .fb-step::before {
    display: none;
  }

  .page-contact .fb-step-text {
    max-width: none;
  }
}

@media (min-width: 1080px) {
  .page-contact .fb-faq {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .page-contact .fb-hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .page-contact .fb-tab {
    padding: 10px 14px;
    font-size: 14px;
  }

  .page-contact .fb-top {
    right: 12px;
    bottom: 80px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .fb-tab,
  .page-contact .fb-check-item,
  .page-contact .fb-faq-item,
  .page-contact .fb-copy,
  .page-contact .fb-top {
    transition: none;
  }

  .page-contact .fb-tab:hover,
  .page-contact .fb-top:hover {
    transform: none;
  }
}
