/* ============================================================
   智保售后 · 保修与售后服务平台
   设计系统 / Design System
   ============================================================ */

:root {
  /* 品牌色 */
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;

  --accent-500: #0ea5e9;
  --accent-600: #0284c7;

  /* 语义色 */
  --success: #16a34a;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger:  #dc2626;
  --danger-bg: #fef2f2;

  /* 中性色 */
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;

  --bg: #f5f8fc;
  --surface: #ffffff;

  /* 尺寸 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .12);

  --maxw: 1200px;
  --header-h: 68px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-800);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink-900); line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-200);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink-900); letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .32);
  flex: none;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-sub { font-size: 12px; font-weight: 500; color: var(--ink-400); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-600); transition: .18s;
}
.nav a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav a.active { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.hotline { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-500); }
.hotline strong { color: var(--ink-900); font-size: 15px; letter-spacing: .01em; }

.nav-toggle { display: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; border: 1px solid transparent;
  cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.34); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-300); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0b2a6b 0%, #14418f 38%, #1d63c9 72%, #0ea5e9 130%);
  color: #fff; padding: 72px 0 92px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 340px at 82% 8%, rgba(56,189,248,.42), transparent 62%),
    radial-gradient(560px 300px at 6% 92%, rgba(99,102,241,.34), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: 44px; line-height: 1.22; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: #7dd3fc; }
.hero-desc { margin-top: 18px; font-size: 16.5px; color: rgba(255,255,255,.86); max-width: 520px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.22); }
.hero-stats { margin-top: 40px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.72); }

/* 查询卡 */
.query-card {
  background: #fff; border-radius: var(--radius-xl); padding: 30px;
  box-shadow: var(--shadow-lg); color: var(--ink-800);
}
.query-card h3 { font-size: 19px; }
.query-card .qc-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-500); }
.qc-tabs { display: flex; gap: 6px; margin: 20px 0 16px; background: var(--ink-100); padding: 4px; border-radius: 10px; }
.qc-tabs button {
  flex: 1; height: 36px; border: 0; background: transparent; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-500); cursor: pointer; transition: .18s;
}
.qc-tabs button.on { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-xs); }
.qc-samples { margin-top: 16px; font-size: 12.5px; color: var(--ink-400); }
.qc-samples b { color: var(--ink-600); font-weight: 600; }
.qc-samples code {
  background: var(--ink-100); padding: 2px 7px; border-radius: 5px; cursor: pointer;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--brand-700);
}
.qc-samples code:hover { background: var(--brand-100); }

/* ---------------- Section ---------------- */
.section { padding: 76px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--brand-600); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; letter-spacing: -.02em; }
.section-head p { margin-top: 12px; color: var(--ink-500); font-size: 15.5px; }

/* ---------------- Cards / Grid ---------------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  padding: 26px; transition: .22s;
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }

.icon-box {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: 16px;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box.green { background: var(--success-bg); color: var(--success); }
.icon-box.amber { background: var(--warning-bg); color: var(--warning); }
.icon-box.cyan  { background: #ecfeff; color: var(--accent-600); }

.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--ink-500); font-size: 14.5px; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-200); color: var(--brand-600);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; position: relative; z-index: 2;
  box-shadow: 0 0 0 6px #fff;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink-500); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 14px);
}

/* ---------------- Forms ---------------- */
.form-card {
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-xl);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-700); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: 12px; color: var(--ink-400); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--ink-300); border-radius: 10px;
  background: #fff; outline: none; transition: .16s; font-size: 14.5px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(59,130,246,.16);
}
.input.err, .textarea.err, .select.err { border-color: var(--danger); background: var(--danger-bg); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px;
}
.err-msg { font-size: 12px; color: var(--danger); min-height: 0; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-400); }

/* 上传区 */
.uploader {
  border: 1.5px dashed var(--ink-300); border-radius: var(--radius); padding: 22px;
  text-align: center; cursor: pointer; transition: .18s; background: var(--ink-50);
}
.uploader:hover { border-color: var(--brand-400); background: var(--brand-50); }
.uploader svg { width: 26px; height: 26px; color: var(--ink-400); margin-bottom: 6px; }
.uploader p { font-size: 13.5px; color: var(--ink-500); }
.uploader small { font-size: 12px; color: var(--ink-400); }
.file-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--brand-50);
  color: var(--brand-700); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600;
}
.chip button { border: 0; background: none; cursor: pointer; color: var(--ink-400); font-size: 15px; line-height: 1; }
.chip button:hover { color: var(--danger); }

