/* ============================================================
   联系我们页面 page-contact.css
   设计体系：--green #0A6659 / --green-dark #075044
   ============================================================ */

.contact-msg-sec { padding-top: 46px; padding-bottom: 40px; }

/* 两栏布局：左联系方式 + 右留言表单 */
.contact-msg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 18px;
}
.contact-info { min-width: 0; }

/* 公司名片 */
.company-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #eef1f0;
}
.company-card img { width: 100px; object-fit: contain; }
.company-meta h3 { font-size: 24px; color: #222; font-weight: 700; }
.company-meta p { font-size: 16px; color: var(--text-light); margin-top: 4px; }

/* 信息列表 */
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px dashed #e8eceb;
}
.contact-list li:last-child { border-bottom: none; }
.c-ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10,102,89,.08);
  color: var(--green);
}
.c-ico svg { width: 24px; height: 24px; }
.c-ico i { font-size: 19px; line-height: 1; }
.c-text strong { display: block; font-size: 18px; color: #222; font-weight:bold; }
.c-text p { margin: 4px 0 0; font-size: 14.5px; color: var(--text-light); line-height: 1.7; }
.c-text a { color: var(--green); font-weight: 600; }
.c-text a:hover { color: var(--green-dark); text-decoration: underline; }

/* 一键导航 */
.nav-block {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eef1f0;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(10,102,89,.06);
}
.nav-block h4 { font-size: 16px; color: #222; font-weight: 700; }
.nav-tip { font-size: 13px; color: var(--text-light); margin: 6px 0 14px; }
.nav-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px; font-weight: 600;
  color: #fff; text-decoration: none;
  cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.nav-btn.amap   { background:var(--green); }   /* 高德绿 */
.nav-btn.baidu  { background:var(--green); }   /* 百度蓝 */
.nav-btn.tencent{ background:var(--green); }   /* 腾讯青 */
.nav-btn.call   { background:var(--green); }
.nav-btn.copy   { background:#fff; color: var(--green); border: 1px solid var(--green); }
.nav-btn.copy:hover { background: var(--green); color: #fff; box-shadow: none; }

/* 微信联系（contact-list 内新增项） */
.c-wechat { align-items: center; }
.c-wechat .c-qr {
  flex: 0 0 auto;
  width: 92px; height: 92px;
  margin-left: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #eef1f0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.c-wechat .c-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 地图（通屏） */
.map-sec { padding-top: 8px; padding-bottom: 40px; }
.map-full {
  width: 100%;
  margin-top: 8px;
}
.map-frame {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
  background: #eef1f0;
}
.map-tip {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 12px;
}

/* 来访指引 */
.arrive-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.arrive-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 20px;
  background: var(--bg-light);
  border-radius: 14px;
}
.ar-ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10,102,89,.10);
  color: var(--green);
}
.ar-ico svg, .ar-ico i { font-size: 19px; line-height: 1; }
.arrive-item strong { display: block; font-size: 18px; color: #222; }
.arrive-item p { margin: 4px 0 0; font-size: 16px; color: var(--text-light); line-height: 1.7; }

/* ===================== 在线留言 ===================== */
.msg-form-head { margin-bottom: 22px; }
.msg-form-head h3 { font-size: 21px; color: #222; font-weight: 700; }
.msg-form-head p { margin: 6px 0 0; font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* 验证码 */
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-input { flex: 1 1 auto; min-width: 0; }
.captcha-img {
  flex: 0 0 auto;
  width: 120px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #e3e8e7;
  background: #eef3f2;
  cursor: pointer;
  object-fit: cover;
}

/* 右侧表单 */
.msg-form-card {
  background: #fff;
  border: 1px solid #eef1f0;
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 12px 34px rgba(10,102,89,.06);
}
.msg-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.form-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.form-col-full { flex: 1 1 100%; }
.msg-form label { font-size: 14px; color: #222; font-weight: 600; margin-bottom: 8px; }
.msg-form label i { color: #e0492f; font-style: normal; margin-left: 2px; }
.msg-form input,
.msg-form select,
.msg-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  color: #222;
  background: #fafbfb;
  border: 1px solid #e3e8e7;
  border-radius: 10px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
}
.msg-form textarea { resize: vertical; line-height: 1.7; }
.msg-form input::placeholder,
.msg-form textarea::placeholder { color: #aab2b0; }
.msg-form input:focus,
.msg-form select:focus,
.msg-form textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,102,89,.12);
}
.msg-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 13px 38px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.msg-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10,102,89,.28); }
.msg-submit:active { transform: translateY(0); }
.msg-note { font-size: 12.5px; color: var(--text-light); margin: 2px 0 0; line-height: 1.6; }

/* ===================== 到访指引 ===================== */
.arrive-sec { padding-top: 8px; padding-bottom: 60px; }

/* 底部 CTA */
.contact-cta {
  margin-top: 10px;
  background: linear-gradient(120deg, var(--green), var(--green-dark));
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.contact-cta h3 { font-size: 26px; font-weight: 700; }
.contact-cta p { font-size: 15px; opacity: .9; margin: 10px 0 22px; }
.contact-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-cta .btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.contact-cta .btn-outline:hover { background: #fff; color: var(--green); }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .contact-msg-grid { grid-template-columns: 1fr; }
  .map-frame { height: 380px; }
  .arrive-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-msg-sec { padding-top: 30px; }
  .company-card { padding: 14px; }
  .company-card img { width: 46px; height: 46px; }
  .company-meta h3 { font-size: 17px; }
  .nav-btns { gap: 10px; }
  .nav-btn { flex: 1 1 calc(50% - 10px); padding: 12px 10px; font-size: 14px; }
  .map-frame { height: 300px; }
  .msg-form-card { padding: 22px 18px; }
  .msg-form-head h3 { font-size: 19px; }
  .form-row { flex-direction: column; gap: 14px; }
  .msg-submit { width: 100%; text-align: center; }
  .captcha-img { width: 104px; }
  .arrive-sec { padding-bottom: 44px; }
  .contact-cta { padding: 42px 0; }
  .contact-cta h3 { font-size: 21px; }
  .contact-cta-actions .btn { width: 100%; }
}
