.page-contact {
  --page-orange: #F26522;
  --page-cyan: #2ED6B4;
  --page-line: #2C4C66;
  --page-grid-line: rgba(44, 76, 102, 0.14);

  position: relative;
  background:
    linear-gradient(to right, var(--page-grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(to bottom, var(--page-grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, #1E3A5A 0%, #0A1A2F 50%, #123A45 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.75;
}

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

/* 刊头信笺区 */
.page-contact .letterhead-strip {
  border-bottom: 1px solid var(--page-line);
  padding: 24px 0 44px;
}

.page-contact .breadcrumb {
  margin: 0 0 36px;
}

.page-contact .letterhead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.page-contact .eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--page-cyan);
}

.page-contact h1 {
  margin: 0 0 20px;
  font-family: var(--font-headline);
  font-size: clamp(38px, 8vw, 64px);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.page-contact .lead {
  max-width: 38em;
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-secondary);
}

.page-contact .channel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-contact .channel-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.page-contact .channel-meta .status-dot {
  flex: none;
  width: 8px;
  height: 8px;
}

.page-contact .letterhead-figure {
  position: relative;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--page-line);
  background: rgba(17, 42, 68, 0.55);
}

.page-contact .letterhead-figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--page-orange);
  border-left: 2px solid var(--page-orange);
}

.page-contact .letterhead-figure::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--page-cyan);
  border-bottom: 2px solid var(--page-cyan);
  opacity: 0.85;
}

.page-contact .letterhead-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-contact .letterhead-figure figcaption {
  padding: 8px 4px 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

/* 信纸正文 */
.page-contact .letterbody {
  position: relative;
  padding: 48px 0 64px;
}

.page-contact .letterbody::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: repeating-linear-gradient(
    to bottom,
    var(--page-line) 0 1px,
    transparent 1px 16px
  );
  opacity: 0.4;
  display: none;
}

.page-contact .letter-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 共享节头 */
.page-contact .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--page-line);
}

.page-contact .section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--page-orange);
}

.page-contact .section-head h2 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.page-contact .section-tag {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--text-secondary);
}

/* 01 官方联系渠道 */
.page-contact .contacts-section {
  margin-bottom: 64px;
}

.page-contact .contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--page-line);
  border: 1px solid var(--page-line);
}

.page-contact .contact-card {
  background: rgba(17, 42, 68, 0.92);
  border-top: 4px solid transparent;
  padding: 24px 24px 26px;
}

.page-contact .email-card {
  border-top-color: var(--page-cyan);
}

.page-contact .phone-card {
  border-top-color: var(--page-orange);
}

.page-contact .address-card {
  border-top-color: rgba(44, 76, 102, 0.55);
}

.page-contact .card-kicker {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
}

.page-contact .contact-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
}

.page-contact .contact-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(18px, 4vw, 26px);
  line-height: 1.4;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-contact .address-value {
  font-size: clamp(16px, 3.4vw, 24px);
}

.page-contact a.contact-value {
  transition: color var(--transition);
}

.page-contact a.contact-value:hover,
.page-contact a.contact-value:focus-visible {
  color: var(--page-cyan);
  outline: none;
}

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

.page-contact .channel-boundary {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--page-line);
  font-size: 13px;
  color: var(--text-secondary);
}

.page-contact .channel-boundary a {
  color: var(--page-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-contact .phone-value {
  position: relative;
}

.page-contact .phone-value::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: max-content;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--page-orange);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
}

.page-contact .phone-value:hover::after,
.page-contact .phone-value:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 02 服务流程 */
.page-contact .process-section {
  margin-bottom: 64px;
}

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

.page-contact .process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-contact .process-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--page-line);
}

.page-contact .process-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-contact .step-num {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--page-cyan);
}

.page-contact .step-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

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

.page-contact .process-figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--page-line);
  background: rgba(17, 42, 68, 0.55);
}

.page-contact .process-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-contact .process-figure figcaption {
  padding: 8px 4px 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

/* 03 帮助台优先建议 */
.page-contact .helpdesk-section {
  margin-bottom: 48px;
}

.page-contact .helpdesk-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 20px 26px;
  border: 1px dashed var(--page-orange);
  background: rgba(242, 101, 34, 0.055);
}

.page-contact .callout-lead {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
}

.page-contact .keyword-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-contact .keyword-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-contact .keyword-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--page-orange);
}

.page-contact .callout-reason,
.page-contact .callout-update {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.page-contact .callout-update {
  margin-bottom: 0;
}

.page-contact .seven-steps {
  margin: 14px 0 16px;
  padding: 0 16px 4px;
  border: 1px solid var(--page-line);
  background: rgba(17, 42, 68, 0.45);
}

.page-contact .seven-steps summary {
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.page-contact .seven-steps summary::-webkit-details-marker {
  display: none;
}

.page-contact .seven-steps summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 400;
  color: var(--page-orange);
  transition: transform var(--transition);
}

.page-contact .seven-steps[open] summary::before {
  transform: rotate(45deg);
}

.page-contact .seven-step-list {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0 0 0 28px;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-contact .callout-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 101, 34, 0.3);
}

.page-contact .callout-side .btn-primary {
  width: 100%;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.page-contact .callout-side .btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.16), 0 0 24px rgba(242, 101, 34, 0.3);
  transform: translateY(-1px);
}

.page-contact .callout-side .btn-primary:focus-visible {
  outline: 2px solid var(--page-cyan);
  outline-offset: 3px;
}

.page-contact .callout-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

/* 信任声明 */
.page-contact .trust-line {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--page-cyan);
  background: rgba(46, 214, 180, 0.055);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 统一焦点 */
.page-contact a:focus-visible {
  outline: 2px solid var(--page-cyan);
  outline-offset: 3px;
}

/* 平板及以上 */
@media (min-width: 768px) {
  .page-contact .section-tag {
    flex-basis: auto;
    margin-left: auto;
  }

  .page-contact .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-contact .email-card {
    grid-column: 1 / -1;
  }

  .page-contact .keyword-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-contact .callout-reason,
  .page-contact .callout-update {
    font-size: 14px;
  }

  .page-contact .helpdesk-callout {
    padding: 28px 30px;
  }
}

/* 桌面 */
@media (min-width: 1024px) {
  .page-contact .letterhead-strip {
    padding: 40px 0 64px;
  }

  .page-contact .letterhead-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .page-contact h1 {
    font-size: 64px;
  }

  .page-contact .letterbody {
    padding: 72px 0 96px;
  }

  .page-contact .letterbody::before {
    display: block;
  }

  .page-contact .letter-container {
    padding: 0 48px;
  }

  .page-contact .contacts-section,
  .page-contact .process-section {
    margin-bottom: 88px;
  }

  .page-contact .contacts-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .page-contact .email-card {
    grid-column: auto;
  }

  .page-contact .contact-card {
    min-height: 260px;
    padding: 32px 28px;
  }

  .page-contact .process-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: start;
  }

  .page-contact .process-list {
    padding-right: 52px;
    border-right: 1px solid var(--page-line);
  }

  .page-contact .process-step {
    padding: 26px 0;
  }

  .page-contact .helpdesk-callout {
    grid-template-columns: 1fr 260px;
    gap: 36px;
    align-items: center;
    padding: 34px 40px;
  }

  .page-contact .callout-side {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
    padding-left: 32px;
    border-top: 0;
    border-left: 1px solid rgba(242, 101, 34, 0.3);
  }

  .page-contact .callout-note {
    text-align: left;
  }

  .page-contact .trust-line {
    padding: 16px 20px;
  }
}
