/* ==========================================================================
   service-desk · 在线客服与工单
   设计语言：夜间服务台 —— 深海军蓝底 + 珊瑚橙主色 + 冷青/暖米点缀
   独占母题：对话气泡（用户左灰蓝 / 客服右珊瑚橙）+ 工单横向泳道
   独占点：全站胶囊圆角（按钮 / 标签 999px），卡片统一 18px 柔和圆角
   ========================================================================== */

/* ── 1 变量 ───────────────────────────────────────────────────────────── */
:root {
  /* 底色 */
  --ink: #0B1B2E;
  --ink-2: #102743;
  --ink-3: #16324F;
  --surface: #12283F;
  --surface-2: #17324D;
  --line: rgba(127, 216, 255, .16);
  --line-2: rgba(127, 216, 255, .28);

  /* 文字 */
  --text: #EAF2FA;
  --muted: #9DB6CE;
  --muted-2: #7A93AC;

  /* 主色与点缀 */
  --brand: #FF6F61;
  --brand-deep: #E2554A;
  --brand-soft: rgba(255, 111, 97, .14);
  --cyan: #7FD8FF;
  --cyan-soft: rgba(127, 216, 255, .12);
  --wheat: #F2C57C;
  --wheat-soft: rgba(242, 197, 124, .13);

  /* 字体 */
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  /* 尺度 */
  --wrap: 1200px;
  --gap: 24px;
  --radius: 18px;
  --pill: 999px;

  /* 阴影：蓝调柔影，不做冷灰硬阴影 */
  --shadow: 0 18px 44px rgba(4, 14, 26, .42);
  --shadow-sm: 0 8px 20px rgba(4, 14, 26, .30);
}

/* ── 2 基础 ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.32; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.1vw, 50px); }
h2 { font-size: clamp(24px, 2.7vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--wheat); }

ul, ol { margin: 0; padding: 0; list-style: none; }

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

strong { font-weight: 700; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .01em; }

.lead { font-size: 18px; color: var(--text); }

.muted { color: var(--muted); }

.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }

.note {
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--wheat);
  border-radius: var(--radius);
  background: var(--wheat-soft);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ── 3 容器 ───────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── 4 头部 ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 27, 46, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 22, 38, .96);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: none;
}

.logo-mark { width: 38px; height: 38px; border-radius: var(--pill); background: var(--ink-3); }

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.logo-sub { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.nav-link:hover { color: var(--text); background: var(--cyan-soft); }

.nav-link.is-active { color: var(--ink); background: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}

.header-phone:hover { color: var(--cyan); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: var(--pill);
  box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
}

/* ── 5 抽屉与遮罩 ─────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(4, 12, 22, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.overlay.is-on { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(320px, 86vw);
  height: 100%;
  padding: 20px 22px 28px;
  background: var(--ink-2);
  border-left: 1px solid var(--line);
  border-radius: 0 0 0 28px;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}

.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.drawer .nav-link { display: block; margin-bottom: 4px; }

.drawer-cta { display: grid; gap: 10px; margin-top: 22px; }

/* ── 6 按钮 ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand);
  color: #21100E;
}

.btn-primary:hover { background: #FF8577; color: #21100E; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── 7 区块与标题 ─────────────────────────────────────────────────────── */
.section { padding: 84px 0; position: relative; }
.section-tight { padding: 40px 0; }

