/* ===== 联系与反馈 Contact — page-contact 专属 ===== */

.page-contact {
  --contact-shadow: 8px 8px 0 var(--c-ink);
  --contact-slash-stripe: repeating-linear-gradient(
    135deg,
    var(--c-orange) 0px,
    var(--c-orange) 16px,
    var(--c-paper) 16px,
    var(--c-paper) 32px
  );
  background-color: var(--c-paper);
  overflow-x: hidden;
}

/* ---- 英雄区 ---- */

.page-contact-hero {
  position: relative;
  padding: calc(var(--header-h-mobile) + 40px) 0 56px;
  background-color: var(--c-deep);
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.88), rgba(11, 31, 58, 0.94)),
    radial-gradient(circle at 14% 22%, rgba(0, 255, 136, 0.15) 0%, transparent 38%);
  color: var(--c-paper);
  border-bottom: 3px solid var(--c-orange);
  overflow: hidden;
}

.contact-hero-signal {
  position: absolute;
  right: -80px;
  top: 52%;
  width: clamp(220px, 38vw, 480px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.85;
  pointer-events: none;
}

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

.page-contact-hero .page-hero-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-green);
}

.page-contact-hero .page-hero-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--c-paper);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.page-contact-hero .page-hero-sub {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: rgba(242, 232, 208, 0.82);
}

/* ---- 斜纹分割带 ---- */

.page-contact-slash {
  height: 22px;
  background: var(--contact-slash-stripe);
  border-top: 3px solid var(--c-ink);
  border-bottom: 3px solid var(--c-ink);
}

/* ---- 01 客服渠道 ---- */

.page-contact-channels {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 44px);
}

.contact-channel-card {
  padding: 16px;
  background: var(--c-white);
  border: 3px solid var(--c-ink);
  box-shadow: var(--contact-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-channel-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--c-ink);
}

.contact-channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--c-gray);
}

.contact-channel-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 6px rgba(255, 90, 54, 0.55);
}

.contact-channel-led--green {
  background: var(--c-green);
  box-shadow: 0 0 6px rgba(0, 255, 136, 0.55);
}

.contact-channel-card--addr .contact-channel-led {
  background: var(--c-gray);
  box-shadow: none;
}

.contact-channel-type {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gray-dark);
}

.contact-channel-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 92px;
  padding: 14px 12px;
  background: linear-gradient(145deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  border: 2px solid var(--c-ink);
}

.contact-channel-screen-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--c-green);
}

.contact-channel-screen-value {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-paper);
  word-break: break-all;
  user-select: all;
  cursor: copy;
}

.contact-channel-card--addr .contact-channel-screen-value {
  word-break: normal;
  overflow-wrap: break-word;
}

.contact-channel-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  font-size: 13px;
  color: var(--c-gray-dark);
}

/* ---- 02 反馈信息模板 / 交流窗口 ---- */

.page-contact-window {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background-color: var(--c-deep);
  background-image:
    radial-gradient(circle at 84% 18%, rgba(0, 255, 136, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 8% 82%, rgba(255, 90, 54, 0.1) 0%, transparent 30%),
    repeating-radial-gradient(circle at 16% 30%, transparent 0 42px, rgba(242, 232, 208, 0.045) 43px);
  color: var(--c-paper);
  border-top: 3px solid var(--c-green);
  border-bottom: 3px solid var(--c-green);
}

.contact-window-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-prep-list {
  display: grid;
  gap: 12px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  list-style: none;
}

.contact-prep-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--c-orange);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-paper);
}

.contact-prep-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--c-green-dim);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-green);
}

.contact-window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---- 控制台 / 投递模板 ---- */

.contact-console {
  position: relative;
  background: linear-gradient(160deg, var(--c-deep-2) 0%, var(--c-deep-3) 100%);
  border: 3px solid var(--c-ink);
  box-shadow: 10px 10px 0 var(--c-green-dim);
}

.contact-console::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 28px,
    rgba(0, 255, 136, 0.04) 29px
  );
}

.contact-console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--c-ink);
  border-bottom: 2px solid var(--c-green-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-paper);
}

.contact-console-code {
  margin-left: auto;
  font-weight: 700;
  color: var(--c-orange);
}

.contact-console-fields {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4px 0;
}

