.page-contact {
  --c-hair: rgba(138, 154, 180, .22);
  --c-hair-soft: rgba(138, 154, 180, .13);
  background: var(--ink-900);
  color: var(--text);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-contact .contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 58px;
  background: var(--ink-800);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.page-contact .contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.page-contact .contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(255, 138, 61, .18) 0%, transparent 58%),
    linear-gradient(158deg, rgba(7, 12, 24, .55) 0%, rgba(7, 12, 24, .86) 58%, rgba(14, 23, 40, .97) 100%);
}

.page-contact .contact-hero-inner {
  position: relative;
  z-index: 2;
}

.page-contact .contact-hero h1 {
  margin: 18px 0 0;
  max-width: 15em;
  font-size: clamp(36px, 8.4vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.page-contact .contact-lead {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-dim);
}

/* ---------- 章节通用 ---------- */
.page-contact .contact-section {
  padding: clamp(56px, 9vw, 96px) 0 0;
}

.page-contact .contact-section h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.page-contact .section-note {
  margin: 14px 0 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

/* ---------- 诉求分类 ---------- */
.page-contact .type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}

.page-contact .type-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-hair);
  background: linear-gradient(180deg, rgba(23, 26, 33, .95) 0%, rgba(14, 23, 40, .9) 100%);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-contact .type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 227, 193, .55);
  box-shadow: 0 22px 46px -26px rgba(79, 227, 193, .6);
}

.page-contact .type-num {
  display: block;
  font-family: var(--font-narrow);
  font-size: 32px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--mint);
}

.page-contact .type-card h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-contact .type-card > p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-contact .type-need {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--c-hair);
  display: grid;
  gap: 9px;
}

.page-contact .type-need li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.page-contact .type-need li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- 表单说明 ---------- */
.page-contact .contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 34px;
}

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

.page-contact .field-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-hair-soft);
  background: rgba(23, 26, 33, .72);
}

.page-contact .field-key {
  padding-top: 3px;
  font-family: var(--font-narrow);
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--mint);
}

.page-contact .field-val {
  font-size: 15px;
  line-height: 1.75;
  color: var(--silver);
}

.page-contact .field-val strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
}

.page-contact .form-foot {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-contact .contact-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-hair);
  background: linear-gradient(170deg, var(--ink-700) 0%, var(--ink-900) 100%);
}

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

.page-contact .contact-figure figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--c-hair-soft);
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 联系方式说明牌 ---------- */
.page-contact .contact-panel {
  margin-top: 34px;
  padding: clamp(24px, 4.4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: #16202F;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  box-shadow: 0 30px 70px -46px rgba(79, 227, 193, .55);
}

.page-contact .panel-item {
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-contact .panel-label {
  font-size: 12px;
  letter-spacing: .18em;
  color: #7A8290;
}

.page-contact .panel-value {
  display: block;
  font-family: var(--font-narrow);
  font-size: clamp(19px, 3.6vw, 27px);
  line-height: 1.34;
  letter-spacing: .02em;
  color: #0B1524;
  word-break: break-word;
}

.page-contact .panel-value--text {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.7;
  font-weight: 600;
}

.page-contact .panel-hint {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: #5C6675;
}

/* ---------- 合作流程 ---------- */
.page-contact .flow-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-contact .flow-step {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-hair);
  background: rgba(14, 23, 40, .7);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-contact .flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 227, 193, .45);
}

.page-contact .flow-num {
  display: inline-block;
  padding: 3px 13px;
  border-radius: var(--pill);
  background: var(--mint);
  color: var(--ink-900);
  font-family: var(--font-narrow);
  font-size: 15px;
  letter-spacing: .12em;
}

.page-contact .flow-step h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-contact .flow-step > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-contact .flow-need {
  list-style: none;
  margin: 16px 0 0;
  padding: 13px 0 0;
  border-top: 1px dashed var(--c-hair);
  display: grid;
  gap: 8px;
}

.page-contact .flow-need li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--silver);
}

.page-contact .flow-need li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 7px;
  height: 1px;
  background: var(--mint);
}

/* ---------- 尾段指引 ---------- */
.page-contact .contact-next-line {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--c-hair-soft);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-dim);
}

.page-contact .contact-next-line a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 227, 193, .4);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-contact .contact-next-line a:hover {
  color: var(--orange);
  border-bottom-color: rgba(255, 138, 61, .7);
}

.page-contact .contact-steps {
  padding-bottom: clamp(64px, 10vw, 110px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-contact .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .page-contact .contact-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (min-width: 900px) {
  .page-contact .contact-hero {
    padding: calc(var(--header-h) + 66px) 0 74px;
  }

  .page-contact .contact-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 34px;
    align-items: start;
  }

  .page-contact .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .page-contact .flow-step::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -28px;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--mint) 0%, rgba(79, 227, 193, 0) 100%);
  }

  .page-contact .flow-step:last-child::after {
    display: none;
  }
}

@media (min-width: 1180px) {
  .page-contact .contact-hero h1 {
    max-width: 13em;
  }

  .page-contact .type-card {
    padding: 30px 28px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .type-card,
  .page-contact .flow-step,
  .page-contact .contact-next-line a {
    transition: none;
  }

  .page-contact .type-card:hover,
  .page-contact .flow-step:hover {
    transform: none;
  }
}
