.page-contact {
  --ct-ink-soft: #3A3F38;
  background: var(--lx-cream);
  color: var(--lx-ink);
}

/* ============ 首屏 ============ */
.page-contact .ct-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 54px;
  background: var(--lx-green-900);
  color: var(--lx-paper);
}

.page-contact .ct-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-contact .ct-hero__bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44%;
  background: var(--lx-brick);
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
  opacity: .94;
}

.page-contact .ct-hero__inner {
  position: relative;
  display: grid;
  gap: 26px;
  align-items: center;
}

.page-contact .ct-hero__lead .lx-eyebrow {
  color: var(--lx-yellow-soft);
}

.page-contact .ct-hero__lead .lx-title-1 {
  margin: 10px 0 14px;
}

.page-contact .ct-hero__lead .lx-lede {
  max-width: 34ch;
  color: rgba(255, 253, 247, .88);
}

.page-contact .ct-hero__figure {
  margin: 0;
  border-radius: var(--lx-r-lg) 8px var(--lx-r-lg) var(--lx-r-lg);
  overflow: hidden;
  box-shadow: var(--lx-shadow-card);
}

.page-contact .ct-hero__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* 三张联系卡 */
.page-contact .ct-cards {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.page-contact .ct-card {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: var(--lx-r-lg);
  background: var(--lx-paper);
  color: var(--lx-ink);
  box-shadow: var(--lx-shadow-card);
}

.page-contact .ct-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 42px;
  height: 5px;
  border-radius: 0 0 4px 4px;
  background: var(--lx-yellow);
}

.page-contact .ct-card__label {
  margin: 4px 0 0;
  font-family: var(--lx-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--lx-index);
}

.page-contact .ct-card__title {
  margin: 8px 0 10px;
  font-family: var(--lx-font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-contact .ct-card__text {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ct-ink-soft);
}

.page-contact .ct-card__foot {
  margin: 16px 0 0;
}

/* 复制按钮（页面级微调） */
.page-contact .ct-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid var(--lx-green-300);
  border-radius: 999px;
  background: var(--lx-cream);
  color: var(--lx-green-900);
  cursor: pointer;
  transition: border-color .18s var(--lx-ease), transform .18s var(--lx-ease);
}

.page-contact .ct-copy:hover {
  border-color: var(--lx-green-600);
  transform: translateY(-2px);
}

.page-contact .ct-copy[data-copied] {
  outline: 2px solid var(--lx-yellow);
  outline-offset: 2px;
}

.page-contact .ct-copy__text {
  font-family: var(--lx-font-mono);
  font-size: 14px;
  word-break: break-all;
}

.page-contact .ct-copy__hint {
  font-family: var(--lx-font-body);
  font-size: 12px;
  color: var(--lx-index);
}

.page-contact .ct-copy--on-cream {
  background: var(--lx-paper);
}

/* ============ 锚点条 ============ */
.page-contact .ct-anchors {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 4px;
  padding: 14px 0 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-contact .ct-anchors .ct-anchor {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--lx-font-mono);
  font-size: 13px;
}

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

.page-contact .ct-intro {
  max-width: 62ch;
  margin: 14px 0 0;
  font-family: var(--lx-font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ct-ink-soft);
}

.page-contact .ct-section .lx-title-2 {
  margin: 8px 0 0;
}

/* ============ 准备三件事 ============ */
.page-contact .ct-steps {
  list-style: none;
  display: grid;
  gap: 30px;
  margin: 42px 0 0;
  padding: 0;
  counter-reset: none;
}

.page-contact .ct-step__num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--lx-font-mono);
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--lx-brick);
}

.page-contact .ct-step h3 {
  margin: 0 0 8px;
}

.page-contact .ct-step p {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .ct-tip {
  margin-top: 44px;
  padding: 24px 22px;
  border-left: 4px solid var(--lx-yellow);
  border-radius: 0 var(--lx-r-md) var(--lx-r-md) 0;
  background: var(--lx-cream);
}

.page-contact .ct-tip__title {
  margin: 0 0 8px;
  font-family: var(--lx-font-head);
  font-size: 17px;
  font-weight: 800;
}

.page-contact .ct-tip p {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ct-ink-soft);
}

/* ============ 三条通道 ============ */
.page-contact .ct-channels {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.page-contact .ct-channel {
  padding: 24px 22px;
  border-radius: var(--lx-r-lg);
  background: var(--lx-paper);
  box-shadow: var(--lx-shadow-card);
}

.page-contact .ct-channel__idx {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--lx-cream);
  font-family: var(--lx-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--lx-green-600);
}

.page-contact .ct-channel h3 {
  margin: 12px 0 8px;
}

.page-contact .ct-channel p {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ct-ink-soft);
}

