/* ============================================================
   energy · 新能源电力与综合能源服务
   设计语言：工程图纸 + 能源数据台（明亮版）
   色板：白 / 浅灰 #F4F6F8 / 深蓝墨 #0E1B2E / 电光青蓝 #17B8E6
         亮黄 #FFC53D / 银灰 #C7CFD8
   母题：图纸卡 · 单线拓扑图 · 发电曲线 · 光伏方格矩阵
         横向流程条 · 等宽参数行
   ============================================================ */

/* ── 1 变量 ───────────────────────────────────────────── */
:root {
  --paper: #ffffff;
  --mist: #f4f6f8;
  --ink: #0e1b2e;
  --ink-soft: #33425a;
  --ink-mute: #64748b;
  --cyan: #17b8e6;
  --cyan-deep: #0e93bd;
  --cyan-wash: #e6f7fd;
  --yellow: #ffc53d;
  --yellow-wash: #fff6e0;
  --line: #c7cfd8;
  --line-soft: #e4e9ee;

  --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: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --wrap: 1240px;
  --r-sm: 2px;
  --r-md: 3px;

  --shadow-draw: 0 1px 0 rgba(14, 27, 46, .04);
  --shadow-pop: 0 10px 30px rgba(14, 27, 46, .09);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
}

h1 { font-size: clamp(30px, 3.2vw, 46px); }
h2 { font-size: clamp(24px, 2.3vw, 34px); }
h3 { font-size: 19px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

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

hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

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

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: -.2em;
}

.lead { font-size: 18px; line-height: 1.85; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 22px 0; }

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

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

.demo-bar {
  background: var(--ink);
  color: #dbe7f2;
  font-size: 13px;
  line-height: 1.6;
}

.demo-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 24px;
}

.demo-bar p { margin: 0; }

.demo-badge {
  flex: none;
  margin-top: 1px;
  padding: 2px 9px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  border-radius: var(--r-sm);
}

/* ── 4 头部 ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(160%) blur(8px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(14, 27, 46, .06);
}

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

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

.logo:hover { text-decoration: none; }

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

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
}

.logo-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

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

.nav-link {
  display: inline-block;
  padding: 8px 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover { color: var(--ink); background: var(--mist); text-decoration: none; }

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

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover { color: var(--cyan-deep); text-decoration: none; }

.burger {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

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

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

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(340px, 86vw);
  height: 100%;
  padding: 20px 20px 28px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  transform: translateX(102%);
  transition: transform .28s ease;
}

.drawer.is-open { transform: none; }

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

.drawer-close {
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.drawer .nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
}

.drawer .nav-link {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
}

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

body.is-locked { overflow: hidden; }

/* ── 6 按钮 ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--cyan);
  color: #04222e;
  border-color: var(--cyan);
}

.btn-primary:hover { background: var(--cyan-deep); border-color: var(--cyan-deep); color: #fff; }

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

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

/* ── 7 区块与标题 ─────────────────────────────────────── */
.section { padding: 92px 0; }
.section-tight { padding: 58px 0; }
.section-alt { background: var(--mist); }

.section-dark {
  background: var(--ink);
  color: #cfdae6;
}

.section-dark h2,
.section-dark h3,
.section-dark .section-title { color: #fff; }

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

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--r-sm);
}

.section-title { margin: 0 0 14px; }

.section-desc {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.section-more { margin: 34px 0 0; }

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

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ── 8 首屏 ───────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* 图纸底纹：极浅方格 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(199, 207, 216, .35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 207, 216, .35) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 52px;
  align-items: start;
  padding: 68px 0 60px;
}

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

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  letter-spacing: -.02em;
}

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

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

.hero-tags { margin-bottom: 0; }

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

.hero-figure {
  position: relative;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
}

.hero-figure img { width: 100%; border-radius: var(--r-sm); }

.hero-figure figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

/* 角标刻度 */
.hero-figure::before,
.hero-figure::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
}

.hero-figure::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-figure::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* 发电曲线装饰 */
.curve {
  margin: 0 0 26px;
  padding: 12px 14px 8px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
}

.curve svg {
  display: block;
  width: 100%;
  height: auto;
}

.curve-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* 亮黄读数条 */
.readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--yellow);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.readout-cell {
  padding: 14px 16px;
  border-right: 1px solid rgba(14, 27, 46, .16);
}

.readout-cell:last-child { border-right: 0; }

