.page-contact {
  position: relative;
  background: var(--pitch-black);
  color: var(--ink);
  overflow-x: clip;
}

.page-contact .breadcrumb {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--gutter) 0;
}

/* ---------- 首屏 ---------- */
.page-contact .contact-hero {
  padding-block: 22px 52px;
}

.contact-hero__grid {
  display: grid;
  gap: 30px;
}

.contact-hero__intro {
  min-width: 0;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 11vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  color: var(--ink);
}

.contact-hero__lede {
  max-width: 46ch;
  color: var(--ink-2);
}

/* 联系方式块 */
.contact-block {
  margin: 30px 0 0;
  border-top: 1px solid var(--hairline);
}

.contact-block__row {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-block__key {
  color: var(--ink-3);
}

.contact-block__val {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(17px, 4.6vw, 23px);
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-block__val--plain {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.contact-block__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-3);
  border-left: 2px solid var(--hairline);
  padding-left: 14px;
}

/* 首屏配图 */
.contact-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--deep-green);
  clip-path: var(--cut-clip);
  aspect-ratio: 16 / 10;
}

.contact-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.contact-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 17, 0.78), rgba(7, 20, 17, 0.05) 58%, rgba(46, 230, 200, 0.14));
  pointer-events: none;
}

/* ---------- 章节索引带 ---------- */
.page-contact .chapter-band {
  border-block: 1px solid var(--hairline);
  background: var(--deep-green);
}

.chapter-band__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chapter-band__inner::-webkit-scrollbar {
  display: none;
}

.page-contact .chapter-link {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-block: 15px;
}

/* ---------- 分栏区块 ---------- */
.page-contact .contact-split {
  padding-block: 54px;
}

.contact-split__grid {
  display: grid;
  gap: 26px;
}

.contact-split__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(27px, 6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
  color: var(--ink);
}

.contact-split__kicker {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 30ch;
}

.contact-split__main {
  min-width: 0;
}

.contact-split__main p {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 62ch;
}

.contact-split__main p:last-child {
  margin-bottom: 0;
}

.contact-split__main strong {
  color: var(--ink);
  font-weight: 500;
}

/* 回复节奏说明牌 */
.contact-spec {
  margin: 24px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.contact-spec .spec-list__item {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-spec .spec-list__term {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.contact-spec .spec-list__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* 纠错定位清单 */
.locate-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.locate-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  clip-path: var(--cut-clip);
  transition: border-color 0.24s var(--ease-out), background 0.24s var(--ease-out);
}

.locate-list__item:hover {
  border-color: #2a5f4e;
  background: var(--panel-raised);
}

.locate-list__idx {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--pitch-black);
  background: var(--cyan);
}

.locate-list__txt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.contact-inline-link {
  font-size: 14.5px;
  color: var(--ink-3);
}

.contact-inline-link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 230, 200, 0.4);
}

.contact-inline-link a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 中段宽幅图 ---------- */
.contact-banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--deep-green);
  border-block: 1px solid var(--hairline);
  max-height: 360px;
}

.contact-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  opacity: 0.9;
}

.contact-banner__cap {
  position: absolute;
  left: var(--gutter);
  bottom: 20px;
  right: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
}

.contact-banner__cap .idx {
  color: var(--amber);
}

.contact-banner__cap span:last-child {
  font-family: var(--font-display);
  font-size: clamp(16px, 3.2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* ---------- 合作卡片 ---------- */
.contact-lead {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 62ch;
}

.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.topic-card {
  position: relative;
  padding: 22px 22px 20px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  clip-path: var(--cut-clip);
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.topic-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.3s var(--ease-out);
}

.topic-card:hover,
.topic-card:focus-within {
  transform: translateY(-4px);
  border-color: #2a5f4e;
  background: var(--panel-raised);
}

.topic-card:hover::before,
.topic-card:focus-within::before {
  transform: scaleY(1);
}

.topic-card__idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.topic-card__title {
  margin: 9px 0 9px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.topic-card__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.74;
  color: var(--ink-2);
}

.topic-card__ready {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height 0.34s var(--ease-out), opacity 0.26s linear, margin-top 0.34s var(--ease-out), padding-top 0.34s var(--ease-out);
}

.topic-card:hover .topic-card__ready,
.topic-card:focus-within .topic-card__ready {
  max-height: 240px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 13px;
  border-top-color: var(--hairline);
}

.ready-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.ready-list li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink-3);
}

