/* ========== 联系我们页面样式 ========== */

/* ========== 内页 Banner ========== */
.ny-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background: url('../images/banner_about.jpg') no-repeat center center;
  background-size: cover;
}
.ny-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.ny-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  text-align: center;
  color: #fff;
}
.ny-banner-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.ny-banner-text p {
  font-size: 16px;
  opacity: .85;
  letter-spacing: 2px;
}

/* ========== 内容区域 ========== */
.contact-main {
  padding: 60px 0 80px;
  background: #f7f8fa;
}
.contact-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== 联系方式卡片区 ========== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: all .4s ease;
  border: 1px solid transparent;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: #003B90;
  box-shadow: 0 8px 30px rgba(0,59,144,.12);
}
.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #eef2fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #003B90;
  transition: all .3s ease;
}
.contact-card:hover .contact-card-icon {
  background: #003B90;
  color: #fff;
}
.contact-card h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
}
.contact-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.contact-card p a {
  color: #003B90;
  text-decoration: none;
}
.contact-card p a:hover {
  text-decoration: underline;
}

/* ========== 地图 + 留言区域 ========== */
.contact-bottom {
  display: flex;
  gap: 30px;
}
.contact-map {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.contact-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 420px;
}
.contact-map-title {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #003B90;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-map-title i {
  font-size: 20px;
}

/* ========== 在线留言表单 ========== */
.contact-form-wrap {
  flex: 0 0 380px;
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.contact-form-wrap h3 {
  font-size: 20px;
  color: #003B90;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid #003B90;
}
.contact-form-wrap .form-subtitle {
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #f7f8fa;
  border: 1px solid #e0e4ec;
  border-radius: 6px;
  outline: none;
  transition: border-color .3s ease;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #003B90;
  background: #fff;
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-submit {
  margin-top: 10px;
}
.form-submit button {
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #003B90;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .3s ease;
  letter-spacing: 2px;
}
.form-submit button:hover {
  background: #00265e;
}

/* ========== 面包屑 ========== */
.breadcrumb-bar {
  padding: 10px 0;
  font-size: 13px;
  color: #999;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 15px;
}
.breadcrumb-bar a {
  color: #999;
  transition: color .2s;
}
.breadcrumb-bar a:hover {
  color: #003B90;
}
.breadcrumb-bar span.sep {
  margin: 0 6px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .ny-banner {
    height: 260px;
  }
  .ny-banner-text h2 {
    font-size: 28px;
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .contact-bottom {
    flex-direction: column;
  }
  .contact-form-wrap {
    flex: 0 0 auto;
  }
  .contact-map img {
    min-height: 300px;
  }
}
@media (max-width: 768px) {
  .ny-banner {
    height: 200px;
  }
  .ny-banner-text h2 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-card {
    padding: 24px 16px;
  }
  .contact-form-wrap {
    padding: 24px 18px;
  }
}
