.page-contact {
  --ct-gap: clamp(1.5rem, 3.6vw, 3rem);
  --ct-pad: clamp(1rem, 2.6vw, 1.6rem);
  padding-block: clamp(1rem, 2.5vw, 1.75rem) clamp(4rem, 9vw, 7rem);
  color: var(--ice);
}

.page-contact :where(h1, h2, h3, p, ul, dl, dd, figure) {
  margin: 0;
}

.page-contact ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* ---------- 首屏 ---------- */
.ct-hero {
  display: grid;
  gap: var(--ct-gap);
  margin-top: 1rem;
}

.ct-hero__info {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.ct-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ice);
  text-wrap: balance;
}

.ct-hero__lede {
  max-width: 46ch;
  color: var(--mist);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.78;
}

.ct-channels__title {
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--ice);
}

.ct-channels {
  display: grid;
  gap: 0.85rem;
}

.ct-channel {
  display: grid;
  gap: 0.45rem;
  padding: var(--ct-pad);
  background: var(--panel-soft);
  border: 1px solid var(--steel);
  border-left: 3px solid var(--cyan-deep);
  box-shadow: var(--shadow-hard);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.ct-channel:hover,
.ct-channel:focus-within {
  transform: translateY(-3px);
  border-color: var(--cyan);
  border-left-color: var(--cyan);
}

.ct-channel--phone {
  border-left-color: var(--orange);
}

.ct-channel--phone:hover,
.ct-channel--phone:focus-within {
  border-left-color: var(--orange);
}

.ct-channel__tag {
  justify-self: start;
}

.ct-channel__value {
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 2.6vw, 1.05rem);
  letter-spacing: 0.01em;
  color: var(--cyan);
  overflow-wrap: anywhere;
  user-select: all;
}

.ct-channel--phone .ct-channel__value {
  color: var(--orange);
}

.ct-channel__text {
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.72;
}

.ct-channel__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--green);
}

.ct-channel__copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cyan-deep);
  line-height: 1.7;
}

.ct-hero__visual {
  position: relative;
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-hard);
}

.ct-hero__visual::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  bottom: -0.5rem;
  width: 48%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  transform: rotate(-8deg);
  pointer-events: none;
}

/* ---------- 通用区块头 ---------- */
.ct-steps,
.ct-hours,
.ct-coop,
.ct-meta,
.ct-tips {
  margin-top: var(--ct-gap);
  padding-top: var(--ct-gap);
  border-top: 1px solid var(--steel);
}

.ct-sec-head {
  display: grid;
  gap: 0.5rem;
}

.ct-sec-head h2 {
  font-size: clamp(1.3rem, 4vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ice);
}

.ct-sec-head p {
  max-width: 62ch;
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ---------- 三步反馈 ---------- */
.ct-steps__grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.ct-step {
  display: grid;
  gap: 0.4rem;
  padding: var(--ct-pad);
  background: var(--panel);
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-hard);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.ct-step:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.ct-step__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.ct-step h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.ct-step p {
  color: var(--mist);
  font-size: 0.89rem;
  line-height: 1.72;
}

.ct-figure {
  margin-top: 1.25rem;
  max-width: 620px;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-hard);
}

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

/* ---------- 服务时间 ---------- */
.ct-hours__list {
  margin-top: 1.35rem;
  display: grid;
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.ct-hours__row {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
}

.ct-hours__row dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--mist);
}

.ct-hours__row dd {
  margin: 0;
  color: var(--ice);
  font-size: 0.94rem;
  line-height: 1.62;
}

.ct-hours__row--accent {
  background: linear-gradient(90deg, rgba(57, 242, 154, 0.13), rgba(12, 26, 43, 0) 72%), var(--panel);
}

.ct-hours__row--accent dd {
  color: var(--green);
}

/* ---------- 合作咨询 ---------- */
.ct-tabs {
  margin-top: 1.35rem;
}

.ct-tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.ct-tabs__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ct-tabs__label {
  font-family: var(--font-mono);
  font-size: 0.77rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.85rem;
  background: var(--panel-soft);
  border: 1px solid var(--steel);
  color: var(--mist);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ct-tabs__label:hover {
  color: var(--ice);
  border-color: var(--cyan);
}

.page-contact #ct-coop-1:checked ~ .ct-tabs__labels > :nth-child(1),
.page-contact #ct-coop-2:checked ~ .ct-tabs__labels > :nth-child(2),
.page-contact #ct-coop-3:checked ~ .ct-tabs__labels > :nth-child(3),
.page-contact #ct-coop-4:checked ~ .ct-tabs__labels > :nth-child(4) {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--void);
}

.page-contact .ct-tabs__radio:focus-visible ~ .ct-tabs__labels {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.ct-tabs__panels {
  margin-top: 1rem;
}

.ct-tabs__panel {
  display: none;
  gap: 0.6rem;
  padding: var(--ct-pad);
  background: var(--panel);
  border: 1px solid var(--steel);
  border-top: 3px solid var(--cyan);
}

.page-contact #ct-coop-1:checked ~ .ct-tabs__panels > :nth-child(1),
.page-contact #ct-coop-2:checked ~ .ct-tabs__panels > :nth-child(2),
.page-contact #ct-coop-3:checked ~ .ct-tabs__panels > :nth-child(3),
.page-contact #ct-coop-4:checked ~ .ct-tabs__panels > :nth-child(4) {
  display: grid;
}

.ct-tabs__panel h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.ct-tabs__panel p {
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.72;
}

.ct-tabs__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ct-tabs__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--mist);
  font-size: 0.87rem;
  line-height: 1.62;
}

.ct-tabs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--green);
}

.ct-coop__note {
  margin-top: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

/* ---------- 地址与备案 ---------- */
.ct-meta__band {
  margin-top: 1.35rem;
  display: grid;
  gap: 1px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.ct-meta__cell {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  background: var(--panel-soft);
}

.ct-meta__key {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.16em;
  color: var(--cyan-deep);
}

.ct-meta__val {
  color: var(--ice);
  font-size: 0.94rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  user-select: all;
}

.ct-meta__hint {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 提交前提示 ---------- */
.ct-tips__list {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.ct-tip {
  background: var(--panel);
  border: 1px solid var(--steel);
}

.ct-tip[open] {
  border-color: var(--cyan-deep);
}

.ct-tip__summary {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--ice);
  cursor: pointer;
  list-style: none;
}

.ct-tip__summary::-webkit-details-marker {
  display: none;
}

.ct-tip__summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  color: var(--orange);
}

.ct-tip[open] .ct-tip__summary::before {
  content: "\2212";
}

.ct-tip__summary:hover {
  color: var(--cyan);
}

.ct-tip__summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -2px;
}

.ct-tip__body {
  padding: 0 1rem 0.95rem 1.95rem;
  color: var(--mist);
  font-size: 0.89rem;
  line-height: 1.76;
}

.ct-tip__body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ct-tip__body a:hover {
  color: var(--focus);
}

.ct-closing {
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green);
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .ct-steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ct-hours__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-meta__band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ct-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .ct-hero__visual {
    position: sticky;
    top: 1.5rem;
  }

  .ct-steps__grid {
    gap: 1.1rem;
  }

  .ct-figure {
    max-width: 100%;
  }

  .ct-tip__body {
    max-width: 74ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-channel,
  .ct-step,
  .ct-tabs__label {
    transition: none;
  }

  .ct-channel:hover,
  .ct-channel:focus-within,
  .ct-step:hover {
    transform: none;
  }
}
