@charset "utf-8";
/* ==========================================================================
   联系我们  contact.css
   ========================================================================== */

/* ---------- 联系方式卡片 ---------- */
.ct-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ct-cards li{padding:24px 20px;background:#fff;border:1px solid #e8eef7;border-radius:5px;transition:.25s}
.ct-cards li:hover{border-color:#c3d9f4;box-shadow:0 8px 20px rgba(24,72,140,.09)}
.ct-cards .ic{display:flex;align-items:center;justify-content:center;width:44px;height:44px;
  border-radius:3px;background:#f1f7fe;border:1px solid #dcebfa}
.ct-cards svg{width:22px;height:22px;stroke:#1a6fd4;fill:none;stroke-width:1.6}
.ct-cards h4{margin-top:14px;font-size:14px;font-weight:600;color:#8d98a9;letter-spacing:.5px}
.ct-cards b{display:block;margin-top:6px;font-size:16px;font-weight:600;color:#222c3a;line-height:1.6}
.ct-cards b.sm{font-size:14px;font-weight:400;color:#4b5665;line-height:1.75}
.ct-cards p{margin-top:4px;font-size:12.5px;color:#a5afbc}

/* ---------- 表单 + 地图 ---------- */
.ct-main{display:flex;gap:26px;align-items:flex-start;margin-top:26px}
.ct-form{flex:1;min-width:0;padding:28px 30px;background:#fff;border:1px solid #e8eef7;border-radius:5px}
.ct-form h2{font-size:20px;font-weight:600;color:#1b2431}
.ct-form .tip{margin-top:7px;font-size:13px;color:#8d98a9}
.ct-form form{margin-top:20px}
.ct-row{display:flex;gap:16px}
.ct-row .fi{flex:1}
.fi{margin-bottom:15px}
.fi label{display:block;margin-bottom:7px;font-size:13px;color:#5a6677}
.fi label i{color:#e8661b;font-style:normal;margin-left:2px}
.fi input,.fi textarea,.fi select{width:100%;padding:10px 13px;border:1px solid #e2e9f3;border-radius:3px;
  background:#fcfdff;font:13.5px/1.6 "Microsoft YaHei",Arial;color:#3d4653;outline:0;transition:.2s}
.fi textarea{height:108px;resize:vertical}
.fi input:focus,.fi textarea:focus,.fi select:focus{border-color:#9cc4ee;background:#fff;
  box-shadow:0 0 0 3px rgba(26,111,212,.07)}
.fi .err{margin-top:6px;font-size:12px;color:#e8661b;display:none}
.fi.bad input,.fi.bad textarea{border-color:#f0b48d;background:#fffaf6}
.fi.bad .err{display:block}
.ct-form .btn{width:100%;margin-top:4px}
.ct-form .ok{margin-top:14px;padding:11px 14px;background:#f2fbf5;border:1px solid #cfe9d8;
  border-radius:3px;font-size:13px;color:#2e8b57;display:none}
.ct-form .ok.on{display:block}

/* 地图 */
.ct-map{flex: 0 0 50%;background:#fff;border:1px solid #e8eef7;border-radius:5px;overflow:hidden}
.map-box{
  position:relative;
  height: 390px;
  background:
  linear-gradient(90deg,rgba(26,111,212,.07) 1px,transparent 1px) 0 0/46px 46px,
  linear-gradient(180deg,rgba(26,111,212,.07) 1px,transparent 1px) 0 0/46px 46px,
  #f2f7fd
  }

.map-pin{position:absolute;left:50%;top:44%;transform:translate(-50%,-100%);z-index:2;text-align:center}
.map-pin i{display:block;width:16px;height:16px;margin:0 auto;border-radius:50% 50% 50% 0;
  background:#1a6fd4;transform:rotate(-45deg);box-shadow:0 0 0 6px rgba(26,111,212,.14)}
.map-pin span{display:inline-block;margin-top:12px;padding:4px 10px;background:#fff;border:1px solid #dbe7f5;
  border-radius:3px;font-size:12px;color:#2b5f9e;white-space:nowrap;box-shadow:0 4px 10px rgba(20,60,120,.1)}
.map-tx{padding:16px 20px 20px}
.map-tx h3{font-size:15px;font-weight:600;color:#222c3a}
.map-tx p{margin-top:8px;font-size:12.8px;line-height:1.9;color:#8d98a9}
.map-tx .ln{margin-top:10px;padding-top:10px;border-top:1px dashed #eef1f6;font-size:12.5px;color:#6b7684}
.map-tx .ln b{color:#1a6fd4}

/* 乘车路线 */
.ct-way{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.ct-way li{padding:22px 22px;background:#fff;border:1px solid #e8eef7;border-radius:5px}
.ct-way h4{font-size:15px;font-weight:600;color:#1a6fd4}
.ct-way p{margin-top:9px;font-size:13px;line-height:1.95;color:#7d8899}

@media(max-width:992px){
  .ct-cards{grid-template-columns:repeat(2,1fr)}
  .ct-main{flex-direction:column}
  .ct-map{flex:none;width:100%;max-width:none}
  .ct-way{grid-template-columns:1fr}
}
@media(max-width:640px){
  .ct-cards{gap:11px}
  .ct-cards li{padding:16px 14px}
  .ct-cards b{font-size:14px}
  .ct-form{padding:20px 16px}
  .ct-row{flex-direction:column;gap:0}
  .map-box{height:230px}
  .ct-way li{padding:16px}
}
