/* 横幅 */
.contact-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.banner-text h2 {
  font-size: 48px;
  margin: 0 0 15px;
  font-family: 'Montserrat Bold', '思源黑体 Bold', sans-serif;
}
.banner-line {
  width: 120px;
  height: 2px;
  background: #fff;
  margin: 0 auto 15px;
}
.banner-text p {
  font-size: 24px;
  margin: 0;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}

/* 面包屑 */
.breadcrumb {
  padding: 14px 30px;
  background: #f7f7f7;
  font-size: 12px;
  color: #666;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
}
.breadcrumb .active {
  color: #00A846; /* 主色替换原 #cc0000 */
  font-weight: bold;
}

/* 布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.contact-page {
  padding: 50px 0;
}

/* 内容主体 */
.content {
  width: 100%;
}
.content-item {
  display: none;
}
.content-item.active {
  display: block;
}

/* 联系方式整体 */
.contact-wrap {
  text-align: center;
}
.contact-title {
  font-size: 32px;
  color: #333;
  margin: 0 0 10px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.divider-line {
  width: 60px;
  height: 3px;
  background: #00A846; /* 主色替换原 #cc0000 */
  margin: 0 auto 20px;
}
.contact-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.contact-info-layout {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

/* 信息卡片 默认样式 */
.info-item {
  border: 1px solid #eee;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #FFFFFF; /* 纯白中性色 */
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.info-icon {
  width: 50px;
  height: 50px;
  border: 1px solid #00A846; /* 主色替换原 #cc0000 */
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.info-icon span {
  display: block;
  width: 24px;
  height: 24px;
  background: #00A846; /* 主色替换原 #cc0000 */
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.info-text h3 {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.info-text p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}

/* 悬浮效果 */
.info-item:hover {
  background: #00A846; /* 主色替换原 #cc0000 */
  border-color: #00A846; /* 主色替换原 #cc0000 */
}
.info-item:hover .info-icon {
  border-color: #FFFFFF; /* 纯白中性色 */
}
.info-item:hover .info-icon span {
  background: #FFFFFF; /* 纯白中性色 */
}
.info-item:hover .info-text h3,
.info-item:hover .info-text p {
  color: #FFFFFF; /* 纯白中性色 */
}

/* 图标 */
.icon-location {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}
.icon-email {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}
.icon-phone {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}
.icon-user {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

/* 地图 */
.map-container {
  width: 400px;
  height: 400px;
  border: 1px solid #eee;
  overflow: hidden;
  flex-shrink: 0;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 在线留言表单 */
.message-form {
  /* max-width: 700px; */
  margin: 0 auto;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.form-item {
  flex: 1;
}
.form-item.full-width {
  flex: 1 1 100%;
}
.form-item input,
.form-item textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  background: #f7f7f7;
  font-size: 14px;
  box-sizing: border-box;
  border-radius: 2px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.form-item textarea {
  height: 120px;
  resize: none;
}

/* 验证码行 */
.captcha-row {
  align-items: center;
}
.captcha-input {
  flex: 0 0 250px;
}
/* 美化验证码容器 */
.captcha-box {
  width: 120px;
  height: 44px;
  cursor: pointer;
  user-select: none;
  border-radius: 2px;
  overflow: hidden;
}
#captchaCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 隐私协议复选框 */
.checkbox-item {
  margin: 15px 0;
  text-align: left;
}
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  gap: 8px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: auto;
}
.privacy-link {
  color: #004220; /* 辅助深绿替换原 #0066cc */
  text-decoration: none;
}

/* 提交按钮 */
.submit-item {
  text-align: left;
}
.submit-btn {
  width: 100%;
  max-width: 250px;
  padding: 12px;
  background: #00A846; /* 主色替换原 #cc0000 */
  color: #FFFFFF; /* 纯白中性色 */
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 2px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}

/* ------------------- 加入我们（复刻版） ------------------- */
#joinContent {
  text-align: center;
  padding: 50px 0;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.join-title {
  font-size: 48px;
  color: #333;
  margin: 0 0 15px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.join-divider {
  width: 120px;
  height: 3px;
  background: #00A846; /* 主色替换原 #cc0000 */
  margin: 0 auto 20px;
}
.join-subtitle {
  font-size: 24px;
  color: #666;
  margin-bottom: 40px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.join-status {
  font-size: 18px;
  color: #999;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}

/* 隐私协议弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* 纯黑半透明 */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal-content {
  background: #FFFFFF; /* 纯白中性色 */
  width: 500px;
  max-width: 90%;
  border-radius: 4px;
  overflow: hidden;
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.modal-body {
  padding: 15px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
.modal-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  text-align: center;
}
.modal-btn {
  padding: 10px 30px;
  background: #00A846; /* 主色替换原 #cc0000 */
  color: #FFFFFF; /* 纯白中性色 */
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 2px;
  font-family: '思源黑体 Bold', 'Montserrat Bold', sans-serif;
}