.readout-num {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.readout-unit {
  font-size: 13px;
  font-weight: 700;
  margin-left: 3px;
}

.readout-label {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(14, 27, 46, .78);
}

/* ── 9 事实与读数 ─────────────────────────────────────── */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.fact-card {
  padding: 20px 22px;
  background: var(--paper);
}

.fact-card .k {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.fact-card .v {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
}

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

.stat {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--r-sm);
}

.stat-num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.stat-unit { font-size: 13px; font-weight: 700; margin-left: 4px; color: var(--ink-mute); }

.stat-label { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-mute); }

/* ── 10 图纸卡（服务 / 技术 / 团队） ──────────────────── */
.card,
.draw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-draw);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.card:hover,
.draw-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14, 27, 46, .08);
}

/* 左上角小方块编号 */
.card-no {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
}

/* 底部细青蓝标尺 */
.card-ruler {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 3px;
  background:
    repeating-linear-gradient(to right, var(--cyan) 0 12px, var(--line) 12px 24px);
}

.card-title { margin: 0 0 10px; font-size: 18px; }
.card-desc { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.card-role { margin: 0 0 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--cyan-deep); }

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
}

/* 参数行（服务 / 方案 / 案例） */
.spec {
  margin: 16px 0 0;
  border-top: 1px solid var(--line-soft);
}

.spec-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.spec-row dt,
.spec-row .sk {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-mute);
  padding-top: 2px;
}

.spec-row dd,
.spec-row .sv {
  margin: 0;
  color: var(--ink-soft);
}

.spec-readout {
  font-family: var(--mono);
  color: var(--ink);
  font-weight: 600;
}

/* 标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--cyan-deep);
  background: var(--cyan-wash);
  border: 1px solid rgba(23, 184, 230, .32);
  border-radius: var(--r-sm);
}

.tag-sm { font-size: 11.5px; padding: 2px 8px; }

.badge {
  display: inline-block;
  padding: 2px 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--r-sm);
}

/* ── 11 单线拓扑图 ───────────────────────────────────── */
.topology {
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.topology svg {
  display: block;
  width: 100%;
  height: auto;
}

.topo-box {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.2;
}

.topo-box-soft { fill: var(--mist); }

.topo-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
}

.topo-line-dash {
  fill: none;
  stroke: var(--cyan-deep);
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
}

.topo-arrow { fill: var(--cyan); }
.topo-text {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--ink);
  letter-spacing: .04em;
}

.topo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}

.topo-legend span { display: inline-flex; align-items: center; gap: 7px; }

.topo-key {
  width: 22px;
  height: 0;
  border-top: 2px solid var(--cyan);
}

.topo-key-dash { border-top: 2px dashed var(--cyan-deep); }

/* 光伏方格阵列矩阵 */
.pv-matrix {
  padding: 16px;
  background:
    repeating-linear-gradient(to right, rgba(23, 184, 230, .22) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(to bottom, rgba(23, 184, 230, .22) 0 1px, transparent 1px 18px),
    var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

/* ── 12 横向流程条 ───────────────────────────────────── */
.flow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-rail::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  opacity: .55;
}

.flow-step {
  position: relative;
  padding: 44px 12px 0 0;
  min-width: 0;
}

.flow-no {
  position: absolute;
  top: 8px;
  left: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--r-sm);
  z-index: 1;
}

.flow-step.is-active .flow-no,
.flow-no { background: var(--cyan); color: #04222e; }

.flow-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
}

.flow-desc {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.flow-note {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--yellow-wash);
  border: 1px solid rgba(255, 197, 61, .55);
  border-radius: var(--r-sm);
  white-space: normal;
}

/* 竖向流程（窄屏 / 独立页） */
.flow-vertical,
.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-vertical > li,
.steps > .step {
  position: relative;
  padding: 0 0 30px 46px;
  border-left: 2px solid var(--line);
  margin-left: 10px;
}

.flow-vertical > li:last-child,
.steps > .step:last-child { border-left-color: transparent; padding-bottom: 0; }

.flow-vertical .flow-no {
  top: 0;
  left: -11px;
}

.flow-vertical .flow-step-body { max-width: 720px; }

.flow-vmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.flow-vmeta span {
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
}

/* ── 13 案例参数行 ───────────────────────────────────── */
.case-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.case-row:hover { border-color: var(--cyan); box-shadow: 0 8px 22px rgba(14, 27, 46, .06); }

.case-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
}

.case-body { min-width: 0; }

