/* ==================================================================
   Page: contact · 联系入口
   Scope: .page-contact
   ================================================================== */

.page-contact {
  --pc-navy: #0A1628;
  --pc-navy-deep: #060E1A;
  --pc-navy-soft: #14233C;
  --pc-paper: #F4EFE6;
  --pc-paper-deep: #EDE8DF;
  --pc-gold: #C9A961;
  --pc-gold-light: #DBBF7F;
  --pc-orange: #F26522;
  --pc-steel: #4D6A8F;
  --pc-white: #FFFFFF;
  --pc-ink: #1F2430;
  --pc-muted: #6A717C;

  background: var(--pc-paper);
  color: var(--pc-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ========== Hero : 联系入口 ========== */

.page-contact .contact-hero {
  position: relative;
  background: var(--pc-navy);
  color: var(--pc-white);
  overflow: hidden;
  padding: calc(var(--header-h-mobile) + 32px) 0 0;
}

.page-contact .contact-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -100px;
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, transparent 30%, rgba(201, 169, 97, 0.16) 31%, rgba(201, 169, 97, 0.16) 37%, transparent 38%);
  transform: rotate(10deg);
  pointer-events: none;
}

.page-contact .contact-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
}

.page-contact .contact-hero-main {
  border-left: 2px solid var(--pc-gold);
  padding-left: 20px;
}

.page-contact .contact-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 20px;
}

.page-contact .contact-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-contact .contact-hero-breadcrumb a:hover,
.page-contact .contact-hero-breadcrumb a:focus-visible {
  color: var(--pc-gold-light);
}

.page-contact .contact-breadcrumb-sep {
  color: var(--pc-gold);
}

.page-contact .contact-hero .section-label {
  color: var(--pc-gold-light);
}

.page-contact .contact-hero h1 {
  font-size: clamp(3rem, 9vw, 5.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
  color: var(--pc-white);
}

.page-contact .contact-hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 0 28px;
}

.page-contact .contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-contact .contact-hero-aside {
  display: none;
  position: absolute;
  right: 0;
  top: 64px;
  text-align: right;
}

.page-contact .contact-hero-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}

.page-contact .contact-hero-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pc-gold));
  margin-top: 14px;
}

.page-contact .contact-hero-aside-text {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== 联系方式 + 反馈流程组合区块 ========== */

.page-contact .contact-combined {
  position: relative;
  background: var(--pc-navy);
  color: var(--pc-white);
  overflow: hidden;
  padding: 56px 0 72px;
}

.page-contact .contact-combined::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 0;
  pointer-events: none;
}

.page-contact .contact-map-figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-contact .contact-map-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.38) contrast(1.16) brightness(0.72);
}

.page-contact .contact-map-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.96) 0%, rgba(10, 22, 40, 0.88) 46%, rgba(10, 22, 40, 0.72) 100%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.24) 0%, transparent 28%);
  z-index: 1;
}

.page-contact .contact-bg-address {
  position: absolute;
  right: -1.5%;
  bottom: 8%;
  z-index: 1;
  font-size: clamp(2.2rem, 6.4vw, 6.4rem);
  font-weight: 900;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 97, 0.32);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.page-contact .contact-combined-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: stretch;
}

.page-contact .contact-combined .section-label {
  color: var(--pc-gold-light);
}

/* 左侧联系卡片 */

.page-contact .contact-main-card {
  position: relative;
  background: var(--pc-paper);
  color: var(--pc-ink);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
}

.page-contact .contact-main-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--pc-gold);
  transform: skewX(-24deg);
  transform-origin: left top;
}

.page-contact .contact-main-card .section-label {
  color: var(--pc-orange);
}

.page-contact .contact-main-card h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 900;
  margin: 8px 0 12px;
  color: var(--pc-ink);
}

.page-contact .contact-card-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--pc-muted);
  margin-bottom: 24px;
  max-width: 420px;
}

.page-contact .contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-contact .contact-method-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.page-contact .contact-method-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pc-gold);
  color: var(--pc-gold);
  background: var(--pc-white);
  border-radius: 50%;
}

.page-contact .contact-method-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-contact .contact-method-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--pc-steel);
  letter-spacing: 0.08em;
}

.page-contact .contact-method-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--pc-ink);
  text-decoration: none;
  word-break: break-all;
  line-height: 1.5;
}

.page-contact a.contact-method-value:hover,
.page-contact a.contact-method-value:focus-visible {
  color: var(--pc-orange);
}

.page-contact .contact-method-tip {
  font-size: 12px;
  color: var(--pc-muted);
  line-height: 1.6;
}