.page-contact .ct-channel__meta {
  margin-top: 14px !important;
  font-family: var(--lx-font-mono) !important;
  font-size: 13px !important;
  color: var(--lx-green-900) !important;
}

.page-contact .ct-channel__meta a {
  color: var(--lx-green-900);
  border-bottom: 2px solid var(--lx-yellow);
  text-decoration: none;
}

/* ============ 机构合作 ============ */
.page-contact .ct-section--partners {
  background: var(--lx-cream);
}

.page-contact .ct-partners {
  display: grid;
  gap: 36px;
  align-items: start;
}

.page-contact .ct-tabs {
  margin-top: 26px;
}

.page-contact .ct-tabs .lx-tabs__list {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
}

.page-contact .ct-tab {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--lx-green-300);
  border-radius: 999px;
  background: transparent;
  font-family: var(--lx-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--lx-green-900);
  cursor: pointer;
  transition: background-color .18s var(--lx-ease), color .18s var(--lx-ease), border-color .18s var(--lx-ease);
}

.page-contact .ct-tab[aria-selected="true"] {
  background: var(--lx-yellow);
  border-color: var(--lx-yellow);
  color: var(--lx-green-900);
}

.page-contact .ct-tab:focus-visible {
  outline: 2px solid var(--lx-yellow);
  outline-offset: 2px;
}

.page-contact .ct-tabpanel {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--lx-r-md);
  background: var(--lx-paper);
  border: 1px solid var(--lx-green-300);
}

.page-contact .ct-tabpanel p {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .ct-partners__figure {
  margin: 0;
  border-radius: 8px var(--lx-r-lg) var(--lx-r-lg) var(--lx-r-lg);
  overflow: hidden;
  background: var(--lx-green-300);
}

.page-contact .ct-partners__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 5 / 4;
}

.page-contact .ct-partners__figure .lx-media__caption {
  padding: 12px 16px;
  background: var(--lx-paper);
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  color: var(--lx-index);
}

/* ============ 回复节奏与寄信 ============ */
.page-contact .ct-timing {
  display: grid;
  gap: 44px;
}

.page-contact .ct-timing__col .lx-title-3 {
  margin: 8px 0 0;
}

.page-contact .ct-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-contact .ct-list li {
  position: relative;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--lx-green-300);
  font-family: var(--lx-font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ct-ink-soft);
}

.page-contact .ct-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lx-yellow);
}

.page-contact .ct-list strong {
  font-family: var(--lx-font-head);
  font-weight: 800;
  color: var(--lx-ink);
}

.page-contact .ct-address {
  margin: 22px 0 0;
  font-family: var(--lx-font-mono);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lx-green-900);
}

.page-contact .ct-address__note {
  max-width: 46ch;
  margin: 12px 0 18px;
  font-family: var(--lx-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ct-ink-soft);
}

/* ============ 收尾 ============ */
.page-contact .ct-section--outro {
  background: var(--lx-cream);
  padding-bottom: clamp(60px, 9vw, 104px);
}

.page-contact .ct-outro__text {
  max-width: 44ch;
  margin: 0 0 22px;
  font-family: var(--lx-font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--lx-green-900);
}

.page-contact .ct-outro__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-contact .ct-backtop {
  margin-left: auto;
  font-family: var(--lx-font-mono);
  font-size: 13px;
  color: var(--lx-green-600);
  text-decoration: none;
  border-bottom: 2px solid var(--lx-green-300);
}

.page-contact .ct-backtop:hover {
  border-bottom-color: var(--lx-yellow);
}

/* ============ 响应式 ============ */
@media (min-width: 720px) {
  .page-contact .ct-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-contact .ct-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .page-contact .ct-card:nth-child(2) {
    margin-top: 32px;
  }

  .page-contact .ct-card:nth-child(3) {
    margin-top: 14px;
  }
}

@media (min-width: 880px) {
  .page-contact .ct-hero {
    padding: 40px 0 74px;
  }

  .page-contact .ct-hero__bg::before {
    left: auto;
    right: -12%;
    top: -24%;
    bottom: -10%;
    width: 66%;
    height: auto;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-contact .ct-hero__inner {
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: 44px;
    align-items: center;
  }

  .page-contact .ct-cards {
    margin-top: 46px;
  }

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

  .page-contact .ct-step {
    padding: 0 32px;
    border-left: 1px solid var(--lx-green-300);
  }

  .page-contact .ct-step:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .page-contact .ct-step:last-child {
    padding-right: 0;
  }

  .page-contact .ct-partners {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 52px;
    align-items: center;
  }

  .page-contact .ct-timing {
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    gap: 64px;
  }

  .page-contact .ct-timing__col--mail {
    padding-left: 40px;
    border-left: 1px solid var(--lx-green-300);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .ct-copy:hover {
    transform: none;
  }
}
</style>
