/* ===== 联系我们页专属样式 ===== */
.page-contact {
  --card-radius: 26px;
}

/* 首屏：深墨背景 + 联系卡片 */
.page-contact .contact-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(45, 108, 223, 0.2), transparent 42%),
    radial-gradient(circle at 8% 85%, rgba(240, 123, 63, 0.14), transparent 38%),
    var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 24px) 0 92px;
}

.page-contact .contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(245, 239, 226, 0.035) 0,
    rgba(245, 239, 226, 0.035) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}

.page-contact .contact-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 76px;
  z-index: 0;
  background: var(--light-blue);
  clip-path: polygon(
    0% 100%, 0% 52%,
    9% 68%, 21% 20%, 32% 62%,
    44% 30%, 57% 66%, 68% 24%,
    78% 58%, 88% 34%, 96% 56%,
    100% 50%, 100% 100%
  );
  pointer-events: none;
}

.page-contact .contact-hero .breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 239, 226, 0.6);
}

.page-contact .contact-hero .breadcrumb__item a {
  color: rgba(245, 239, 226, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* 联系大卡片 */
.page-contact .contact-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.3);
}

.page-contact .contact-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(240, 123, 63, 0.35);
}

.page-contact .contact-card__body {
  width: 100%;
  padding: 54px 22px 32px;
}

.page-contact .contact-card__title {
  margin: 12px 0 14px;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-contact .contact-card__lead {
  margin: 0 0 26px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

/* 联系方式：说明牌列表 */
.page-contact .contact-methods {
  margin: 0;
  border-top: 1px solid var(--border);
}

.page-contact .contact-method {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px dashed var(--border);
  border-radius: 10px;
  transition: background-color 0.25s var(--ease);
}

.page-contact .contact-method:hover {
  background: var(--light-blue);
}

.page-contact .contact-method__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-contact .contact-method__value {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--ink);
  word-break: break-all;
}

.page-contact .contact-method__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.page-contact .contact-method__value a:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}

/* 卡片右侧图 */
.page-contact .contact-card__figure {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.page-contact .contact-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.page-contact .contact-card__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(30, 42, 54, 0.58);
  padding: 5px 12px;
  border-radius: 999px;
}

/* 联系说明 */
.page-contact .contact-notes {
  background: var(--light-blue);
  padding: 64px 0;
}

.page-contact .contact-notes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-contact .contact-notes__intro h2,
.page-contact .contact-help__head h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
}

.page-contact .contact-notes__lead {
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

.page-contact .contact-notes__plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-contact .note-plate {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(45, 108, 223, 0.06);
}

.page-contact .note-plate__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blue);
  line-height: 1.4;
}

.page-contact .note-plate__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink);
}

.page-contact .note-plate__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray);
}

/* 自助服务 */
.page-contact .contact-help {
  background: var(--paper);
  padding: 68px 0 80px;
}

.page-contact .contact-help__head {
  max-width: 660px;
  margin-bottom: 28px;
}

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

.page-contact .contact-help__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-contact .help-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-contact .help-link__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
}

.page-contact .help-link__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-contact .help-link__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.page-contact .help-link__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray);
}

.page-contact .help-link__arrow {
  font-size: 20px;
  color: var(--orange);
  transition: transform 0.25s var(--ease);
}

.page-contact .help-link:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(45, 108, 223, 0.1);
}

.page-contact .help-link:hover .help-link__arrow {
  transform: translateX(6px) scale(1.1);
}

/* 底部信息带 */
.page-contact .contact-footer-note {
  background: var(--ink);
  color: rgba(245, 239, 226, 0.72);
  padding: 48px 0 56px;
}

.page-contact .contact-footer-note__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.page-contact .contact-footer-note__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(245, 239, 226, 0.1);
}

.page-contact .contact-footer-note__text {
  max-width: 56ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.page-contact .contact-footer-note__icp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 239, 226, 0.45);
}

/* 桌面端 */
@media (min-width: 900px) {
  .page-contact .contact-hero {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 128px;
  }

  .page-contact .contact-hero::after {
    height: 96px;
  }

  .page-contact .contact-card {
    flex-direction: row;
    min-height: 560px;
  }

  .page-contact .contact-card__badge {
    top: 26px;
    left: 26px;
  }

  .page-contact .contact-card__body {
    flex: 1 1 58%;
    padding: 72px 46px 44px;
  }

  .page-contact .contact-card__title {
    font-size: clamp(40px, 4.5vw, 58px);
  }

  .page-contact .contact-card__figure {
    flex: 0 0 42%;
    max-width: 470px;
    aspect-ratio: auto;
    border-top: none;
    border-left: 1px solid var(--border);
  }

  .page-contact .contact-card__img {
    width: 100%;
    height: 100%;
  }

  .page-contact .contact-card__caption {
    left: 18px;
    bottom: 16px;
  }

  .page-contact .contact-notes__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
  }

  .page-contact .contact-notes__intro {
    padding-right: 20px;
  }

  .page-contact .contact-notes__plates {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .page-contact .contact-help__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .page-contact .help-link {
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 24px;
  }

  .page-contact .help-link__arrow {
    align-self: flex-end;
    margin-top: 8px;
  }

  .page-contact .contact-footer-note__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .page-contact .contact-footer-note__img {
    width: 260px;
    flex-shrink: 0;
  }
}