/* ---------------- 结果卡片 ---------------- */
.result { margin-top: 26px; }
.result-card {
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); animation: rise .35s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.result-top { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.result-top.ok   { background: linear-gradient(120deg, var(--success-bg), #fff); }
.result-top.warn { background: linear-gradient(120deg, var(--warning-bg), #fff); }
.result-top.bad  { background: linear-gradient(120deg, var(--danger-bg), #fff); }
.result-top h3 { font-size: 19px; }
.result-top .rsub { font-size: 13.5px; color: var(--ink-500); margin-top: 4px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
}
.status-badge.ok   { background: #dcfce7; color: #15803d; }
.status-badge.warn { background: #fef3c7; color: #b45309; }
.status-badge.bad  { background: #fee2e2; color: #b91c1c; }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-200); }
.kv { background: #fff; padding: 16px 20px; }
.kv dt { font-size: 12.5px; color: var(--ink-400); margin-bottom: 4px; }
.kv dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-900); }
.result-actions { padding: 18px 28px; background: var(--ink-50); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.result-actions .spacer { margin-left: auto; font-size: 13px; color: var(--ink-500); }

/* 进度条 */
.progress-wrap { padding: 22px 28px; border-top: 1px solid var(--ink-200); }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-500); margin-bottom: 8px; }
.progress { height: 8px; background: var(--ink-100); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-500), var(--accent-500)); transition: width .8s ease; }

/* 时间轴 */
.timeline { padding: 8px 0 0; }
.tl-item { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding-bottom: 22px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:not(:last-child)::before {
  content: ""; position: absolute; left: 12.5px; top: 26px; bottom: 0; width: 2px; background: var(--ink-200);
}
.tl-dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-100); color: var(--ink-400); font-size: 12px; font-weight: 700; position: relative; z-index: 2;
}
.tl-item.done .tl-dot { background: var(--brand-600); color: #fff; }
.tl-item.current .tl-dot { background: #fff; border: 2px solid var(--brand-600); color: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-50); }
.tl-title { font-weight: 600; font-size: 15px; }
.tl-item.pending .tl-title, .tl-item.pending .tl-time { color: var(--ink-400); }
.tl-desc { font-size: 13.5px; color: var(--ink-500); margin-top: 2px; }
.tl-time { font-size: 12.5px; color: var(--ink-400); margin-top: 4px; }

/* 表格 */
.table-wrap { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: 12.5px; font-weight: 700; color: var(--ink-500);
  background: var(--ink-50); padding: 13px 18px; border-bottom: 1px solid var(--ink-200); white-space: nowrap;
}
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--ink-100); font-size: 14px; vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--ink-50); }

/* 网点卡片 */
.outlet-card { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); padding: 24px; transition: .2s; }
.outlet-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-3px); }
.outlet-card h3 { font-size: 16.5px; display: flex; align-items: center; gap: 10px; }
.outlet-card .tag { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); }
.outlet-card .tag.self { background: var(--success-bg); color: var(--success); }
.outlet-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.outlet-meta div { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-600); }
.outlet-meta svg { width: 15px; height: 15px; color: var(--ink-400); flex: none; margin-top: 4px; }
.outlet-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.outlet-tags span { font-size: 12px; background: var(--ink-100); color: var(--ink-600); padding: 3px 10px; border-radius: 999px; }

/* 过滤条 */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.filter-bar .input, .filter-bar .select { height: 42px; }
.filter-bar .search { position: relative; flex: 1; min-width: 240px; }
.filter-bar .search .input { padding-left: 40px; }
.filter-bar .search svg { position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; color: var(--ink-400); }
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ink-300); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-600); cursor: pointer; transition: .16s;
}
.pill:hover { border-color: var(--brand-400); color: var(--brand-700); }
.pill.on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* 手风琴 */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius); overflow: hidden; transition: .18s; }
.acc-item.open { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 15.5px; color: var(--ink-900);
}
.acc-head .q { color: var(--brand-600); font-weight: 800; flex: none; }
.acc-head .chev { margin-left: auto; width: 20px; height: 20px; color: var(--ink-400); transition: transform .22s; flex: none; }
.acc-item.open .acc-head .chev { transform: rotate(180deg); color: var(--brand-600); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item.open .acc-body { max-height: 620px; }
.acc-body-inner { padding: 0 22px 20px 56px; color: var(--ink-600); font-size: 14.5px; }

/* 空状态 */
.empty { text-align: center; padding: 56px 20px; color: var(--ink-500); background: #fff; border: 1px dashed var(--ink-300); border-radius: var(--radius-lg); }
.empty svg { width: 44px; height: 44px; color: var(--ink-300); margin: 0 auto 14px; }
.empty h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink-700); }
.empty p { font-size: 14px; }