.section-dark {
  background:
    radial-gradient(1100px 420px at 78% -10%, rgba(255, 111, 97, .10), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 760px; margin-bottom: 44px; }

.section-title { margin-bottom: .4em; }
.section-desc { color: var(--muted); font-size: 16px; margin: 0; }
.section-foot { margin-top: 28px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ── 8 首屏 ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(127, 216, 255, .14), transparent 60%),
    radial-gradient(760px 400px at 92% 8%, rgba(255, 111, 97, .13), transparent 62%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero-title { margin-bottom: .45em; }

.hero-desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  display: inline-block;
  padding: 6px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.tag-sm { padding: 4px 12px; font-size: 12px; background: transparent; color: var(--muted); }

.hero-tags { margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { min-width: 0; }

/* ── 9 事实与读数 ─────────────────────────────────────────────────────── */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.fact-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact-card dt {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
}

.fact-card dd { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.7; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat-num {
  display: block;
  margin-bottom: 6px;
  color: var(--wheat);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-unit { margin-left: 4px; font-size: 14px; font-style: normal; color: var(--muted); }
.stat-label { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ── 10 通用卡片与栅格 ────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

/* 模块卡：功能范围页的三段式（做什么 / 怎么做 / 交付什么） */
.card-cap { border-top: 3px solid var(--cyan); }
.card-cap .card-desc { line-height: 1.9; }

/* 交付形态卡 */
.card-case { border-top: 3px solid var(--wheat); }

.card-title { margin-bottom: .45em; font-size: 19px; }
.card-summary { margin-bottom: .6em; color: var(--cyan); font-size: 14.5px; font-weight: 600; }
.card-desc { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-bottom: 14px; }
.card-desc:last-child { margin-bottom: 0; }
.card .tags { margin-top: 4px; }

.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.media { display: block; max-width: 100%; }

/* ── 内页页头 ─────────────────────────────────────────────────────────── */
.page-head {
  padding: 56px 0 48px;
  background:
    radial-gradient(760px 340px at 88% 0%, rgba(127, 216, 255, .12), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 13px;
}

.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--cyan); }

.page-title { margin-bottom: .4em; max-width: 20ch; }
.page-desc { max-width: 62ch; margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.8; }

/* ── 11 服务专属母题 A：服务台工作台（对话 + 工单泳道） ─────────────── */
.desk-mock {
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--ink-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.desk-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(127, 216, 255, .05);
}

.desk-dot { width: 9px; height: 9px; border-radius: var(--pill); background: var(--line-2); }
.desk-dot:first-child { background: var(--brand); }
.desk-dot:nth-child(2) { background: var(--wheat); }
.desk-dot:nth-child(3) { background: var(--cyan); }

.desk-bar-label {
  margin-left: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
}

.desk-body { padding: 20px; display: grid; gap: 18px; }

/* 对话气泡：用户左灰蓝 / 客服右珊瑚橙 */
.chat { display: grid; gap: 10px; }

.chat-row { display: flex; }
.chat-row-user { justify-content: flex-start; }
.chat-row-agent { justify-content: flex-end; }

.bubble {
  max-width: 78%;
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  line-height: 1.65;
}

.bubble-user {
  border-bottom-left-radius: 8px;
  background: #22384F;
  color: #DCE7F2;
}

.bubble-agent {
  border-bottom-right-radius: 8px;
  background: var(--brand);
  color: #24100D;
  font-weight: 600;
}

.bubble-agent-text .mono { font-weight: 700; }

/* 工单横向泳道 */
.lane-board { display: grid; gap: 10px; }

.lane {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(127, 216, 255, .04);
}

.lane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lane-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.lane-count {
  display: inline-block;
  min-width: 20px;
  padding: 0 7px;
  border-radius: var(--pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 12.5px;
}

.ticket-active { border-color: var(--brand); background: var(--brand-soft); }

.ticket-id { color: var(--cyan); font-size: 11.5px; }
.ticket-title { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-timer { color: var(--wheat); font-size: 11.5px; white-space: nowrap; }

/* ── 12 服务专属母题 B：服务节奏步骤 ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.steps-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.step {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #24100D;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
}

.step-title { margin-bottom: .4em; font-size: 18px; }
.step-desc { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin-bottom: 12px; }

.step-note {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 600;
}

/* ── 13 适合谁 / 不适合谁 ─────────────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }

.who-block {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.who-block-fit { border-top: 3px solid var(--cyan); }
.who-block-unfit { border-top: 3px solid var(--brand); }

.who-block-title {
  margin-bottom: 16px;
  font-size: 17px;
  letter-spacing: .06em;
}

.who-block-fit .who-block-title { color: var(--cyan); }
.who-block-unfit .who-block-title { color: var(--brand); }

.who-list { display: grid; gap: 14px; }

.who-item {
  padding: 14px 18px;
  border-radius: var(--pill);
  background: rgba(127, 216, 255, .05);
}

.who-block-unfit .who-item { background: var(--brand-soft); }

.who-item-title { display: block; margin-bottom: 3px; font-size: 15px; }
.who-item-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ── 14 FAQ（首页速览 + 手风琴） ─────────────────────────────────────── */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-q { margin-bottom: .5em; font-size: 17px; }
.faq-a { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-bottom: 10px; }

.faq-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
}

.accordion { display: grid; gap: 10px; }

.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s ease;
}

.acc-item.is-open { border-color: var(--line-2); }

.acc-h { margin: 0; font-size: 16px; font-weight: 700; }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.acc-trigger::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  color: var(--cyan);
  font-size: 15px;
  line-height: 24px;
  text-align: center;
  transition: transform .2s ease;
}

.acc-item.is-open .acc-trigger::after { transform: rotate(45deg); }

.acc-panel { height: 0; overflow: hidden; transition: height .25s ease; }

.acc-panel-inner {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.acc-panel-inner .faq-link { margin-top: 6px; }

/* ── 15 交付物清单 ───────────────────────────────────────────────────── */
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.check-item {
  display: grid;
  gap: 4px;
  padding: 16px 20px 16px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}

.check-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: var(--pill);
  border: 2px solid var(--cyan);
}

.check-title { font-size: 15.5px; }
.check-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ── 16 工单类型包 ───────────────────────────────────────────────────── */
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }

.pkg-card {
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pkg-head { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pkg-name { margin-bottom: .3em; font-size: 20px; color: var(--cyan); }
.pkg-sub { margin: 0; color: var(--muted); font-size: 14px; }

.pkg-block { margin-bottom: 18px; }
.pkg-block:last-child { margin-bottom: 0; }

.pkg-block-title {
  margin-bottom: 8px;
  color: var(--wheat);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.pkg-block-text { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.pkg-block-sla {
  padding: 14px 18px;
  border-radius: var(--pill);
  background: var(--brand-soft);
}

.pkg-block-sla .pkg-block-title { color: var(--brand); }
.pkg-block-sla .pkg-block-text { color: var(--text); }

.pkg-fields { display: grid; gap: 8px; }

.pkg-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: rgba(127, 216, 255, .05);
}

.pkg-field-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.pkg-field-note { font-size: 12.5px; color: var(--muted-2); }

/* ── 17 场景卡（适配模块 + 注意点） ───────────────────────────────────── */
.card-scene { display: flex; flex-direction: column; }
.card-scene .card-desc { flex: 1; }

.scene-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  gap: 14px;
}

.scene-mods { display: grid; }

.scene-caution {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--brand-soft);
}

.scene-caution .scene-label { color: var(--brand); }

.case-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  gap: 14px;
}

.case-meta-block { display: grid; }

/* FAQ 分组：组与组之间留出呼吸感 */
.faq-group { padding: 56px 0; }
.faq-group .section-head { margin-bottom: 26px; }

.scene-label {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.scene-caution-text { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ── 18 实施确认点 ───────────────────────────────────────────────────── */
.cp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.cp-item {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--surface);
}

.cp-title { font-size: 15px; }
.cp-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ── 19 CTA 条 ───────────────────────────────────────────────────────── */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 40px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background:
    radial-gradient(620px 260px at 88% 0%, rgba(255, 111, 97, .16), transparent 62%),
    linear-gradient(120deg, var(--ink-3), var(--ink-2));
}

.cta-copy { max-width: 58ch; }
.cta-title { margin-bottom: .35em; font-size: 24px; }
.cta-desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 20 表单 ─────────────────────────────────────────────────────────── */
.form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }

.field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.field label i { color: var(--brand); font-style: normal; }

.input, .select, .textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--ink-2);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input::placeholder, .textarea::placeholder { color: var(--muted-2); }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.input[data-invalid], .select[data-invalid], .textarea[data-invalid] {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.textarea { border-radius: var(--radius); min-height: 128px; resize: vertical; line-height: 1.75; }

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
                    linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.select option { background: var(--ink-2); color: var(--text); }

.form-card .btn-block { grid-column: 1 / -1; }

.form-status { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.form-status.is-error { color: var(--brand); }
.form-status.is-ok { color: var(--cyan); }
.form-status.is-pending { color: var(--wheat); }

.form-success {
  grid-column: 1 / -1;
  padding: 18px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--cyan-soft);
}

.form-success h3 { margin-bottom: .3em; color: var(--cyan); font-size: 17px; }
.form-success p { margin: 0; font-size: 14px; color: var(--text); }

/* ── 21 联系页布局 ───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.contact-form-wrap { min-width: 0; }
.contact-side { display: grid; gap: 16px; }
.contact-side-title { margin-bottom: 0; font-size: 18px; }

.channel-list { display: grid; gap: 12px; }

.channel-card {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.channel-title { color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.channel-value { font-size: 17px; font-weight: 700; color: var(--text); word-break: break-all; }
.channel-desc { color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ── 22 404 ──────────────────────────────────────────────────────────── */
.nf-wrap { min-height: 60vh; display: flex; align-items: center; }
.nf-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.nf-title { margin-bottom: .4em; }
.nf-desc { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.nf-inner .hero-actions { justify-content: center; }

/* ── 23 页脚 ─────────────────────────────────────────────────────────── */
.site-footer {
  padding: 64px 0 28px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 16px; }

.footer-contact { display: grid; gap: 8px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.footer-contact a:hover { color: var(--cyan); }

.footer-col h3 { margin-bottom: 14px; color: var(--cyan); font-size: 14px; letter-spacing: .06em; }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ── 24 返回顶部 ─────────────────────────────────────────────────────── */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--surface);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.backtop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { background: var(--ink-3); }

/* ── 25 进场动画 ─────────────────────────────────────────────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(16px); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js [data-reveal="left"] { transform: translateX(-16px); }
html.js [data-reveal="right"] { transform: translateX(16px); }
html.js [data-reveal="left"].is-visible,
html.js [data-reveal="right"].is-visible { transform: none; }

/* ── 26 响应式：1280 / 1024 / 768 / 430（390 由 430 档覆盖） ────────── */
@media (max-width: 1280px) {
  :root { --wrap: 1080px; }

  .section { padding: 72px 0; }

  .hero { padding: 68px 0 60px; }
  .hero-inner { gap: 40px; }

  .steps, .steps-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 1024px) {
  :root { --wrap: 940px; }

  .section { padding: 60px 0; }
  .section-tight { padding: 32px 0; }

  .hero { padding: 54px 0 52px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy { max-width: none; }

  .nav { display: none; }
  .burger { display: block; }

  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .steps, .steps-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }

  .page-title { max-width: none; }
}

@media (max-width: 768px) {
  :root { --wrap: 100%; --gap: 18px; --radius: 16px; }

  .wrap { padding: 0 18px; }

  .section { padding: 48px 0; }
  .section-tight { padding: 26px 0; }

  .hero { padding: 40px 0 42px; }
  .hero-desc { font-size: 16px; }

  .header-inner { min-height: 64px; gap: 12px; }
  .header-phone { display: none; }
  .header-actions .btn-sm { padding: 8px 13px; font-size: 13px; }

  .grid-2, .grid-3, .grid-4, .steps, .steps-flow,
  .who-grid, .pkg-grid, .checklist, .cp-grid, .fact-grid, .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-card { grid-template-columns: minmax(0, 1fr); padding: 22px; }

  .cta-band { padding: 28px 24px; gap: 20px; }
  .cta-title { font-size: 21px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 180px; }

  .desk-body { padding: 16px; }
  .bubble { max-width: 88%; font-size: 12.5px; }
  .ticket { grid-template-columns: 1fr; gap: 3px; border-radius: var(--radius); }
  .ticket-title { white-space: normal; }

  .check-item { padding: 14px 18px 14px 42px; }
  .check-item::before { top: 20px; left: 18px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .page-head { padding: 38px 0 34px; }
  .page-desc { font-size: 15.5px; }

  .acc-trigger { padding: 14px 18px; font-size: 15px; }
  .acc-panel-inner { padding: 0 18px 16px; }

  .pkg-card { padding: 22px 20px; }
  .stat-num { font-size: 26px; }

  .backtop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

@media (max-width: 430px) {
  :root { --wrap: 100%; }

  body { font-size: 15px; }

  .wrap { padding: 0 14px; }

  .section { padding: 40px 0; }
  .section-tight { padding: 22px 0; }

  .hero { padding: 30px 0 34px; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }

  .logo-sub { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-name { font-size: 16px; }

  .header-actions .btn-sm { display: none; }

  .eyebrow { font-size: 12px; padding: 5px 13px; }
  .kicker { font-size: 11.5px; letter-spacing: .14em; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .fact-grid, .stats { grid-template-columns: minmax(0, 1fr); }
  .fact-card { padding: 16px 18px; }
  .stat { padding: 18px 16px; }

  .card, .step, .pkg-card, .who-block, .faq-item, .channel-card { padding: 20px 18px; }

  .tag { padding: 5px 12px; font-size: 12px; }
  .desk-bar-label { display: none; }
  .desk-mock { border-radius: 20px; }

  .bubble { max-width: 92%; padding: 9px 13px; font-size: 12px; }

  .pkg-field { flex-direction: column; gap: 2px; align-items: flex-start; }
  .pkg-field-note { font-size: 12px; }

  .cta-band { padding: 22px 18px; border-radius: 20px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .form-card { padding: 18px 16px; }
  .input, .select, .textarea { padding: 10px 14px; font-size: 14px; }
  .textarea { border-radius: 14px; }

  .footer-grid { gap: 22px; }
  .footer-bottom { font-size: 12px; }

  .acc-trigger::after { width: 24px; height: 24px; line-height: 22px; }
  .nf-desc { font-size: 15px; }
}

/* ── 27 降低动效偏好 ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal],
  html.js [data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}


