.page-contact {
  background-color: var(--c-warm);
  background-image: radial-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--c-ink);
  position: relative;
}

/* ---------- 首屏 Hero ---------- */
.contact-hero {
  position: relative;
  border-radius: var(--r-lg);
  padding: 44px 24px 52px;
  background:
    radial-gradient(circle at 88% 16%, rgba(74, 159, 216, 0.3), transparent 42%),
    linear-gradient(135deg, var(--c-deep) 0%, var(--c-bay) 58%, var(--c-azure) 150%);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-bottom: 56px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.contact-hero::after {
  content: "06 / CONNECT";
  position: absolute;
  right: 24px;
  top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.contact-hero .breadcrumb {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.contact-hero .breadcrumb a:hover {
  color: var(--c-amber);
}

.contact-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.38);
}

.contact-hero__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-amber);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.contact-hero h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.contact-hero__lead {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
  max-width: 640px;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.contact-hero__actions .btn--ghost:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
}

/* ---------- 通用章节 ---------- */
.contact-section {
  margin-bottom: 56px;
}

.channels-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.channels-figure {
  background: var(--c-frost);
  border-radius: var(--r-md);
  padding: 14px 14px 10px;
  max-width: 300px;
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.channels-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: var(--r-md);
}

.channels-figure .figure-card__label {
  margin-top: 8px;
}

/* ---------- 联系渠道卡片 ---------- */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.channel-card {
  background: #ffffff;
  border-radius: var(--r-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.channel-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.channel-card__icon svg {
  width: 24px;
  height: 24px;
}

.channel-card--mail .channel-card__icon {
  background: rgba(46, 125, 50, 0.12);
  color: var(--c-green);
}

.channel-card--phone .channel-card__icon {
  background: rgba(255, 108, 47, 0.14);
  color: var(--c-orange);
}

.channel-card--address .channel-card__icon {
  background: rgba(230, 179, 37, 0.18);
  color: var(--c-gold);
}

.channel-card .tag {
  align-self: flex-start;
}

.channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-card__body h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-ink);
}

.channel-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--c-gray);
}

.channel-card__value {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.925rem;
  line-height: 1.5;
  word-break: break-all;
  color: var(--c-bay);
  font-weight: 600;
}

a.channel-card__value {
  text-decoration: none;
  border-bottom: 1px dashed rgba(74, 159, 216, 0.6);
  transition: border-color 0.2s ease;
}

a.channel-card__value:hover {
  border-bottom-color: var(--c-orange);
}

/* ---------- 人工支持 ---------- */
.support-panel {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--c-frost) 0%, #ffffff 100%);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.support-panel__mailside {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-panel__label {
  margin: 0 0 10px;
  font-size: 0.875rem;
  color: var(--c-gray);
}

.support-panel__mail {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 700;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 108, 47, 0.6);
  padding-bottom: 4px;
  word-break: break-all;
}

.support-panel__mail:hover {
  border-bottom-color: var(--c-orange);
}

.support-panel__timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 18px;
  padding: 8px 16px;
  background: var(--c-deep);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
}

.support-panel__clock {
  flex-shrink: 0;
  color: var(--c-amber);
}

.support-panel__list {
  padding: 30px 26px;
}

.support-panel__list h3 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
}

.support-steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.support-steps li {
  position: relative;
  padding-left: 36px;
  line-height: 1.65;
  font-size: 0.925rem;
  color: var(--c-gray);
}

.support-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--c-bay);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.support-panel__usage {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(11, 31, 58, 0.16);
  font-size: 0.8rem;
  color: var(--c-gray);
}

/* ---------- 常见联系原因 ---------- */
.reasons-list {
  display: grid;
  gap: 12px;
}

.reason-item {
  background: #ffffff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.06);
  overflow: hidden;
}

.reason-item__summary {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.reason-item__summary::-webkit-details-marker {
  display: none;
}

.reason-item__summary:hover .reason-item__title {
  color: var(--c-orange);
}

.reason-item__index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-azure);
}

