.page-contact {
  --contact-hi: #EAF0F8;
  --contact-desk-line: rgba(16, 26, 44, .14);
  background: var(--bg);
  color: var(--silver);
  font-family: var(--font-sans);
  padding: 18px 16px 72px;
}

.page-contact .crumbs {
  margin: 0 auto 20px;
  max-width: 1240px;
}

.contact-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

/* 左侧常驻信息卡 */
.contact-desk {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #DCE4F1;
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: 0 24px 48px -40px rgba(5, 11, 22, .95);
}

.contact-desk .eyebrow {
  color: var(--signal);
  letter-spacing: .14em;
}

.contact-desk__title {
  margin: 10px 0 12px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

.contact-desk__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.contact-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.contact-line {
  padding: 15px 0;
  border-top: 1px solid var(--contact-desk-line);
  min-width: 0;
}

.contact-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-line:last-child {
  padding-bottom: 0;
}

.contact-line__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-line__value {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: clamp(13.5px, 3.9vw, 16px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-line__value--sm {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
}

.contact-line__hint {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.contact-line__hint a {
  color: #C2461A;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.contact-line__hint a:hover,
.contact-line__hint a:focus-visible {
  color: var(--signal);
}

.contact-desk__note {
  margin: 22px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--signal);
  background: rgba(255, 122, 51, .1);
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-soft);
}

/* 右侧连续画布 */
.contact-canvas {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.contact-intro__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--contact-hi);
}

.contact-intro__text {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--silver);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--silver);
  text-decoration: none;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--signal);
  background: rgba(255, 122, 51, .1);
  color: var(--contact-hi);
  outline: none;
}

.chip:focus-visible {
  box-shadow: 0 0 0 2px var(--signal);
}

.chip__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--signal);
}

.contact-section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  scroll-margin-top: calc(var(--bar-h) + 16px);
}

.contact-section .sect-head {
  margin-bottom: 20px;
}

.page-contact .grid12 {
  row-gap: 26px;
}

.contact-lead {
  margin: 0 0 20px;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.76;
  color: var(--silver);
}

.contact-lead a,
.contact-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 225, 198, .45);
}

.contact-lead a:hover,
.contact-note a:hover,
.contact-lead a:focus-visible,
.contact-note a:focus-visible {
  border-bottom-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 225, 198, .35);
}

/* 渠道区块 */
.channels {
  display: grid;
  gap: 12px;
  align-content: start;
}

.channel {
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-hi);
  border-radius: var(--radius);
  scroll-margin-top: calc(var(--bar-h) + 16px);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.channel:hover {
  background: var(--panel-lift);
  border-color: var(--line-hi);
}

.channel:target {
  background: var(--panel-lift);
  border-color: var(--line-hi);
  border-left-color: var(--signal);
}

.channel__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--contact-hi);
}

.channel__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--silver);
}

.channel__text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 225, 198, .45);
}

.channel__text a:hover,
.channel__text a:focus-visible {
  border-bottom-color: var(--cyan);
  outline: none;
}

.channel__meta {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--grey);
  overflow-wrap: anywhere;
}

.channel-visual {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-contact .frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.channel-visual__cap {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey);
  margin: 0;
}

/* 材料清单 */
.mats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mats__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.mats__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mats__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
}

.mats__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--silver);
}

.mats__body strong {
  color: var(--contact-hi);
  font-weight: 700;
}

.contact-note {
  margin: 22px 0 0;
  max-width: 72ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--grey);
}

/* 办公地点 */
.office {
  display: grid;
  gap: 22px;
}

.office__addr {
  display: block;
  margin: 0 0 14px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: .01em;
  color: var(--contact-hi);
}

.office__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--silver);
}

.office__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.office__points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
}

.office__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 1px;
  background: var(--signal);
}

/* 合作 */
.coop-grid {
  display: grid;
  gap: 20px;
}

.coop-item {
  padding-top: 16px;
  border-top: 2px solid var(--line-hi);
}

.coop-item__title {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--contact-hi);
}

.coop-item__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--silver);
}

.coop-stats {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.coop-stats .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--contact-hi);
}

.coop-stats .stat__num--signal {
  color: var(--signal);
}

.coop-stats .stat__label {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey);
}

/* 处理流程 */
.steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.step {
  position: relative;
  padding: 0 0 26px 54px;
}

.step:last-child {
  padding-bottom: 0;
}

.step::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-hi);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--signal);
}

.step__title {
  margin: 6px 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--contact-hi);
}

.step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--silver);
}

@media (min-width: 560px) {
  .coop-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .page-contact {
    padding: 26px 26px 96px;
  }

  .contact-desk {
    padding: 28px 26px 30px;
  }

  .contact-desk__title {
    font-size: 32px;
  }

  .contact-intro__title {
    font-size: 28px;
  }

  .coop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .coop-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .office {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 34px;
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-contact {
    padding: 34px 40px 120px;
  }

  .contact-shell {
    grid-template-columns: 336px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .contact-desk {
    position: sticky;
    top: calc(var(--bar-h) + 18px);
    padding: 30px 26px 32px;
  }

  .contact-desk__title {
    font-size: 34px;
  }

  .contact-canvas {
    gap: 46px;
  }
}
