/* ==========================================================================
   畅捷通同款企业官网 · 全站设计系统
   ---------------------------------------------------------------------------
   配色原则：所有颜色只在 :root 定义一次，其余位置一律引用变量。
   · 换肤只需改 --primary / --accent 两个值（后台「站点设置」可在线改）
   · 深色区块用 .section-dark 作用域自动切换文字/卡片/描边色，无需内联样式
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
/* ---------- 1. 设计令牌（对标畅捷通 www.chanjet.com） ---------- */
:root {
  /* 品牌色 —— 取自畅捷通 theme-red：main #E40213 / hover #FF3444 / light #FFDDDF */
  --primary: #E40213;
  --primary-rgb: 228, 2, 19;
  /* 以下派生色由主色自动推导：改 --primary 即可全站联动 */
  --primary-hover: color-mix(in srgb, var(--primary) 78%, #fff);
  --primary-dark: color-mix(in srgb, var(--primary) 82%, #000);
  --primary-light: #FFDDDF;
  --primary-soft: color-mix(in srgb, var(--primary) 13%, #fff);

  /* 辅色 —— 畅捷通橙红 #FF5831 / #EE4017 / #FFEAE6 */
  --accent: #FF5831;
  --accent-rgb: 255, 88, 49;
  --accent-dark: color-mix(in srgb, var(--accent) 80%, #000);
  --accent-light: #FFEAE6;

  /* 中性色 · 文字（畅捷通 themeFontColor / SubColor） */
  --ink: #33333B;
  --ink-2: #5C5C5C;
  --ink-3: #66666B;
  --ink-4: #99999B;
  --ink-5: #C0C4CC;

  /* 背景 */
  --bg: #FFFFFF;
  --bg-soft: #F5F5F5;
  --bg-subtle: #F9F9FB;
  --bg-tint: #FFF8F8;
  --bg-dark: #212121;
  --bg-dark-2: #33333B;

  /* 深色底上的前景色（配合 .section-dark / .cta 使用） */
  --on-dark-1: #FFFFFF;
  --on-dark-2: #D9D9DC;
  --on-dark-3: #B8B8BC;
  --on-dark-4: #9A9A9E;
  --on-dark-5: #7A7A7E;
  --on-dark-accent: color-mix(in srgb, var(--primary) 62%, #fff);
  --on-dark-surface: rgba(255, 255, 255, .06);
  --on-dark-surface-2: rgba(255, 255, 255, .12);
  --on-dark-border: rgba(255, 255, 255, .10);
  --on-dark-line: rgba(255, 255, 255, .08);

  /* 描边（畅捷通 #E4E4E4 / #DCDFE6 / #EFEFEF） */
  --line: #E4E4E4;
  --line-2: #EFEFEF;

  /* 状态色（沿用畅捷通所用的 Element 色板） */
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-line: #A7F3D0;
  --danger: #F56C6C;
  --danger-bg: #FEF0F0;
  --warn: #E6A23C;

  /* 装饰 */
  --mock-dot-1: #FF6B6B;
  --mock-dot-2: #FFC94D;
  --mock-dot-3: #43D19E;

  /* 渐变：畅捷通按钮为 linear-gradient(180deg,#FF3444,#E40213) */
  --grad: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  --grad-soft: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);

  /* 圆角 */
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  /* 阴影（中性灰，不带蓝调） */
  --sh-s: 0 1px 2px rgba(33, 33, 33, .04), 0 2px 8px rgba(33, 33, 33, .04);
  --sh: 0 4px 12px rgba(33, 33, 33, .06), 0 12px 32px rgba(33, 33, 33, .06);
  --sh-l: 0 18px 48px rgba(33, 33, 33, .12);

  /* 布局 */
  --container: 1200px;
  --nav-h: 68px;

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

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

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

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--primary); color: var(--on-dark-1); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--line-2); }
::-webkit-scrollbar-thumb { background: var(--ink-5); border-radius: 6px; border: 2px solid var(--line-2); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-flush { padding-top: 24px; }
.pb-0 { padding-bottom: 0; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 40px; } .mt-xl { margin-top: 64px; }
.mb-s { margin-bottom: 12px; } .mb { margin-bottom: 24px; } .mb-l { margin-bottom: 40px; }
.mb-block { margin-bottom: 80px; }

/* ---------- 4. 章节标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.sec-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.sec-sub { font-size: 17px; color: var(--ink-3); max-width: 680px; line-height: 1.8; }
.center .sec-sub { margin-left: auto; margin-right: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s, border-color .22s;
}
.btn-primary { background: var(--grad); color: var(--on-dark-1); box-shadow: 0 6px 20px rgba(var(--primary-rgb), .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(var(--primary-rgb), .38); }
.btn-dark { background: var(--ink); color: var(--on-dark-1); }
.btn-dark:hover { background: var(--bg-dark-2); transform: translateY(-2px); }
.btn-ghost { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255,255,255,.08); color: var(--on-dark-1); border: 1.5px solid rgba(255,255,255,.28); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow { color: var(--primary); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- 6. 顶部公告 ---------- */
.topbar {
  background: var(--ink); color: var(--on-dark-2); font-size: 13.5px;
  text-align: center; padding: 9px 52px; position: relative; z-index: 60;
}
.topbar b { color: var(--on-dark-1); }
.topbar a { color: var(--accent); font-weight: 600; margin-left: 8px; }
.topbar .close { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--on-dark-5); font-size: 16px; line-height: 1; }
.topbar .close:hover { color: var(--on-dark-1); }

/* ---------- 7. 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(45, 49, 52, .05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; flex: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: var(--radius-s); background: var(--grad);
  display: grid; place-items: center; color: var(--on-dark-1); font-size: 17px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), .3); flex: none; object-fit: cover;
}
/* 图片款 logo：用 contain 保证任意比例都不被裁切，配白底避免透出渐变 */
img.logo-mark { padding: 0; object-fit: contain; background: #fff; }
.logo small { display: block; font-size: 10px; font-weight: 600; color: var(--ink-4); letter-spacing: .14em; line-height: 1; }

/* flex:none + nowrap：避免导航项被压扁后中文按字折成两行 */
.nav-menu { display: flex; align-items: center; gap: 2px; flex: none; }
.nav-menu > li { flex: none; position: relative; }
.nav-menu > li > a { padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); display: block; white-space: nowrap; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- 7.1 导航下拉菜单（如「产品中心」） ---------- */
.nav-menu > li.has-drop > a { display: flex; align-items: center; gap: 6px; }
.nav-parent {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: normal;
  color: var(--ink-2); white-space: nowrap;
}
.nav-parent:hover, .nav-parent.active { color: var(--primary); background: var(--primary-light); }
.caret {
  width: 7px; height: 7px; flex: none; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  border-radius: 1px; transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.nav-menu > li.has-drop:hover .caret,
.nav-menu > li.has-drop.open .caret { transform: rotate(-135deg); margin-top: 3px; }

.nav-drop {
  position: absolute; top: calc(100% + 10px); left: -6px; z-index: 60;
  min-width: 172px; padding: 8px; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(45, 49, 52, .13);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
/* 悬停缓冲区：填补父项与面板之间的空隙，鼠标下移时不会闪退 */
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop > li > a {
  display: block; padding: 9px 12px; border-radius: 8px; line-height: 1.45;
  font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
}
.nav-drop > li > a:hover, .nav-drop > li > a.active { color: var(--primary); background: var(--primary-light); }
.nav-menu > li.has-drop:hover .nav-drop,
.nav-menu > li.has-drop:focus-within .nav-drop,
.nav-menu > li.has-drop.open .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: var(--radius-s); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .3s; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(760px 420px at 82% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%),
    radial-gradient(720px 420px at 8% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 78%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(var(--primary-rgb),.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(var(--primary-rgb),.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 22%, #000 8%, transparent 66%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 8%, transparent 66%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.14; letter-spacing: -.025em; margin-bottom: 22px; }
.hero p.lead { font-size: 18px; color: var(--ink-3); line-height: 1.85; max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--ink-3); }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--accent); font-style: normal; font-weight: 800; }

/* ---------- 8b. 首屏：左文右图（右侧大图轮播，图片贴到屏幕右边缘） ---------- */
.hero.hero-photo { padding: 0; }
.hero-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 3.6vw, 60px);
  align-items: center;
  /* 左列文字与 .container 对齐；右列一直贴到屏幕右边缘（不用 100vw，避免横向滚动条） */
  padding: 78px 0 78px calc(24px + max(0px, (100% - var(--container)) / 2));
}
.hero-photo-copy { max-width: 560px; }
.hero-photo-copy h1 { margin-bottom: 18px; }
/* 高亮的后半句整体换行，别被切成「全 / 新登场」 */
.hero-photo-copy .grad-text { white-space: nowrap; }
.hero-photo-copy p.lead { margin-bottom: 26px; }

.hero-photo-media {
  position: relative;
  align-self: stretch;
  min-height: 430px;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
  background: var(--bg-subtle);
  box-shadow: var(--sh-l);
}
.hero-photo-media.is-empty { box-shadow: none; border: 1px dashed var(--line); }
/* 后台可选：完整显示整张图（不裁切，多余部分留白） */
.hero-photo-media.is-contain img { object-fit: contain; }
/* 多屏轮播：所有屏叠在同一个网格单元里 → 容器高度取最高的一屏，切换只做淡入淡出 */
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease, visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* 首屏切换箭头（贴两侧、垂直居中） */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--ink-2);
  box-shadow: 0 6px 20px rgba(15, 23, 42, .16);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.hero-arrow:hover { background: #fff; color: var(--primary); box-shadow: 0 10px 26px rgba(15, 23, 42, .22); }
.hero-arrow:active { transform: translateY(-50%) scale(.94); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero.hero-photo:focus { outline: none; }

/* 圆点指示器（落在两列下方的留白带里，居中） */
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 28px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(15, 23, 42, .16); cursor: pointer;
  transition: width .25s, background .25s;
}
.hero-dots button:hover { background: rgba(15, 23, 42, .32); }
.hero-dots button.is-active { width: 26px; border-radius: 5px; background: var(--primary); }
.hero-photo-empty {
  display: grid; place-content: center; gap: 8px; height: 100%; min-height: 430px;
  padding: 24px; text-align: center; color: var(--ink-4); font-size: 14px;
}
.hero-photo-empty span { font-size: 12.5px; }

/* 标签条（标题下方一行带框的关键词，如「进销存 + 财务 + 线上商城」） */
.hero-tag {
  display: inline-block; margin-bottom: 26px; padding: 9px 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, transparent);
  border-radius: 8px; background: color-mix(in srgb, var(--primary) 6%, var(--bg));
  font-size: 15px; font-weight: 600; color: var(--primary); letter-spacing: .01em;
}

/* 图标行（标题下方，行业 / 场景） */
.hero-icons {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 10px; max-width: 520px; margin: 0 0 30px;
}
.hero-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hero-icon i {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary);
}
.hero-icon svg { width: 20px; height: 20px; }
.hero-icon span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

@media (max-width: 1160px) {
  .hero-photo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-photo-media { min-height: 390px; }
}
@media (max-width: 900px) {
  .hero-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 48px 0 0; }
  .hero.hero-photo { padding-bottom: 64px; }   /* 给底部圆点留出一条空白带 */
  .hero-photo-copy { max-width: none; padding: 0 24px; }
  .hero-photo-copy h1 { font-size: clamp(28px, 6.4vw, 40px); }
  .hero-photo-media { border-radius: 0; min-height: 0; aspect-ratio: 16 / 9; box-shadow: none; }
  .hero-photo-empty { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-dots { bottom: 24px; }
  .hero-arrow { display: none; }                /* 竖排时箭头会压住正文，手机上只留圆点 */
}
@media (max-width: 600px) {
  .hero-photo-copy { padding: 0 18px; }   /* 跟 .container 的 18px 内边距对齐 */
  .hero-tag { font-size: 13.5px; padding: 8px 13px; margin-bottom: 22px; }
  .hero-icons { gap: 14px 6px; margin-bottom: 24px; }
  .hero-icon i { width: 34px; height: 34px; border-radius: 10px; }
  .hero-icon svg { width: 18px; height: 18px; }
  .hero-icon span { font-size: 12px; }
}

/* ---------- 8c. 首屏：纯文字（无大图，整体更矮） ----------
   左栏 = 小标签 / 主标题 / 正文；右栏 = 标签条 + 行业图标；下方通栏 = 按钮 + 信任点。
   高度由「最多元素的那一栏」决定，比左文右图少约 300px。 */
.hero-photo.is-text .hero-text-wrap { max-width: var(--container); margin: 0 auto; padding: 52px 24px 30px; }
.hero-photo.is-text .hero-text-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 48px; align-items: start;
}
.hero-photo.is-text .hero-photo-copy { max-width: none; }
.hero-photo.is-text .hero-photo-copy h1 { font-size: clamp(30px, 3.3vw, 44px); margin-bottom: 16px; }
.hero-photo.is-text .hero-photo-copy p.lead { max-width: 600px; margin-bottom: 0; }
.hero-photo.is-text .hero-tag { margin-bottom: 20px; }
.hero-photo.is-text .hero-icons { margin-bottom: 0; }   /* 与按钮行的间距交给 .hero-cta-row */
.hero-photo.is-text .hero-cta-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.hero-photo.is-text .hero-actions { margin-bottom: 0; }
.hero-photo.is-text .hero-trust { margin-bottom: 0; }
.hero-photo.is-text .hero-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.hero-photo.is-text .hero-dots { position: static; left: auto; bottom: auto; transform: none; }
.hero-photo.is-text .hero-arrows { display: flex; gap: 10px; }
.hero-photo.is-text .hero-arrow {
  position: static; transform: none; width: 40px; height: 40px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); box-shadow: var(--sh-s);
}
.hero-photo.is-text .hero-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.hero-photo.is-text .hero-arrow:active { transform: scale(.94); }
.hero-photo.is-text .hero-arrow svg { width: 18px; height: 18px; }