/* 提示条 */
.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--radius); font-size: 14.5px; }
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert.info { background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-200); }
.alert.success { background: var(--success-bg); color: #166534; border: 1px solid #bbf7d0; }
.alert.warn { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }
.alert.err { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }
.alert b { font-weight: 700; }

/* Toast */
.toast-host { position: fixed; top: 84px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 260px; background: #fff; border-left: 4px solid var(--brand-600); border-radius: 10px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  animation: slideIn .28s ease both;
}
.toast.success { border-left-color: var(--success); }
.toast.err { border-left-color: var(--danger); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* CTA 区块 */
.cta-band {
  background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 62%, var(--accent-600));
  color: #fff; border-radius: var(--radius-xl); padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 8px; font-size: 15px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--brand-50); }
.cta-band .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }

/* 面包屑 */
.page-head { background: #fff; border-bottom: 1px solid var(--ink-200); padding: 40px 0 36px; }
.crumb { font-size: 13px; color: var(--ink-400); margin-bottom: 10px; }
.crumb a:hover { color: var(--brand-600); }
.page-head h1 { font-size: 32px; letter-spacing: -.02em; }
.page-head p { margin-top: 10px; color: var(--ink-500); font-size: 15.5px; max-width: 660px; }

/* 两栏布局 */
.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); padding: 24px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.side-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--ink-200); font-size: 14px; color: var(--ink-600); }
.side-list li:last-child { border-bottom: 0; }
.side-list .idx { width: 20px; height: 20px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; margin-top: 3px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink-900); color: var(--ink-300); padding: 56px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; transition: .16s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-500);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .step:not(:last-child)::after { display: none; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--ink-200); padding: 12px 24px 18px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 4px; border-radius: 8px; }
  .hotline { display: none; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 52px 0 66px; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .toast-host { right: 12px; left: 12px; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: 1fr; }
  .kv-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .form-card { padding: 22px 18px; }
  .query-card { padding: 22px 18px; }
  .cta-band { padding: 32px 24px; }
  .acc-body-inner { padding-left: 22px; }
}

/* 工具类 */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 44px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-muted { color: var(--ink-500); }
.text-sm { font-size: 13.5px; }
.center { text-align: center; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   产品展示区（页首）
   ============================================================ */
.showcase { background: #fff; border-bottom: 1px solid var(--ink-200); padding: 30px 0 38px; }
.showcase-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }

.stage {
  position: relative; border-radius: var(--radius-xl); padding: 28px;
  background: linear-gradient(150deg, #f9fcff 0%, #eef4fb 55%, #e4f6fd 100%);
  border: 1px solid var(--ink-200); min-height: 372px;
  display: grid; place-items: center; overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 260px at 78% 18%, rgba(56,189,248,.20), transparent 62%),
              radial-gradient(360px 240px at 12% 88%, rgba(99,102,241,.16), transparent 60%);
}
.stage-art { position: relative; z-index: 2; width: 76%; max-width: 330px; animation: pop .4s ease both; }
.stage-art svg { width: 100%; height: auto; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.stage-tag {
  position: absolute; z-index: 3; top: 18px; left: 18px;
  background: #fff; border: 1px solid var(--ink-200); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--brand-700); box-shadow: var(--shadow-xs);
}
.stage-price {
  position: absolute; z-index: 3; bottom: 18px; right: 20px;
  font-size: 22px; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em;
}
.stage-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-200);
  background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; color: var(--ink-600); transition: .18s;
}
.stage-arrow:hover { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-sm); }
.stage-arrow.prev { left: 14px; } .stage-arrow.next { right: 14px; }
.stage-arrow svg { width: 18px; height: 18px; }

