.page-contact {
  --contact-hair: rgba(11, 20, 32, .09);
  --contact-hair-strong: rgba(11, 20, 32, .16);
  --contact-soft: rgba(223, 230, 238, .5);
}

.page-contact .contact-hero__title {
  margin: 12px 0 20px;
}

.page-contact .contact-hero__lede {
  max-width: 60ch;
}

.page-contact .contact-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--steel);
}

.page-contact .contact-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-left: 14px;
  border-left: 2px solid var(--ublue);
}

.page-contact .contact-hero__facts .mono {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}

/* ---------- 渠道 + 流程 ---------- */
.page-contact .contact-routes__grid {
  display: grid;
  gap: 44px;
}

.page-contact .channels {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-contact .channel {
  display: grid;
  gap: 9px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--contact-hair);
  border-left: 3px solid var(--ublue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--dur) ease, border-color var(--dur) ease;
}

.page-contact .channels > li:nth-child(2) {
  border-left-color: var(--tint);
}

.page-contact .channels > li:nth-child(3) {
  border-left-color: var(--cyan);
}

.page-contact .channel:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.page-contact .channel__kind {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ublue);
}

.page-contact .channel__value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}

.page-contact a.channel__value:hover {
  color: var(--ublue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-contact .channel .btn {
  justify-self: start;
  margin-top: 4px;
}

.page-contact .response-note {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--contact-soft);
  border: 1px solid var(--contact-hair);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
}

.page-contact .response-note p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

/* 流程线 */
.page-contact .contact-routes__side {
  padding-top: 6px;
}

.page-contact .flow {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-contact .flow__step {
  position: relative;
  padding: 0 0 30px 32px;
  border-left: 1px solid var(--contact-hair-strong);
}

.page-contact .flow__step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-contact .flow__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ublue);
}

.page-contact .flow__step:first-child::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 230, 214, .18);
}

.page-contact .flow__no {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--tint);
}

.page-contact .flow__content h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.page-contact .flow__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-contact .flow__hint {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(46, 230, 214, .09);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- 接待时段 ---------- */
.page-contact .contact-hours {
  background: var(--contact-soft);
}

.page-contact .contact-hours__grid {
  display: grid;
  gap: 34px;
}

.page-contact .hours-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-contact .hours-list li {
  display: grid;
  gap: 5px;
  padding: 15px 0;
  border-top: 1px solid var(--contact-hair-strong);
}

.page-contact .hours-list li:last-child {
  border-bottom: 1px solid var(--contact-hair-strong);
}

.page-contact .hours-list .mono {
  font-size: 15px;
  font-weight: 600;
  color: var(--ublue);
  letter-spacing: .01em;
}

.page-contact .hours-list span:last-child {
  font-size: 15px;
  line-height: 1.75;
  color: var(--steel);
}

.page-contact .contact-hours__tip {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-contact .contact-hours__tip a {
  color: var(--ublue);
  text-underline-offset: 3px;
}

.page-contact .contact-hours__media {
  margin: 0;
}

/* ---------- 自查清单 ---------- */
.page-contact .checklist {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-contact .checklist__item {
  position: relative;
}

.page-contact .checklist__box {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--tint);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  transition: background var(--dur) ease, border-color var(--dur) ease;
}

.page-contact .checklist__box:checked {
  background: var(--ublue);
  border-color: var(--ublue);
}

.page-contact .checklist__box:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-contact .checklist__box:focus-visible + .checklist__label {
  outline: 2px solid var(--ublue);
  outline-offset: 2px;
}

.page-contact .checklist__label {
  display: block;
  padding: 18px 20px 18px 54px;
  background: var(--white);
  border: 1px solid var(--contact-hair);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur) ease, background var(--dur) ease;
}

.page-contact .checklist__box:checked + .checklist__label {
  border-color: rgba(29, 91, 214, .45);
  background: rgba(29, 91, 214, .05);
}

.page-contact .checklist__label:hover {
  border-color: var(--tint);
}

.page-contact .checklist__title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.page-contact .checklist__desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-contact .contact-precheck__foot {
  margin: 24px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-contact .contact-precheck__foot a {
  color: var(--ublue);
  text-underline-offset: 3px;
}

/* ---------- 反馈处理 ---------- */
.page-contact .contact-process__grid {
  display: grid;
  gap: 34px;
}

.page-contact .contact-process__media {
  margin: 0;
}

.page-contact .briefs {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-contact .briefs__row {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-top: 1px solid var(--contact-hair-strong);
}

.page-contact .briefs__row:last-child {
  border-bottom: 1px solid var(--contact-hair-strong);
}

.page-contact .briefs dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-contact .briefs dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-contact .contact-process__note {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--ublue);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

/* ---------- 地址与备案 ---------- */
.page-contact .contact-office__grid {
  display: grid;
  gap: 38px;
}

.page-contact .office-card {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--contact-hair-strong);
  border-radius: var(--radius);
  font-style: normal;
}

.page-contact .office-card__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ublue);
}

.page-contact .office-card__value {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.page-contact .facts {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--contact-hair-strong);
}

.page-contact .facts__row {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--contact-hair-strong);
}

.page-contact .facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--steel);
}

.page-contact .facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.page-contact .facts .mono {
  font-family: var(--font-mono);
  font-size: 14px;
  word-break: break-all;
}

.page-contact .icp-tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--contact-hair-strong);
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--steel);
}

.page-contact .contact-office__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  font-size: 14px;
}

.page-contact .contact-office__links a {
  color: var(--ublue);
  text-underline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 560px) {
  .page-contact .hours-list li {
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
  }

  .page-contact .facts__row {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
  }

  .page-contact .briefs__row {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
  }
}

@media (min-width: 720px) {
  .page-contact .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-contact .checklist__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .page-contact .contact-hours__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 58px;
    align-items: center;
  }

  .page-contact .contact-process__grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: 58px;
    align-items: center;
  }

  .page-contact .contact-office__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

@media (min-width: 980px) {
  .page-contact .contact-routes__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr);
    gap: 60px;
    align-items: start;
  }

  .page-contact .contact-routes__side {
    position: sticky;
    top: 40px;
  }
}

@media (hover: hover) {
  .page-contact .flow__hint {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--dur) ease, opacity var(--dur) ease,
      margin-top var(--dur) ease, padding var(--dur) ease;
  }

  .page-contact .flow__step:hover .flow__hint,
  .page-contact .flow__step:focus-within .flow__hint {
    max-height: 200px;
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .channel,
  .page-contact .checklist__label,
  .page-contact .checklist__box,
  .page-contact .flow__hint {
    transition: none;
  }

  .page-contact .channel:hover {
    transform: none;
  }
}