@media (max-width: 1160px) {
  .hero-photo.is-text .hero-text-grid { gap: 34px; }
}
@media (max-width: 900px) {
  .hero.hero-photo.is-text { padding-bottom: 0; }        /* 覆盖「给圆点留白带」那条 */
  .hero-photo.is-text .hero-text-wrap { padding: 44px 24px 28px; }
  .hero-photo.is-text .hero-text-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-photo.is-text .hero-photo-copy { padding: 0; }  /* 外层 wrap 已有 24px 内边距 */
  .hero-photo.is-text .hero-photo-copy h1 { font-size: clamp(26px, 6vw, 34px); }
  .hero-photo.is-text .hero-photo-copy p.lead { max-width: none; }
  .hero-photo.is-text .hero-arrow { display: grid; }    /* 底部按钮组不压正文，手机上保留 */
  .hero-photo.is-text .hero-arrow svg { width: 16px; height: 16px; }
}
@media (max-width: 600px) {
  .hero-photo.is-text .hero-text-wrap { padding: 34px 18px 24px; }
  .hero-photo.is-text .hero-cta-row { gap: 18px; margin-top: 22px; }
  .hero-photo.is-text .hero-nav { margin-top: 24px; }
  .hero-photo.is-text .hero-arrow { width: 36px; height: 36px; }
}