.reason-item__title {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
  transition: color 0.2s ease;
}

.reason-item__arrow {
  color: var(--c-gray);
  transition: transform 0.3s var(--ease);
}

.reason-item[open] .reason-item__arrow {
  transform: rotate(180deg);
}

.reason-item__content {
  padding: 0 22px 22px 68px;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--c-gray);
}

.reason-item__content p {
  margin: 0 0 8px;
}

.reason-item__content p:last-child {
  margin-bottom: 0;
}

.reason-item__content a {
  color: var(--c-azure);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ---------- 响应时间 ---------- */
.response-panel {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(150deg, var(--c-deep) 0%, var(--c-bay) 55%, #1d4e7e 130%);
  border-radius: var(--r-lg);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.response-panel__figure {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}

.response-panel__figure img {
  display: block;
  max-width: 100%;
  width: 240px;
  height: auto;
  border-radius: var(--r-md);
}

.response-panel__figure .figure-card__label {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}

.response-panel__body {
  padding: 30px 24px 34px;
}

.response-panel__body .section-head__lead {
  color: rgba(255, 255, 255, 0.8);
}

.response-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.response-list__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.response-list__item span {
  font-family: var(--font-mono);
  color: var(--c-amber);
  font-size: 0.85rem;
  padding-top: 2px;
}

/* 浅色 section head 适配深色背景 */
.page-contact .section-head--light .section-head__index {
  color: var(--c-amber);
}

.page-contact .section-head--light .section-head__title {
  color: #ffffff;
}

.page-contact .section-head--light .section-head__lead {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- 自助优先 ---------- */
.selfhelp-banner {
  position: relative;
  background: linear-gradient(135deg, #ffe9db 0%, #fff3e8 40%, var(--c-amber) 130%);
  border-radius: var(--r-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  color: var(--c-deep);
}

.selfhelp-banner::after {
  content: "SELF-HELP";
  font-family: var(--font-mono);
  position: absolute;
  right: 14px;
  top: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(11, 31, 58, 0.16);
  pointer-events: none;
}

.selfhelp-banner__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-orange);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.selfhelp-banner__title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-deep);
}

.selfhelp-banner__lead {
  margin: 0 0 22px;
  line-height: 1.75;
  font-size: 0.95rem;
  color: var(--c-gray);
  max-width: 640px;
}

.selfhelp-banner__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.selfhelp-banner__scope li {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(11, 31, 58, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-deep);
}

.selfhelp-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.selfhelp-banner .btn--ghost {
  border-color: rgba(11, 31, 58, 0.35);
  color: var(--c-deep);
}

.selfhelp-banner .btn--ghost:hover {
  background: rgba(11, 31, 58, 0.1);
  border-color: var(--c-deep);
}

.selfhelp-banner .btn--light {
  background: #ffffff;
}

.selfhelp-banner .btn--light:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .contact-hero {
    padding: 56px 40px 60px;
    margin-bottom: 64px;
  }

  .contact-hero__lead {
    font-size: 1.05rem;
  }

  .channels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .support-panel {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .support-panel__mailside {
    border-right: 1px solid rgba(11, 31, 58, 0.08);
    border-bottom: none;
  }

  .support-panel__timer {
    margin-top: 24px;
  }

  .response-panel {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .response-panel__figure {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
  }

  .response-panel__body {
    padding: 40px 34px 40px;
  }

  .selfhelp-banner {
    padding: 44px 40px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .channels-top {
    grid-template-columns: 1fr auto;
    gap: 40px;
  }

  .channels-figure {
    margin-left: auto;
  }

  .channels-figure img {
    width: 300px;
  }

  .contact-section {
    margin-bottom: 72px;
  }

  .response-list {
    gap: 14px;
  }

  .selfhelp-banner__lead {
    font-size: 1rem;
    max-width: 680px;
  }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .channel-card,
  .reason-item__arrow,
  .contact-hero__actions .btn--ghost,
  .support-panel__mail {
    transition: none;
  }
}
