/* ===== 联系我们 · 页面专属样式 ===== */
.page-contact {
  --ct-gap: clamp(20px, 4vw, 44px);
  --ct-line: rgba(239, 231, 216, 0.12);
  overflow-x: clip;
}

/* --- 首屏 --- */
.page-contact .ct-hero {
  padding-top: clamp(40px, 7vw, 88px);
  padding-bottom: clamp(24px, 3.5vw, 44px);
}

.page-contact .ct-hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 14px 0 20px;
  max-width: 20ch;
}

.page-contact .ct-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
}

/* --- 联系信息板 --- */
.page-contact .ct-board {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-lg);
  background: var(--ink);
  padding-block: clamp(34px, 5vw, 68px);
}

.page-contact .ct-board__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: var(--r-lg);
  opacity: 0.17;
  pointer-events: none;
}

.page-contact .ct-board__texture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.page-contact .ct-board__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ct-gap);
  align-items: start;
}

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

/* 单条渠道说明牌 */
.page-contact .ct-channel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 26px);
  padding-left: clamp(22px, 2.8vw, 30px);
  background: var(--archive);
  border: 2px solid var(--iron);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-sm);
}

.page-contact .ct-channel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--cyan);
}

.page-contact .ct-channel--phone::before {
  background: var(--signal);
}

.page-contact .ct-channel--address::before {
  background: var(--amber);
}

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

.page-contact .ct-channel__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 2px solid var(--iron);
  border-radius: var(--r-sm);
  padding: 5px;
}

.page-contact .ct-channel--phone .ct-channel__icon {
  color: var(--signal);
}

.page-contact .ct-channel--address .ct-channel__icon {
  color: var(--amber);
}

.page-contact .ct-channel__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-contact .ct-channel__meta {
  min-width: 0;
}

.page-contact .ct-channel__kind {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
}

.page-contact .ct-channel__use {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.page-contact .ct-channel__value {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2.2vw, 1.24rem);
  line-height: 1.5;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.page-contact .ct-channel--phone .ct-channel__value {
  color: var(--signal);
}

.page-contact .ct-channel__value--address {
  font-size: clamp(0.88rem, 1.9vw, 1rem);
  color: var(--amber);
  letter-spacing: 0.01em;
}

.page-contact .ct-channel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-contact .ct-channel__hint {
  flex: 1 1 190px;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --- 先准备这些信息 --- */
.page-contact .ct-checklist {
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(53, 240, 220, 0.07), rgba(53, 240, 220, 0) 60%),
    var(--archive);
  border: 2px solid var(--iron);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard);
}

.page-contact .ct-checklist__title {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-contact .ct-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.page-contact .ct-checklist__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ct-line);
}

.page-contact .ct-checklist__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-contact .ct-checklist__num {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding-top: 3px;
}

.page-contact .ct-checklist__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.page-contact .ct-checklist__text b {
  font-weight: 600;
  color: var(--paper);
}

.page-contact .ct-checklist__foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ct-line);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--cyan);
}

/* --- 通用小标题 --- */
.page-contact .ct-section__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 12px 0 16px;
}

/* --- 受理范围 · 磁带标签网格 --- */
.page-contact .ct-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.page-contact .ct-scope {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 18px 18px;
  text-decoration: none;
  color: var(--paper);
  background: var(--archive);
  border: 2px solid var(--iron);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-contact .ct-scope:hover,
.page-contact .ct-scope:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border-color: var(--cyan);
}

.page-contact .ct-scope__icon {
  width: 32px;
  height: 32px;
  color: var(--cyan);
}

.page-contact .ct-scope__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-contact .ct-scope__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-contact .ct-scope__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-contact .ct-scope__go {
  margin-top: 4px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-contact .ct-scope__go::after {
  content: " →";
}

/* --- 处理流程 --- */
.page-contact .ct-flow__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ct-gap);
  align-items: start;
}

.page-contact .ct-flow__media {
  margin: 0;
  border: 2px solid var(--iron);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-hard-sm);
}

.page-contact .ct-flow__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-contact .ct-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ct-line);
}

.page-contact .ct-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ct-line);
}

.page-contact .ct-step__num {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding-top: 5px;
}

.page-contact .ct-step__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--paper);
}

.page-contact .ct-step__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

/* --- 意见与纠错 --- */
.page-contact .ct-fix__panel {
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--archive);
  border: 2px solid var(--iron);
  border-left: 4px solid var(--signal);
  border-radius: var(--r-md);
}

.page-contact .ct-fix__text {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .ct-fix__text:last-of-type {
  margin-bottom: 18px;
}

/* --- 来访与地址 --- */
.page-contact .ct-visit__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3.4vw, 36px);
  background:
    linear-gradient(120deg, rgba(242, 193, 78, 0.07), rgba(242, 193, 78, 0) 55%),
    var(--archive);
  border: 2px solid var(--iron);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-hard-sm);
}

.page-contact .ct-visit__head .ct-section__title {
  margin-bottom: 0;
}

.page-contact .ct-visit__text {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .ct-visit__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-contact .ct-visit__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-contact .ct-visit__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--amber);
  border-radius: 2px;
}

.page-contact .ct-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- 收束 --- */
.page-contact .ct-cta {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.page-contact .ct-cta__strip {
  height: 4px;
  border-radius: var(--pill);
  background: linear-gradient(
    90deg,
    var(--y2021) 0%,
    var(--y2022) 34%,
    var(--y2023) 66%,
    var(--y2024) 100%
  );
  margin-bottom: clamp(24px, 3vw, 36px);
}

.page-contact .ct-cta__body {
  max-width: 74ch;
}

.page-contact .ct-cta__text {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .ct-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- 断点 --- */
@media (min-width: 720px) {
  .page-contact .ct-visit__panel {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 3.6vw, 48px);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-contact .ct-board__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.85fr);
    gap: clamp(24px, 3.6vw, 52px);
  }

  .page-contact .ct-checklist {
    position: sticky;
    top: 96px;
  }

  .page-contact .ct-flow__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(26px, 4vw, 56px);
  }

  .page-contact .ct-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .page-contact .ct-channel__value {
    font-size: 0.86rem;
  }

  .page-contact .ct-checklist__item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .page-contact .ct-step {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .ct-scope {
    transition: none;
  }
}