/* ---------- 8d. 首屏：产品界面 + 功能标注 ----------
   左栏 = 小标签 / 主标题 / 正文 / 标签条 / 按钮；右栏 = 「一台电脑 + 一部手机」的产品界面示意，
   四周浮着功能标注小胶囊（对标厂商官网首屏）。
   几何约定：.shot-stage 是标注的定位基准（position:relative），
   · 左右内边距给「左右两侧的标注」留出空间（设备被挤在中间）；
   · 右侧标注用 translate(-100%) 右对齐到舞台右边缘 ⇒ 永远不会顶出容器、不产生横向滚动条。
   界面本身是就地绘制的，所以没上传任何截图也不会开天窗。 */
.hero-photo.is-product .hero-product-wrap { max-width: var(--container); margin: 0 auto; padding: 54px 24px 18px; }
.hero-photo.is-product .hero-product-grid {
  display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.14fr);
  gap: clamp(20px, 2.6vw, 46px); align-items: center;
}
.hero-photo.is-product .hero-photo-copy { max-width: none; }
.hero-photo.is-product .hero-photo-copy h1 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 16px; }
.hero-photo.is-product .hero-photo-copy p.lead { max-width: 540px; margin-bottom: 20px; }
.hero-photo.is-product .hero-tag { margin-bottom: 20px; }
.hero-photo.is-product .hero-actions { margin-bottom: 20px; }
.hero-photo.is-product .hero-trust { margin-bottom: 0; }

/* 舞台：设备的摆放区，也是标注的定位基准。
   高度不写死 —— 由电脑那台的自然高度决定，标注的位置百分比/像素才跟着稳定。 */
.hero-shot { position: relative; padding: 32px 0 0; }
.shot-stage {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 36px 80px 42px 62px;
}
.shot-note { margin-top: 34px; text-align: center; font-size: 12.5px; color: var(--ink-4); letter-spacing: .02em; }

/* —— 电脑：外框 + 顶栏 + 左菜单 + 数字卡片 + 柱状图 + 明细行 —— */
.shot-desktop {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--sh-l);
}
.shot-top { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: var(--bg-subtle); border-bottom: 1px solid var(--line-2); }
.shot-top i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.shot-top i:nth-child(1) { background: var(--mock-dot-1); }
.shot-top i:nth-child(2) { background: var(--mock-dot-2); }
.shot-top i:nth-child(3) { background: var(--mock-dot-3); }
.shot-top em { margin-left: 8px; font-style: normal; font-size: 10.5px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-body { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 10px; background: var(--bg-subtle); }
.shot-menu { display: flex; flex-direction: column; gap: 5px; }
.shot-menu span {
  padding: 7px 8px; border-radius: 6px; background: var(--bg);
  font-size: 9.5px; line-height: 1; color: var(--ink-4); white-space: nowrap;
}
.shot-menu span.is-on { background: var(--primary); color: #fff; }
.shot-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shot-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.shot-kpi { min-width: 0; padding: 8px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); }
.shot-kpi b { display: block; font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.shot-kpi span { display: block; margin-top: 3px; font-size: 9.5px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-chart { display: flex; align-items: flex-end; gap: 4px; height: 62px; padding: 8px 9px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); }
.shot-chart span { flex: 1 1 0; min-width: 0; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--primary) 26%, transparent); }
.shot-chart span:nth-child(3n) { background: var(--primary); }
.shot-lines { display: flex; flex-direction: column; gap: 6px; }
.shot-line { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); }
.shot-line i { flex: none; width: 9px; height: 9px; border-radius: 3px; background: var(--primary-soft); }
.shot-line u { display: block; height: 6px; border-radius: 3px; background: var(--bg-soft); }
.shot-line b { flex: none; width: 26px; height: 8px; margin-left: auto; border-radius: 4px; background: var(--primary-soft); }
.shot-line b.is-hot { background: color-mix(in srgb, var(--accent) 34%, transparent); }
/* 后台传了「界面截图」就直接铺满屏幕区域 */
.shot-shot img { display: block; width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; object-position: left top; }

