.page-contact {
  --ct-hair: rgba(17, 21, 28, 0.12);
  --ct-hair-light: rgba(169, 184, 216, 0.22);
  --ct-ink-soft: rgba(17, 21, 28, 0.78);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-contact h2 {
  margin: 8px 0 0;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.16;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
}

/* ---------- 首屏 ---------- */
.page-contact .ct-hero {
  position: relative;
  padding: clamp(22px, 4vw, 42px) 0 clamp(42px, 6vw, 78px);
  background:
    radial-gradient(88% 70% at 94% 2%, rgba(255, 181, 71, 0.2), rgba(255, 181, 71, 0) 62%),
    radial-gradient(74% 62% at 0% 100%, rgba(30, 75, 85, 0.11), rgba(30, 75, 85, 0) 64%),
    var(--paper);
}

.page-contact .ct-hero__inner {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

.page-contact .ct-hero__lead h1 {
  margin: 0.3em 0 0;
  max-width: 15ch;
  font-size: clamp(2.05rem, 6.4vw, 3.65rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.page-contact .ct-hero__intro {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.7vw, 16.5px);
  line-height: 1.78;
  color: var(--ct-ink-soft);
}

.page-contact .ct-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.page-contact .ct-lines {
  margin-top: clamp(24px, 3.6vw, 38px);
  border-top: 1px solid var(--ct-hair);
}

.page-contact .ct-line {
  display: grid;
  gap: 8px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--ct-hair);
}

.page-contact .ct-line__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--teal);
}

.page-contact .ct-line__value {
  font-family: var(--font-mono);
  font-size: clamp(1.02rem, 3.5vw, 1.72rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color var(--dur) var(--ease);
}

.page-contact .ct-line__value:hover,
.page-contact .ct-line__value:focus-visible {
  color: var(--teal);
}

.page-contact .ct-line .copy-btn {
  justify-self: start;
}

@media (min-width: 640px) {
  .page-contact .ct-line {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }
}

/* ---------- 咨询类型选择面板 ---------- */
.page-contact .ct-hero__panel {
  position: relative;
  padding: clamp(20px, 3.2vw, 34px);
  background: var(--space);
  color: var(--paper);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-xs);
  box-shadow: 0 26px 60px -34px rgba(11, 18, 48, 0.75);
  overflow: hidden;
}

.page-contact .ct-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 56, 94, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 56, 94, 0.6) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.45;
  pointer-events: none;
}

.page-contact .ct-panel__title {
  position: relative;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-contact .ct-options {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

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

.page-contact .ct-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--ct-hair-light);
  border-radius: var(--radius-sm);
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
  transition:
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.page-contact .ct-option::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.page-contact .ct-option:hover {
  border-color: var(--mist);
  color: var(--paper);
}

.page-contact #ct-t1:checked ~ .ct-options [for="ct-t1"],
.page-contact #ct-t2:checked ~ .ct-options [for="ct-t2"],
.page-contact #ct-t3:checked ~ .ct-options [for="ct-t3"],
.page-contact #ct-t4:checked ~ .ct-options [for="ct-t4"] {
  border-color: var(--green);
  color: var(--paper);
  background: rgba(124, 255, 107, 0.1);
}

.page-contact #ct-t1:checked ~ .ct-options [for="ct-t1"]::before,
.page-contact #ct-t2:checked ~ .ct-options [for="ct-t2"]::before,
.page-contact #ct-t3:checked ~ .ct-options [for="ct-t3"]::before,
.page-contact #ct-t4:checked ~ .ct-options [for="ct-t4"]::before {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(124, 255, 107, 0.18);
}

.page-contact #ct-t1:focus-visible ~ .ct-options [for="ct-t1"],
.page-contact #ct-t2:focus-visible ~ .ct-options [for="ct-t2"],
.page-contact #ct-t3:focus-visible ~ .ct-options [for="ct-t3"],
.page-contact #ct-t4:focus-visible ~ .ct-options [for="ct-t4"] {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-contact .ct-panels {
  position: relative;
  border-top: 1px solid var(--ct-hair-light);
  padding-top: 16px;
}

.page-contact .ct-panel {
  display: none;
}

.page-contact #ct-t1:checked ~ .ct-panels .ct-panel--1,
.page-contact #ct-t2:checked ~ .ct-panels .ct-panel--2,
.page-contact #ct-t3:checked ~ .ct-panels .ct-panel--3,
.page-contact #ct-t4:checked ~ .ct-panels .ct-panel--4 {
  display: block;
  animation: ct-panel-in 240ms var(--ease) both;
}

@keyframes ct-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-contact .ct-panel__head {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper);
}

.page-contact .ct-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-contact .ct-panel li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--mist);
}

.page-contact .ct-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--green);
}

/* ---------- 合作与反馈 ---------- */
.page-contact .ct-collab {
  padding-block: clamp(44px, 6vw, 88px);
  background: var(--paper-card);
  border-top: 1px solid var(--ct-hair);
}

.page-contact .ct-collab__inner {
  display: grid;
  gap: clamp(30px, 4vw, 54px);
}

.page-contact .ct-flows {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ct-hair);
}

.page-contact .ct-flow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ct-hair);
}

.page-contact .ct-flow__num {
  grid-row: span 2;
  padding-top: 3px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.page-contact .ct-flow h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.page-contact .ct-collab__figure {
  margin: 0;
}

.page-contact .ct-collab__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--ct-hair);
}

.page-contact .ct-collab__figure figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(17, 21, 28, 0.55);
}

@media (min-width: 920px) {
  .page-contact .ct-collab__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-contact .ct-collab__figure {
    margin-top: clamp(20px, 3vw, 34px);
  }
}

/* ---------- 帮助中心快捷入口 ---------- */
.page-contact .ct-help {
  padding-block: clamp(36px, 5vw, 66px);
  border-top: 1px solid var(--ct-hair);
  background: var(--paper);
}

.page-contact .ct-help__links {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ct-hair);
}

.page-contact .ct-help__links li {
  border-bottom: 1px solid var(--ct-hair);
}

.page-contact .ct-help__links a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 4px;
  color: var(--ink);
  font-size: clamp(0.94rem, 1.9vw, 1.05rem);
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.page-contact .ct-help__links a:hover,
.page-contact .ct-help__links a:focus-visible {
  color: var(--teal);
  padding-left: 12px;
}

.page-contact .ct-help__links span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--teal);
  white-space: nowrap;
}

/* ---------- 服务时间条 ---------- */
.page-contact .ct-hours {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px);
  background: var(--space);
  color: var(--paper);
  overflow: hidden;
}

.page-contact .ct-hours::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(42, 56, 94, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 56, 94, 0.55) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  pointer-events: none;
}

.page-contact .ct-hours::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.page-contact .ct-hours__inner {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-contact .ct-hours__figure {
  margin: 0;
}

.page-contact .ct-hours__figure img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--ct-hair-light);
}

.page-contact .ct-hours .eyebrow {
  color: var(--green);
}

.page-contact .ct-hours h2 {
  color: var(--paper);
}

.page-contact .ct-hours__list {
  list-style: none;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-contact .ct-hours__list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-contact .ct-hours__list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--green);
}

.page-contact .ct-address {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: 18px;
  border-top: 1px solid var(--ct-hair-light);
}

.page-contact .ct-address__key {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.page-contact .ct-address__value {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.5;
  color: var(--paper);
}

.page-contact .ct-address__note {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.68;
  color: rgba(169, 184, 216, 0.88);
}

@media (min-width: 880px) {
  .page-contact .ct-hours__inner {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* ---------- 动效收敛 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-contact * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
</main>
