/* =============================================================================
   业务能力单页（算力租赁 / 服务器与配件 / AI 落地培训 / 本地部署 / 模型后训练）
   共用样式 —— 2026-10-11 新增

   为什么要单独抽一个文件而不是每页内联：
   五个页面版面必须一致，内联五份必然逐渐走样（改一处要改五处，漏一处就是瑕疵）。
   变量全部沿用 index.html 的 :root / [data-theme="dark"] 定义 —— 不重新发明
   一套色板，否则新页面会跟全站**看起来不是一家**。

   ⚠️ 头尾由 assets/js/site-chrome.js 单点渲染，本文件**不得**写 .w51-nav / .w51-foot
   的样式（写了对齐不到，且会跟 site-chrome.css 打架）。

   ★ 2026-10-11 补基座：index.html 的 body 配色是它**内联**的，本页没有 →
     不补就是浏览器默认的「黑字 + 透明底」，深色模式下**整页不可读**
     （CDP 实测 body.color=rgb(0,0,0)）。这里补上与 index.html 逐字一致的基座。
   ============================================================================= */

* { box-sizing: border-box; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------------------------------- 容器 ---------------------------------- */
/* 🔴 2026-10-12 修「页面没有排版」的根因：
   五个服务页的 HTML 全都用 <div class="wrap"> 承载内容，但 `.wrap` **只在
   index.html 的内联 <style> 里定义过**，共享样式表从来没定义它 →
   浏览器把 .wrap 当普通 div，宽度 100%、无居中、无左右留白，
   于是标题和正文全部**贴着浏览器最左边**，右侧留一大片空白。
   （截图里 gpu-rental / on-premise 首屏就是这个现象。）
   → 在这里补上与 index.html 逐字一致的容器定义。 */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

/* ---------------------------------- 首屏排版基础 ---------------------------------- */
/* ⚠️ 同上：这些类原本只在 index.html 内联 <style> 里，服务页 HTML 在用却拿不到样式。
   结果就是截图里的「小标签挤成一团、按钮没有主色」：
   kicker 没字距没色、lead 没灰色次级、btn 没有任何样式。逐字对齐 index.html。 */
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-3); text-transform: uppercase; margin-bottom: 14px;
}
.lead {
  margin-top: 16px; font-size: 18px; color: var(--ink-2);
  max-width: 680px; line-height: 1.75;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; line-height: 1.2;
  cursor: pointer; border: 1px solid transparent;
  font-family: inherit; transition: all .18s ease;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

.svc-hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
}
.svc-hero .kicker { margin-bottom: 12px; }
.svc-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.svc-hero .lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 680px;
  line-height: 1.75;
}
/* 场景标签：一眼看清这个能力用在哪些事上 */
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.svc-tag {
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-weight: 600;
  border: 1px solid transparent;
}
/* 首屏 CTA：小悟（对话）与客服（企业微信）并排 */
.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.svc-section { padding: 76px 0; }
.svc-section.alt { background: var(--paper-2); }
.svc-head { margin-bottom: 36px; }
.svc-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.svc-head p { margin-top: 12px; font-size: 16.5px; color: var(--ink-2); max-width: 660px; }

/* 卡片网格：自动换行，窄屏单列 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-section.alt .svc-card { background: var(--paper); }
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.svc-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.svc-card p { font-size: 15px; color: var(--ink-2); line-height: 1.72; }
/* 卡片顶部的场景徽标 */
.svc-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--accent-wash);
  color: var(--accent-ink);
  margin-bottom: 12px;
}