/* —— 手机 —— */
.shot-phone {
  position: relative; z-index: 2; flex: 0 0 96px;
  display: flex; flex-direction: column; gap: 9px;
  padding: 12px 10px 14px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-l);
}
.shot-phone-bar { width: 30px; height: 4px; margin: 0 auto 2px; border-radius: 3px; background: var(--line); }
.shot-phone-title { font-size: 10.5px; font-weight: 700; color: var(--primary); }
.shot-phone-amount { padding: 8px; border-radius: 8px; background: var(--primary-soft); }
.shot-phone-amount b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.shot-phone-amount span { display: block; margin-top: 2px; font-size: 9px; color: var(--ink-4); }
.shot-phone-rows { display: flex; flex-direction: column; gap: 7px; }
.shot-phone-rows u { display: block; height: 7px; border-radius: 4px; background: var(--bg-soft); }
.shot-phone-btn { margin-top: auto; padding: 7px 0; border-radius: 7px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 700; text-align: center; }

/* —— 功能标注胶囊（8 个位：左三竖排 / 右三竖排 / 上中 / 下中） ——
   竖轴用 px / 百分比、横轴用「左右内边距留出的通道」：
   右侧一律 translate(-100%) 右对齐到舞台右边缘 ⇒ 永远不会顶出容器，不会产生横向滚动条。 */
.hero-callout {
  position: absolute; z-index: 3; max-width: 100%;
  padding: 7px 13px; border-radius: 100px; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sh-s);
  font-size: 12.5px; font-weight: 600; color: var(--primary);
}
.shot-stage .pos-tl { top: 18px; left: 9%; transform: translate(-50%, -50%); }
.shot-stage .pos-tc { top: 2px; left: 52%; transform: translate(-50%, -50%); }
.shot-stage .pos-tr { top: 18px; left: 100%; transform: translate(-100%, -50%); }
.shot-stage .pos-ml { top: 40%; left: 3%; transform: translate(-50%, -50%); }
.shot-stage .pos-mr { top: 40%; left: 100%; transform: translate(-100%, -50%); }
.shot-stage .pos-bl { top: 72%; left: 4%; transform: translate(-50%, -50%); }
.shot-stage .pos-bc { bottom: 10px; left: 46%; transform: translate(-50%, 50%); }
.shot-stage .pos-br { bottom: 10px; left: 100%; transform: translate(-100%, 50%); }

/* 底部圆点 + 上/下一屏（与 8c 纯文字版式同款，落在内容下方留白带里） */
.hero-photo.is-product .hero-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.hero-photo.is-product .hero-dots { position: static; left: auto; bottom: auto; transform: none; }
.hero-photo.is-product .hero-arrows { display: flex; gap: 10px; }
.hero-photo.is-product .hero-arrow {
  position: static; transform: none; width: 40px; height: 40px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); box-shadow: var(--sh-s);
}
.hero-photo.is-product .hero-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.hero-photo.is-product .hero-arrow:active { transform: scale(.94); }
.hero-photo.is-product .hero-arrow svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .hero-photo.is-product .hero-product-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-photo.is-product .hero-photo-copy { max-width: 660px; }
  .hero-photo.is-product .hero-photo-copy h1 { font-size: clamp(28px, 5.4vw, 38px); }
  .shot-stage { max-width: 620px; margin: 0 auto; }
  .shot-note { margin-top: 30px; }
}
@media (max-width: 700px) {
  .hero-photo.is-product .hero-product-wrap { padding: 40px 18px 14px; }
  .hero-photo.is-product .hero-photo-copy h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-photo.is-product .hero-photo-copy p.lead { max-width: none; }
  /* 手机太窄，界面只留电脑那半台，标注仍在四周（位次不变） */
  .shot-stage { padding: 30px 52px 36px 44px; gap: 0; }
  .shot-phone { display: none; }
  .shot-body { grid-template-columns: 56px minmax(0, 1fr); gap: 7px; padding: 7px; }
  .shot-menu span { padding: 6px 5px; font-size: 8.5px; }
  .shot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-kpi:nth-child(3) { display: none; }   /* 只留两张卡，避免数字被挤断 */
  .shot-kpi { padding: 6px 7px; }
  .shot-kpi b { font-size: 11px; }
  .shot-kpi span { display: none; }
  .shot-chart { height: 52px; padding: 6px; }
  .shot-lines { gap: 5px; }
  .shot-line { padding: 5px 7px; }
  .hero-callout { padding: 5px 10px; font-size: 11px; }
  .shot-stage .pos-tl, .shot-stage .pos-tr { top: 15px; }
  .shot-stage .pos-ml, .shot-stage .pos-mr { top: 44%; }
  .shot-stage .pos-bl { top: 70%; }
  .hero-shot { padding-top: 26px; }
  .shot-note { margin-top: 28px; font-size: 11.5px; }
  .hero-photo.is-product .hero-nav { margin-top: 22px; }
}

/* 产品截图 mockup */
.mock { border-radius: var(--radius-l); background: var(--bg); box-shadow: var(--sh-l); border: 1px solid var(--line); overflow: hidden; position: relative; }
.mock.flat { box-shadow: none; border: none; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-subtle); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:nth-child(1) { background: var(--mock-dot-1); }
.mock-bar i:nth-child(2) { background: var(--mock-dot-2); }
.mock-bar i:nth-child(3) { background: var(--mock-dot-3); }
.mock-bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; color: var(--ink-4); background: var(--line-2); padding: 3px 12px; border-radius: 100px; }
.mock-body { padding: 18px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; background: var(--bg-subtle); }
.mock-body.solo { grid-template-columns: 1fr; }
.mock-body.pad { padding: 22px; }
.mock-side { background: var(--bg-tint); border-radius: var(--radius-s); padding: 12px 10px; display: flex; flex-direction: column; gap: 9px; }
.mock-side b { height: 8px; border-radius: 4px; background: var(--primary-soft); }
.mock-side b:first-child { background: var(--primary); width: 74%; }
.mock-main { display: flex; flex-direction: column; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis.two { grid-template-columns: repeat(2, 1fr); }
.mock-kpis.one { grid-template-columns: 1fr; }
.mock-kpi { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 11px 12px; }
.mock-kpi u { display: block; text-decoration: none; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.mock-kpi s { display: block; text-decoration: none; font-size: 10.5px; color: var(--ink-4); margin-top: 2px; }
.mock-kpi em { font-style: normal; font-size: 10px; color: var(--accent-dark); font-weight: 700; }
.mock-chart { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 14px; height: 132px; display: flex; align-items: flex-end; gap: 7px; }
.mock-chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--primary), var(--primary-soft)); opacity: .9; }
.mock-chart span:nth-child(even) { background: linear-gradient(180deg, var(--accent), var(--accent-light)); }
.mock-float {
  position: absolute; background: var(--bg); border-radius: 14px; box-shadow: var(--sh);
  border: 1px solid var(--line-2); padding: 12px 16px; font-size: 12.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 8px; animation: floaty 5s ease-in-out infinite;
}
.mock-float.f1 { top: 42px; right: -18px; }
.mock-float.f2 { bottom: 54px; left: -30px; animation-delay: -2.5s; }
.mock-float b { color: var(--accent-dark); font-size: 15px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 9. 数据指标条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--sh-s); }
.stats.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--bg); padding: 30px 24px; text-align: center; }
.stat b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: var(--ink-3); }

