/* ============================================================
   hhlsq.com — migrate.css 网站迁移服务页专属样式
   布局指纹：H3 右侧大图倾斜 Hero ｜ B3 步骤时间轴｜B1 统计带｜B2 错位卡片墙｜B4 图文交替｜B14 表单｜B15 CTA
   签名元素：S1 旋转编号圆环
   ============================================================ */

/* ---------- 1. Hero H3 右侧大图倾斜 ---------- */
.mg-hero{ background:var(--gray-100); padding:clamp(56px,7vw,92px) 0 clamp(60px,7vw,96px); position:relative; overflow:hidden; }
.mg-hero__inner{ display:grid; grid-template-columns:1fr 1.05fr; gap:56px; align-items:center; }
.mg-hero__title{ font-size:clamp(28px,3.8vw,44px); line-height:1.28; margin-bottom:18px; }
.mg-hero__title em{ font-style:normal; color:var(--gold); }
.mg-hero__lead{ color:var(--gray-600); font-size:16px; max-width:500px; margin-bottom:28px; }
.mg-hero__actions{ display:flex; gap:14px; flex-wrap:wrap; }

.mg-hero__media{ position:relative; }
.mg-hero__img{
  width:100%; aspect-ratio:16/10; object-fit:cover;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  transform:rotate(2.5deg) scale(.98);
}
.mg-hero__badge{
  position:absolute; top:-18px; left:-14px; background:var(--navy-900); color:var(--gold);
  font-size:12.5px; line-height:1.6; letter-spacing:.08em; padding:12px 16px;
  border-radius:var(--radius-md); transform:rotate(-4deg); box-shadow:var(--shadow-md); z-index:2;
}
.mg-hero__tagbar{
  position:absolute; bottom:-20px; left:50%; transform:translateX(-50%);
  background:#fff; color:var(--gray-700); font-size:13px; letter-spacing:.04em;
  padding:10px 22px; border-radius:var(--radius-pill); box-shadow:var(--shadow-md); white-space:nowrap;
}

/* ---------- 2. B3 步骤时间轴 + S1 旋转编号圆环 ---------- */
.mg-steps__track{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.mg-step{ text-align:center; padding-top:96px; position:relative; }
.mg-step__ring{
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:84px; height:84px; display:flex; align-items:center; justify-content:center;
}
.mg-step__ring::before{
  content:""; position:absolute; inset:0; border:1.5px dashed var(--navy-500); border-radius:50%;
  transition:transform .8s ease, border-color .4s ease;
}
.mg-step:hover .mg-step__ring::before{ transform:rotate(180deg); border-color:var(--gold); }
.mg-step__ring span{
  width:58px; height:58px; border-radius:50%; background:#fff; box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center;
  font-size:19px; font-weight:700; color:var(--navy-700);
}
.mg-step h3{ font-size:17px; margin-bottom:8px; }
.mg-step p{ font-size:14px; color:var(--gray-600); line-height:1.75; }

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

/* ---------- 4. B2 错位卡片墙 ---------- */
.mg-cardgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.mg-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;
}
.mg-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.mg-card:nth-child(even){ transform:translateY(18px); }
.mg-card:nth-child(even):hover{ transform:translateY(12px); }
.mg-card svg{ width:32px; height:32px; color:var(--navy-600); stroke-width:1.4; margin-bottom:14px; }
.mg-card:hover svg{ color:var(--gold); }
.mg-card h3{ font-size:17px; margin-bottom:10px; }
.mg-card p{ font-size:14px; color:var(--gray-600); line-height:1.75; margin:0; }

/* ---------- 5. B4 图文交替流 ---------- */
.mg-pair{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; margin-bottom:clamp(40px,5vw,64px); }
.mg-pair:last-child{ margin-bottom:0; }
.mg-pair--reverse .mg-pair__media{ order:2; }
.mg-pair__media img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.mg-pair__num{ font-size:46px; font-weight:700; color:transparent; -webkit-text-stroke:1.5px var(--gold); line-height:1; display:block; margin-bottom:10px; }
.mg-pair__body h3{ font-size:22px; margin-bottom:12px; }
.mg-pair__body p{ color:var(--gray-600); font-size:15px; margin:0 0 12px; }
.mg-pair__body p:last-child{ margin-bottom:0; }
.mg-pair__body a{ font-weight:600; }
.mg-check{ margin:14px 0; }
.mg-check li{ position:relative; padding:7px 0 7px 26px; font-size:14.5px; color:var(--gray-700); }
.mg-check li::before{
  content:"✓"; position:absolute; left:0; top:7px; width:18px; height:18px;
  border:1px solid var(--gold); border-radius:50%; color:var(--gold);
  font-size:11px; line-height:16px; text-align:center;
}

/* ---------- 6. B14 表单 ---------- */
.mg-form__split{ display:grid; grid-template-columns:1fr 1.08fr; gap:48px; align-items:center; }
.mg-form__text{ color:var(--gray-600); font-size:15px; margin-bottom:20px; }
.mg-form__text a{ font-weight:600; color:var(--navy-700); }
.mg-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); }
.mg-form__points li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0; }
.mg-form__points li:last-child{ border-bottom:none; }
.mg-form__points a{ font-weight:600; }

/* ---------- 7. B15 CTA ---------- */
.mg-cta{ padding-bottom:clamp(70px,8vw,110px); }
.mg-ctabanner{
  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);
}
.mg-ctabanner::before{
  content:""; position:absolute; right:-70px; top:-70px; width:220px; height:220px;
  border-radius:50%; border:1.5px dashed rgba(176,141,74,.45);
}
.mg-ctabanner::after{
  content:""; position:absolute; left:-90px; bottom:-120px; width:260px; height:260px;
  border-radius:50%; border:1px dashed rgba(255,255,255,.2);
}
.mg-ctabanner__inner{ position:relative; z-index:1; }
.mg-ctabanner__title{ color:#fff; font-size:clamp(22px,3vw,32px); margin-bottom:12px; }
.mg-ctabanner__sub{ color:rgba(232,238,245,.78); font-size:15px; margin-bottom:28px; }
.mg-ctabanner__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:30px; }
.mg-ctabanner__more{ display:flex; gap:22px; justify-content:center; flex-wrap:wrap; }
.mg-ctabanner__more a{ color:rgba(232,238,245,.7); font-size:13.5px; border-bottom:1px dashed rgba(232,238,245,.3); padding-bottom:2px; }
.mg-ctabanner__more a:hover{ color:var(--gold); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px){
  .mg-hero__inner{ grid-template-columns:1fr; gap:48px; }
  .mg-hero__img{ transform:rotate(0) scale(1); }
  .mg-steps__track{ grid-template-columns:1fr 1fr; gap:40px 24px; }
  .mg-stats__grid{ grid-template-columns:repeat(2,1fr); }
  .mg-cardgrid{ grid-template-columns:repeat(2,1fr); }
  .mg-card:nth-child(even){ transform:none; }
  .mg-pair{ grid-template-columns:1fr; gap:24px; }
  .mg-pair--reverse .mg-pair__media{ order:0; }
  .mg-form__split{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .mg-steps__track{ grid-template-columns:1fr; }
  .mg-cardgrid{ grid-template-columns:1fr; }
  .mg-hero__actions .btn{ width:100%; }
  .mg-hero__tagbar{ font-size:12px; padding:8px 14px; }
}