/* 步骤列表（本地部署 / 后训练流程等）：编号 + 一句话 */
.svc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px 22px;
  list-style: none;
}
.svc-step { display: flex; gap: 14px; align-items: flex-start; }
.svc-step .n {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-ink);
  font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.svc-step .t { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.svc-step .d { font-size: 14.5px; color: var(--ink-2); line-height: 1.68; }

/* 要点清单（适合谁 / 解决什么） */
.svc-list { list-style: none; display: grid; gap: 12px; }
.svc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.72;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 提示条：用于「先评估是否需要」这类诚实提醒 —— 不为了成交而省略 */
.svc-note {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  background: var(--accent-wash);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.svc-note strong { color: var(--ink); }

/* 底部 CTA 区 */
.svc-cta { padding: 84px 0; text-align: center; border-top: 1px solid var(--line); }
.svc-cta h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -0.01em; }
.svc-cta p { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); }
.svc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
/* 「问小悟」是主行动：带品牌色；「联系客服」是次行动：描边 */
.btn-xiaowu { background: var(--cta); color: #fff; }
.btn-xiaowu:hover { background: var(--cta-hover); }
.btn-service { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-service:hover { border-color: var(--accent); color: var(--accent-ink); }

/* 相关能力：页面底部互链，避免访客看完就走 */
.svc-more { padding: 0 0 76px; }
.svc-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.svc-more-item {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 15.5px;
  font-weight: 600;
  transition: border-color .18s ease, transform .18s ease;
}
.svc-more-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-more-item span { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }

/* ============================================================================
   服务页补充组件（2026-10-12 新增，ai-training 等页复用）
   ---------------------------------------------------------------------------
   为什么加在这里而不是每个页面内联：这几类「四项优势 / 课程卡 / 服务流程」会在多个
   服务页出现，内联多份必然走样。变量仍沿用 site-chrome.css 的 --* 令牌。
   ========================================================================== */

/* 四项优势（腾讯云企业培训页那种「一个结论一张卡」的读法） */
.svc-pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: 34px;
}
.svc-pillar {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.svc-section.alt .svc-pillar { background: var(--paper); }
.svc-pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.svc-pillar p { font-size: 15px; color: var(--ink-2); line-height: 1.72; }

/* 课程卡：课程名 + 一句话说明 + 「适合谁 / 学到什么」两条要点（对齐腾讯云系列课程卡） */
.svc-course {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column;
}
.svc-course h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.svc-course > p { font-size: 15px; color: var(--ink-2); line-height: 1.72; flex: 1; }
.svc-course-meta {
  margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line);
  display: grid; gap: 8px;
}
.svc-course-meta div {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2); line-height: 1.65;
}
.svc-course-meta b {
  flex: 0 0 auto; font-weight: 700; color: var(--ink-3);
  font-size: 12.5px; letter-spacing: .04em; padding-top: 2px;
}

/* 服务流程：编号 + 标题 + 说明 + 「本阶段交付物」（腾讯云流程卡的写法） */
.svc-flow { display: grid; gap: 20px; margin-top: 34px; counter-reset: flow; }
.svc-flow-item {
  display: grid; grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px; align-items: start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
}
.svc-flow-n {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-ink);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.svc-flow-item h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.svc-flow-item p { font-size: 15px; color: var(--ink-2); line-height: 1.72; }
/* 「本阶段交付物」：把「培训」与「实施」分开说清，避免把实施写成培训必含 */
.svc-flow-out {
  margin-top: 14px; padding: 12px 16px;
  background: var(--paper-2); border-radius: var(--radius-s);
  font-size: 14px; color: var(--ink-2); line-height: 1.7;
}
.svc-flow-out b { color: var(--ink); font-weight: 700; }

/* 边界说明条：明确「哪些是培训、哪些要另立项」—— 避免把未确认的实施写成培训必含 */
.svc-boundary {
  margin-top: 26px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper);
}
.svc-boundary h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.svc-boundary ul { list-style: none; display: grid; gap: 10px; }
.svc-boundary li {
  position: relative; padding-left: 22px;
  font-size: 15px; color: var(--ink-2); line-height: 1.72;
}
.svc-boundary li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.svc-boundary li b { color: var(--ink); font-weight: 700; }

@media (max-width: 640px) {
  .svc-flow-item { grid-template-columns: 1fr; gap: 12px; }
  .svc-flow-n { width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 640px) {
  .svc-hero { padding: 60px 0 48px; }
  .svc-section { padding: 56px 0; }
  .svc-cta { padding: 60px 0; }
  .svc-hero-cta .btn, .svc-cta-row .btn { width: 100%; }
}
