.page-contact {
  --contact-gold-glow: rgba(212, 175, 55, 0.2);
  --contact-card-line: rgba(212, 175, 55, 0.18);
  --contact-node-line: rgba(212, 175, 55, 0.32);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow: clip;
}

.page-contact *,
.page-contact *::before,
.page-contact *::after {
  box-sizing: border-box;
}

.page-contact ::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text-primary);
}

/* ---------- 面包屑 ---------- */
.page-contact .contact-breadcrumb {
  padding: 14px 0;
  background: rgba(11, 13, 23, 0.72);
  border-bottom: 1px solid var(--gray-line);
}

.page-contact .contact-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.page-contact .contact-breadcrumb a:hover {
  color: var(--gold);
}

.page-contact .contact-breadcrumb__sep {
  margin: 0 10px;
  color: var(--gray-rock);
}

.page-contact .contact-breadcrumb span[aria-current="page"] {
  color: var(--gold);
  font-size: 14px;
}

/* ---------- 首屏 ---------- */
.page-contact .contact-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 62vw, 480px);
  padding: 56px 0 78px;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--gray-line);
}

.page-contact .contact-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-contact .contact-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 23, 0.28) 0%, rgba(11, 13, 23, 0.72) 58%, var(--bg-deep) 100%);
}

.page-contact .contact-hero__container {
  position: relative;
  z-index: 1;
}

.page-contact .contact-hero .page-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-contact .contact-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.12;
  color: var(--text-primary);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.22);
}

.page-contact .contact-hero__title span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-contact .contact-hero__subtitle {
  max-width: 660px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

/* 底部金色斜切光泽 */
.page-contact .contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 40%, transparent 88%);
  clip-path: polygon(0 0, 22% 0, 55% 100%, 0 100%);
  opacity: 0.72;
  pointer-events: none;
}

/* ---------- 章节标题 ---------- */
.page-contact .section-head {
  position: relative;
  margin: 52px 0 28px;
  padding: 0 0 18px 60px;
  border-bottom: 1px solid var(--gray-line);
}

.page-contact .section-no {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-data);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.28);
  letter-spacing: 0.04em;
}

.page-contact .section-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
}

.page-contact .section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- 01 沟通渠道 ---------- */
.page-contact .contact-channels__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-contact .contact-channels__card {
  position: relative;
  padding: 28px 18px 8px 20px;
  background: linear-gradient(140deg, rgba(45, 95, 138, 0.18), rgba(11, 13, 23, 0.92) 62%);
  border: 1px solid var(--contact-card-line);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-contact .contact-channels__card::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 72px;
  bottom: 72px;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.05));
  pointer-events: none;
}

.page-contact .contact-channels__edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--terracotta));
  clip-path: polygon(0 0, 100% 0, 48% 100%, 0 100%);
  opacity: 0.95;
}

.page-contact .contact-channel-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--gray-line);
}

.page-contact .contact-channel-item:last-child {
  border-bottom: 0;
}

.page-contact .contact-channel-item__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--gold);
  background: var(--bg-deep);
  border: 1px solid var(--contact-card-line);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.06), 0 0 16px var(--contact-gold-glow);
}

.page-contact .contact-channel-item__icon svg {
  width: 17px;
  height: 17px;
}

.page-contact .contact-channel-item__label {
  margin: 2px 0 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.page-contact .contact-channel-item__value {
  margin: 0 0 8px;
  font-family: var(--font-data);
  font-size: clamp(17px, 3.6vw, 20px);
  line-height: 1.4;
}

.page-contact .contact-channel-item__value a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.page-contact .contact-channel-item__value a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-contact .contact-channel-item__desc {
  margin: 0;
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.page-contact .contact-channels__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.page-contact .contact-channels__figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--contact-card-line);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}

.page-contact .contact-channels__figure figcaption {
  margin-top: 14px;
  color: var(--text-muted);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---------- 02 客服与支持 ---------- */
.page-contact .contact-support {
  position: relative;
}

.page-contact .contact-support::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -90px;
  width: 300px;
  height: 140px;
  background: radial-gradient(circle, rgba(45, 95, 138, 0.2), transparent 68%);
  pointer-events: none;
}

.page-contact .contact-support__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page-contact .contact-support__item {
  position: relative;
  padding: 26px 22px 24px;
  background: rgba(45, 95, 138, 0.08);
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--moss);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}

.page-contact .contact-support__item:nth-child(2) {
  border-top-color: var(--gold);
}

.page-contact .contact-support__node {
  position: absolute;
  right: 20px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(107, 143, 113, 0.16);
}