.case-title {
  margin: 0 0 8px;
  font-size: 17px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.case-title .badge { font-weight: 600; }

.case-desc { margin: 0 0 10px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

.case-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 10px;
}

.case-readout div {
  padding: 8px 12px;
  background: var(--mist);
}

.case-readout .rk {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.case-readout .rv {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

/* ── 14 筛选 ─────────────────────────────────────────── */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.chip:hover { border-color: var(--cyan); color: var(--cyan-deep); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.is-hidden { display: none !important; }

/* ── 15 手风琴 ───────────────────────────────────────── */
.accordion { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.acc-trigger::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.3;
  color: var(--cyan-deep);
}

.acc-item.is-open .acc-trigger::after { content: "\2212"; }
.acc-item.is-open .acc-trigger { color: var(--cyan-deep); }

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

/* 展开态：配合 site.js 写入的 inline height，让面板内容可见 */
.acc-item.is-open .acc-panel { max-height: 1200px; }

.acc-panel-inner {
  padding: 0 4px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 860px;
}

.acc-panel-inner p { margin: 0 0 .8em; }

/* ── 16 报价 / 方案卡 ─────────────────────────────────── */
.price-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--r-sm);
}

.price-name { margin: 0 0 6px; font-size: 17px; }
.price-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-mute); }

.price {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.price-num { letter-spacing: .02em; }

.checklist { margin: 0 0 16px; padding: 0; list-style: none; }

.check-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 1px;
}

.price-note { margin: 0 0 16px; font-size: 12.5px; color: var(--ink-mute); }

