.page-contact {
  --ct-radius: var(--pg-r-lg);
  --ct-line-soft: rgba(30, 51, 88, 0.74);
  color: var(--pg-paper);
}

.page-contact .page-contact__crumb {
  padding-top: 18px;
}

/* 首屏 */
.page-contact .contact-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(20px, 3vw, 34px);
}

.page-contact .contact-hero::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: -180px;
  height: 560px;
  pointer-events: none;
  background:
    radial-gradient(46% 58% at 20% 26%, rgba(53, 242, 224, 0.16), transparent 70%),
    radial-gradient(38% 52% at 84% 4%, rgba(255, 122, 47, 0.14), transparent 72%);
}

.page-contact .contact-hero__grid {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-contact .contact-hero__title {
  margin: 14px 0 18px;
  font-size: clamp(30px, 5.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-contact .contact-hero__lead {
  max-width: 56ch;
}

.page-contact .contact-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-contact .contact-chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--pg-pill);
  border: 1px solid var(--ct-line-soft);
  background: rgba(10, 23, 48, 0.68);
  color: var(--pg-cyan-soft);
  font-size: 13px;
  line-height: 1.4;
}

.page-contact .contact-chip--wide {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--pg-r-sm);
  background: rgba(53, 242, 224, 0.08);
  border: 1px solid rgba(53, 242, 224, 0.28);
  color: var(--pg-cyan-soft);
  font-family: var(--pg-font-mono);
  font-size: 14px;
  letter-spacing: 0.01em;
  word-break: break-all;
}

.page-contact .contact-hero__media {
  border-radius: var(--ct-radius);
  overflow: hidden;
  border: 1px solid var(--ct-line-soft);
  background: linear-gradient(150deg, rgba(53, 242, 224, 0.14), rgba(255, 122, 47, 0.1) 60%, transparent);
  margin: 0;
}

.page-contact .contact-hero__media .pg-media__img,
.page-contact .contact-side__media .pg-media__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-contact .contact-hero__media .pg-media__caption {
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--pg-mist);
}

/* 主体分栏 */
.page-contact .contact-body {
  display: grid;
  gap: 40px;
}

.page-contact .contact-body__main {
  display: grid;
  gap: 48px;
  min-width: 0;
}

.page-contact .contact-block__lead {
  margin-top: 12px;
  margin-bottom: 26px;
}

/* 分类切换 */
.page-contact .fb-switch {
  position: relative;
}

.page-contact .fb-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-contact .fb-switch__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-contact .fb-switch__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--pg-pill);
  border: 1px solid var(--ct-line-soft);
  background: rgba(18, 36, 74, 0.5);
  color: var(--pg-mist);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-contact .fb-switch__idx {
  font-family: var(--pg-font-mono);
  font-size: 11px;
  opacity: 0.72;
}

.page-contact .fb-switch__pill:hover {
  color: var(--pg-paper);
  border-color: rgba(53, 242, 224, 0.45);
}

.page-contact .fb-switch__input:focus-visible ~ .fb-switch__pills .fb-switch__pill {
  outline: 2px solid var(--pg-cyan);
  outline-offset: 2px;
}

.page-contact .fb-switch__input:nth-of-type(1):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(1),
.page-contact .fb-switch__input:nth-of-type(2):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(2),
.page-contact .fb-switch__input:nth-of-type(3):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(3),
.page-contact .fb-switch__input:nth-of-type(4):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(4) {
  background: var(--pg-cyan);
  border-color: var(--pg-cyan);
  color: var(--pg-900);
  font-weight: 700;
}

.page-contact .fb-switch__input:nth-of-type(1):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(1) .fb-switch__idx,
.page-contact .fb-switch__input:nth-of-type(2):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(2) .fb-switch__idx,
.page-contact .fb-switch__input:nth-of-type(3):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(3) .fb-switch__idx,
.page-contact .fb-switch__input:nth-of-type(4):checked ~ .fb-switch__pills .fb-switch__pill:nth-child(4) .fb-switch__idx {
  opacity: 0.9;
}

.page-contact .fb-switch__panel {
  display: none;
  padding: 24px 22px;
  border-radius: var(--pg-r-md);
  border: 1px solid var(--ct-line-soft);
  background: linear-gradient(160deg, rgba(18, 36, 74, 0.86), rgba(10, 23, 48, 0.86));
}

.page-contact .fb-switch__panel > .pg-h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.page-contact .fb-switch__input:nth-of-type(1):checked ~ .fb-switch__panels .fb-switch__panel:nth-child(1),
.page-contact .fb-switch__input:nth-of-type(2):checked ~ .fb-switch__panels .fb-switch__panel:nth-child(2),
.page-contact .fb-switch__input:nth-of-type(3):checked ~ .fb-switch__panels .fb-switch__panel:nth-child(3),
.page-contact .fb-switch__input:nth-of-type(4):checked ~ .fb-switch__panels .fb-switch__panel:nth-child(4) {
  display: block;
}

.page-contact .fb-switch__text {
  margin: 0 0 16px;
  color: var(--pg-mist);
  line-height: 1.75;
}

.page-contact .fb-switch__hint {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--pg-orange);
  color: var(--pg-cyan-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* 字段说明 */
.page-contact .field-list {
  display: grid;
  gap: 12px;
}

.page-contact .field-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--pg-r-sm);
  border: 1px solid var(--ct-line-soft);
  background: rgba(10, 23, 48, 0.7);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.page-contact .field-row:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 242, 224, 0.5);
}

