#view-contact .hero-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-top: 72px;
}
#view-contact .hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
#view-contact .hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.95));
}
#view-contact .hero-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

#view-contact .hero-banner-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
#view-contact .hero-banner-subtitle {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
}
#view-contact .contact-section {
  position: relative;
  padding: 80px 48px 100px;
  z-index: 1;
  /* 联系我们页面主体背景设置为纯黑色 */
  background: #000000;
}
#view-contact .contact-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
#view-contact .contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
#view-contact .contact-map {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  aspect-ratio: 4/3;
}
#view-contact .contact-map #map {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
#view-contact .contact-info {
  padding: 0;
}
#view-contact .contact-info-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  color: var(--fg-primary);
}
#view-contact .contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 0;
  background: transparent;
  border: none;
}
#view-contact .contact-info-item:hover {
  background: transparent;
  border-color: transparent;
}
#view-contact .contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(64, 128, 240, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#view-contact .contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
#view-contact .contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#view-contact .contact-info-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
#view-contact .contact-info-value {
  font-size: 14px;
  color: var(--fg-primary);
  font-weight: 400;
  line-height: 1.7;
}
#view-contact .contact-social {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
#view-contact .contact-social-title {
  font-size: 20px;
  color: var(--fg-primary);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
#view-contact .contact-social-icons {
  display: flex;
  gap: 24px;
}
#view-contact .social-icon-wrapper {
  position: relative;
}
#view-contact .social-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
#view-contact .social-icon:hover {
  background: rgba(64, 128, 240, 0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}
#view-contact .social-icon svg {
  width: 26px;
  height: 26px;
  color: var(--fg-primary);
}
#view-contact .social-qrcode {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  min-width: 160px;
}
#view-contact .social-qrcode::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
#view-contact .social-qrcode img {
  width: 130px;
  height: 130px;
  display: block;
  border-radius: 10px;
  margin: 0 auto;
}
#view-contact .social-qrcode-label {
  text-align: center;
  font-size: 12px;
  color: #333;
  margin-top: 12px;
  font-weight: 500;
}
#view-contact .social-icon-wrapper:hover .social-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}
#view-contact .mobile-qrcode-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
#view-contact .mobile-qrcode-modal.show {
  display: flex;
}
#view-contact .mobile-qrcode-content {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  max-width: 300px;
}
#view-contact .mobile-qrcode-content img {
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
  border-radius: 12px;
}
#view-contact .mobile-qrcode-content p {
  color: #333;
  font-size: 13px;
  font-weight: 500;
}
#view-contact .mobile-qrcode-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#view-contact .mobile-qrcode-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.leaflet-container {
  font-family: 'Noto Sans SC', sans-serif;
}
.leaflet-popup-content-wrapper {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.leaflet-popup-content {
  color: var(--fg-primary);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 16px;
}
.leaflet-popup-tip {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--border);
}
.leaflet-popup-close-button {
  color: var(--fg-muted) !important;
  font-size: 20px !important;
  padding: 8px 8px 0 0 !important;
}
.leaflet-popup-close-button:hover {
  color: var(--fg-primary) !important;
}
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.leaflet-control-zoom a {
  background: #fff !important;
  color: #333 !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 16px !important;
}
.leaflet-control-zoom a:hover {
  background: #f5f5f5 !important;
}
.leaflet-control-zoom-in {
  border-radius: 6px 6px 0 0 !important;
}
.leaflet-control-zoom-out {
  border-radius: 0 0 6px 6px !important;
}
@media (max-width: 1024px) {
  #view-contact .hero-banner { margin-top: 64px; height: 260px; }
  #view-contact .contact-section { padding: 60px 24px 80px; }
  #view-contact .contact-container { gap: 48px; }
  #view-contact .contact-main { grid-template-columns: 1fr; gap: 40px; }
  #view-contact .contact-map { aspect-ratio: 16/10; }
}
@media (max-width: 768px) {
  #view-contact .hero-banner { margin-top: 45px; height: 120px !important; }
  #view-contact .hero-banner-content { padding-top: 0; justify-content: center; }
  #view-contact .hero-banner-title { font-size: 32px; margin-bottom: 6px; }
  #view-contact .hero-banner-subtitle { font-size: 12px; }
  #view-contact .contact-section { padding: 12px 16px 60px; }
  #view-contact .contact-container { gap: 16px; }
  #view-contact .contact-main { gap: 12px; }
  #view-contact .contact-map { width: 100%; height: 150px !important; aspect-ratio: none !important; }
  #view-contact .contact-map .leaflet-popup-content-wrapper { padding: 8px 12px; border-radius: 8px; }
  #view-contact .contact-map .leaflet-popup-content { margin: 0; min-width: 120px; }
  #view-contact .contact-map .leaflet-popup-content strong { font-size: 12px !important; }
  #view-contact .contact-map .leaflet-popup-content span { font-size: 10px !important; }
  #view-contact .contact-map .custom-marker div { transform: scale(0.7) !important; }
  #view-contact .contact-map .leaflet-control-zoom { display: none !important; }
  #view-contact .contact-info-title { font-size: 16px; margin-bottom: 16px; }
  #view-contact .contact-info-item { margin-bottom: 12px; gap: 10px; }
  #view-contact .contact-info-icon { width: 28px; height: 28px; }
  #view-contact .contact-info-icon svg { width: 14px; height: 14px; }
  #view-contact .contact-info-label { font-size: 11px; }
  #view-contact .contact-info-value { font-size: 12px; }
  #view-contact .contact-social { margin-top: 16px; padding-top: 12px; }
  #view-contact .contact-social-title { font-size: 16px; margin-bottom: 16px; }
  #view-contact .social-icon { width: 42px; height: 42px; }
  #view-contact .social-icon svg { width: 20px; height: 20px; }
  #view-contact .social-icon-wrapper:hover .social-qrcode {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.95);
  }
}