/* ── 17 引用 / 提示 / 横幅 ───────────────────────────── */
.quote {
  margin: 0;
  padding: 20px 22px;
  background: var(--mist);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.banner {
  padding: 26px 28px;
  background: var(--yellow-wash);
  border: 1px solid rgba(255, 197, 61, .5);
  border-radius: var(--r-sm);
}

.banner-title { margin: 0 0 8px; font-size: 17px; }

.cta-band {
  padding: 46px 0;
  background: var(--ink);
  color: #cfdae6;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); }
.cta-band p { margin: 0; color: #b7c6d6; }

.cta-band .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── 18 页头 ─────────────────────────────────────────── */
.page-head {
  padding: 52px 0 44px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

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

.page-title { margin: 0 0 14px; }

.page-desc {
  margin: 0;
  max-width: 820px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-media {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper);
}

.page-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

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

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field label i {
  font-style: normal;
  color: var(--cyan-deep);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23, 184, 230, .16);
}

.textarea { min-height: 110px; resize: vertical; }

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
                    linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

[data-invalid] {
  border-color: #e05b4a !important;
  box-shadow: 0 0 0 3px rgba(224, 91, 74, .14) !important;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--ink-mute);
}

.form-success {
  grid-column: 1 / -1;
  padding: 18px 20px;
  background: var(--cyan-wash);
  border: 1px solid rgba(23, 184, 230, .4);
  border-radius: var(--r-sm);
}

.form-success h3 { margin: 0 0 6px; font-size: 16px; }
.form-success p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.form-head { margin-bottom: 18px; }
.form-title { margin: 0 0 6px; font-size: 18px; }
.form-sub { margin: 0; font-size: 13.5px; color: var(--ink-mute); }

/* ── 20 页脚 ─────────────────────────────────────────── */
.site-footer {
  padding: 56px 0 26px;
  background: var(--ink);
  color: #a9bacb;
}

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

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: #7d92a8; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; color: #93a6ba; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 13.5px;
  color: #b9c8d7;
}

.footer-contact span { display: inline-flex; align-items: center; gap: 7px; }
.footer-contact a { color: #d8e4ef; }
.footer-contact a:hover { color: var(--cyan); }
.footer-contact .ico { color: var(--cyan); }

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: #93a6ba;
}

.footer-col a:hover { color: var(--cyan); text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 20px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7d92a8;
}

/* ── 21 返回顶部 ─────────────────────────────────────── */
.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.backtop.is-on { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--cyan); color: #04222e; }

/* ── 22 工具条 ───────────────────────────────────────── */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.feature {
  padding: 20px 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
}

.media {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.media img { width: 100%; }

/* ── 23 进场动画 ─────────────────────────────────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

html.js [data-reveal="left"] { transform: translateX(-14px); }
html.js [data-reveal="right"] { transform: translateX(14px); }
html.js [data-reveal="up"] { transform: translateY(-10px); }

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

/* 曲线一次性描画 */
html.js .curve path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
}

html.js .curve.is-visible path {
  animation: curveDraw 1.5s ease forwards;
}

@keyframes curveDraw {
  to { stroke-dashoffset: 0; }
}

/* ── 24 断点 · 1280 ──────────────────────────────────── */
@media (max-width: 1280px) {
  .wrap { padding: 0 22px; }
  .section { padding: 78px 0; }
  .hero-inner { gap: 40px; padding: 58px 0 52px; }
  .flow-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .flow-rail::before { display: none; }
  .flow-step { padding-top: 40px; }
  .grid { gap: 18px; }
  .case-row { grid-template-columns: 190px minmax(0, 1fr); }
}

/* ── 25 断点 · 1024 ──────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 32px; }

  .nav { display: none; }
  .burger { display: block; }
  .header-inner { gap: 14px; }
  .header-actions { margin-left: auto; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 46px 0 44px; }
  .hero-media { max-width: 520px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout-cell:nth-child(2n) { border-right: 0; }
  .readout-cell:nth-child(-n + 2) { border-bottom: 1px solid rgba(14, 27, 46, .16); }

  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }

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

  .case-row { grid-template-columns: 168px minmax(0, 1fr); gap: 16px; }
  .case-readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

/* ── 26 断点 · 768 ───────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .section-tight { padding: 40px 0; }
  .wrap { padding: 0 20px; }

  .header-inner { height: 64px; }
  .header-phone { display: none; }

  .hero-inner { padding: 36px 0 36px; }
  .hero-actions .btn { flex: 1 1 200px; }

  .grid,
  .grid-2,
  .grid-4,
  .fact-grid,
  .stats { grid-template-columns: minmax(0, 1fr); }

  .readout { grid-template-columns: minmax(0, 1fr); }
  .readout-cell { border-right: 0; border-bottom: 1px solid rgba(14, 27, 46, .16); }
  .readout-cell:last-child { border-bottom: 0; }

  /* 流程条转竖向 */
  .flow-rail { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow-step { padding: 0 0 26px 42px; border-left: 2px solid var(--line); margin-left: 9px; }
  .flow-step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .flow-step .flow-no { top: 0; left: -11px; }
  .flow-step .flow-title { font-size: 16px; }

  .case-row { grid-template-columns: minmax(0, 1fr); }
  .case-readout { grid-template-columns: minmax(0, 1fr); }

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

  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .spec-row dt,
  .spec-row .sk { padding-top: 0; }

  .page-head { padding: 36px 0 32px; }

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

  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  .topology { padding: 18px 14px; }
}

/* ── 27 断点 · 430 ───────────────────────────────────── */
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .section { padding: 42px 0; }

  .logo-sub { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .header-actions .btn-sm { padding: 7px 11px; font-size: 12.5px; }

  .hero-title { font-size: 27px; }
  .hero-desc { font-size: 15.5px; }
  .readout-num { font-size: 19px; }
  .readout-cell { padding: 12px 13px; }

  .card-title { font-size: 16.5px; }
  .draw-card { padding: 22px 18px 26px; }

  .filter { gap: 6px; }
  .chip { padding: 6px 11px; font-size: 12.5px; }

  .case-row { padding: 11px; }
  .flow-step { padding-left: 36px; }
  .acc-trigger { font-size: 15px; padding: 16px 2px; }
  .backtop { right: 14px; bottom: 14px; width: 38px; height: 38px; }
}

/* ── 28 断点 · 390 ───────────────────────────────────── */
@media (max-width: 390px) {
  .wrap { padding: 0 14px; }
  .hero-title { font-size: 25px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .readout-num { font-size: 17.5px; }
  .readout-label { font-size: 11.5px; }
  .case-readout .rv { font-size: 12px; }
  .spec-row { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
}

/* ── 29 降低动效偏好 ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .curve path { stroke-dasharray: none; stroke-dashoffset: 0; }
  html.js .curve.is-visible path { animation: none; }
}

/* 模板成交入口：页脚「模板定制咨询」CTA（scripts/dev/apply-vendor-cta.js 注入） */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 26px 0 22px;
  padding: 22px 26px;
  border: 1px solid rgba(127, 127, 127, .28);
  border-radius: 14px;
  background: rgba(127, 127, 127, .07);
}
.footer-cta-copy { flex: 1 1 420px; min-width: 0; }
.footer-cta-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .68;
}
.footer-cta-title { margin: 0 0 8px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.4; }
.footer-cta-desc { margin: 0; font-size: 14px; line-height: 1.8; opacity: .78; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.footer-cta-btn-primary { background: var(--cyan); color: #0E1B2E; }
.footer-cta-btn-ghost { border-color: currentColor; color: inherit; }
.footer-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.footer-cta-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 768px) {
  .footer-cta { padding: 20px 18px; margin: 22px 0 18px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cta-btn { transition: none; }
  .footer-cta-btn:hover { transform: none; }
}
