.page-contact {
  --pc-rail-w: 300px;
  --pc-card-ink: #0E1B2C;
  --pc-gap: clamp(20px, 3vw, 38px);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-contact .contact-hero {
  padding: clamp(20px, 4vw, 40px) 0 clamp(26px, 5vw, 52px);
  border-bottom: var(--hair);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(124, 255, 107, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(18, 38, 61, 0.92), rgba(14, 27, 44, 0));
}

.page-contact .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-contact .crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-blue);
}

.page-contact .crumbs a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-contact .crumbs a:hover {
  color: var(--grass-soft);
  border-bottom-color: var(--grass-soft);
}

.page-contact .eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grass-soft);
}

.page-contact .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pc-gap);
  align-items: center;
}

.page-contact .contact-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-contact .contact-lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.8;
  color: var(--mist);
}

.page-contact .hero-figure {
  position: relative;
  margin: 0;
  min-height: 220px;
  border: 1px solid var(--line-blue);
  background: linear-gradient(160deg, #162C46, #0B1523);
  box-shadow: 8px 8px 0 rgba(7, 14, 24, 0.55);
  overflow: hidden;
}

.page-contact .hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-width: 100%;
  object-fit: cover;
}

.page-contact .hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(242, 239, 231, 0.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: soft-light;
}

.page-contact .hero-figure .hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 14px 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(0deg, rgba(11, 21, 35, 0.94), rgba(11, 21, 35, 0));
}

/* ---------- 联络主体 ---------- */
.page-contact .contact-body {
  padding: clamp(28px, 4.5vw, 58px) 0;
}

.page-contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pc-gap);
  align-items: start;
}

.page-contact .sec-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(21px, 2.8vw, 29px);
  line-height: 1.28;
  color: var(--paper);
}

.page-contact .sec-sub {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* 印刷名片 */
.page-contact .contact-card {
  position: relative;
  padding: 20px 18px 18px;
  background: var(--paper);
  color: var(--pc-card-ink);
  border: 1px solid var(--line-blue);
  box-shadow: 6px 6px 0 rgba(7, 14, 24, 0.45);
}

.page-contact .contact-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(14, 27, 44, 0.16);
  pointer-events: none;
}

.page-contact .cc-tag {
  position: relative;
  margin: 0 0 6px;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--wine);
}

.page-contact .cc-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--grass);
}

.page-contact .cc-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding: 13px 0;
  border-top: 1px solid rgba(14, 27, 44, 0.14);
}

.page-contact .cc-row:first-of-type {
  border-top: 0;
}

.page-contact .cc-label {
  flex: 0 0 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(14, 27, 44, 0.58);
}

.page-contact .cc-value {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: clamp(14px, 3.4vw, 15.5px);
  line-height: 1.5;
  color: var(--pc-card-ink);
  text-decoration: none;
  word-break: break-all;
  border-bottom: 1px solid rgba(14, 27, 44, 0.3);
}

.page-contact .cc-value:hover {
  border-bottom-color: var(--grass);
  color: #123a1f;
}

.page-contact .cc-row--addr {
  align-items: flex-start;
}

.page-contact .cc-addr {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(14, 27, 44, 0.86);
}

.page-contact .copy-btn {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(14, 27, 44, 0.8);
  background: transparent;
  border: 1px solid rgba(14, 27, 44, 0.34);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-contact .copy-btn:hover {
  background: rgba(14, 27, 44, 0.06);
  border-color: rgba(14, 27, 44, 0.6);
}

.page-contact .copy-btn[data-copied] {
  color: #1F6B3C;
  border-color: #1F6B3C;
  background: rgba(124, 255, 107, 0.22);
}

.page-contact .cc-note {
  position: relative;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(14, 27, 44, 0.14);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(14, 27, 44, 0.64);
}

/* 咨询分类 */
.page-contact .ask-col {
  min-width: 0;
}

.page-contact .ask-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-blue);
}

.page-contact .ask-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-blue);
}

.page-contact .ask-num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--grass);
}

.page-contact .ask-item-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(16.5px, 2.1vw, 19.5px);
  line-height: 1.4;
  color: var(--paper);
}

.page-contact .ask-item-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--mist);
}

.page-contact .ask-detail {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line-blue);
}

.page-contact .ask-detail summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--grass-soft);
}

.page-contact .ask-detail summary::-webkit-details-marker {
  display: none;
}

.page-contact .ask-detail summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--grass);
}

.page-contact .ask-detail[open] summary::before {
  content: "–";
}

.page-contact .ask-detail ul {
  margin: 6px 0 4px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-contact .ask-detail li::marker {
  color: var(--line-blue);
}

.page-contact .ask-figure {
  position: relative;
  margin: 26px 0 0;
  border: 1px solid var(--line-blue);
  background: #0B1523;
  overflow: hidden;
}

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

.page-contact .ask-figure .media-caption {
  margin: 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
  border-top: 1px solid var(--line-blue);
  background: rgba(14, 27, 44, 0.92);
}

/* ---------- 合作供稿 ---------- */
.page-contact .coop {
  padding: clamp(30px, 5vw, 62px) 0;
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
  background:
    linear-gradient(180deg, #0B1523, #12263D 62%, #0E1B2C);
}

.page-contact .coop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-contact .coop-card {
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line-blue);
  border-top: 3px solid var(--grass);
}

.page-contact .coop-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  color: var(--paper);
}

.page-contact .coop-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.page-contact .coop-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-blue);
  border-left: 3px solid var(--amber);
  background: rgba(18, 38, 61, 0.62);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-contact .coop-note-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--amber-soft);
}

/* ---------- 帮助分流 ---------- */
.page-contact .help-route {
  padding: clamp(30px, 5vw, 62px) 0 clamp(34px, 6vw, 70px);
}

.page-contact .route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}

.page-contact .route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  text-decoration: none;
  color: var(--paper);
  background: rgba(18, 38, 61, 0.55);
  border: 1px solid var(--line-blue);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-contact .route-card:hover {
  transform: translateY(-2px);
  border-color: var(--grass);
  background: rgba(124, 255, 107, 0.07);
}

.page-contact .route-text {
  display: block;
  min-width: 0;
}

.page-contact .route-text strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 17px;
  color: var(--paper);
}

.page-contact .route-text em {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-contact .route-go {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--grass);
  transition: transform 0.18s var(--ease);
}

.page-contact .route-card:hover .route-go {
  transform: translateX(3px);
}

.page-contact .contact-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line-blue);
  background: rgba(18, 38, 61, 0.48);
}

.page-contact .contact-sign p {
  margin: 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-contact .sign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

@media (min-width: 720px) {
  .page-contact .coop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-contact .coop-note {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }

  .page-contact .coop-note-label {
    flex: 0 0 auto;
  }
}

@media (min-width: 900px) {
  .page-contact .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-contact .hero-figure {
    min-height: 300px;
  }

  .page-contact .hero-figure img {
    min-height: 300px;
    height: 100%;
  }
}

@media (min-width: 960px) {
  .page-contact .contact-grid {
    grid-template-columns: var(--pc-rail-w) minmax(0, 1fr);
  }

  .page-contact .rail-sticky {
    position: sticky;
    top: calc(var(--header-h) + 18px);
  }
}

@media (min-width: 1180px) {
  .page-contact .contact-grid {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .page-contact .ask-item {
    gap: 18px;
    padding: 20px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .copy-btn,
  .page-contact .route-card,
  .page-contact .route-go {
    transition: none;
  }

  .page-contact .route-card:hover {
    transform: none;
  }

  .page-contact .route-card:hover .route-go {
    transform: none;
  }
}