.ready-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 1px;
  background: var(--amber);
  transform: translateY(-4px);
}

.contact-foot-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-3);
  max-width: 62ch;
}

/* ---------- 自查清单 ---------- */
.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist__label {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 15px 17px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  clip-path: var(--cut-clip);
  cursor: pointer;
  transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out);
}

.checklist__label:hover {
  border-color: #2a5f4e;
  background: var(--panel-raised);
}

.checklist__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checklist__box {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  background: var(--pitch-black);
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.checklist__box svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: none;
  stroke: var(--pitch-black);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.18s linear;
}

.checklist__input:checked + .checklist__box {
  background: var(--cyan);
  border-color: var(--cyan);
}

.checklist__input:checked + .checklist__box svg {
  opacity: 1;
}

.checklist__input:focus-visible + .checklist__box {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.checklist__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  transition: color 0.2s linear;
}

.checklist__input:checked ~ .checklist__text {
  color: var(--ink-3);
}

/* ---------- 数据带 ---------- */
.page-contact .contact-band {
  padding-block: 56px;
}

.page-contact .contact-band .idx {
  color: var(--amber);
}

.contact-stats {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.contact-stats__item {
  position: relative;
  padding-left: 16px;
  border-left: 1px solid var(--hairline);
}

.contact-stats__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.contact-stats__label {
  display: block;
  margin-top: 9px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.contact-band__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 右侧竖向引导线 ---------- */
@media (min-width: 1200px) {
  .page-contact::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    width: 1px;
    background: linear-gradient(180deg, rgba(46, 230, 200, 0) 0%, rgba(46, 230, 200, 0.65) 14%, rgba(46, 230, 200, 0.65) 86%, rgba(46, 230, 200, 0) 100%);
    pointer-events: none;
  }
}

/* ---------- 平板起分栏 ---------- */
@media (min-width: 720px) {
  .contact-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-split {
    padding-block: 64px;
  }

  .contact-spec .spec-list__item {
    grid-template-columns: 200px 1fr;
    align-items: baseline;
    gap: 18px;
  }

  .contact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 34px;
  }
}

@media (min-width: 960px) {
  .contact-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: 46px;
    align-items: stretch;
  }

  .contact-hero__figure {
    aspect-ratio: auto;
    min-height: 380px;
    height: 100%;
  }

  .page-contact .contact-split {
    padding-block: 76px;
  }

  .contact-split__grid {
    grid-template-columns: 4fr 8fr;
    gap: 52px;
    align-items: start;
  }

  .contact-split__aside {
    position: sticky;
    top: 92px;
  }

  .page-contact .contact-band {
    padding-block: 72px;
  }

  .contact-band__actions {
    margin-top: 40px;
  }
}

@media (min-width: 1120px) {
  .contact-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 触摸设备：卡片信息常显 ---------- */
@media (hover: none) {
  .topic-card__ready {
    max-height: none;
    opacity: 1;
    margin-top: 16px;
    padding-top: 13px;
    border-top-color: var(--hairline);
  }

  .topic-card::before {
    transform: scaleY(1);
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .topic-card::before,
  .topic-card__ready,
  .locate-list__item,
  .checklist__box,
  .checklist__box svg,
  .checklist__text {
    transition: none !important;
  }

  .topic-card:hover,
  .topic-card:focus-within {
    transform: none;
  }

  .chapter-band__inner {
    scroll-behavior: auto;
  }
}
