/* ========== Banner（完全统一） ========== */
.banner {
  height: 320px;
  background: linear-gradient(to right, #1e7539, #2d8b47);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner h1 {
  font-size: 40px;
  margin-bottom: 15px;
}
.banner p {
  font-size: 18px;
  opacity: 0.9;
}

/* ========== 容器（统一宽度） ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
}

/* ========== 页面标题 ========== */
.page-title {
  text-align: center;
  font-size: 28px;
  color: #2d8b47;
  margin-bottom: 50px;
  position: relative;
}
.page-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #2d8b47;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

/* ========== 联系信息布局 ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* ========== 联系信息卡片 ========== */
.contact-info {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.contact-icon {
  width: 45px;
  height: 45px;
  background: #f0f9f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d8b47;
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
}
.contact-text h3 {
  font-size: 18px;
  color: #2d8b47;
  margin-bottom: 8px;
}
.contact-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ========== 地图样式 ========== */
.map-box {
  width: 100%;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== 留言表单样式 ========== */
.message-box {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  margin-top: 20px;
}
.message-title {
  font-size: 24px;
  color: #2d8b47;
  margin-bottom: 30px;
  font-weight: 600;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-control:focus {
  border-color: #2d8b47;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  background: #2d8b47;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.submit-btn:hover {
  background: #1e7539;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 15px; }
  .container { width: 95%; padding: 0 10px; margin: 40px auto; }
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-info,
  .message-box {
    padding: 25px 15px;
  }
  .contact-item {
    margin-bottom: 20px;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin-right: 15px;
  }
  .contact-text h3 {
    font-size: 16px;
  }
  .contact-text p {
    font-size: 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .map-box {
    height: 300px;
  }
}