.contact-console-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 14px 16px;
  border-bottom: 2px dashed rgba(242, 232, 208, 0.14);
}

.contact-console-row:last-child {
  border-bottom: 0;
}

.contact-console-row dt {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-orange-soft);
}

.contact-console-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-paper);
  word-break: break-word;
}

.contact-console-tip {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px 16px;
  background: rgba(0, 255, 136, 0.08);
  border-top: 2px solid var(--c-green-dim);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-green);
}

/* ---- 03 商务合作 ---- */

.page-contact-business {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.contact-business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-business-intro > p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.75;
}

.contact-business-intro strong {
  padding: 2px 4px;
  background: rgba(255, 90, 54, 0.16);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-deep);
}

.contact-business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-business-panel {
  padding: clamp(22px, 3vw, 32px);
  background: var(--c-orange);
  border: 3px solid var(--c-ink);
  box-shadow: var(--contact-shadow);
  transform: rotate(0.6deg);
}

.contact-business-panel h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--c-ink);
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.contact-business-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.contact-business-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-business-list li::before {
  content: '↗';
  position: absolute;
  top: 0;
  left: 2px;
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--c-deep);
}

.contact-business-note {
  margin: 0;
  padding-top: 14px;
  border-top: 2px dashed rgba(11, 31, 58, 0.45);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.82);
}

/* ---- 04 反馈流程 ---- */

.page-contact-flow {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background-color: var(--c-deep-3);
  background-image:
    linear-gradient(rgba(7, 22, 43, 0.92), rgba(7, 22, 43, 0.92)),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(0, 255, 136, 0.05) 41px);
  color: var(--c-paper);
  border-top: 3px solid var(--c-orange);
}

.contact-flow-list {
  display: grid;
  gap: 18px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.contact-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-flow-item:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: var(--c-green);
  transform: translateX(6px);
}

.contact-flow-index {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
  color: var(--c-orange);
}

.contact-flow-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-paper);
}

.contact-flow-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 232, 208, 0.74);
}

.contact-flow-chart {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 0;
  border: 3px solid var(--c-ink);
  box-shadow: var(--contact-shadow);
}

.contact-flow-ps {
  max-width: 520px;
  margin: 22px auto 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: var(--c-green);
}

/* ---- 信号示意条带 ---- */

.page-contact-signal {
  background: var(--c-deep);
  border-top: 3px solid var(--c-ink);
  border-bottom: 3px solid var(--c-ink);
}

.contact-signal-img {
  display: block;
  width: 100%;
  height: clamp(160px, 26vw, 380px);
  object-fit: cover;
  object-position: center;
}

/* ---- 信任与站内导航 ---- */

.page-contact-trust {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-top: 3px dashed var(--c-ink);
}

.contact-trust-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-trust-text {
  max-width: 680px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray-dark);
}

.contact-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- 页内按钮变体 ---- */

.contact-btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: transparent;
  border: 2px solid var(--c-ink);
  box-shadow: 4px 4px 0 var(--c-ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-btn-ink:hover {
  background: var(--c-orange);
  box-shadow: 6px 6px 0 var(--c-ink);
  transform: translate(-2px, -2px);
}

.contact-btn-ink--sm {
  min-height: 36px;
  padding: 0 16px;
  box-shadow: 3px 3px 0 var(--c-ink);
  font-size: 13px;
}

/* ---- 平板及以上 ---- */

@media (min-width: 700px) {
  .contact-channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .contact-window-grid {
    grid-template-columns: 5fr 6fr;
  }

  .contact-business-grid {
    grid-template-columns: 5fr 4fr;
  }

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

  .contact-flow-item {
    flex-direction: column;
    min-height: 210px;
  }

  .contact-flow-item:hover {
    transform: translateY(-6px);
  }

  .contact-console-row {
    grid-template-columns: 104px 1fr;
    gap: 12px;
    align-items: baseline;
  }

  .contact-console-row dt {
    margin-bottom: 0;
  }

  .contact-trust-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---- 桌面 ---- */

@media (min-width: 1100px) {
  .page-contact-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 88px;
  }

  .contact-hero-signal {
    right: clamp(-40px, 2vw, 20px);
    width: clamp(320px, 30vw, 520px);
  }

  .contact-channel-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}
