/* ===== 联系入口页 专属样式 ===== */
.page-contact {
  --contact-accent: #FF6B35;
  --contact-accent-hover: #e85a2a;
  --contact-dark: #0B1D3A;
  --contact-silver: #C0C0C0;
  --contact-silver-light: #d8d8d8;
  --contact-bg-card: #ffffff;
  --contact-radius: 12px;
  --contact-gap: 2rem;
  --contact-font-heading: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  --contact-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --contact-font-mono: 'Courier New', Consolas, monospace;
  --contact-shadow: 0 4px 20px rgba(11, 29, 58, 0.12);
  --contact-shadow-hover: 0 8px 32px rgba(11, 29, 58, 0.22);
  --contact-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --contact-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  font-family: var(--contact-font-body);
  color: var(--color-text, #1A1A2E);
  background: var(--color-bg, #F5F5F5);
  position: relative;
  min-height: 80vh;
}

/* ---- 面包屑 ---- */
.page-contact .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--contact-silver);
}
.page-contact .breadcrumb a {
  color: var(--contact-silver);
  text-decoration: none;
  transition: color var(--contact-transition-fast);
}
.page-contact .breadcrumb a:hover,
.page-contact .breadcrumb a:focus-visible {
  color: var(--contact-accent);
}
.page-contact .breadcrumb-sep {
  color: var(--contact-silver);
  font-size: 1.1rem;
  line-height: 1;
}
.page-contact .breadcrumb [aria-current="page"] {
  color: var(--contact-dark);
  font-weight: 600;
}

/* ---- 左右分割容器 ---- */
.page-contact .contact-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---- 左列 ---- */
.page-contact .contact-left {
  flex: 1 1 100%;
  min-width: 0;
}

/* ---- 标题 ---- */
.page-contact .contact-title {
  font-family: var(--contact-font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--contact-dark);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.page-contact .title-accent {
  color: var(--contact-accent);
}
.page-contact .contact-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin: 0 0 2rem;
  max-width: 48em;
}

/* ---- 联系方式列表 ---- */
.page-contact .contact-list-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.page-contact .contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--contact-bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--contact-radius);
  box-shadow: var(--contact-shadow);
  transition: box-shadow var(--contact-transition), transform var(--contact-transition);
  border-left: 4px solid var(--contact-accent);
}
.page-contact .contact-item:hover {
  box-shadow: var(--contact-shadow-hover);
  transform: translateY(-2px);
}
.page-contact .contact-item-body {
  flex: 1;
  min-width: 0;
}
.page-contact .contact-item-label {
  font-family: var(--contact-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--contact-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem;
}
.page-contact .contact-item-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--contact-dark);
  text-decoration: none;
  display: inline-block;
  transition: color var(--contact-transition-fast);
}
.page-contact .contact-item-value:hover,
.page-contact .contact-item-value:focus-visible {
  color: var(--contact-accent);
}
.page-contact .contact-item-note {
  font-size: 0.85rem;
  color: #666;
  margin: 0.2rem 0 0;
  line-height: 1.4;
}
.page-contact .contact-item-note.caution {
  color: #b94a2b;
  font-weight: 500;
}
.page-contact a.contact-item-value[href^="tel"] {
  font-family: var(--contact-font-mono);
  letter-spacing: 0.02em;
}

