/* ============================================================
   hhlsq.com — website-contract.css 建站合同与售后保障页专属样式
   布局指纹：H10 极简留白 Hero｜B1统计带｜B11合同要素表｜B2错位卡片墙｜B3步骤时间轴｜B14表单｜B15 CTA
   签名元素：S9 双线框
   ============================================================ */

/* ---------- 1. Hero H10 极简留白 ---------- */
.wctr-hero{ background:var(--white); padding:clamp(90px,11vw,150px) 0 clamp(48px,5vw,72px); position:relative; }
.wctr-hero__inner{ text-align:center; max-width:880px; margin:0 auto; position:relative; }
/* S9 双线框：标题外围双细线框 */
.wctr-hero__inner::before{
  content:""; position:absolute; left:-18px; top:-26px; right:-18px; bottom:-26px;
  border:1px solid var(--gray-300); pointer-events:none;
}
.wctr-hero__inner::after{
  content:""; position:absolute; left:-10px; top:-18px; right:-10px; bottom:-18px;
  border:1px solid var(--gold-soft); pointer-events:none;
}
.wctr-hero__title{ font-size:clamp(28px,4.2vw,48px); line-height:1.28; margin-bottom:20px; letter-spacing:.01em; }
.wctr-hero__title em{ font-style:normal; color:var(--gold); }
.wctr-hero__sub{ color:var(--gray-600); font-size:16px; max-width:640px; margin:0 auto 40px; }
.wctr-hero__pic img{ width:100%; aspect-ratio:16/8; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }

/* ---------- 2. B1 数据统计带 ---------- */
.wctr-stats__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.wctr-stat{ position:relative; padding:8px 0; }
.wctr-stat + .wctr-stat::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:1px; height:46px; background:rgba(232,238,245,.16);
}
.wctr-stat .stat-num{ color:#fff; }
.wctr-stat .stat-note{ color:rgba(232,238,245,.66); }

/* ---------- 3. B11 合同要素表 ---------- */
.wctr-tablewrap{ overflow-x:auto; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); border:1px solid var(--gray-200); }
.wctr-table{ width:100%; min-width:720px; border-collapse:collapse; background:#fff; font-size:14.5px; }
.wctr-table th{ background:var(--navy-900); color:#fff; text-align:left; padding:16px 20px; font-weight:600; }
.wctr-table td{ padding:14px 20px; border-top:1px solid var(--gray-200); color:var(--gray-700); line-height:1.7; vertical-align:top; }
.wctr-table tbody tr:nth-child(even){ background:var(--gray-50); }
.wctr-table td:first-child{ font-weight:600; color:var(--navy-900); white-space:nowrap; }
.wctr-table td:nth-child(2){ color:var(--navy-700); }
.wctr-table td:nth-child(3){ color:var(--gray-600); }

/* ---------- 4. B2 错位卡片墙 ---------- */
.wctr-pit__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.wctr-pit__card{
  background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:28px 26px; transition:all .3s ease;
}
.wctr-pit__card:nth-child(3n+2){ transform:translateY(16px); }
.wctr-pit__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.wctr-pit__card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.wctr-pit__card:hover svg{ color:var(--gold); }
.wctr-pit__card h3{ font-size:17px; margin-bottom:10px; }
.wctr-pit__card p{ font-size:14px; color:var(--gray-600); line-height:1.75; }

/* ---------- 5. B3 步骤时间轴 ---------- */
.wctr-timeline{
  display:grid; grid-template-columns:repeat(6,1fr); gap:18px;
  position:relative; counter-reset:step;
}
.wctr-timeline::before{
  content:""; position:absolute; top:26px; left:4%; right:4%; height:1px;
  background:var(--gray-300);
}
.wctr-step{ position:relative; padding-top:56px; }
.wctr-step__num{
  position:absolute; top:0; left:0; width:52px; height:52px; border-radius:50%;
  background:#fff; border:1.5px solid var(--navy-600); color:var(--navy-700);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:15px; box-shadow:var(--shadow-sm); z-index:1;
}
.wctr-step:nth-child(-n+2) .wctr-step__num{ background:var(--navy-900); color:#fff; border-color:var(--navy-900); }
.wctr-step h3{ font-size:15.5px; margin-bottom:8px; }
.wctr-step p{ font-size:13px; color:var(--gray-600); line-height:1.75; }

/* ---------- 6. B14 表单预约 ---------- */
.wctr-form__split{ display:grid; grid-template-columns:1.05fr 1fr; gap:48px; align-items:start; }
.wctr-form__img{ margin:18px 0 20px; }
.wctr-form__img img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.wctr-form__text{ color:var(--gray-600); font-size:15px; margin-bottom:18px; }
.wctr-form__text a{ font-weight:600; color:var(--navy-700); }
.wctr-form__points li{ display:flex; align-items:baseline; gap:10px; padding:8px 0; font-size:14.5px; color:var(--gray-700); border-bottom:1px dashed var(--gray-300); }
.wctr-form__points li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.wctr-form__points li:last-child{ border-bottom:none; }
.wctr-form__rel{ font-size:13.5px; color:var(--gray-500); margin-top:18px; }
.wctr-form__rel a{ color:var(--navy-600); }
.wctr-form__rel a:hover{ color:var(--gold); }

/* ---------- 7. B15 CTA ---------- */
.wctr-cta{ padding-bottom:clamp(70px,8vw,110px); }
.wctr-banner{
  background:linear-gradient(135deg,var(--navy-800),var(--navy-700) 55%,var(--navy-600));
  border-radius:28px; padding:clamp(44px,5vw,72px) clamp(24px,4vw,56px);
  text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg);
}
.wctr-banner::before{
  content:""; position:absolute; right:34px; top:34px; left:34px; bottom:34px;
  border:1px solid rgba(255,255,255,.18); border-radius:20px; pointer-events:none;
}
.wctr-banner__inner{ position:relative; z-index:1; }
.wctr-banner__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.wctr-banner__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.wctr-banner__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.wctr-banner__ghost{ border-color:rgba(255,255,255,.5); color:#fff; }
.wctr-banner__ghost:hover{ background:#fff; color:var(--navy-700); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .wctr-pit__grid{ grid-template-columns:repeat(2,1fr); }
  .wctr-pit__card:nth-child(3n+2){ transform:none; }
  .wctr-stats__grid{ grid-template-columns:repeat(2,1fr); }
  .wctr-timeline{ grid-template-columns:repeat(3,1fr); gap:28px 18px; }
  .wctr-timeline::before{ display:none; }
  .wctr-form__split{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .wctr-pit__grid{ grid-template-columns:1fr; }
  .wctr-stats__grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .wctr-timeline{ grid-template-columns:1fr 1fr; }
  .wctr-hero{ padding-top:70px; }
  .wctr-hero__inner::before{ left:-6px; right:-6px; }
}
