/* ===== Banner: 与公司产品页 banner 排版一致，字体白色 ===== */
.page-banner::before {
  display: none;
}

.page-banner h2,
.page-banner p {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 20px;
  font-family: "Microsoft JhengHei UI Light", "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang SC", sans-serif;
  color: #fff;
}

.page-banner .page-title {
  font-size: 22px;
  line-height: 1;
  margin-top: 0;
  text-align: center;
  font-family: "Source Han Sans SC", "Source Han Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #fff;
  border-top: none;
  padding-top: 0;
}

/* 标题上方固定 60px 横线 */
.page-banner .page-title::before {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  margin: 0 auto 8px;
  background: #fff;
}

/* ===== 面包屑：联系我们页不显示（含高度） ===== */
.breadcrumb {
  display: none;
}

/* ===== Section Title：字重 200（中英文均不加粗），中文视觉下移 50px ===== */
.section-title .watermark {
  font-weight: 400;
}

.section-title h2 {
  font-weight: 200;
  top: 10px;
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 60px 0 80px;
  background: var(--bg-gray);
}

.contact-section {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 50px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.contact-item .info {
  display: flex;
  align-items: center;
}

.contact-item .info h4 {
  font-size: 14px;
  font-weight: 200;
  color: #000;
}

.contact-item .info .colon {
  font-size: 14px;
  font-weight: 200;
  color: #000;
}

.contact-item .info p {
  font-size: 16px;
  font-weight: 200;
  color: #000;
  line-height: 1.6;
  margin-left: 8px;
}

.contact-map {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 500px;
  background: var(--bg-gray);
}

#amap-container {
  width: 100%;
  height: 500px;
}

/* ===== 地图右上角地址搜索 ===== */
.map-search {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.map-search input {
  width: 230px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-dark);
  background: #fff;
  outline: none;
}

.map-search input:focus {
  border-color: var(--primary);
}

.map-search button {
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.map-search button:hover {
  background: var(--primary-dark);
}

.map-search-hint {
  position: absolute;
  top: 52px;
  right: 12px;
  z-index: 3;
  max-width: 320px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
}

/* 地图瓦片与定位标记 */
.map-tile {
  position: absolute;
  max-width: none;
}

.map-pin {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 36px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'%3E%3Cpath d='M13 0C5.8 0 0 5.8 0 13c0 9 13 23 13 23s13-14 13-23C26 5.8 20.2 0 13 0z' fill='%23f2453d'/%3E%3Ccircle cx='13' cy='13' r='6' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===== Contact Responsive ===== */
@media (max-width: 768px) {
  .page-banner h2,
  .page-banner p {
    font-size: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-section {
    padding: 30px 20px;
  }

  #amap-container {
    height: 380px;
  }

  .contact-map {
    min-height: 380px;
  }
}

@media (max-width: 576px) {
  .page-banner h2,
  .page-banner p { font-size: 24px; }

  .page-banner .page-title { font-size: 18px; }

  .map-search input {
    width: 150px;
  }
}
