/* =========================================================
   聚淼成型科技 - 联系我们 / 提交项目需求 独立样式
   ========================================================= */

/* ===== 顶部 Hero ===== */
.global-hero {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #0048a8 0%, #0b6cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}
.global-hero-inner {
  max-width: 900px;
  width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.global-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}
.global-hero p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

/* ===== 联系我们区块 ===== */
.jm-contact-section {
  background: #f9fafc;
  padding: 80px 20px;
}
.jm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 通用卡片样式 ===== */
.jm-card {
  background: #fff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.jm-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0b6cff;
  margin-bottom: 10px;
}

/* ===== 表单部分 ===== */
.jm-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.jm-form-row div { flex: 1; }
.jm-form-row-1 {
  margin-bottom: 20px;
}
.jm-form-row input,
.jm-form-row select,
.jm-form-row-1 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
  transition: all 0.3s ease;
}
.jm-form-row input:focus,
.jm-form-row select:focus,
.jm-form-row-1 textarea:focus {
  border-color: #0b6cff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,108,255,0.1);
}
.jm-form-row-1 textarea {
  min-height: 160px;
  resize: vertical;
}
.jm-btn {
  background: #0b6cff;
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.jm-btn:hover {
  background: #0048a8;
  transform: translateY(-2px);
}

/* ===== 提示信息 ===== */
.jm-tips {
  font-size: 14px;
  color: #555;
  margin-top: 15px;
}
.jm-tips a {
  color: #0b6cff;
  font-weight: 600;
}

/* ===== 联系信息列表 ===== */
.jm-contact-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.jm-contact-info li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}
.jm-qr {
  display: flex;
  align-items: center;
  gap: 15px;
}
.jm-qr img {
  width: 140px;
  border-radius: 6px;
  border: 1px solid #eee;
}
.jm-muted {
  color: #777;
  font-size: 14px;
}

/* ---------------------------------------------------------
   ⭐ 新增：方案 A 极简工厂位置展示（无地图版本）
--------------------------------------------------------- */
.jm-location-box {
  padding: 14px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
  margin-top: 10px;
}

.jm-location-box p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.jm-nav-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}

.jm-btn-nav {
  padding: 8px 14px;
  background: #2563eb;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s ease;
}

.jm-btn-nav:hover {
  background: #1e4fcc;
}

/* =========================================================
   已删除地图样式（Leaflet 不再使用）
   .jm-map {}
   .leaflet-container {}
========================================================= */

/* ===== 响应式布局 ===== */
@media (max-width: 960px) {
  html, body { overflow-x: hidden; }

  .jm-contact-grid {
    grid-template-columns: 1fr;
  }

  .global-hero {
    height: auto;
    padding: 80px 20px;
    width: 100%;
    margin: 0 auto;
  }
  .global-hero-inner {
    padding: 20px;
    width: 100%;
    max-width: 100%;
  }
  .global-hero h1 { 
    font-size: 28px;
    word-break: break-word;
  }
  .global-hero p { 
    font-size: 16px;
  }
}