.page-contact .field-row__tag {
  align-self: start;
  padding: 3px 9px;
  border-radius: var(--pg-pill);
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-contact .field-row--must .field-row__tag {
  color: var(--pg-cyan);
  border: 1px solid rgba(53, 242, 224, 0.42);
  background: rgba(53, 242, 224, 0.12);
}

.page-contact .field-row--opt .field-row__tag {
  color: var(--pg-mist);
  border: 1px solid var(--ct-line-soft);
  background: rgba(18, 36, 74, 0.6);
}

.page-contact .field-row__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-contact .field-row__body p {
  margin: 0;
  color: var(--pg-mist);
  font-size: 14.5px;
  line-height: 1.7;
}

/* 侧栏 */
.page-contact .contact-side {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 20px;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-line-soft);
  background: linear-gradient(180deg, rgba(18, 36, 74, 0.78), rgba(5, 13, 31, 0.92));
}

.page-contact .contact-side__media {
  margin: 0;
  border-radius: var(--pg-r-md);
  overflow: hidden;
}

.page-contact .contact-side__label {
  margin: 0 0 8px;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pg-mist);
}

.page-contact .contact-side__note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--pg-mist);
}

.page-contact .contact-side__block--links {
  padding-top: 18px;
  border-top: 1px solid var(--ct-line-soft);
}

.page-contact .contact-side .pg-list__item a {
  color: var(--pg-cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 224, 0.35);
}

.page-contact .contact-side .pg-list__item a:hover {
  color: var(--pg-cyan);
  border-bottom-color: var(--pg-cyan);
}

/* 流程 */
.page-contact .contact-flow__head {
  max-width: 62ch;
  margin-bottom: 34px;
}

.page-contact .contact-flow__head .pg-h2 {
  margin: 12px 0 14px;
}

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

.page-contact .flow-step {
  position: relative;
  padding-left: 16px;
  border-left: 1px solid rgba(53, 242, 224, 0.34);
}

.page-contact .flow-step__num {
  display: block;
  font-family: var(--pg-font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--pg-cyan);
}

.page-contact .flow-step__title {
  margin: 8px 0 8px;
  font-size: 19px;
  font-weight: 700;
}

.page-contact .flow-step__text {
  margin: 0;
  color: var(--pg-mist);
  font-size: 14.5px;
  line-height: 1.72;
  max-width: 40ch;
}

/* 范例对照 */
.page-contact .contact-examples__head {
  max-width: 62ch;
  margin-bottom: 26px;
}

.page-contact .contact-examples__head .pg-h2 {
  margin: 12px 0 14px;
}

.page-contact .ex-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ct-line-soft);
}

.page-contact .ex-case {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ct-line-soft);
}

.page-contact .ex-case__label {
  margin: 0;
  font-family: var(--pg-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--pg-orange);
}

.page-contact .ex-write {
  padding: 14px 16px;
  border-radius: var(--pg-r-sm);
  border-left: 2px solid transparent;
}

.page-contact .ex-write__cap {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-family: var(--pg-font-mono);
}

.page-contact .ex-write p:last-child {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
}

.page-contact .ex-write--bad {
  background: rgba(255, 61, 138, 0.07);
  border-left-color: rgba(255, 61, 138, 0.62);
}

.page-contact .ex-write--bad .ex-write__cap {
  color: rgba(255, 61, 138, 0.92);
}

.page-contact .ex-write--bad p:last-child {
  color: var(--pg-mist);
}

.page-contact .ex-write--good {
  background: rgba(53, 242, 224, 0.07);
  border-left-color: var(--pg-cyan);
}

.page-contact .ex-write--good .ex-write__cap {
  color: var(--pg-cyan);
}

.page-contact .ex-write--good p:last-child {
  color: var(--pg-paper);
}

/* 通信信息 */
.page-contact .contact-info__box {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-line-soft);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(255, 122, 47, 0.12), transparent 70%),
    linear-gradient(140deg, rgba(18, 36, 74, 0.9), rgba(5, 13, 31, 0.94));
}

.page-contact .contact-info__label {
  margin: 0 0 8px;
  font-family: var(--pg-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--pg-mist);
}

.page-contact .contact-info__value {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--pg-paper);
}

.page-contact .contact-info__value--mono {
  font-family: var(--pg-font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.page-contact .contact-info__text {
  margin: 0;
  color: var(--pg-mist);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-contact .contact-info__text a {
  color: var(--pg-cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 224, 0.36);
}

.page-contact .contact-info__text a:hover {
  color: var(--pg-cyan);
  border-bottom-color: var(--pg-cyan);
}

.page-contact .contact-block a,
.page-contact .fb-switch__hint a {
  color: var(--pg-cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 224, 0.36);
}

.page-contact .contact-block a:hover,
.page-contact .fb-switch__hint a:hover {
  color: var(--pg-cyan);
  border-bottom-color: var(--pg-cyan);
}

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

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

  .page-contact .contact-info__col--wide {
    grid-column: 1 / -1;
  }

  .page-contact .ex-case {
    grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 18px;
  }
}

@media (min-width: 940px) {
  .page-contact .contact-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 48px;
  }

  .page-contact .flow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page-contact .flow-step {
    padding: 26px 22px 0 0;
    border-left: 0;
  }

  .page-contact .flow-step::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(53, 242, 224, 0.7), rgba(53, 242, 224, 0.08));
  }
}

@media (min-width: 1040px) {
  .page-contact .contact-body {
    grid-template-columns: minmax(0, 1fr) 348px;
    gap: 56px;
    align-items: start;
  }

  .page-contact .contact-side {
    position: sticky;
    top: 92px;
  }

  .page-contact .contact-info__box {
    grid-template-columns: 260px 220px minmax(0, 1fr);
  }

  .page-contact .contact-info__col--wide {
    grid-column: auto;
  }
}
<<<END>>>