.p-info h2 { font-size: 30px; letter-spacing: -.02em; }
.p-info .p-cat { display: inline-block; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-600); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; }
.p-info .p-desc { margin-top: 10px; color: var(--ink-500); font-size: 15px; }
.p-meta { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.p-meta div { background: var(--ink-50); border: 1px solid var(--ink-200); border-radius: var(--radius); padding: 12px 14px; }
.p-meta dt { font-size: 12px; color: var(--ink-400); margin-bottom: 3px; }
.p-meta dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.p-specs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.p-specs span { font-size: 13px; background: #fff; border: 1px solid var(--brand-200); color: var(--brand-700);
  padding: 5px 12px; border-radius: 999px; font-weight: 600; }

.thumbs { margin-top: 24px; }
.thumbs-label { font-size: 12.5px; color: var(--ink-400); margin-bottom: 10px; font-weight: 600; }
.thumb-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.thumb {
  background: var(--ink-50); border: 1.5px solid var(--ink-200); border-radius: var(--radius);
  padding: 10px 8px; cursor: pointer; transition: .18s; text-align: center;
}
.thumb svg { width: 100%; height: auto; }
.thumb span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-500); line-height: 1.3; }
.thumb:hover { background: #fff; border-color: var(--brand-300); }
.thumb.on { background: #fff; border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); }
.thumb.on span { color: var(--brand-700); font-weight: 700; }

/* ============================================================
   六个服务入口窗
   ============================================================ */
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.entry-card {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; width: 100%;
  background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-xl);
  padding: 28px 26px 26px; transition: .22s; font-family: inherit;
}
.entry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.entry-no {
  position: absolute; right: 16px; top: 4px; font-size: 58px; font-weight: 800;
  color: var(--ink-100); letter-spacing: -.05em; line-height: 1; pointer-events: none;
}
.entry-card:hover .entry-no { color: var(--brand-50); }
.entry-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; position: relative; }
.entry-icon svg { width: 26px; height: 26px; }
.entry-card h3 { font-size: 18.5px; margin-bottom: 8px; position: relative; }
.entry-card p { font-size: 13.8px; color: var(--ink-500); position: relative; min-height: 44px; }
.entry-go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600); font-weight: 700; font-size: 13.5px; }
.entry-go svg { width: 16px; height: 16px; transition: transform .2s; }
.entry-card:hover .entry-go svg { transform: translateX(4px); }