/* 右侧流程时间轴 */

.page-contact .contact-flow-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--pc-white);
  margin: 8px 0 12px;
  line-height: 1.3;
}

.page-contact .contact-flow-head p:last-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.8;
  margin-bottom: 28px;
}

.page-contact .contact-timeline {
  position: relative;
  padding-left: 26px;
  border-left: 1px solid rgba(201, 169, 97, 0.5);
}

.page-contact .timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.page-contact .timeline-item:last-child {
  padding-bottom: 0;
}

.page-contact .timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pc-navy);
  border: 2px solid var(--pc-gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

.page-contact .timeline-index {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pc-gold);
  background: rgba(201, 169, 97, 0.1);
  border-radius: 2px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.page-contact .timeline-content {
  padding-right: 8px;
}

.page-contact .timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pc-white);
  margin-bottom: 6px;
}

.page-contact .timeline-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  margin: 0;
}

/* ========== 响应承诺 + 邮件模板 ========== */

.page-contact .contact-response {
  background: var(--pc-paper);
  padding: 64px 0 72px;
}

.page-contact .contact-response-head {
  border-bottom: 1px solid rgba(31, 36, 48, 0.14);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.page-contact .contact-response-head .section-label {
  color: var(--pc-orange);
}

.page-contact .contact-response-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  color: var(--pc-ink);
  margin-top: 8px;
  line-height: 1.2;
}

.page-contact .contact-response-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

.page-contact .contact-ring-card {
  position: relative;
  background: var(--pc-navy);
  color: var(--pc-white);
  border-radius: 2px;
  padding: 28px 20px 26px;
  text-align: center;
  overflow: hidden;
}

.page-contact .contact-ring-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pc-gold), transparent);
}

.page-contact .contact-ring-visual {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
}

.page-contact .contact-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-contact .contact-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 4;
}

.page-contact .contact-ring-fill {
  fill: none;
  stroke: var(--pc-orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 242 110;
  animation: pc-contact-ring-pulse 2.6s ease-in-out infinite alternate;
}

.page-contact .contact-ring-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 6px;
  animation: pc-contact-ring-breathe 3s ease-in-out infinite alternate;
}

.page-contact .contact-ring-value {
  font-family: var(--font-num);
  font-size: 3rem;
  font-weight: 700;
  color: var(--pc-white);
  line-height: 1;
}

.page-contact .contact-ring-unit {
  font-size: 14px;
  color: var(--pc-gold-light);
}

.page-contact .contact-ring-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--pc-white);
  margin: 0 0 6px;
}

.page-contact .contact-ring-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.7;
  margin: 0;
}

.page-contact .contact-email-figure {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}

.page-contact .contact-email-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-contact .contact-email-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  background: rgba(10, 22, 40, 0.82);
  color: var(--pc-gold-light);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
}

.page-contact .contact-template-card {
  background: var(--pc-white);
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.page-contact .contact-template-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--pc-paper-deep);
}

.page-contact .contact-template-head-text {
  font-size: 12px;
  color: var(--pc-muted);
}

.page-contact .contact-template-body {
  background: var(--pc-paper);
  border-radius: 2px;
  padding: 16px 14px;
}

.page-contact .template-line {
  display: flex;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(10, 22, 40, 0.12);
  margin: 0;
}

.page-contact .template-line:last-child {
  border-bottom: none;
}

.page-contact .template-key {
  flex: none;
  width: 74px;
  font-weight: 800;
  color: var(--pc-navy);
}

.page-contact .template-val {
  color: var(--pc-ink);
  line-height: 1.5;
}

.page-contact .contact-template-note {
  margin: 12px 0 0;
  font-size: 12px;
  text-align: right;
  color: var(--pc-muted);
}

/* ========== 常见数据问题处理 ========== */

.page-contact .contact-issues {
  background: var(--pc-paper);
  padding: 72px 0;
}

.page-contact .contact-issues-head {
  border-bottom: 1px solid rgba(10, 22, 40, 0.12);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.page-contact .contact-issues-head .section-label {
  color: var(--pc-orange);
}

.page-contact .contact-issues-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  color: var(--pc-ink);
  margin: 8px 0 12px;
}

.page-contact .contact-issues-head p:last-child {
  font-size: 14px;
  color: var(--pc-muted);
  line-height: 1.7;
  margin: 0;
}

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