/* ---- CSS 图标 ---- */
.page-contact .contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--contact-dark);
  position: relative;
  margin-top: 2px;
}
/* 邮箱图标 */
.page-contact .icon-mail::before {
  content: "";
  display: block;
  width: 20px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 2px;
  position: relative;
}
.page-contact .icon-mail::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-40deg);
  transform-origin: center;
}
/* 电话图标 */
.page-contact .icon-phone::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(-30deg);
  position: relative;
}
.page-contact .icon-phone::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* 定位图标 */
.page-contact .icon-location::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  top: -3px;
}
.page-contact .icon-location::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---- 反馈表单 ---- */
.page-contact .contact-feedback {
  background: var(--contact-bg-card);
  border-radius: var(--contact-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--contact-shadow);
  margin-bottom: 2rem;
  border-top: 4px solid var(--contact-accent);
}
.page-contact .feedback-heading {
  font-family: var(--contact-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--contact-dark);
  margin: 0 0 0.3rem;
}
.page-contact .feedback-desc {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 1.25rem;
}
.page-contact .feedback-fields {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.page-contact .feedback-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--contact-dark);
  margin: 0;
  cursor: pointer;
}
.page-contact .feedback-input,
.page-contact .feedback-textarea {
  font-family: var(--contact-font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  color: var(--contact-dark);
  transition: border-color var(--contact-transition-fast), box-shadow var(--contact-transition-fast);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.page-contact .feedback-input:focus,
.page-contact .feedback-textarea:focus {
  border-color: var(--contact-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
  background: #fff;
}
.page-contact .feedback-input::placeholder,
.page-contact .feedback-textarea::placeholder {
  color: #aaa;
}
.page-contact .feedback-textarea {
  resize: vertical;
  min-height: 80px;
}
.page-contact .feedback-btn {
  align-self: flex-start;
  margin-top: 0.4rem;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--contact-font-heading);
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
  background: var(--contact-accent);
  color: #fff;
  cursor: pointer;
  transition: background var(--contact-transition-fast), transform var(--contact-transition-fast), box-shadow var(--contact-transition-fast);
  position: relative;
  overflow: hidden;
}
.page-contact .feedback-btn:hover {
  background: var(--contact-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}
.page-contact .feedback-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}
.page-contact .feedback-btn:focus-visible {
  outline: 3px solid var(--contact-dark);
  outline-offset: 2px;
}
/* 提交按钮动效：按压反馈 + 悬提升 */
.page-contact .feedback-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-contact .feedback-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.page-contact .feedback-privacy {
  font-size: 0.8rem;
  color: #777;
  margin: 0.8rem 0 0;
}
.page-contact .feedback-privacy a {
  color: var(--contact-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- 内部链接 ---- */
.page-contact .contact-context-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.8rem;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}
.page-contact .contact-context-links a {
  color: var(--contact-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #eef0f3;
  transition: background var(--contact-transition-fast), color var(--contact-transition-fast);
}
.page-contact .contact-context-links a:hover,
.page-contact .contact-context-links a:focus-visible {
  background: var(--contact-accent);
  color: #fff;
}

/* ---- 右列：地图 ---- */
.page-contact .contact-right {
  flex: 1 1 100%;
  min-width: 0;
}
.page-contact .map-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--contact-radius);
  overflow: hidden;
  box-shadow: var(--contact-shadow);
  background: var(--contact-dark);
}
.page-contact .map-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity var(--contact-transition);
}
.page-contact .map-container:hover .map-img {
  opacity: 0.95;
}
.page-contact .map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.page-contact .map-outline {
  fill: none;
  stroke: var(--contact-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(255, 107, 53, 0.4));
}
.page-contact .map-pin {
  fill: var(--contact-accent);
  stroke: #fff;
  stroke-width: 2;
}
.page-contact .map-pin-glow {
  fill: none;
  stroke: var(--contact-accent);
  stroke-width: 1.5;
  opacity: 0.4;
  animation: map-pulse 2s ease-in-out infinite;
}
@keyframes map-pulse {
  0%, 100% { opacity: 0.3; r: 12px; }
  50% { opacity: 0.6; r: 18px; }
}
.page-contact .map-radial {
  stroke: rgba(255, 107, 53, 0.25);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}
.page-contact .map-speedline {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.page-contact .map-caption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 29, 58, 0.75);
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  z-index: 3;
}
.page-contact .map-extra-note {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin: 1rem auto 0;
  max-width: 480px;
  line-height: 1.5;
}
.page-contact .map-extra-note a {
  color: var(--contact-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- 背景装饰纹理 ---- */
.page-contact .contact-bg-texture {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 80px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  border-radius: 4px;
}

/* ---- 桌面 ≥768px ---- */
@media (min-width: 768px) {
  .page-contact {
    padding: 1.5rem 2rem 4rem;
  }
  .page-contact .contact-split {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .page-contact .contact-left {
    flex: 1 1 58%;
  }
  .page-contact .contact-right {
    flex: 1 1 38%;
    position: sticky;
    top: 2rem;
  }
  .page-contact .contact-title {
    font-size: 3rem;
  }
  .page-contact .contact-desc {
    font-size: 1.05rem;
  }
  .page-contact .contact-item {
    padding: 1.5rem 1.75rem;
  }
  .page-contact .contact-feedback {
    padding: 2rem 1.75rem;
  }
  .page-contact .feedback-heading {
    font-size: 1.5rem;
  }
  .page-contact .contact-bg-texture {
    width: 100px;
    bottom: 30px;
    left: 30px;
  }
}

/* ---- 大桌面 ≥1024px ---- */
@media (min-width: 1024px) {
  .page-contact {
    padding: 2rem 2.5rem 5rem;
  }
  .page-contact .contact-split {
    gap: 3.5rem;
  }
  .page-contact .contact-left {
    flex: 1 1 60%;
  }
  .page-contact .contact-right {
    flex: 1 1 36%;
  }
  .page-contact .contact-title {
    font-size: 3.6rem;
  }
  .page-contact .map-container {
    max-width: 100%;
  }
}

/* ---- 确保窄屏无横向溢出 ---- */
@media (max-width: 400px) {
  .page-contact {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .page-contact .contact-item {
    padding: 1rem;
    flex-wrap: wrap;
  }
  .page-contact .contact-icon {
    width: 36px;
    height: 36px;
  }
  .page-contact .contact-item-value {
    font-size: 1rem;
    word-break: break-all;
  }
  .page-contact .feedback-btn {
    width: 100%;
    text-align: center;
  }
}
