/* ============ 联系我们页面（重构版） ============ */
.contact-page{ padding: 4px 0 10px; }

/* ---------- 页面主标题（h1） ---------- */
.contact-page .cp-head{ margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #eef1e6;}
.contact-page .cp-head h1{
  font-size: 24px; color: #2f3a2a; font-weight: bold; letter-spacing: 2px; line-height: 32px;
  padding-left: 12px; border-left: 4px solid #669934;
}
.contact-page .cp-head p{ margin-top: 8px; font-size: 13px; color: #999;}

/* ---------- 联系信息卡片 ---------- */
.contact-page .cp-cards{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.contact-page .cp-card{
  flex: 1 1 200px; min-width: 200px; background: #fff; border: 1px solid #eef1e6; border-radius: 10px;
  padding: 16px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04); transition: all .25s;
}
.contact-page .cp-card:hover{ transform: translateY(-3px); box-shadow: 0 8px 20px rgba(102,153,52,.15); border-color: #c8dcab; }
.contact-page .cp-ic{
  width: 44px; height: 44px; line-height: 44px; text-align: center; font-size: 20px;
  border-radius: 50%; background: linear-gradient(135deg,#eaf2dd,#d8e8bf); flex-shrink: 0;
}
.contact-page .cp-txt{ display: flex; flex-direction: column; overflow: hidden; }
.contact-page .cp-txt b{ font-size: 12px; color: #9a9a9a; font-weight: normal; letter-spacing: 1px; }
.contact-page .cp-txt span{ font-size: 14px; color: #333; font-weight: bold; line-height: 1.6; word-break: break-all; }

/* ---------- 白色面板 ---------- */
.contact-page .cp-panel{
  background: #fff; border: 1px solid #eef1e6; border-radius: 10px;
  padding: 22px 26px 24px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.contact-page .cp-h3{
  font-size: 18px; color: #2f3a2a; font-weight: bold; margin-bottom: 14px;
  padding-left: 12px; border-left: 4px solid #669934; line-height: 26px;
}
.contact-page .cp-panel .ab_img{ font-size: 14px; color: #555; line-height: 26px; }
.contact-page .cp-panel .ab_img p{ margin-bottom: 10px; }
.contact-page .cp-panel .ab_img h3{
  font-size: 16px; color: #2f3a2a; margin: 14px 0 8px; padding-left: 10px; border-left: 3px solid #c9d6b8;
}
.contact-page .cp-panel .ab_img ul{ margin: 6px 0; }
.contact-page .cp-panel .ab_img li{ list-style: none; position: relative; padding-left: 18px; line-height: 26px; }
.contact-page .cp-panel .ab_img li:before{
  content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: #669934;
}

/* ---------- 服务流程（横向四步） ---------- */
.contact-page .cp-flow{ display: flex; flex-wrap: wrap; gap: 0; counter-reset: cpflow; }
.contact-page .cp-flow li{
  position: relative; list-style: none; flex: 1 1 22%; min-width: 150px;
  padding: 6px 18px 6px 46px;
}
.contact-page .cp-flow li:before{
  counter-increment: cpflow; content: counter(cpflow);
  position: absolute; left: 0; top: 2px; width: 30px; height: 30px; line-height: 30px; text-align: center;
  border-radius: 50%; background: linear-gradient(135deg,#669934,#7fb33f); color: #fff;
  font-size: 14px; font-weight: bold; box-shadow: 0 4px 10px rgba(102,153,52,.25);
}
.contact-page .cp-flow li:not(:last-child):after{
  content: ""; position: absolute; right: 6px; top: 16px; width: 22px; height: 10px;
  background: none; border-top: 2px dashed #d9e3cb;
}
.contact-page .cp-flow li b{ display: block; font-size: 15px; color: #2f3a2a; font-weight: bold; line-height: 26px; }
.contact-page .cp-flow li span{ display: block; font-size: 13px; color: #999; margin-top: 2px; line-height: 20px; }

/* ---------- 留言表单 ---------- */
.contact-page .cp-form-panel{ padding-bottom: 26px; }
.contact-page .cp-form-sub{ font-size: 13px; color: #999; margin: -6px 0 18px; }
.contact-page .cp-grid{ display: flex; flex-wrap: wrap; gap: 0 18px; }
.contact-page .cp-row{ flex: 1 1 calc(50% - 9px); margin-bottom: 14px; }
.contact-page .cp-row-full{ flex: 1 1 100%; }
.contact-page .cp-row label{ display: block; font-size: 14px; color: #555; margin-bottom: 7px; }
.contact-page .cp-row label em{ color: #e0663c; font-style: normal; }
.contact-page .cp-row input,
.contact-page .cp-row textarea{
  width: 100%; border: 1px solid #dfe5d6; border-radius: 6px; padding: 11px 13px;
  font-size: 14px; color: #333; background: #fcfdfb; box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-page .cp-row input:focus,
.contact-page .cp-row textarea:focus{
  border-color: #669934; background: #fff; box-shadow: 0 0 0 3px rgba(102,153,52,.12); outline: none;
}
.contact-page .cp-row textarea{ height: 110px; resize: vertical; line-height: 22px; }
.contact-page .cp-submit-wrap{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.contact-page .cp-submit{
  width: 220px; height: 46px; border: none; border-radius: 23px; cursor: pointer; flex-shrink: 0;
  background: linear-gradient(90deg,#669934,#7fb33f); color: #fff; font-size: 16px; letter-spacing: 2px;
  box-shadow: 0 6px 16px rgba(102,153,52,.28); transition: all .22s;
}
.contact-page .cp-submit:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px rgba(102,153,52,.36); }
.contact-page .cp-submit-tip{ font-size: 12px; color: #a8ad9e; line-height: 20px; }

/* ---------- 联系我们页：左栏联系卡片（电话/在线预约）属于重要入口，保留；
   侧栏导航在本页只有自身一项、无导航价值，隐藏以免与面包屑/h1 重复 ---------- */
.pg-contact .pro-left .side-nav{ display: none; }
.pg-contact .pro-left .side-contact{ margin-top: 0; }

@media (max-width: 768px){
  .contact-page .cp-card{ flex: 1 1 100%; }
  .contact-page .cp-row{ flex: 1 1 100%; }
  .contact-page .cp-flow li{ flex: 1 1 100%; padding-bottom: 16px; }
  .contact-page .cp-flow li:not(:last-child):after{ display: none; }
  .contact-page .cp-submit{ width: 100%; }
}