.page-contact .contact-issue-card {
  position: relative;
  background: var(--pc-navy);
  color: var(--pc-white);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 28px 24px 24px;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-contact .contact-issue-card:hover,
.page-contact .contact-issue-card:focus-within {
  box-shadow: 0 16px 32px rgba(10, 22, 40, 0.24);
  border-color: var(--pc-gold);
}

.page-contact .issue-num {
  position: absolute;
  right: 16px;
  top: 10px;
  font-family: var(--font-num);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.page-contact .issue-topic-tag {
  display: inline-block;
  background: var(--pc-gold);
  color: var(--pc-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.page-contact .contact-issue-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pc-white);
  margin: 16px 0 8px;
}

.page-contact .contact-issue-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-contact .contact-issue-card a {
  display: inline-block;
  font-size: 13px;
  color: var(--pc-gold-light);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.page-contact .contact-issue-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--pc-gold);
  transform: scaleX(0.6);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.page-contact .contact-issue-card a:hover,
.page-contact .contact-issue-card a:focus-visible {
  color: var(--pc-orange);
}

.page-contact .contact-issue-card a:hover::after,
.page-contact .contact-issue-card a:focus-visible::after {
  transform: scaleX(1);
}

/* ========== 合作入口 ========== */

.page-contact .contact-partners {
  position: relative;
  background: var(--pc-navy);
  color: var(--pc-white);
  overflow: hidden;
  padding: 72px 0;
}

.page-contact .contact-partners::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--pc-gold) 18%, transparent 90%);
}

.page-contact .contact-partners::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;
  width: 380px;
  height: 260px;
  background: linear-gradient(90deg, transparent 40%, rgba(201, 169, 97, 0.16) 42%, rgba(201, 169, 97, 0.16) 55%, transparent 57%);
  transform: skewY(-12deg);
  pointer-events: none;
}

.page-contact .contact-partners-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-contact .contact-partners .section-label {
  color: var(--pc-gold-light);
}

.page-contact .contact-partners-main h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 900;
  color: var(--pc-white);
  margin: 10px 0 16px;
}

.page-contact .contact-partners-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 400px;
}

.page-contact .contact-partners-email {
  display: inline-block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--pc-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 97, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-contact .contact-partners-email:hover,
.page-contact .contact-partners-email:focus-visible {
  color: var(--pc-orange);
  border-color: var(--pc-orange);
}

.page-contact .contact-partners-side {
  display: grid;
  gap: 12px;
}

.page-contact .partner-type-card {
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid var(--pc-gold);
  padding: 20px 24px;
}

.page-contact .partner-type-tag {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--pc-gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.page-contact .partner-type-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}

/* ========== 信任与合规 ========== */

.page-contact .contact-trust {
  background: var(--pc-paper);
  padding: 40px 0;
}

.page-contact .contact-trust-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(10, 22, 40, 0.14);
  padding-top: 24px;
}

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

.page-contact .contact-trust-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--pc-steel);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-contact .contact-trust-links a:hover,
.page-contact .contact-trust-links a:focus-visible {
  color: var(--pc-orange);
}

.page-contact .contact-trust-note {
  font-size: 13px;
  color: var(--pc-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

/* ========== 关键帧 ========== */

@keyframes pc-contact-ring-pulse {
  from {
    opacity: 0.76;
  }
  to {
    opacity: 1;
  }
}

@keyframes pc-contact-ring-breathe {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.03);
  }
}

/* ========== 响应式断点 ========== */

@media (min-width: 640px) {
  .page-contact .contact-main-card {
    padding: 40px 36px;
  }

  .page-contact .contact-issues-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .page-contact .contact-hero-inner {
    min-height: 480px;
  }

  .page-contact .contact-hero-layout {
    min-height: 500px;
  }

  .page-contact .contact-hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .page-contact .contact-hero-aside {
    display: block;
  }

  .page-contact .contact-hero-main {
    padding-left: 32px;
    max-width: 720px;
  }

  .page-contact .contact-combined {
    padding: 96px 0 104px;
  }

  .page-contact .contact-combined-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 72px;
    align-items: start;
  }

  .page-contact .contact-response {
    padding: 84px 0 92px;
  }

  .page-contact .contact-response-grid {
    grid-template-columns: 260px 1fr 340px;
    gap: 36px;
    align-items: center;
  }

  .page-contact .contact-issues {
    padding: 88px 0;
  }

  .page-contact .contact-partners {
    padding: 88px 0;
  }

  .page-contact .contact-partners-layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .page-contact .contact-trust {
    padding: 44px 0;
  }

  .page-contact .contact-trust-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-contact .contact-issue-card:nth-child(even) {
    transform: translateY(24px);
  }
}