.page-contact .contact-support__item:nth-child(2) .contact-support__node {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.page-contact .contact-support__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.page-contact .contact-support__body h3 {
  margin: 4px 0 0;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
}

.page-contact .contact-support__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.page-contact .contact-support__body a {
  color: var(--gold-light);
  text-decoration: none;
}

.page-contact .contact-support__body .btn {
  margin-top: 12px;
}

.page-contact .contact-support__tray {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-top: 36px;
  padding: 16px 18px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed rgba(212, 175, 55, 0.28);
  border-radius: 4px;
}

.page-contact .contact-support__tray-label {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-contact .contact-support__tray a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.32);
  font-size: 14px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-contact .contact-support__tray a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- 03 商务合作 ---------- */
.page-contact .contact-business__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-contact .contact-business__intro {
  padding: 26px 22px;
  background: linear-gradient(135deg, rgba(45, 95, 138, 0.12), rgba(11, 13, 23, 0.85));
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.page-contact .contact-business__intro p {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 15px;
}

.page-contact .contact-business__intro p:first-child {
  margin-top: 0;
}

.page-contact .contact-business__intro p:last-of-type {
  margin-bottom: 18px;
}

.page-contact .data-highlight {
  font-family: var(--font-data);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.page-contact .contact-business__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .contact-business__steps .step-node {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 62px;
  background: rgba(11, 13, 23, 0.55);
  border: 1px solid var(--gray-line);
  border-radius: 0 4px 4px 0;
}

.page-contact .contact-business__steps .step-node::before {
  content: attr(data-step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.9;
}

.page-contact .contact-business__steps .step-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: calc(100% + 1px);
  width: 2px;
  height: 15px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.1));
}

.page-contact .contact-business__steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.page-contact .step-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- 04 位置 ---------- */
.page-contact .contact-location__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-contact .contact-location__map {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(rgba(45, 95, 138, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 95, 138, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(45, 95, 138, 0.26), transparent 62%),
    var(--bg-deep);
  background-size: 36px 36px, 36px 36px, 100% 100%, auto;
}

.page-contact .contact-location__orbit {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.page-contact .contact-location__orbit--outer {
  width: 230px;
  height: 230px;
  top: 16px;
  right: 14px;
  border-style: dashed;
}

.page-contact .contact-location__orbit--inner {
  width: 130px;
  height: 130px;
  bottom: 26px;
  left: 22px;
  border-color: rgba(45, 95, 138, 0.6);
}

.page-contact .contact-location__pin {
  position: absolute;
  left: 62%;
  top: 44%;
  width: 14px;
  height: 14px;
  background: var(--deep-black);
  border: 4px solid var(--gold);
  border-radius: 50%;
  animation: contactPulse 2.6s ease-in-out infinite;
}

.page-contact .contact-location__pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold), transparent);
}

@keyframes contactPulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.1), 0 0 18px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.02), 0 0 30px rgba(212, 175, 55, 0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .contact-location__pin {
    animation: none;
  }
}

.page-contact .contact-location__label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 12px;
  background: rgba(11, 13, 23, 0.82);
  border: 1px solid var(--contact-card-line);
  border-radius: 2px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.page-contact .contact-location__info {
  font-style: normal;
  padding: 28px 24px;
  background: rgba(45, 95, 138, 0.1);
  border: 1px solid var(--gray-line);
  border-radius: 4px;
}

.page-contact .contact-location__info h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

.page-contact .contact-location__address {
  margin: 0 0 14px;
  padding-bottom: 14px;
  font-family: var(--font-data);
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.6;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gray-line);
}

.page-contact .contact-location__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 信任声明 ---------- */
.page-contact .contact-trust {
  margin-top: 60px;
}

.page-contact .contact-trust__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 30px 26px;
  background: linear-gradient(135deg, rgba(45, 95, 138, 0.24), rgba(11, 13, 23, 0.9));
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

.page-contact .contact-trust__text h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

.page-contact .contact-trust__text p {
  margin: 0;
  max-width: 80ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.page-contact .contact-trust .btn {
  justify-self: start;
}

/* ---------- 公共按钮与标签 ---------- */
.page-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.page-contact .btn-primary {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: #0B0D17;
  border: 1px solid transparent;
}

.page-contact .btn-primary:hover,
.page-contact .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.page-contact .btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
}

.page-contact .btn-ghost:hover,
.page-contact .btn-ghost:focus-visible {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-contact .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.page-contact .tag-moss {
  color: var(--moss);
  background: rgba(107, 143, 113, 0.12);
  border: 1px solid rgba(107, 143, 113, 0.35);
}

.page-contact .tag-gold {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

/* ---------- 平板与桌面优化 ---------- */
@media (min-width: 768px) {
  .page-contact .contact-channels__card {
    padding-left: 62px;
  }

  .page-contact .contact-channels__card::before {
    left: 80px;
  }

  .page-contact .contact-support__list {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 24px;
  }

  .page-contact .contact-support__item:nth-child(2) {
    margin-top: 42px;
  }

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

  .page-contact .contact-business__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-contact .contact-location__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: center;
  }

  .page-contact .contact-trust__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-contact .contact-trust .btn {
    justify-self: center;
  }
}

@media (min-width: 900px) {
  .page-contact .contact-channels__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 36px;
    align-items: stretch;
  }

  .page-contact .contact-channels__figure {
    order: 2;
  }

  .page-contact .contact-channels__card {
    order: 1;
  }

  .page-contact .contact-business__intro {
    padding: 32px 30px;
  }
}
