.page-contact {
  --contact-ink: #0A192F;
  --contact-navy: #112240;
  --contact-orange: #FF6B00;
  --contact-orange-soft: #FFA500;
  --contact-teal: #64FFDA;
  --contact-bg: #F5F7FA;
  --contact-bg-blue: #E6F0FA;
  --contact-text: #1B2631;
  --contact-muted: #8892B0;
  --contact-white: #FFFFFF;
  --contact-font-headings: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --contact-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --contact-font-mono: "SF Mono", "Roboto Mono", monospace;
  background: var(--contact-bg);
  color: var(--contact-text);
  font-family: var(--contact-font-body);
  position: relative;
  overflow: hidden;
}

/* 顶部氛围图 */
.page-contact__hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--contact-ink);
  display: flex;
  align-items: flex-end;
}

.page-contact__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.65;
}

.page-contact__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 47, 0.35) 0%, rgba(10, 25, 47, 0.82) 85%, #0A192F 100%);
  pointer-events: none;
}

.page-contact__hero-inner {
  position: relative;
  z-index: 2;
  padding: 24px 16px 56px;
  max-width: 1240px;
  margin: 0 auto;
}

.page-contact__breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.page-contact__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-contact__breadcrumb a:hover {
  color: #64FFDA;
  border-color: rgba(100, 255, 218, 0.5);
}

.page-contact__breadcrumb .breadcrumb-sep {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.35);
}

.page-contact__breadcrumb .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

.page-contact__title {
  font-family: var(--contact-font-headings);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--contact-white);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  max-width: 720px;
}

.page-contact__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0;
}

/* 主体区域 */
.page-contact__main {
  position: relative;
  background: var(--contact-bg);
}

.page-contact__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(135deg, #0A192F 0%, #0A192F 58%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.page-contact__grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
  display: block;
}

/* 左侧联系方式 */
.page-contact__channels {
  margin-top: 48px;
  background: var(--contact-ink);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 25, 47, 0.22);
}

.page-contact__channels::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 47%, rgba(255, 107, 0, 0.26) 47%, rgba(255, 107, 0, 0.26) 53%, transparent 53%);
  pointer-events: none;
}

.page-contact__channels-inner {
  padding: 32px 24px;
}

.page-contact__section-label {
  color: var(--contact-orange);
}

.page-contact__channels .page-contact__h2 {
  color: var(--contact-white);
}

.page-contact__desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.page-contact__channels .page-contact__desc {
  color: rgba(255, 255, 255, 0.7);
}

.page-contact__channel-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-contact__channel-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.page-contact__channel-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--contact-orange);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.page-contact__channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(100, 255, 218, 0.22);
  transform: translateX(3px);
}

.page-contact__channel-item:hover::before {
  opacity: 1;
}

.page-contact__channel-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contact-orange);
}

.page-contact__channel-icon svg {
  width: 22px;
  height: 22px;
}

.page-contact__channel-body {
  flex: 1;
  min-width: 0;
}

.page-contact__channel-title {
  font-family: var(--contact-font-headings);
  font-size: 17px;
  font-weight: 700;
  color: var(--contact-white);
  margin: 0 0 4px;
}

.page-contact__channel-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin: 0 0 8px;
}

.page-contact__channel-value {
  display: block;
  font-family: var(--contact-font-mono);
  font-size: 15px;
  color: var(--contact-teal);
  text-decoration: none;
  word-break: break-all;
  line-height: 1.5;
  transition: color 0.2s ease;
}

a.page-contact__channel-value:hover {
  color: var(--contact-white);
}

.page-contact__map {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--contact-navy);
}

.page-contact__map::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--contact-orange);
  border-bottom: 3px solid var(--contact-orange);
  opacity: 0.75;
  border-radius: 0 0 4px 0;
}

.page-contact__map-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  opacity: 0.8;
}

.page-contact__trust {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 14px;
}

/* 右侧列 */
.page-contact__form-col {
  margin-top: 56px;
  display: grid;
  gap: 56px;
}

.page-contact__form-card {
  background: var(--contact-white);
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: 0 3px 20px rgba(10, 25, 47, 0.06);
  position: relative;
}

.page-contact__form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 14px solid var(--contact-orange);
}

.page-contact__form-card .page-contact__h2 {
  color: var(--contact-ink);
}

.page-contact__form-card .page-contact__desc {
  color: var(--contact-text-soft, #5A6A7F);
}

.page-contact__h2 {
  font-family: var(--contact-font-headings);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 12px 0 8px;
}

.page-contact__form {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.page-contact__field {
  display: grid;
  gap: 8px;
}

.page-contact__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--contact-text);
  letter-spacing: 0.02em;
}