/* ---------- 10. 卡片 ---------- */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--primary-soft); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-3); line-height: 1.8; }
.card.pad-l { padding: 44px; }
.card.plain:hover { transform: none; box-shadow: none; }

.ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary); margin-bottom: 20px;
}
.ic svg { width: 26px; height: 26px; }
.ic.cyan { background: var(--accent-light); color: var(--accent-dark); }
.ic.grad { background: var(--grad); color: var(--on-dark-1); box-shadow: 0 8px 20px rgba(var(--primary-rgb),.26); }

/* LOGO / 图标图片：去掉底色，按原图比例自适应（高度对齐图标区，宽度随比例伸缩） */
.ic.img-logo {
  width: auto; min-width: 36px; max-width: 118px; height: 34px;
  padding: 0; background: none; border-radius: 0;
}
.ic.img-logo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ic.img-logo.cyan,
.card.feature-grad .ic.img-logo,
.section-dark .ic.img-logo { background: none; }

/* 可点击整卡：有链接时卡片渲染为 <a>，保持原有配色并撑满网格单元 */
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { color: inherit; }
a.card h3 { color: inherit; }

/* 卡片头部：只放 LOGO / 图标（价格已下移到角标行，宽 LOGO 不再和价格挤在一行） */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-head .ic { margin-bottom: 0; }

/* 角标行：LOGO 下方单独一行 */
.card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-meta .card-tag { margin-bottom: 0; }

/* 产品标题 + 价格同一行：标题靠左、价格靠右，垂直居中齐平 */
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.card-title h3 { margin-bottom: 0; }

/* 价格标签（增值产品卡，与产品标题同行右对齐） */
.card-price {
  flex: none; margin-left: auto; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; line-height: 1;
  padding: 6px 12px; border-radius: 100px;
  background: var(--primary-light); color: var(--primary);
}

/* 角标（与价格同行的胶囊，放产品副标题） */
.card-tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 14px;
  background: var(--primary-light); color: var(--primary);
}
.ic.cyan ~ .card-tag { background: var(--accent-light); color: var(--accent-dark); }
.card.feature-grad .card-price,
.card.feature-grad .card-tag { background: rgba(255,255,255,.2); color: var(--on-dark-1); }
.section-dark .card-price,
.section-dark .card-tag { background: var(--on-dark-surface-2); color: var(--on-dark-1); }

.card-num { position: absolute; top: 18px; right: 24px; font-size: 42px; font-weight: 800; color: var(--bg-soft); letter-spacing: -.04em; line-height: 1; }
.card.feature-grad { background: var(--grad); border: none; color: rgba(255,255,255,.92); }
.card.feature-grad h3 { color: var(--on-dark-1); }
.card.feature-grad .card-num { color: rgba(255,255,255,.22); }
.card.feature-grad p, .card.feature-grad .check-list li { color: rgba(255,255,255,.88); }
.card.feature-grad .ic { background: rgba(255,255,255,.2); color: var(--on-dark-1); }
.card.feature-grad .check-list li::before { background: rgba(255,255,255,.22); color: var(--on-dark-1); }

