/* 星途京际 · 官网留资组件 v1  (2026-09-15)
   用途：全站统一留资表单样式。配合 /assets/lead.js 使用。
   结构：<section class="xt-lead-sec"><div class="xt-lead-wrap"> ... </div></section> */
.xt-lead-sec{background:linear-gradient(180deg,#eaf1fb 0%,#f8fbff 100%);padding:88px 0;}
.xt-lead-wrap{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.xt-lead-txt .xt-k{color:#C8161D;font-weight:700;letter-spacing:3px;font-size:14px;display:block;margin-bottom:10px;}
.xt-lead-txt h2{font-size:32px;font-weight:800;margin-bottom:14px;color:#12203a;line-height:1.3;}
.xt-lead-txt p{color:#41506b;font-size:15.5px;margin-bottom:18px;}
.xt-lead-txt ul{list-style:none;margin:0;padding:0;}
.xt-lead-txt li{padding-left:26px;position:relative;margin-bottom:11px;color:#2a3a52;font-size:15px;}
.xt-lead-txt li::before{content:"\2713";position:absolute;left:0;color:#C8161D;font-weight:900;}
.xt-lead-form{background:#fff;border-radius:16px;padding:30px 28px;box-shadow:0 16px 44px rgba(30,58,138,.12);border:1px solid #dfe8f5;font-family:inherit;}
.xt-lead-form h3{font-size:19px;font-weight:800;color:#12203a;margin:0 0 6px;}
.xt-lead-form .fsub{color:#6b7a90;font-size:13px;margin-bottom:18px;}
.xt-lead-form .field{margin-bottom:14px;}
.xt-lead-form input,.xt-lead-form select,.xt-lead-form textarea{width:100%;padding:12px 14px;border:1px solid #d8dce4;border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:#12203a;box-sizing:border-box;outline:none;}
.xt-lead-form input:focus,.xt-lead-form select:focus,.xt-lead-form textarea:focus{border-color:#C8161D;box-shadow:0 0 0 3px rgba(200,22,29,.08);}
.xt-lead-form textarea{resize:vertical;height:76px;}
.xt-lead-form .xt-btn{width:100%;text-align:center;border:none;background:#C8161D;color:#fff;padding:14px 20px;border-radius:8px;font-weight:700;font-size:16px;cursor:pointer;transition:.25s;font-family:inherit;}
.xt-lead-form .xt-btn:hover{background:#8E1420;}
.xt-lead-form .xt-btn:disabled{opacity:.65;cursor:not-allowed;}
.xt-lead-tip{color:#8a95a6;font-size:12.5px;margin:12px 0 0;text-align:center;}
.xt-lead-ok{background:#E8F7EE;color:#178A43;border:1px solid #b7e3c8;border-radius:10px;padding:22px;text-align:center;font-weight:700;}
/* 轻量内嵌版（放在普通 section 内） */
.xt-lead-inline{background:#fff;border:1px solid #e4ebf5;border-radius:16px;padding:30px 28px;box-shadow:0 14px 40px rgba(30,58,138,.10);}
@media(max-width:900px){
  .xt-lead-sec{padding:60px 0;}
  .xt-lead-wrap{grid-template-columns:1fr;gap:26px;}
  .xt-lead-txt h2{font-size:26px;}
}

/* ===== 通用内容组件（xt- 前缀，避免与各页原有样式冲突） ===== */
/* 闭环流程 5 步 */
.xt-loop{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:10px;}
.xt-loop .lk{background:#fff;border:1px solid #ececec;border-radius:12px;padding:22px 14px;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.05);}
.xt-loop .lk i{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#C8161D;color:#fff;font-style:normal;font-weight:800;font-size:14px;margin-bottom:10px;}
.xt-loop .lk b{display:block;font-size:15px;margin-bottom:6px;color:#161616;}
.xt-loop .lk span{color:#6b6b6b;font-size:13px;line-height:1.6;display:block;}
/* 双栏卡片 */
.xt-two{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.xt-who{background:#fff;border:1px solid #ececec;border-radius:14px;padding:30px 26px;box-shadow:0 10px 30px rgba(0,0,0,.06);}
.xt-who.hl{border-color:rgba(200,22,29,.4);box-shadow:0 14px 38px rgba(200,22,29,.13);}
.xt-who .wtag{display:inline-block;font-size:12px;font-weight:800;letter-spacing:1px;color:#fff;background:#1E3A8A;border-radius:20px;padding:4px 12px;margin-bottom:14px;}
.xt-who.hl .wtag{background:#C8161D;}
.xt-who h3{font-size:21px;font-weight:800;margin-bottom:10px;color:#161616;}
.xt-who p{color:#6b6b6b;font-size:14.5px;margin-bottom:14px;}
.xt-who ul{list-style:none;margin:0;padding:0;}
.xt-who li{padding-left:22px;position:relative;margin-bottom:9px;color:#333;font-size:14.5px;}
.xt-who li::before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;background:#C8A24B;border-radius:50%;}
/* 对比表 */
.xt-cmptbl{overflow-x:auto;}
.xt-cmptbl table{width:100%;border-collapse:collapse;font-size:14.5px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.06);}
.xt-cmptbl th,.xt-cmptbl td{padding:14px 16px;text-align:left;border-bottom:1px solid #eee;}
.xt-cmptbl thead th{background:linear-gradient(135deg,#C8161D,#8E1420);color:#fff;font-weight:700;}
.xt-cmptbl tbody td:first-child{font-weight:700;color:#161616;background:#f6f4f2;white-space:nowrap;}
.xt-cmptbl tbody td:nth-child(2){color:#7a7a7a;}
.xt-cmptbl tbody td:nth-child(3){color:#1f1f1f;font-weight:500;}
.xt-cmptbl tbody tr:last-child td{border-bottom:none;}
/* 通用提示条 */
.xt-note{background:#f6f4f2;border-left:4px solid #C8A24B;border-radius:8px;padding:18px 22px;margin-top:26px;color:#4a4a4a;font-size:14.5px;}
@media(max-width:900px){.xt-loop{grid-template-columns:1fr 1fr;}.xt-two{grid-template-columns:1fr;}}
/* 手机端对比表：不压缩列宽，超出部分横向滑动 */
.xt-swipe{display:none;}
@media(max-width:900px){
  .xt-cmptbl{-webkit-overflow-scrolling:touch;}
  .xt-cmptbl table{min-width:600px;}
  .xt-cmptbl th,.xt-cmptbl td{padding:12px;font-size:13.5px;}
  .xt-swipe{display:block;text-align:center;color:#8a95a6;font-size:12.5px;margin:0 0 12px;}
}