.page-contact__input,
.page-contact__select,
.page-contact__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid rgba(10, 25, 47, 0.14);
  border-radius: 6px;
  background: #F8FAFD;
  padding: 12px 14px;
  font-family: var(--contact-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--contact-text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.page-contact__select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(10, 25, 47, 0.5) 50%), linear-gradient(135deg, rgba(10, 25, 47, 0.5) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.page-contact__input:focus,
.page-contact__select:focus,
.page-contact__textarea:focus {
  outline: none;
  border-color: var(--contact-orange);
  background: var(--contact-white);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.page-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__input::placeholder,
.page-contact__textarea::placeholder {
  color: rgba(136, 146, 176, 0.8);
}

.page-contact__misclick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--contact-bg-blue);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--contact-text);
}

.page-contact__misclick-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--contact-teal);
  margin-top: 1px;
}

.page-contact__misclick-icon svg {
  width: 22px;
  height: 22px;
}

.page-contact__submit {
  width: 100%;
  justify-content: center;
}

.page-contact__form-hint {
  font-size: 12px;
  color: var(--contact-muted);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.6;
}

/* 响应时间 */
.page-contact__response {
  background: var(--contact-bg-blue);
  border-radius: 10px;
  padding: 32px 24px;
  position: relative;
  border-left: 3px solid var(--contact-orange);
}

.page-contact__response .page-contact__h2 {
  color: var(--contact-ink);
  margin-top: 4px;
}

.page-contact__response-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-contact__response-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-contact__response-item:hover {
  background: var(--contact-white);
  transform: translateY(-2px);
}

.page-contact__response-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--contact-navy);
  color: var(--contact-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-contact__response-icon svg {
  width: 18px;
  height: 18px;
}

.page-contact__response-title {
  font-family: var(--contact-font-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--contact-ink);
  margin: 0 0 4px;
}

.page-contact__response-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--contact-text);
  margin: 0;
}

.page-contact__response-tip {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--contact-text-soft, #5A6A7F);
  border-top: 1px solid rgba(10, 25, 47, 0.1);
  padding-top: 20px;
}

.data-number {
  font-family: var(--contact-font-mono);
  color: var(--contact-orange);
  font-weight: 600;
}

/* 页面内链接导航 */
.page-contact__links {
  background: var(--contact-white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(10, 25, 47, 0.08);
}

.page-contact__links .page-contact__h2 {
  font-size: 20px;
  color: var(--contact-ink);
  margin-bottom: 16px;
}

.page-contact__links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-contact__links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--contact-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-contact__links-list a::before {
  content: "→";
  color: var(--contact-orange);
  font-family: var(--contact-font-mono);
  font-size: 15px;
  font-weight: 700;
}

.page-contact__links-list a:hover {
  color: var(--contact-orange);
  border-bottom-color: rgba(255, 107, 0, 0.3);
}

.page-contact__links-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--contact-muted);
  border-top: 1px solid rgba(10, 25, 47, 0.07);
  padding-top: 16px;
}

/* 图像通用约束 */
.page-contact img {
  max-width: 100%;
  height: auto;
}

/* 桌面端及以上 */
@media (min-width: 768px) {
  .page-contact__hero {
    height: 400px;
  }

  .page-contact__hero-inner {
    padding: 28px 40px 72px;
  }

  .page-contact__lead {
    font-size: 18px;
  }

  .page-contact__grid {
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
  }

  .page-contact__channels {
    margin-top: 48px;
    position: sticky;
    top: 24px;
  }

  .page-contact__channels-inner {
    padding: 40px 32px;
  }

  .page-contact__form-col {
    margin-top: 48px;
    gap: 48px;
  }

  .page-contact__form-card {
    padding: 40px 48px 36px;
  }

  .page-contact__response {
    padding: 40px 32px;
  }

  .page-contact__links {
    padding: 36px 32px;
  }

  .page-contact__submit {
    width: auto;
    min-width: 180px;
  }
}

@media (min-width: 1024px) {
  .page-contact__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: 64px;
  }

  .page-contact__channels-inner {
    padding: 48px 36px;
  }

  .page-contact__form-card {
    padding: 48px 56px 40px;
  }
}

/* 窄屏保护 */
@media (max-width: 767px) {
  .page-contact__grid {
    width: 100%;
  }

  .page-contact__channel-value,
  .page-contact__h2,
  .page-contact__lead {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .page-contact__channel-item {
    flex-wrap: wrap;
  }

  .page-contact__channel-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .page-contact__map-img {
    max-height: 180px;
  }
}

/* 悬停与聚焦优先级 */
.page-contact a:focus-visible,
.page-contact button:focus-visible,
.page-contact input:focus-visible,
.page-contact select:focus-visible,
.page-contact textarea:focus-visible {
  outline: 2px solid var(--contact-orange);
  outline-offset: 2px;
}

.page-contact {
  --contact-text-soft: var(--color-text-soft);
}