/* ---------- 11. 左右图文块 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.split p { color: var(--ink-3); font-size: 16px; line-height: 1.85; }
.split p + p { margin-top: 16px; }
.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-dark); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; margin-top: 3px;
}
.split-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--line); background: var(--bg); }
.split-media.pad { padding: 24px; }

/* ---------- 12. 标签页 ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab { padding: 10px 22px; border-radius: 100px; font-size: 15px; font-weight: 500; color: var(--ink-3); background: var(--bg); border: 1px solid var(--line); transition: .22s; }
.tab:hover { color: var(--primary); border-color: var(--primary-soft); }
.tab.active { background: var(--ink); color: var(--on-dark-1); border-color: var(--ink); font-weight: 600; }

/* 图文交替区块：上下排列的多个图文行，奇偶行左右交替（偶数行通栏浅灰底） */
.alt-list { display: block; }
.alt-band { padding: 44px 0; }
.alt-band.band { background: var(--bg-soft); }
.alt-band:first-child { padding-top: 6px; }
.alt-band:last-child { padding-bottom: 6px; }
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.alt-row.reverse > .alt-copy { order: 2; }
.alt-row.reverse > .alt-media { order: 1; }
.alt-copy { min-width: 0; }
.alt-media { min-width: 0; }
.alt-tag { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .01em; }
.alt-title { font-size: 24px; line-height: 1.5; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.alt-copy .check-list { margin-top: 20px; }
.alt-shot { display: block; width: 100%; height: auto; border-radius: var(--radius-l); }

/* 配图位：未传图时的等比占位，保证整块不塌陷 */
.alt-ph {
  aspect-ratio: 3 / 2; border: 1px dashed var(--line); border-radius: var(--radius-l);
  background: var(--bg-subtle); color: var(--ink-4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 24px; font-size: 13.5px;
}
.alt-ph svg { color: var(--ink-5); }

/* 亮点条：整行下方的通栏浅灰面板 + 白色小卡片（后台「亮点小卡片」字段） */
.alt-facts { margin-top: 40px; background: var(--bg-soft); border-radius: var(--radius-l); padding: 16px; }
.alt-band.band .alt-facts { background: color-mix(in srgb, var(--bg-soft) 55%, #fff); }
.alt-facts-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.alt-fact { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 14px 16px; }
.alt-fact b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.alt-fact span { display: block; font-size: 12px; color: var(--ink-4); margin-top: 3px; }

/* ---------- 13. 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.tl-item time { font-size: 13.5px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { font-size: 15px; color: var(--ink-3); }

/* ---------- 14. 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--sh-s); }
table { width: 100%; border-collapse: collapse; background: var(--bg); min-width: 720px; }
th, td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line-2); }
thead th { background: var(--bg-tint); font-size: 14px; font-weight: 700; color: var(--ink); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-subtle); }
td .ok { color: var(--accent-dark); font-weight: 800; }
td .none { color: var(--ink-5); }
th.hl { background: var(--primary-light); color: var(--primary); }

/* ---------- 15. 证言 ---------- */
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; display: flex; flex-direction: column; }
.quote .mark { font-size: 46px; line-height: .8; color: var(--primary-light); font-weight: 800; margin-bottom: 12px; }
.quote p { font-size: 16px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--on-dark-1); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.quote-who b { display: block; font-size: 15px; color: var(--ink); }
.quote-who span { font-size: 13px; color: var(--ink-4); }

/* ---------- 16. 行业卡 ---------- */
.ind-card { border-radius: var(--radius); padding: 26px; background: var(--bg); border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; transition: .28s; height: 100%; }
.ind-card:hover { border-color: var(--primary-soft); box-shadow: var(--sh); transform: translateY(-4px); }
.ind-card .ic { margin-bottom: 0; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.ind-card h4 { font-size: 16.5px; margin-bottom: 5px; }
.ind-card p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 17. Logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-wall.cols-3 { grid-template-columns: repeat(3, 1fr); }
.logo-wall.cols-4 { grid-template-columns: repeat(4, 1fr); }
.logo-cell { background: var(--bg); padding: 26px 12px; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: var(--ink-4); letter-spacing: .02em; transition: .25s; text-align: center; }
.logo-cell:hover { color: var(--primary); background: var(--bg-subtle); }

/* ---------- 18. 优势列表 ---------- */
.adv { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.adv:last-child { border-bottom: none; }
.adv-n { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.adv h4 { font-size: 17px; margin-bottom: 6px; }
.adv p { font-size: 15px; color: var(--ink-3); }

/* ---------- 19. CTA 横幅 ---------- */
.cta { border-radius: var(--radius-l); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark-1); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); }
.cta::after { content: ""; position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--on-dark-1); margin-bottom: 14px; }
.cta p { color: var(--on-dark-3); font-size: 17px; max-width: 620px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. 页脚 ---------- */
.footer { background: var(--bg-dark); color: var(--on-dark-4); padding: 72px 0 0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--on-dark-line); }
.footer .logo { color: var(--on-dark-1); margin-bottom: 16px; }
.footer .logo small { color: var(--on-dark-5); }
.footer h5 { color: var(--on-dark-1); font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: var(--accent); }
.footer-about p { line-height: 1.85; margin-bottom: 18px; max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact b { color: var(--on-dark-1); font-weight: 600; }
.footer-contact span { flex: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--on-dark-5); }
.footer-bottom a { color: var(--on-dark-4); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 21. 页面头 ---------- */
.page-head { padding: 72px 0 64px; position: relative; overflow: hidden; text-align: center; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 340px at 50% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 68%), linear-gradient(180deg, var(--bg-tint), var(--bg)); }
.page-head h1 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 16px; }
.page-head p { font-size: 17px; color: var(--ink-3); max-width: 660px; margin: 0 auto; line-height: 1.85; }
.breadcrumb { font-size: 14px; color: var(--ink-4); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ---------- 22. 案例卡 ---------- */
.case { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .28s; height: 100%; display: flex; flex-direction: column; }
.case:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--primary-soft); }
.case-top { height: 150px; background: var(--grad-soft); display: grid; place-items: center; font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; text-align: center; padding: 0 18px; }
.case:nth-child(2n) .case-top { background: linear-gradient(135deg, var(--accent-light), var(--primary-light)); color: var(--accent-dark); }
/* 封面图模式（首页自动取客户案例模块时）：图铺满顶部块，不变形 */
.case-top.has-cover { padding: 0; background: var(--bg-soft); }
.case-top.has-cover img { display: block; width: 100%; height: 150px; object-fit: cover; }
.case-top.has-cover + .case-body .case-tag { margin-top: 0; }
.case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-tag { font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 100px; align-self: flex-start; margin-bottom: 14px; }
.case h3 { font-size: 18px; margin-bottom: 10px; }
.case p { font-size: 14.5px; color: var(--ink-3); flex: 1; }
.case-metrics { display: flex; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.case-metrics div b { display: block; font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.case-metrics div span { font-size: 12.5px; color: var(--ink-4); }

/* 客户案例模块（列表卡片 / 详情页顶部的成果数据） */
.case-card .news-cat { margin-right: 6px; }
.case-card .news-cat.alt { background: var(--bg-soft); color: var(--ink-3); }
/* 未上传封面时的占位：品牌渐变 + 产品名 */
.case-cover-fb {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.case-cover-fb b {
  color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.case-card .case-metrics { margin-top: 14px; padding-top: 12px; gap: 18px; }
.case-metric { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12.5px; color: var(--ink-4); }
.case-metric b { font-size: 15px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.case-metrics-lg {
  display: flex; gap: 32px; flex-wrap: wrap; margin: 0 0 30px;
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line-2);
}
.case-metric-lg b { display: block; font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.case-metric-lg span { font-size: 13px; color: var(--ink-3); }

/* ---------- 23. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.contact-item .ic { margin-bottom: 0; flex: none; width: 46px; height: 46px; border-radius: 12px; }
.contact-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--ink-3); }
.contact-item a { color: var(--primary); font-weight: 600; }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 36px; box-shadow: var(--sh); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.field textarea { resize: vertical; min-height: 112px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--ink-4); margin-top: 14px; text-align: center; }
.form-ok { display: none; background: var(--success-bg); border: 1px solid var(--success-line); color: var(--success); padding: 14px 18px; border-radius: var(--radius-s); font-size: 14.5px; margin-bottom: 20px; }
.form-ok.show { display: block; }
.form-err { display: none; background: var(--danger-bg); border: 1px solid var(--danger); color: var(--danger); padding: 14px 18px; border-radius: var(--radius-s); font-size: 14.5px; margin-bottom: 20px; }
.form-err.show { display: block; }

.map-box { height: 320px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--grad-soft); display: grid; place-items: center; color: var(--ink-3); font-size: 15px; text-align: center; box-shadow: var(--sh-s); padding: 20px; }

/* ---------- 24. FAQ ---------- */
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: .25s; }
.faq-item.open { border-color: var(--primary-soft); box-shadow: var(--sh-s); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.faq-q i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 700; transition: .3s; }
.faq-item.open .faq-q i { background: var(--primary); color: var(--on-dark-1); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 22px; font-size: 15px; color: var(--ink-3); line-height: 1.85; }

/* ---------- 25. 富文本区块 ---------- */
.prose { font-size: 16px; color: var(--ink-2); line-height: 1.9; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin: 20px 0; }
.prose blockquote { border-left: 3px solid var(--primary); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; margin: 20px 0; color: var(--ink-3); }
.prose code { background: var(--bg-soft); padding: 2px 7px; border-radius: 5px; font-size: 14px; color: var(--primary-dark); }
.prose table { min-width: 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- 26. 深色区块作用域（替代内联样式） ---------- */
.section-dark { background: var(--bg-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark-1); }
.section-dark p, .section-dark .sec-sub { color: var(--on-dark-4); }
.section-dark .eyebrow { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.section-dark .eyebrow::before { background: var(--accent); }
.section-dark .card { background: var(--on-dark-surface); border-color: var(--on-dark-border); }
.section-dark .card:hover { border-color: var(--on-dark-border); }
.section-dark .card p { color: var(--on-dark-4); }
.section-dark .card-num { color: rgba(255,255,255,.14); }
.section-dark .ic { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--on-dark-accent); }
.section-dark .check-list li { color: var(--on-dark-2); }
.section-dark .check-list li::before { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--on-dark-accent); }
.section-dark .stat b, .section-dark .metric b { color: var(--on-dark-accent); }
.section-dark .stat span, .section-dark .metric span { color: var(--on-dark-4); }
.section-dark .adv { border-bottom-color: var(--on-dark-line); }
.section-dark .adv p { color: var(--on-dark-4); }
.section-dark .quote { background: var(--on-dark-surface); border-color: var(--on-dark-border); }
.section-dark .quote p { color: var(--on-dark-2); }
.section-dark .quote .mark { color: rgba(255,255,255,.18); }
.section-dark .quote-who { border-top-color: var(--on-dark-line); }
.section-dark .quote-who b { color: var(--on-dark-1); }
.section-dark .quote-who span { color: var(--on-dark-5); }
.section-dark .logo-wall { background: var(--on-dark-line); border-color: var(--on-dark-border); }
.section-dark .logo-cell { background: var(--bg-dark); color: var(--on-dark-4); }
.section-dark .logo-cell:hover { color: var(--accent); background: var(--bg-dark-2); }
.section-dark .ind-card { background: var(--on-dark-surface); border-color: var(--on-dark-border); }
.section-dark .ind-card h4 { color: var(--on-dark-1); }

/* 深色区块内的大数字 */
.metric { text-align: center; }
.metric b { display: block; font-size: 38px; font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.metric span { color: var(--ink-3); font-size: 14.5px; }

/* ---------- 27. 动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 28. 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--on-dark-1); display: grid; place-items: center; box-shadow: var(--sh);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 45; font-size: 18px;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); }

/* ---------- 28.5 本地客服浮窗（第三方客服不生效时的兜底） ---------- */
.local-chat {
  position: fixed; right: 26px; bottom: 84px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transition: opacity .25s, transform .25s;
}
/* auto 模式：检测到第三方客服已挂载时由 main.js 加上 .hidden */
.local-chat.hidden { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }

.lc-toggle {
  position: relative; display: flex; align-items: center; gap: 7px;
  height: 48px; padding: 0 18px 0 15px; border: 0; border-radius: 24px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  color: var(--on-dark-1); font-size: 14px; font-weight: 600; font-family: inherit;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), .34);
  transition: transform .2s, box-shadow .2s;
}
.lc-toggle:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--primary-rgb), .42); }
.lc-toggle-ic { display: flex; }
.lc-label { white-space: nowrap; }

/* 呼吸光圈，提示"这里可以点" */
.lc-toggle::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .45); animation: lcPulse 2.6s infinite;
}
@keyframes lcPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), .40); }
  70% { box-shadow: 0 0 0 14px rgba(var(--primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

.lc-panel {
  width: 268px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: bottom right;
  transition: opacity .22s, transform .22s, visibility .22s;
}
.local-chat.open .lc-panel { opacity: 1; visibility: visible; transform: none; }

.lc-head { padding: 16px 18px 14px; background: linear-gradient(135deg, var(--primary-hover), var(--primary)); color: var(--on-dark-1); }
.lc-head h4 { margin: 0 0 5px; font-size: 15px; font-weight: 700; color: var(--on-dark-1); }
.lc-head p { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .9; }

.lc-list { padding: 8px; }
.lc-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 11px;
  border-radius: 11px; text-decoration: none; color: var(--ink); transition: background .18s;
}
a.lc-item:hover { background: var(--primary-soft); }
.lc-ic {
  flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.lc-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-tx b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.lc-tx span { font-size: 12px; color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lc-qr { padding: 4px 18px 18px; text-align: center; }
.lc-qr img {
  width: 150px; height: 150px; object-fit: contain; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg);
}
.lc-qr p { margin: 9px 0 0; font-size: 12px; color: var(--ink-4); }

/* ---------- 29. 响应式 ---------- */

/* 导航收起阈值：
   完整展开需要 1098px 内容宽（logo 102 + 菜单 768 + 按钮 196 + 间距 32），
   容器 = min(1200, 视口) − 48，故视口窄于约 1146px 就装不下。
   提前到 1160px 收起为汉堡菜单，避免中文导航被压成两行或横向溢出。 */
@media (max-width: 1160px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg);
    padding: 14px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--sh);
  }
  .nav.open .nav-menu > li > a,
  .nav.open .nav-menu > li > .nav-parent { padding: 13px 14px; font-size: 16px; }
  /* 触屏环境不要靠悬停展开，统一改成点击手风琴 */
  .nav-menu > li.has-drop:hover .nav-drop,
  .nav-menu > li.has-drop:focus-within .nav-drop {
    opacity: 0; visibility: hidden; pointer-events: none; transform: none;
  }
  .nav.open .nav-parent { width: 100%; justify-content: space-between; }
  .nav.open .nav-drop {
    position: static; top: auto; left: auto; min-width: 0; margin: 0 0 4px;
    display: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    padding: 2px 0 4px 12px; background: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; box-shadow: none;
  }
  .nav.open .nav-drop::before { display: none; }
  .nav.open .nav-menu > li.has-drop.open .nav-drop { display: flex; }
  .nav.open .nav-drop > li > a { padding: 11px 14px; font-size: 15px; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .logo-wall.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  /* 导航收起规则已上移到 1160px 断点（见上），此处只留按钮精简 */
  .nav-cta .btn-ghost { display: none; }

  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero p.lead { max-width: none; }
  .mock-float.f2 { left: -8px; }
  .mock-float.f1 { right: -8px; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  /* 图文交替：小屏一律「文字在上、配图在下」，取消左右交替 */
  .alt-row { grid-template-columns: 1fr; gap: 28px; }
  .alt-row.reverse > .alt-copy { order: 1; }
  .alt-row.reverse > .alt-media { order: 2; }
  .alt-band { padding: 32px 0; }
  .alt-title { font-size: 21px; }
  .alt-facts { margin-top: 28px; padding: 12px; }
  .alt-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta { padding: 48px 26px; }

  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .logo-wall, .logo-wall.cols-3, .logo-wall.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .card.pad-l { padding: 30px; }
  .mb-block { margin-bottom: 56px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats, .stats.cols-2, .stats.cols-3 { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .logo-wall, .logo-wall.cols-3, .logo-wall.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .mock-kpis, .mock-kpis.two { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-body:not(.solo) .mock-side { display: none; }
  .alt-facts-grid { grid-template-columns: 1fr; }
  .alt-fact { padding: 12px 14px; }
  .topbar { font-size: 12.5px; }
  .form-card { padding: 26px 22px; }
  .card { padding: 24px; }
  .cta { padding: 40px 20px; }
  /* 小屏收起文字，只留圆形图标，避免遮挡内容 */
  .local-chat { right: 16px; bottom: 76px; }
  .lc-toggle { width: 48px; height: 48px; padding: 0; border-radius: 50%; justify-content: center; }
  .lc-label { display: none; }
  .lc-panel { width: min(272px, calc(100vw - 32px)); }
}

/* ==========================================================================
   新闻中心（列表 /news + 详情 /news/<slug>）
   ---------------------------------------------------------------------------
   封面自适应策略：
   · 列表卡片 —— 固定 16:9 容器 + object-fit:cover，上传竖图/横图/方图都只做
     等比裁切、永不拉伸变形；
   · 详情大图 —— width:100% + height:auto，保留原图比例完整展示。
   ========================================================================== */

/* ---------- 分类筛选 ---------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 100px;
  font-size: 14.5px; color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid transparent; transition: .25s;
}
.chip:hover { color: var(--primary); background: var(--primary-soft); }
.chip.on { background: var(--grad); color: var(--on-dark-1); box-shadow: 0 6px 18px rgba(var(--primary-rgb), .28); }

/* ---------- 卡片网格 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.news-card {
  display: flex; flex-direction: column; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--primary-soft); }
.news-card h3 {
  font-size: 18px; line-height: 1.5; margin: 0 0 10px; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 封面：固定比例容器 + cover 裁切 → 任意尺寸图片都不变形 */
.news-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-cover-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-5); background: linear-gradient(135deg, var(--bg-soft), var(--bg-subtle));
}
.news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-cat {
  align-self: flex-start; font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
  color: var(--primary); background: var(--primary-soft); padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.news-body p {
  font-size: 14.5px; color: var(--ink-3); line-height: 1.75; margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-4); }
.news-meta i { font-style: normal; color: var(--ink-5); }
.news-empty { padding: 80px 0; text-align: center; color: var(--ink-4); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 54px; }
.pg {
  min-width: 42px; height: 42px; padding: 0 15px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 14.5px; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line); transition: .22s;
}
.pg:hover { color: var(--primary); border-color: var(--primary); }
.pg.on { background: var(--grad); color: var(--on-dark-1); border-color: transparent; }
.pg.disabled { color: var(--ink-5); background: var(--bg-soft); border-color: transparent; pointer-events: none; }
.pg.gap { border: 0; background: transparent; pointer-events: none; }

/* ---------- 详情页 ---------- */
.news-hero { padding: 56px 0 8px; }
.news-back { display: inline-block; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; transition: .2s; }
.news-back:hover { color: var(--primary); }
.news-hero h1 { font-size: clamp(25px, 3.1vw, 38px); line-height: 1.35; margin: 0 0 18px; }
.news-detail { padding: 30px 0 0; }
.news-cover-lg { margin: 0 0 34px; border-radius: var(--radius-l); overflow: hidden; background: var(--bg-soft); }
.news-cover-lg img { display: block; width: 100%; height: auto; }

.article { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.article p { margin: 0 0 20px; }
.article h3 { font-size: 20px; color: var(--ink); margin: 34px 0 14px; }
.article h3:first-child { margin-top: 0; }
.art-list { margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.art-list li { position: relative; padding-left: 22px; }
.art-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.art-empty { color: var(--ink-4); }

.news-jump { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 46px; }
.news-jump a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: .25s; }
.news-jump a:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--sh); }
.news-jump a span { display: block; font-size: 12.5px; color: var(--ink-4); margin-bottom: 6px; }
.news-jump a b {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.news-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 38px 44px; border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--bg-tint), var(--bg-subtle)); border: 1px solid var(--line);
}
.news-cta h3 { font-size: 22px; margin: 0 0 8px; }
.news-cta p { margin: 0; color: var(--ink-3); font-size: 15px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .news-jump { grid-template-columns: 1fr; }
  .news-cta { padding: 30px 26px; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-hero { padding-top: 34px; }
}

/* ==========================================================================
   大图展示（gallery 区块）
   图片空间：宽度撑满容器、高度按原图比例自动 —— 任何尺寸 / 比例都不变形、不裁切
   ========================================================================== */
.shot-list { display: grid; gap: 26px; align-items: start; }
.shot-list.layout-stack { grid-template-columns: 1fr; }
.shot-list.layout-2 { grid-template-columns: repeat(2, 1fr); }
.shot-list.layout-3 { grid-template-columns: repeat(3, 1fr); }

.shot-item {
  display: block; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--sh-s);
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
a.shot-item:hover {
  box-shadow: var(--sh); transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
}

/* 关键：height:auto —— 按原图比例缩放，绝不拉伸变形 */
.shot-img { display: block; width: 100%; height: auto; background: var(--bg-subtle); }

.shot-ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9; color: var(--ink-4); font-size: 14px;
  background: repeating-linear-gradient(45deg, var(--bg-subtle) 0 12px, #fff 12px 24px);
}

.shot-cap {
  padding: 16px 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2);
  border-top: 1px solid var(--line-2);
}

@media (max-width: 900px) {
  .shot-list.layout-3 { grid-template-columns: repeat(2, 1fr); }
  .shot-list.layout-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shot-list { gap: 18px; }
  .shot-list.layout-2, .shot-list.layout-3 { grid-template-columns: 1fr; }
  .shot-cap { padding: 13px 16px; font-size: 14px; }
}
