.page-contact {
  --ct-rail: 940px;
  --ct-ink-soft: rgba(26, 31, 43, 0.74);
  --ct-hair: rgba(26, 31, 43, 0.18);
  --ct-card: #FFFDF8;
  --ct-warm: #A34A00;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 4% -6%, rgba(255, 176, 32, 0.22), transparent 60%),
    radial-gradient(820px 520px at 98% 4%, rgba(255, 75, 43, 0.13), transparent 62%),
    linear-gradient(180deg, #FFF7EB 0%, #FFF1DE 55%, #FFEBD2 100%);
  padding-bottom: 8px;
  overflow-x: clip;
}

.page-contact .shell {
  width: 100%;
}

/* ---------- 首屏 ---------- */
.page-contact .contact-hero {
  padding: clamp(26px, 5vw, 54px) 0 clamp(18px, 3vw, 30px);
}

.page-contact .contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.page-contact .contact-hero__text {
  min-width: 0;
}

.page-contact .breadcrumb {
  font-size: 13px;
  color: rgba(26, 31, 43, 0.58);
  margin-bottom: 14px;
}

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

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

.page-contact .eyebrow {
  color: var(--ct-warm);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px;
}

.page-contact .contact-hero__title {
  margin: 0 0 16px;
  font-size: clamp(31px, 6.4vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
  overflow-wrap: break-word;
}

.page-contact .contact-hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .btn-row {
  margin-top: 22px;
}

.page-contact .btn--ghost {
  color: var(--ink);
  border-color: rgba(26, 31, 43, 0.32);
  background: rgba(255, 255, 255, 0.56);
}

.page-contact .btn--ghost:hover {
  border-color: var(--flare);
  color: var(--flare);
}

.page-contact .figure {
  margin: 0;
  min-width: 0;
}

.page-contact .figure__frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: linear-gradient(140deg, #FFD98A 0%, #FF8A3D 55%, #FF4B2B 100%);
  box-shadow: 9px 9px 0 rgba(26, 31, 43, 0.13);
}

.page-contact .figure__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-contact .figure__frame--wide img {
  aspect-ratio: 1440 / 700;
}

.page-contact .figure__cap {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(26, 31, 43, 0.62);
}

.page-contact .contact-hero__figure {
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

/* ---------- 状态条 ---------- */
.page-contact .contact-status {
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(11, 18, 38, 0.95);
  border-top: 2px solid var(--sun);
  border-bottom: 2px solid var(--sun);
  color: var(--text);
}

.page-contact .contact-status__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 13.5px;
}

.page-contact .contact-status__item {
  color: var(--text-dim);
  position: relative;
  padding-left: 14px;
}

.page-contact .contact-status__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- 窄栏结构 ---------- */
.page-contact .contact-rail {
  width: 100%;
  max-width: var(--ct-rail);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-contact .contact-block {
  padding: clamp(30px, 5vw, 56px) 0;
}

.page-contact .contact-block + .contact-block {
  border-top: 1px dashed var(--ct-hair);
}

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

.page-contact .section-title {
  color: var(--ink);
  margin: 0 0 12px;
  font-size: clamp(24px, 4.2vw, 36px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
  overflow-wrap: break-word;
}

.page-contact .contact-head__note {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

/* ---------- 渠道卡片 ---------- */
.page-contact .contact-channels {
  display: grid;
  gap: 14px;
}

.page-contact .channel {
  position: relative;
  background: var(--ct-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 rgba(26, 31, 43, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.page-contact .channel[open] {
  box-shadow: 9px 9px 0 rgba(26, 31, 43, 0.15);
}

.page-contact .channel__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 16px 46px 16px 30px;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

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

.page-contact .channel__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 9px;
  background: var(--sun);
}

.page-contact .channel--flare .channel__bar {
  background: var(--flare);
}

.page-contact .channel--cyan .channel__bar {
  background: var(--cyan);
}

.page-contact .channel__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-contact .channel__value {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #4A3722;
  word-break: break-all;
}

.page-contact .channel__caret {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-72%) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.page-contact .channel[open] .channel__caret {
  transform: translateY(-28%) rotate(-135deg);
}

.page-contact .channel__body {
  padding: 14px 22px 20px 30px;
  border-top: 1px dashed rgba(26, 31, 43, 0.26);
}

.page-contact .channel__body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .channel__list {
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.page-contact .channel__list li {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(26, 31, 43, 0.82);
}

.page-contact .channel__list li::marker {
  color: var(--amber);
}

.page-contact .channel__foot {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ct-warm);
}

/* ---------- 写信要点清单 ---------- */
.page-contact .contact-checklist {
  counter-reset: done;
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(26, 31, 43, 0.3);
  border-radius: var(--radius);
}

.page-contact .qcheck {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}

.page-contact .qcheck:hover {
  background: #fff;
}

.page-contact .qcheck input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 2px solid var(--sun);
  border-radius: 5px;
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: background 0.18s var(--ease-out);
}

.page-contact .qcheck input:checked {
  background: var(--sun);
  counter-increment: done;
}

.page-contact .qcheck input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--text-on-sun);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.page-contact .qcheck input:focus-visible {
  outline: 3px solid var(--flare);
  outline-offset: 2px;
}

.page-contact .qcheck__label {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  min-width: 0;
}

.page-contact .qcheck__hint {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ct-ink-soft);
}

.page-contact .contact-checklist__tally {
  margin: 6px 0 0;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7A5310;
}

.page-contact .contact-checklist__tally::before {
  content: "已备齐 " counter(done) " / 5 项";
}

/* ---------- 处理过程三步 ---------- */
.page-contact .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.page-contact .step {
  position: relative;
  padding: 22px 20px;
  background: var(--ct-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 rgba(26, 31, 43, 0.1);
}

.page-contact .step__num {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FF8A3D, #FF4B2B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-contact .step__title {
  margin: 12px 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-contact .step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .contact-process-figure {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-inline: 20px;
}

/* ---------- 商务合作 ---------- */
.page-contact .biz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-contact .biz-card {
  padding: 20px;
  background: var(--ct-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 6px 6px 0 rgba(26, 31, 43, 0.1);
}

.page-contact .biz-card__title {
  margin: 14px 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-contact .biz-card__text {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

.page-contact .biz-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.page-contact .biz-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26, 31, 43, 0.84);
}

.page-contact .biz-card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--amber);
}

/* ---------- 地址块 ---------- */
.page-contact .addr-card {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.16), rgba(255, 75, 43, 0.08)),
    var(--ct-card);
  box-shadow: 9px 9px 0 rgba(26, 31, 43, 0.12);
}

.page-contact .addr-card__line {
  margin: 14px 0 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.page-contact .addr-card__meta {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ct-warm);
}

.page-contact .addr-card__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ct-ink-soft);
}

/* ---------- 自助入口 ---------- */
.page-contact .elsewhere {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-contact .elsewhere__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 4px 12px;
  padding: 16px 18px;
  border: 2px solid rgba(26, 31, 43, 0.82);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.page-contact .elsewhere__item:hover,
.page-contact .elsewhere__item:focus-visible {
  background: #fff;
  border-color: var(--flare);
}

.page-contact .elsewhere__item:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.page-contact .elsewhere__num {
  grid-row: 1 / span 2;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--flare);
  padding-top: 3px;
}

.page-contact .elsewhere__item strong {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.5;
}

.page-contact .elsewhere__item span:last-child {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ct-ink-soft);
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 760px) {
  .page-contact .contact-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.84fr);
    gap: 46px;
  }

  .page-contact .contact-hero__figure {
    justify-self: end;
  }

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

  .page-contact .step + .step::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 56px;
    width: 30px;
    border-top: 2px dashed rgba(26, 31, 43, 0.42);
  }

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

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

  .page-contact .addr-card {
    padding: 30px;
  }
}

@media (min-width: 1040px) {
  .page-contact .contact-status__inner {
    gap: 8px 24px;
  }

  .page-contact .contact-block {
    padding-block: 62px;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-contact .channel,
  .page-contact .channel__caret,
  .page-contact .qcheck,
  .page-contact .qcheck input,
  .page-contact .elsewhere__item {
    transition: none;
  }

  .page-contact .contact-hero__title,
  .page-contact .section-title {
    transform: none;
  }
}
