/* ============================================================
   service-migration.css — 网站数据迁移详情页
   布局：左文+右"零丢失"徽章卡 Hero / 左图右文 / 纵向五步时间线 /
   迁移前后双栏对比 / 视差数据条 / FAQ / CTA
   ============================================================ */

/* ---------- 1. Hero ---------- */
.mg-hero{
  min-height:92vh;position:relative;overflow:hidden;
  background:var(--ink);color:#fff;
  display:flex;align-items:center;padding:150px 0 90px;
}
.mg-hero-bg{z-index:0}
.mg-hero-veil{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(16,15,13,.92) 0%,rgba(16,15,13,.62) 60%,rgba(16,15,13,.45) 100%);
}
.mg-hero-inner{
  position:relative;z-index:2;width:100%;
  display:grid;grid-template-columns:1.3fr .9fr;gap:56px;align-items:center;
}
.mg-crumb{font-size:13px;color:#CFC7B8;margin-bottom:24px;font-weight:600}
.mg-crumb a{color:#CFC7B8;transition:color .3s}
.mg-crumb a:hover{color:var(--coffee-bright)}
.mg-crumb em{font-style:normal;color:var(--coffee-bright)}
.mg-hero-title{font-size:clamp(34px,5.2vw,62px);font-weight:900;color:#fff;line-height:1.24;margin-bottom:22px}
.mg-ht-line{display:block}
.mg-gold{
  background:linear-gradient(120deg,#E8CD9D,#C9A87C);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.mg-hero-sub{font-size:16px;color:#D8D0C2;line-height:1.9;margin-bottom:34px;max-width:560px}
.mg-hero-cta{display:flex;gap:16px;flex-wrap:wrap}

/* 零丢失徽章卡 */
.mg-badge{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius-lg);padding:40px 34px;text-align:center;
  backdrop-filter:blur(8px);
}
.mgb-icon{
  width:68px;height:68px;margin:0 auto 22px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--grad-coffee);color:#fff;
}
.mgb-icon svg{width:32px;height:32px}
.mg-badge h3{color:#fff;font-size:20px;margin-bottom:18px}
.mg-badge ul{list-style:none;margin:0 0 22px;padding:0;text-align:left}
.mg-badge li{
  color:#D8D0C2;font-size:14.5px;line-height:1.6;
  padding-left:24px;position:relative;margin-bottom:10px;
}
.mg-badge li::before{
  content:"";position:absolute;left:0;top:8px;
  width:10px;height:10px;border-radius:50%;background:var(--coffee);
}
.mgb-tag{
  display:inline-block;padding:9px 20px;border-radius:100px;
  background:rgba(201,168,124,.2);color:var(--coffee-bright);
  font-size:13px;font-weight:800;letter-spacing:.05em;
}

/* ---------- 2. 左图右文 ---------- */
.mg-what{background:#fff}
.mg-what-inner{display:grid;grid-template-columns:1fr 1.15fr;gap:64px;align-items:center}
.mg-what-media img{
  border-radius:var(--radius-lg);aspect-ratio:16/10;object-fit:cover;
  box-shadow:var(--shadow-lg);
}
.mg-what-text p{color:var(--text-2);line-height:1.9;margin-bottom:14px}
.mg-what-points{
  margin-top:26px;padding:24px 28px;border-radius:var(--radius-md);
  background:var(--coffee-bg);border-left:4px solid var(--coffee);
}
.mg-what-points p{margin:0 0 10px;color:var(--text);font-size:15px}
.mg-what-points p:last-child{margin-bottom:0}
.mg-what-points b{color:var(--coffee-deep);font-weight:800}

/* ---------- 3. 纵向时间线 ---------- */
.mg-timeline{background:var(--coffee-bg)}
.mg-tl{
  list-style:none;margin:0;padding:0;position:relative;
  max-width:720px;margin-left:auto;margin-right:auto;
}
.mg-tl::before{
  content:"";position:absolute;left:110px;top:8px;bottom:8px;width:2px;
  background:linear-gradient(180deg,rgba(169,136,89,.55),rgba(169,136,89,.15));
}
.mg-tli{
  position:relative;display:grid;grid-template-columns:90px 1fr;gap:30px;
  padding:20px 0 20px 0;
}
.mgt-step{
  font-size:13px;font-weight:900;color:var(--coffee-deep);
  background:#fff;border-radius:100px;padding:8px 0;text-align:center;
  box-shadow:var(--shadow-sm);justify-self:start;width:86px;
}
.mg-tli::before{
  content:"";position:absolute;left:104px;top:32px;width:14px;height:14px;
  border-radius:50%;background:var(--grad-coffee);
  border:3px solid var(--coffee-bg);
}
.mgt-body{
  background:#fff;border-radius:var(--radius-md);padding:24px 30px;
  box-shadow:var(--shadow-sm);
}
.mgt-body h3{font-size:18px;margin-bottom:8px}
.mgt-body p{font-size:14.5px;color:var(--text-2);line-height:1.85;margin:0}

/* ---------- 4. 前后对比双栏 ---------- */
.mg-before{background:#fff}
.mg-bf-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;max-width:900px;margin:0 auto}
.mg-bf{
  border-radius:var(--radius-lg);padding:38px 34px;
}
.mg-before-col{background:var(--coffee-bg);border:1px dashed var(--coffee)}
.mg-after-col{background:var(--ink);color:#E9E2D6;border:1px solid rgba(201,168,124,.4)}
.mg-bf h3{font-size:20px;margin-bottom:20px}
.mg-before-col h3{color:var(--text-2)}
.mg-after-col h3{color:var(--coffee-bright)}
.mg-bf ul{list-style:none;margin:0;padding:0}
.mg-bf li{
  font-size:14.5px;line-height:1.7;padding:9px 0 9px 30px;position:relative;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.mg-after-col li{border-bottom-color:rgba(255,255,255,.08)}
.mg-before-col li::before{
  content:"—";position:absolute;left:6px;top:8px;color:#B8A98C;font-weight:800;
}
.mg-after-col li::before{
  content:"✓";position:absolute;left:6px;top:8px;color:var(--coffee-bright);font-weight:800;
}

.mg-relate{
  margin-top:48px;padding:22px 28px;border-radius:var(--radius-md);
  background:var(--coffee-bg);display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  max-width:900px;margin-left:auto;margin-right:auto;
}
.mg-relate span{font-weight:800;color:var(--ink);flex-shrink:0}
.mg-relate a{
  padding:7px 16px;border-radius:100px;background:#fff;
  color:var(--coffee-deep);font-weight:700;transition:all .3s;font-size:14px;
}
.mg-relate a:hover{background:var(--grad-coffee);color:#fff}

/* ---------- 5. 数据条 ---------- */
.mg-nums{position:relative;overflow:hidden;padding:90px 0;background:var(--ink)}
.mg-nums-bg{z-index:0}
.mg-nums-veil{position:absolute;inset:0;z-index:1;background:rgba(16,15,13,.84)}
.mg-nums-inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;
}
.mg-num b{
  display:block;font-size:clamp(36px,4.4vw,54px);font-weight:900;
  color:var(--coffee-bright);line-height:1.1;font-variant-numeric:tabular-nums;
}
.mg-num span{font-size:14px;color:#CFC7B8;margin-top:10px;display:block}

/* ---------- 6. FAQ ---------- */
.mg-faq{background:var(--coffee-bg)}
.mg-acc{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.acc-item{
  background:#fff;border-radius:var(--radius-md);overflow:hidden;transition:box-shadow .3s;
}
.acc-item.open{box-shadow:var(--shadow-md)}
.acc-head{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:22px 28px;text-align:left;font-size:17px;font-weight:800;color:var(--ink);
}
.acc-head svg{width:18px;height:18px;color:var(--coffee-deep);flex-shrink:0;transition:transform .35s}
.acc-item.open .acc-head svg{transform:rotate(180deg)}
.acc-panel{max-height:0;overflow:hidden;transition:max-height .4s ease}
.acc-panel p{padding:0 28px 24px;color:var(--text-2);font-size:15px;line-height:1.9}
.acc-panel a{color:var(--coffee-deep);font-weight:700;text-decoration:underline}

/* ---------- 7. CTA ---------- */
.mg-cta{position:relative;overflow:hidden;background:var(--ink);text-align:center}
.mg-cta-bg{z-index:0}
.mg-cta-veil{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(16,15,13,.9),rgba(16,15,13,.72))}
.mg-cta-inner{position:relative;z-index:2}
.mg-cta-title{font-size:clamp(26px,3.8vw,42px);color:#fff;font-weight:900;line-height:1.45;margin-bottom:18px}
.mg-cta-sub{color:#CFC7B8;font-size:16px;margin-bottom:36px}
.mg-cta-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .mg-hero-inner{grid-template-columns:1fr;gap:40px}
  .mg-what-inner{grid-template-columns:1fr;gap:40px}
  .mg-tl::before{left:14px}
  .mg-tli{grid-template-columns:1fr;gap:14px;padding-left:40px}
  .mg-tli::before{left:8px;top:14px}
  .mgt-step{justify-self:start;width:auto;padding:6px 14px}
  .mg-bf-grid{grid-template-columns:1fr}
  .mg-nums-inner{grid-template-columns:repeat(2,1fr);row-gap:36px}
}
