/* ================================================================
   中凯旭华 · 联系我们页样式
   ================================================================ */
.ct-banner{background:linear-gradient(135deg,#0b2340 0%,#123a5e 58%,#1a4a76 100%)}

/* 联系方式卡片 + 侧栏 */
.ct-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;align-items:stretch}
.ct-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ct-card{position:relative;display:flex;align-items:flex-start;gap:16px;background:#fff;border:1px solid var(--ip-line);border-radius:3px;padding:24px;transition:border-color .2s ease .6s,box-shadow .25s ease}
.ct-card:hover{border-color:var(--ip-gold);box-shadow:0 10px 28px rgba(11,35,64,.08)}
/* 双向放射跑线：进场从左上角出发(顶→右 / 左→底)在右下角汇合；离场从右下角反向收回 */
.ct-card::before,.ct-card::after{content:"";position:absolute;top:-1px;left:-1px;pointer-events:none;box-sizing:border-box}
/* 基础态的 transition = 鼠标移开(退场)时生效：右下角先收(右/底)、左上角后收(顶/左) */
.ct-card::before{width:0;height:0;border-top:2px solid var(--ip-gold);border-right:2px solid var(--ip-gold);transition:height .34s ease,width .34s ease .34s}
.ct-card::after{width:0;height:0;border-left:2px solid var(--ip-gold);border-bottom:2px solid var(--ip-gold);transition:width .34s ease,height .34s ease .34s}
/* hover 态的 transition = 鼠标移入(进场)时生效：左上角先画(顶/左)、右下角后画(右/底) */
.ct-card:hover::before{width:calc(100% + 2px);height:calc(100% + 2px);transition:width .34s ease,height .34s ease .34s}
.ct-card:hover::after{width:calc(100% + 2px);height:calc(100% + 2px);transition:height .34s ease,width .34s ease .34s}
.ct-ico{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:#0b2340;border-radius:3px}
.ct-ico svg{width:22px;height:22px;fill:none;stroke:var(--ip-gold);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ct-card h3{font-size:15px;color:var(--ip-navy);margin:0 0 8px;font-weight:700}
.ct-card p{font-size:15px;color:var(--ip-text);margin:0 0 6px;line-height:1.6;word-break:break-all}
.ct-card p a{color:var(--ip-navy);font-weight:600}
.ct-card p a:hover{color:#175b96}
.ct-card small{font-size:12px;color:var(--ip-muted)}
.ct-side{display:flex;flex-direction:column;gap:16px}
.ct-side-box{background:linear-gradient(135deg,#0b2340,#123a5e);color:#fff;border-radius:3px;padding:24px;flex:1}
.ct-side-box h3{font-size:17px;color:var(--ip-gold);margin:0 0 12px}
.ct-side-box p{font-size:13px;line-height:1.9;color:rgba(255,255,255,.86);margin:0 0 14px}
.ct-side-box small{font-size:12px;color:rgba(255,255,255,.58)}
.ct-btn{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:10px 16px;margin:0 8px 8px 0;background:var(--ip-gold);color:#102a43;font-size:13px;font-weight:700;border-radius:2px;transition:.25s}
.ct-btn:hover{background:#ffd337;color:#0b2340}
.ct-btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff}
.ct-btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.ct-hours p{margin-bottom:4px}

/* 公司位置地图 */
.ct-map-sec{margin-top:34px}
.ct-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.ct-map-head h3{font-size:20px;color:var(--ip-navy);margin:0 0 6px;display:flex;align-items:center;gap:10px}
.ct-map-head h3:before{content:"";width:4px;height:20px;background:var(--ip-gold);display:inline-block}
.ct-map-head p{font-size:13px;color:var(--ip-muted);margin:0}
.ct-map-head a{font-size:13px;color:#175b96;font-weight:600;white-space:nowrap}
.ct-map-head a:hover{color:#0b4f82}
.ct-map-wrap{position:relative;height:430px;border:1px solid var(--ip-line);overflow:hidden;background:#eaf0f6}
.ct-map-canvas{position:absolute;inset:0;z-index:2;background:transparent!important}
.ct-map-canvas canvas{background:transparent!important}
.ct-map-fallback{position:absolute;inset:0;z-index:1;display:grid;place-items:center;padding:30px;background-color:#eef3f8;background-image:linear-gradient(rgba(11,35,64,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(11,35,64,.06) 1px,transparent 1px);background-size:44px 44px}
.ct-fallback-inner{max-width:460px;text-align:center;background:rgba(255,255,255,.94);border:1px solid #dce5ee;padding:32px 28px;box-shadow:0 16px 40px rgba(11,35,64,.1)}
.ct-fallback-inner .ct-pin{display:block;font-size:36px;line-height:1;color:#175b96;margin-bottom:12px}
.ct-fallback-inner strong{display:block;font-size:17px;color:var(--ip-navy);margin-bottom:8px}
.ct-fallback-inner em{display:block;font-style:normal;font-size:13px;color:var(--ip-muted);line-height:1.8;margin-bottom:18px}
.ct-fallback-inner a{display:inline-block;background:#0b2340;color:#fff;font-size:13px;padding:10px 18px;border-radius:2px}
.ct-fallback-inner a:hover{background:#123a5e}

/* 留言表单 */
.ct-form{margin-top:34px}
.ct-form .jb-form-row{grid-template-columns:repeat(2,1fr)}
@media(max-width:900px){
  .ct-layout{grid-template-columns:1fr}
  .ct-side{flex-direction:row}
  .ct-map-wrap{height:360px}
}
@media(max-width:640px){
  .ct-info{grid-template-columns:1fr}
  .ct-side{flex-direction:column}
  .ct-map-wrap{height:320px}
  .ct-form .jb-form-row{grid-template-columns:1fr}
}
