.page-contact {
  --ci-split: 26px;
  padding-bottom: 88px;
}

/* 面包屑 */
.page-contact .breadcrumb {
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .breadcrumb a {
  color: var(--blue-soft);
  text-decoration: none;
}

.page-contact .breadcrumb a:hover,
.page-contact .breadcrumb a:focus-visible {
  text-decoration: underline;
}

/* 首屏 */
.page-contact .ci-hero {
  position: relative;
  overflow: hidden;
  padding-top: 22px;
}

.page-contact .ci-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -140px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 106, 26, 0.16), rgba(46, 123, 246, 0.08));
  transform: rotate(24deg);
  pointer-events: none;
  z-index: 0;
}

.page-contact .ci-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
}

.page-contact .ci-hero h1 {
  margin: 12px 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 7.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--paper);
}

.page-contact .ci-hero .lead {
  max-width: 46ch;
  color: var(--paper-dim);
}

.page-contact .ci-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

/* 分流面板 */
.page-contact .ci-route {
  position: relative;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow-hard);
}

.page-contact .ci-route__title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
}

.page-contact .ci-route__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .ci-route__list a {
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  background: var(--panel-2);
  color: var(--paper);
  text-decoration: none;
  transition: background var(--dur) ease, color var(--dur) ease, transform var(--dur) ease;
}

.page-contact .ci-route__list a:hover,
.page-contact .ci-route__list a:focus-visible {
  background: #222b2f;
  transform: translateX(3px);
}

.page-contact .ci-route__k {
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-contact .ci-route__v {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 章节骨架 */
.page-contact .ci-section {
  padding-top: 64px;
}

.page-contact .ci-section .section-head {
  margin-bottom: 24px;
}

.page-contact .ci-section .section-title {
  margin: 10px 0 12px;
}

.page-contact .ci-section .lead {
  color: var(--muted);
}

/* 纠错模板 */
.page-contact .ci-tpl-grid {
  display: grid;
  gap: 28px;
}

.page-contact .ci-tpl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .ci-tpl__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background var(--dur) ease, transform var(--dur) ease, border-color var(--dur) ease;
}

.page-contact .ci-tpl__item:hover {
  background: var(--panel-2);
  border-color: var(--orange);
  transform: translateX(4px);
}

.page-contact .ci-tpl__no {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-contact .ci-tpl__title {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-contact .ci-tpl__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 图像容器 */
.page-contact .ci-figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-contact .ci-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.page-contact .ci-figure figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.page-contact .ci-figure--wide {
  margin-top: 32px;
}

.page-contact .ci-figure--wide img {
  aspect-ratio: 16 / 9;
}

/* 联系通道 */
.page-contact .ci-channels {
  display: grid;
  gap: 16px;
}

.page-contact .ci-channel {
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) ease, border-color var(--dur) ease;
}

.page-contact .ci-channel:hover {
  transform: translateY(-2px);
}

.page-contact .ci-channel--mail {
  border-top-color: var(--orange);
}

.page-contact .ci-channel--phone {
  border-top-color: var(--blue);
}

.page-contact .ci-channel--addr {
  border-top-color: var(--moss);
}

.page-contact .ci-channel__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-contact .ci-channel__value {
  margin: 10px 0 12px;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.page-contact .ci-channel--phone .ci-channel__value {
  color: var(--orange);
}

.page-contact .ci-channel--mail .ci-channel__value {
  color: var(--blue-soft);
}

.page-contact .ci-channel__value--addr {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper-dim);
}

.page-contact .ci-channel__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 合作方向 */
.page-contact .ci-stripes {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .ci-stripes__item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--panel);
  border-left: 6px solid var(--line);
  transition: background var(--dur) ease, border-color var(--dur) ease, padding-left var(--dur) ease;
}

.page-contact .ci-stripes__item:nth-child(odd) {
  border-left-color: var(--orange);
}

.page-contact .ci-stripes__item:nth-child(even) {
  border-left-color: var(--blue);
}

.page-contact .ci-stripes__item:hover {
  background: var(--panel-2);
  padding-left: 28px;
}

.page-contact .ci-stripes__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clay);
}

.page-contact .ci-stripes__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-contact .ci-stripes__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 回复节奏 */
.page-contact .ci-steps {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .ci-steps__item {
  position: relative;
  padding-left: 30px;
}

.page-contact .ci-steps__dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--ink);
}

.page-contact .ci-steps__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: -24px;
  width: 2px;
  background: var(--line);
}

.page-contact .ci-steps__item:last-child::before {
  display: none;
}

.page-contact .ci-steps__title {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-contact .ci-steps__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* 延伸入口 */
.page-contact .ci-next__grid {
  display: grid;
  gap: 10px;
}

.page-contact .ci-next__link {
  position: relative;
  display: block;
  padding: 16px 38px 16px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) ease, border-color var(--dur) ease, color var(--dur) ease;
}

.page-contact .ci-next__link::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--orange);
}

.page-contact .ci-next__link:hover,
.page-contact .ci-next__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: var(--orange-soft);
}

/* 布局断点 */
@media (min-width: 640px) {
  .page-contact .ci-hero__tags {
    margin-top: 26px;
  }

  .page-contact .ci-stripes__item {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px 16px;
  }

  .page-contact .ci-stripes__no {
    grid-row: 1 / span 2;
  }

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

@media (min-width: 900px) {
  .page-contact .ci-hero {
    padding-top: 34px;
  }

  .page-contact .ci-hero__grid {
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 44px;
    align-items: start;
  }

  .page-contact .ci-tpl-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 40px;
    align-items: start;
  }

  .page-contact .ci-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-contact .ci-stripes__item {
    grid-template-columns: 44px minmax(0, 220px) minmax(0, 1fr);
    align-items: baseline;
    padding: 20px 24px;
  }

  .page-contact .ci-stripes__no {
    grid-row: auto;
  }

  .page-contact .ci-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page-contact .ci-steps__item {
    padding-left: 0;
    padding-right: 30px;
  }

  .page-contact .ci-steps__dot {
    position: static;
    margin-bottom: 16px;
  }

  .page-contact .ci-steps__item::before {
    left: 18px;
    right: 0;
    top: 5px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .page-contact .ci-next__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-contact .ci-section {
    padding-top: 78px;
  }

  .page-contact .ci-route {
    padding: 28px 26px;
  }

  .page-contact .ci-next__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .ci-tpl__item,
  .page-contact .ci-channel,
  .page-contact .ci-stripes__item,
  .page-contact .ci-next__link,
  .page-contact .ci-route__list a {
    transition: none;
  }

  .page-contact .ci-tpl__item:hover,
  .page-contact .ci-channel:hover,
  .page-contact .ci-stripes__item:hover,
  .page-contact .ci-next__link:hover,
  .page-contact .ci-route__list a:hover {
    transform: none;
  }
}