/* ============================================================
   弹窗
   ============================================================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 300; background: rgba(15,23,42,.55);
  backdrop-filter: blur(3px); display: flex; align-items: flex-start; justify-content: center;
  padding: 44px 16px; overflow-y: auto; animation: fade .2s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  width: 100%; max-width: 780px; background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); animation: rise .28s ease both; overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; gap: 14px; padding: 22px 28px;
  border-bottom: 1px solid var(--ink-200); background: #fff; position: sticky; top: 0; z-index: 3;
}
.modal-head .mh-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.modal-head .mh-icon svg { width: 22px; height: 22px; }
.modal-head h3 { font-size: 20px; }
.modal-head .mh-sub { font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.modal-close {
  margin-left: auto; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--ink-200);
  background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-500); flex: none; transition: .16s;
}
.modal-close:hover { background: var(--ink-100); color: var(--ink-900); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 26px 28px 30px; }

/* 工单进度步骤条 */
.steps { list-style: none; margin: 18px 0 4px; padding: 0; }
.step { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 0 0 26px 2px; }
.step:last-child { padding-bottom: 4px; }
.step-dot {
  flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 2px;
  background: var(--ink-100); border: 2px solid var(--ink-200); box-sizing: border-box; position: relative; z-index: 1;
}
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 9px; top: 20px; bottom: -4px; width: 2px; background: var(--ink-100);
}
.step.done .step-dot { background: var(--brand-500); border-color: var(--brand-500); }
.step.done:not(:last-child)::before { background: var(--brand-500); }
.step.current .step-dot { background: #fff; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.step.current b { color: var(--brand-700); }
.step.todo b { color: var(--ink-400); font-weight: 500; }

.code-input { font-family: ui-monospace, Consolas, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-item { display: flex; gap: 13px; padding: 16px 18px; border: 1px solid var(--ink-200); border-radius: var(--radius); background: var(--ink-50); }
.contact-item .ci { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand-600); flex: none; border: 1px solid var(--ink-200); }
.contact-item .ci svg { width: 19px; height: 19px; }
.contact-item b { display: block; font-size: 15px; color: var(--ink-900); }
.contact-item small { font-size: 12.5px; color: var(--ink-400); }
.contact-item .t { font-size: 12.5px; color: var(--ink-500); margin-bottom: 3px; }

@media (max-width: 1080px) {
  .showcase-inner { grid-template-columns: 1fr; gap: 28px; }
  .stage { min-height: 320px; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 手机端专属链接（仅移动端菜单里显示） */
.nav-m-only { display: none; }

/* ============================================================
   手机端适配（≤700px）
   ============================================================ */
@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  body {
    font-size: 14.5px;
    -webkit-tap-highlight-color: transparent;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  /* 输入框 16px：防止 iOS 聚焦时自动放大页面 */
  .input, .select, .textarea { font-size: 16px; }

  /* 头部：只留 logo + 汉堡菜单，功能项收进菜单 */
  .header-inner { gap: 12px; }
  .header-cta .btn, .header-cta .hotline { display: none !important; }
  .header-cta .nav-toggle { display: grid !important; }
  .nav-m-only { display: block; }
  .logo { font-size: 16.5px; }
  .logo-sub { font-size: 10px; letter-spacing: .04em; }

  /* Hero */
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: 25px; line-height: 1.3; }
  .hero-desc { font-size: 14.5px; margin-top: 12px; }
  .hero-actions { margin-top: 20px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; height: 46px; }
  .hero-stats { margin-top: 24px; gap: 16px 24px; }
  .hero-stat b { font-size: 21px; }

  /* 通用区块 */
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: 21px; }
  .section-head p { font-size: 14px; }
  .card { padding: 20px 18px; }
  .step .num { width: 44px; height: 44px; font-size: 16px; }
  .step h4 { font-size: 15px; }
  .step p { font-size: 13px; }

  /* 产品展示 */
  .showcase { padding: 18px 0 28px; }
  .showcase-inner { gap: 18px; }
  .stage { min-height: 225px; padding: 16px; }
  .stage-art { width: 90%; max-width: 225px; }
  .stage-tag { top: 10px; left: 10px; font-size: 11px; padding: 4px 10px; }
  .stage-price { font-size: 16px; bottom: 10px; right: 12px; }
  .stage-arrow { width: 32px; height: 32px; }
  .stage-arrow.prev { left: 8px; } .stage-arrow.next { right: 8px; }
  .p-info h2 { font-size: 20px; }
  .p-info .p-desc { font-size: 13.5px; }
  .p-specs span { font-size: 12px; padding: 4px 10px; }
  .thumbs { margin-top: 14px; }
  .thumbs-label { margin-bottom: 8px; }
  /* 缩略图改单行横滑 */
  .thumb-grid {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .thumb-grid::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 72px; padding: 8px 5px; }
  .thumb span { font-size: 10.5px; }

  /* 入口窗：2×2 紧凑宫格 */
  .entry-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .entry-card { padding: 18px 15px 16px; border-radius: var(--radius-lg); }
  .entry-no { font-size: 34px; right: 12px; top: 6px; }
  .entry-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 10px; }
  .entry-icon svg { width: 22px; height: 22px; }
  .entry-card h3 { font-size: 15.5px; margin-bottom: 4px; }
  .entry-card p { display: none; }
  .entry-go { margin-top: 8px; font-size: 12.5px; }

  /* 表单 / 结果 */
  .form-card { padding: 20px 16px; }
  .query-card { padding: 20px 16px; }
  .qc-tabs { margin: 14px 0 12px; }
  .qc-samples { line-height: 2.1; }
  .result-top { padding: 18px 16px; }
  .result-top h3 { font-size: 17px; }
  .kv { padding: 12px 14px; }
  .kv dd { font-size: 14px; }
  .progress-wrap { padding: 16px 14px; }
  .result-actions { padding: 14px 16px; }
  .result-actions .spacer { margin-left: 0; width: 100%; }
  .result-actions .btn { flex: 1 1 auto; }

  /* 手风琴 / 弹窗 */
  .acc-head { padding: 15px 14px; font-size: 14.5px; gap: 10px; }
  .acc-body-inner { padding: 0 14px 16px 40px; font-size: 14px; }
  .modal-mask { padding: 0; align-items: flex-start; -webkit-overflow-scrolling: touch; }
  .modal-panel { max-width: 100%; border-radius: 0; min-height: 100%; }
  .modal-head { padding: 16px 16px; position: sticky; }
  .modal-head h3 { font-size: 17px; }
  .modal-body { padding: 18px 16px 24px; }

  /* CTA / 页脚 */
  .cta-band { padding: 28px 20px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band .btn { width: 100%; }
  .toast { min-width: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* 超小屏（≤380px）微调 */
@media (max-width: 380px) {
  .entry-grid { gap: 9px; }
  .entry-card { padding: 15px 12px 13px; }
  .entry-card h3 { font-size: 14px; }
  .hero h1 { font-size: 22px; }
  .stage { min-height: 195px; }
}
