.page-contact {
  --c-strip: clamp(40px, 6vw, 64px);
}

/* ---------- 面包屑 ---------- */
.page-contact .crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
}

.page-contact .crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-contact .crumbs a:hover,
.page-contact .crumbs a:focus-visible {
  color: var(--amber);
}

.page-contact .crumbs__sep {
  color: var(--line);
}

.page-contact .crumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 首屏 ---------- */
.page-contact .c-hero {
  position: relative;
  padding-top: 30px;
  padding-bottom: 0;
  overflow: hidden;
}

.page-contact .c-hero::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -170px;
  width: min(640px, 92vw);
  height: min(640px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 179, 61, .16) 0%, rgba(47, 224, 206, .07) 46%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-contact .c-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.page-contact .c-hero__title {
  margin: 14px 0 0;
  font-size: clamp(27px, 5.4vw, 44px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--text);
}

.page-contact .c-hero__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .c-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-contact .c-hero__strip {
  position: relative;
  z-index: 1;
  margin-top: var(--c-strip);
}

.page-contact .c-hero__strip .media {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}

.page-contact .c-hero__strip .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(10, 23, 48, .88) 0%, rgba(10, 23, 48, .18) 40%, rgba(10, 23, 48, 0) 72%);
  pointer-events: none;
}

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

/* ---------- 联系方式卡 ---------- */
.page-contact .c-contact {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, var(--panel-2) 0%, var(--panel) 72%);
  overflow: hidden;
}

.page-contact .c-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--cyan) 100%);
}

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

.page-contact .c-contact__num {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 23, 48, .74);
  color: var(--amber);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.page-contact .c-contact__headtext .kicker {
  margin: 0;
}

.page-contact .c-contact__title {
  margin: 6px 0 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.page-contact .c-contact__list {
  margin: 22px 0 0;
  padding: 0;
}

.page-contact .c-contact__row {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}

.page-contact .c-contact__row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--muted);
}

.page-contact .c-contact__row dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
}

.page-contact .c-contact__pick {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--amber-soft);
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  cursor: text;
}

.page-contact .c-contact__addr {
  overflow-wrap: anywhere;
}

.page-contact .c-contact__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 章节通用头部 ---------- */
.page-contact .c-head {
  max-width: 62ch;
  margin-bottom: 26px;
}

.page-contact .c-head h2 {
  margin: 10px 0 0;
  font-size: clamp(23px, 3.6vw, 32px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.008em;
  color: var(--text);
}

.page-contact .c-head__note {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 三类合作 ---------- */
.page-contact .c-dir {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-contact .c-dir__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.page-contact .c-dir__item:hover {
  border-color: rgba(47, 224, 206, .48);
  transform: translateY(-2px);
}

.page-contact .c-dir__badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(242, 179, 61, .14);
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.page-contact .c-dir__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-contact .c-dir__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .c-dir__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.page-contact .c-dir__link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-contact .c-dir__link::after {
  content: " →";
  display: inline-block;
  transition: transform .2s var(--ease);
}

.page-contact .c-dir__link:hover,
.page-contact .c-dir__link:focus-visible {
  color: var(--amber-soft);
}

/* ---------- 沟通时段 ---------- */
.page-contact .c-timing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-contact .c-timing__item {
  position: relative;
  padding: 22px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(23, 48, 79, .72) 0%, rgba(18, 35, 63, .72) 100%);
  overflow: hidden;
}

.page-contact .c-timing__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--cyan);
  opacity: .65;
}

.page-contact .c-timing__item--off::after {
  background: var(--orange);
}

.page-contact .c-timing__range {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 11px;
  border: 1px solid rgba(47, 224, 206, .28);
  border-radius: 999px;
  background: rgba(47, 224, 206, .1);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-contact .c-timing__item--off .c-timing__range {
  border-color: rgba(255, 122, 69, .3);
  background: rgba(255, 122, 69, .1);
  color: var(--orange);
}

.page-contact .c-timing__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.page-contact .c-timing__text {
  margin: 10px 0 0;
  font-size: 14.8px;
  line-height: 1.82;
  color: var(--muted);
}

/* ---------- 推进流程 ---------- */
.page-contact .c-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-contact .c-step {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}

.page-contact .c-step[open] {
  border-color: rgba(242, 179, 61, .42);
}

.page-contact .c-step__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: background .2s var(--ease);
}

.page-contact .c-step__sum::-webkit-details-marker {
  display: none;
}

.page-contact .c-step__sum:hover {
  background: rgba(23, 48, 79, .55);
}

.page-contact .c-step__sum:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.page-contact .c-step__sum::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}

.page-contact .c-step[open] .c-step__sum::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.page-contact .c-step__dot {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(242, 179, 61, .15);
  color: var(--amber);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.page-contact .c-step__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.page-contact .c-step__name {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.page-contact .c-step__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.page-contact .c-step__body {
  margin: 0 16px 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}

.page-contact .c-step__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .c-process__media {
  display: block;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel);
}

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

/* ---------- 材料清单 ---------- */
.page-contact .c-check {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-contact .c-check__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.page-contact .c-check__box {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: rgba(10, 23, 48, .6);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.page-contact .c-check__box:hover {
  border-color: var(--cyan);
}

.page-contact .c-check__box:checked {
  border-color: var(--cyan);
  background: rgba(47, 224, 206, .18);
}

.page-contact .c-check__box:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(40deg);
}

.page-contact .c-check__box:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.page-contact .c-check__label {
  display: grid;
  gap: 4px;
  min-width: 0;
  cursor: pointer;
}

.page-contact .c-check__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  transition: color .2s var(--ease);
}

.page-contact .c-check__desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact .c-check__item:has(.c-check__box:checked) .c-check__title {
  color: var(--muted);
}

.page-contact .c-prepare__foot {
  margin: 26px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.page-contact .c-prepare__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-contact .c-dir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 880px) {
  .page-contact .c-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .92fr);
    gap: 44px;
  }

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

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

@media (min-width: 960px) {
  .page-contact .c-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .page-contact .c-step__sum {
    flex-wrap: wrap;
  }

  .page-contact .c-step__sum::after {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact .c-dir__item,
  .page-contact .c-dir__link::after,
  .page-contact .c-step__sum::after,
  .page-contact .c-check__box,
  .page-contact .c-check__title {
    transition: none;
  }

  .page-contact .c-dir__item:hover {
    transform: none;
  }
}
