/* ==========================================================================
   中民能源科技（滕州）有限公司 · 企业官网
   品牌色取自 LOGO 官方文件：主蓝 #195A99 / 青绿 #08AC9D
   ========================================================================== */

:root {
  /* 品牌色（LOGO 实测采样） */
  --blue: #195A99;
  --blue-d: #12456F;
  --blue-l: #2E7BC4;
  --teal: #08AC9D;
  --teal-d: #068C80;
  --teal-l: #35C9BB;

  /* 中性色 */
  --ink: #2B3A47;
  --ink-m: #56646F;
  --ink-l: #8492A0;
  --line: #E3E9EF;
  --line-s: #CBD6E0;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FC;
  --bg-card: #F2F7FB;

  --grad-brand: linear-gradient(120deg, #195A99 0%, #1E6FB0 45%, #08AC9D 100%);
  --grad-brand-s: linear-gradient(120deg, #195A99 0%, #08AC9D 100%);
  --grad-soft: linear-gradient(120deg, #F2F7FB 0%, #EDF7F6 100%);

  --shadow-s: 0 2px 10px rgba(25,90,153,.06);
  --shadow-m: 0 8px 26px rgba(25,90,153,.10);
  --shadow-l: 0 18px 48px rgba(25,90,153,.16);

  --maxw: 1200px;
  --radius: 14px;
  --radius-s: 9px;

  /* 缓动曲线：统一出/入，避免各元素"各走各的" */
  --ease: cubic-bezier(.22,.61,.36,1);        /* 屏幕缓出，通用 */
  --ease-in: cubic-bezier(.4,0,.7,.2);        /* 离场 */
  --ease-out: cubic-bezier(.16,.84,.44,1);    /* 入场，比默认更干脆 */

  /* 动效时长阶梯：把 35 处零散时长收拢成 4 档 */
  --t-fast: .18s;    /* 颜色、图标等微交互 */
  --t-base: .28s;    /* 悬停、按钮 */
  --t-slow: .42s;    /* 卡片位移、面板开合 */
  --t-enter: .68s;   /* 滚动进场 */
}

* { box-sizing: border-box; }

/* 去掉锚点跳转时的整页平滑滚动：它会让"点一下卡半天在跑"，
   页内锚点改由 JS 用带缓动的滚动处理 */
html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================ 页面转场 ============================ */
/* 一、跨文档视图过渡（Chrome/Edge 126+）
   浏览器在跳转时保留旧页面的"快照"并交叉淡化到新页面 —— 加载期间不会出现白屏，
   这是整页跳转最顺的做法。两页都要声明 @view-transition，四页共用本文件。
   不支持的浏览器自动走下面第二套的手写淡入淡出。 */
@view-transition { navigation: auto; }

/* 苹果式交叉溶解：旧页轻微上移淡出、新页自下而上淡入归位。
   曲线取 cubic-bezier(.32,.72,0,1)（Apple 常用缓出），时长 0.42/0.52s，顺而不拖。 */
@keyframes vtFadeIn  { from { opacity: 0; transform: translateY(16px) scale(1.004); } }
@keyframes vtFadeOut { to   { opacity: 0; transform: translateY(-12px) scale(.997); } }

::view-transition-old(root) { animation: vtFadeOut .42s cubic-bezier(.32,.72,0,1) both; }
::view-transition-new(root) { animation: vtFadeIn  .52s cubic-bezier(.32,.72,0,1) both; }

/* 四页的页头完全相同：单独摘出来固定住，不参与交叉淡化，
   否则切换时会出现"双层页头互相渗透"的糊影。 */
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header) { display: none; }
::view-transition-new(site-header) { animation: none; }

/* 尊重「减少动态效果」：直接关闭视图转场动画，避免眩晕 */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* 二、降级方案（不支持视图过渡时）
   只做透明度淡入 —— 原先还带 translateY(10px)，而 body 上有 transform 会让
   position:fixed/sticky 的包含块变成 body，动画期间页头与进度条会跟着抖。 */
.page-enter { animation: pageIn .42s var(--ease-out) both; }
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* 离页：整页淡出，避免"啪"地白屏（仅旧浏览器 / file:// 降级方案使用） */
body.page-exit { opacity: 0; transition: opacity .3s var(--ease-in); }

/* 滚动条：与品牌色统一，视觉上更整 */
* { scrollbar-width: thin; scrollbar-color: #C3D2DF transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: #C3D2DF; border-radius: 99px;
  border: 3px solid #fff; background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: #A9BCCD; background-clip: padding-box; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal); }

/* 键盘可见焦点：只对键盘用户显示，不干扰鼠标操作 */
:focus-visible {
  outline: 2px solid var(--blue-l); outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============================ 顶部导航 ============================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 24px rgba(25,90,153,.08);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; transition: transform var(--t-base) var(--ease); }
.brand:hover img { transform: scale(1.03); }

/* 导航下划线：用宽度过渡代替"整块背景跳变"，切换更顺 */
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a {
  display: block; padding: 10px 20px; font-size: 15px; color: var(--ink);
  border-radius: 99px; position: relative; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}
/* 悬停/选中的下划线，从中间展开 */
.nav-links > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-brand-s);
  transform: translateX(-50%);
  transition: width var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
  opacity: 0;
}
.nav-links > li > a:hover {
  color: var(--blue); background: var(--bg-card);
}
.nav-links > li > a:hover::after { width: 18px; opacity: .55; }
.nav-links > li > a.active {
  color: #fff; background: var(--grad-brand); font-weight: 600;
  box-shadow: 0 4px 14px rgba(25,90,153,.26);
}
.nav-links > li > a.active::after { opacity: 0; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--blue);
}

/* ============================ 首屏 ============================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-brand);
  color: #fff;
  padding: 104px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(8,172,157,.42) 0%, transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,.14) 0%, transparent 42%);
  pointer-events: none;
}
/* 网格纹理 */
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  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: 62px 62px;
  mask-image: radial-gradient(ellipse 82% 68% at 50% 42%, #000 32%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 68% at 50% 42%, #000 32%, transparent 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 2.2px; font-family: inherit;
  color: rgba(255,255,255,.8); margin-bottom: 26px;
  padding: 7px 18px; border-radius: 99px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #57E3D4;
  box-shadow: 0 0 0 0 rgba(87,227,212,.7);
  animation: pulseDot 2.4s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(87,227,212,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(87,227,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(87,227,212,0); }
}

.hero h1 {
  margin: 0 0 26px; font-size: 46px; line-height: 1.38;
  font-weight: 700; letter-spacing: 1.5px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #7EE9DC 0%, #A9F0E7 55%, #FFFFFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  margin: 0 0 42px; font-size: 17px; line-height: 2;
  color: rgba(255,255,255,.88); max-width: 700px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 36px; font-size: 15px; font-weight: 600;
  border-radius: 99px; border: 1.5px solid transparent;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); cursor: pointer; font-family: inherit;
  position: relative; overflow: hidden;
}
.btn svg { transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: #fff; color: var(--blue-d); box-shadow: 0 8px 26px rgba(0,0,0,.16); }
.btn-primary:hover { color: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.13); color: #fff; transform: translateY(-2px); }
.btn-solid { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px rgba(25,90,153,.26); }
.btn-solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 13px 34px rgba(25,90,153,.36); }
.btn-outline { border-color: var(--line-s); color: var(--blue); background: #fff; }
.btn-outline:hover { border-color: var(--blue); background: var(--bg-card); color: var(--blue); }

/* 首屏浮动 LOGO 图形 */
.hero-mark {
  position: absolute; right: 4%; top: 50%; z-index: 2;
  width: 380px; max-width: 34vw; opacity: .17;
  transform: translateY(-50%);
  animation: floatMark 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatMark {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(-46%) rotate(5deg); }
}

/* 首屏底部数据条 */
.hero-stats {
  position: relative; z-index: 3; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 36px;
}
.hero-stat strong {
  display: block; font-size: 34px; font-family: Arial, sans-serif;
  font-weight: 700; line-height: 1.2; letter-spacing: .5px;
  background: linear-gradient(100deg, #FFFFFF 0%, #A9F0E7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat span { font-size: 13.5px; color: rgba(255,255,255,.72); }

/* ============================ 通用区块 ============================ */
.section { padding: 76px 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 3.4px;
  color: var(--teal); font-family: Arial, sans-serif; font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0 0 18px; font-size: 33px; font-weight: 700;
  color: var(--blue-d); letter-spacing: .5px; line-height: 1.45;
}
.section-head p { margin: 0; font-size: 16px; color: var(--ink-m); line-height: 2; }
.section-head h2 .hl { position: relative; display: inline-block; }
.section-head h2 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 9px;
  background: linear-gradient(90deg, rgba(8,172,157,.28), rgba(25,90,153,.16));
  border-radius: 4px; z-index: -1;
}

/* ============================ 滚动进场动画 ============================ */
/* 渐进增强：默认完全可见；只有 JS 确认"IO 可用且元素在视口下方"后
   才加 .reveal-init 把它藏起来。因此任何 JS 异常或整页截图/打印场景下，
   内容都不会因为动画没触发而消失。 */
.reveal-init {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out);
}
.reveal-init.in { opacity: 1; transform: none; }
/* 过渡结束后清掉 will-change，避免长页面上几十个合成层常驻吃内存 */
.reveal-init { will-change: opacity, transform; }
.reveal-init.in { will-change: auto; }

/* 延迟阶梯 70ms 一档：原来 100ms 一档，三档就隔 300ms，显得拖 */
.reveal-d1 { transition-delay: .07s; }
.reveal-d2 { transition-delay: .14s; }
.reveal-d3 { transition-delay: .21s; }
.reveal-d4 { transition-delay: .28s; }
.reveal-d5 { transition-delay: .35s; }

/* 首屏逐行上浮 */
.anim-up {
  opacity: 0; transform: translateY(22px);
  animation: animUp .8s var(--ease-out) forwards;
}
@keyframes animUp { to { opacity: 1; transform: none; } }
.a1 { animation-delay: .06s; }
.a2 { animation-delay: .16s; }
.a3 { animation-delay: .26s; }
.a4 { animation-delay: .36s; }
.a5 { animation-delay: .46s; }

/* ============================ 卡片 ============================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* 5 项业务排成 3+2 时，第二行两张居中（与业务版图图一致）。
   做法：网格改成 6 列、每张卡跨 2 列 → 首行 3 张；第二行两张分别落在
   第 2–3 列与第 4–5 列，视觉居中。卡片实宽与 3 列网格完全一致。 */
.grid-3.grid-5 { grid-template-columns: repeat(6, 1fr); }
.grid-3.grid-5 > * { grid-column: span 2; }
.grid-3.grid-5 > *:nth-child(4) { grid-column: 2 / 4; }
.grid-3.grid-5 > *:nth-child(5) { grid-column: 4 / 6; }
@media (max-width: 1040px) {
  .grid-3.grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3.grid-5 > *,
  .grid-3.grid-5 > *:nth-child(4),
  .grid-3.grid-5 > *:nth-child(5) { grid-column: auto; }
}

.card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  /* 只过渡 transform / box-shadow：原先连 border-color 一起过渡，
     hover 时边框与阴影不同步，边缘会闪一下 */
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
  will-change: transform;
}
/* 顶部渐变条：悬停展开 */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.card:hover::before { transform: scaleX(1); }
/* 右下角光晕 */
.card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,172,159,.13) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
  border-color: transparent;
}
.card .num {
  display: inline-block; font-family: Arial, sans-serif; font-size: 12.5px;
  font-weight: 700; letter-spacing: 1.4px; color: var(--teal);
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 14px; font-size: 19px; font-weight: 700;
  color: var(--blue-d); line-height: 1.5;
}
.card p { margin: 0; font-size: 14.5px; color: var(--ink-m); line-height: 1.92; }
.card ul { margin: 16px 0 0; padding-left: 0; list-style: none; }
.card li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; color: var(--ink-m); line-height: 1.9; margin-bottom: 7px;
}
.card li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand-s);
}

/* 图标卡片（服务） */
.card-ico {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--bg-card); color: var(--blue);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.card:hover .card-ico { background: var(--grad-brand); color: #fff; transform: scale(1.06) rotate(-4deg); }

/* 悬浮卡片（服务页） */
.card-flat { background: var(--bg-card); border-color: transparent; }

/* 服务详情页 · 左侧要点卡（带左侧渐变描边） */
.card-side {
  background: var(--bg-card);
  border-color: transparent;
  border-left: 3px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)),
                    var(--grad-brand-s);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.card-side .num { letter-spacing: 1.6px; }
.card-side ul { margin-top: 4px; }

/* 卡片内文字链接 */
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--blue);
}
.card-link svg { transition: transform var(--t-base) var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* 服务编号标签 */
.svc-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: Arial, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2.6px; color: var(--ink-l);
  margin-bottom: 16px;
}
.svc-tag em {
  font-style: normal; font-family: Arial, sans-serif;
  display: grid; place-items: center;
  min-width: 34px; height: 26px; padding: 0 8px;
  border-radius: 7px; background: var(--grad-brand); color: #fff;
  font-size: 13px; letter-spacing: .5px;
}
.svc-title {
  margin: 0 0 24px; font-size: 27px; font-weight: 700;
  color: var(--blue-d); line-height: 1.5; letter-spacing: .3px;
}

/* ============================ 行业痛点卡 ============================ */
.pain-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px 30px;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.pain-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #E0A25C 0%, #D08A3C 100%);
  transition: width .4s var(--ease);
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: transparent; }
.pain-card:hover::before { width: 4px; }
.pain-no {
  display: inline-block; font-family: Arial, sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: 1.8px; color: #B87B34;
  background: #FDF6EC; border-radius: 5px; padding: 3px 10px;
  margin-bottom: 14px;
}
.pain-card h3 {
  margin: 0 0 13px; font-size: 19px; font-weight: 700;
  color: var(--blue-d); line-height: 1.55;
}
.pain-card > p { margin: 0; font-size: 14.5px; color: var(--ink-m); line-height: 1.95; }
.pain-sol {
  margin-top: 20px; padding: 16px 18px;
  background: var(--bg-card); border-radius: var(--radius-s);
}
.pain-sol-tag {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  color: var(--teal-d); margin-bottom: 7px;
}
.pain-sol p { margin: 0; font-size: 14px; color: var(--blue-d); line-height: 1.9; }

/* 横跨两列的问题卡：左右分栏 */
.pain-wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px;
  align-items: center;
}
.pain-wide .pain-no { margin-bottom: 14px; }
.pain-sol-side { margin-top: 0; }

/* 痛点小结 */
.brand-note {
  display: flex; align-items: center; gap: 22px;
  margin-top: 38px; padding: 28px 34px;
  background: var(--grad-soft); border-radius: var(--radius);
}
.brand-note img { width: 44px; height: auto; flex: none; }
.brand-note p { margin: 0; font-size: 15px; color: var(--blue-d); line-height: 1.95; }
.brand-note strong { font-weight: 700; }

/* 服务详情页的「解决什么问题」提示条 */
.pain-link {
  margin: 0 0 24px; padding: 15px 20px;
  background: #FDF6EC; border-left: 3px solid #D9A93C;
  border-radius: var(--radius-s);
  font-size: 14.5px; color: #7A5C0A; line-height: 1.9;
}
.pain-link strong { color: #664C06; font-weight: 700; }

/* ============================ 特色优势卡 ============================ */
.adv-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px 30px;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.adv-card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25,90,153,.09) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.adv-card:hover::after { opacity: 1; }
.adv-no {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad-brand); color: #fff;
  font-family: Arial, sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.adv-card:hover .adv-no { transform: scale(1.08) rotate(-5deg); }
.adv-card h3 {
  margin: 0 0 13px; font-size: 17.5px; font-weight: 700;
  color: var(--blue-d); line-height: 1.6;
}
.adv-card p { margin: 0; font-size: 14.5px; color: var(--ink-m); line-height: 1.95; }

/* ============================ 业务版图 ============================ */
.map-figure {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-s);
}
.map-figure img { transition: transform .55s var(--ease-out); }
.map-figure:hover img { transform: scale(1.015); }
.map-figure figcaption {
  margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-l);
}

/* ============================ 理念条目 ============================ */
.value-item {
  position: relative; padding: 26px 0 26px 62px;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t-base) var(--ease);
}
.value-item:hover { padding-left: 70px; }
.value-item:last-child { border-bottom: 0; }
.value-item .vnum {
  position: absolute; left: 0; top: 26px;
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-card); color: var(--blue);
  font-family: Arial, sans-serif; font-weight: 700; font-size: 14px;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.value-item:hover .vnum { background: var(--grad-brand); color: #fff; }
.value-item h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--blue-d); }
.value-item p { margin: 0; font-size: 14.5px; color: var(--ink-m); line-height: 1.92; }

/* ============================ 页内排版 ============================ */
.prose p { margin: 0 0 17px; font-size: 16px; line-height: 1.98; }
.prose p:last-child { margin-bottom: 0; }

/* ---- 长文折叠：业务详情默认收起到前 2 段，避免单页拉长到几千像素 ----
   用 max-height 过渡而不是 display，保证动画连续、不影响 SEO 抓取。 */
.prose-fold {
  position: relative;
  max-height: var(--fold-h, 260px);
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}
.prose-fold::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%);
  pointer-events: none;
  opacity: 1; transition: opacity var(--t-base) var(--ease);
}
/* 交替底色区块上的渐变要跟着底色走，否则出现一道白边 */
.section.alt .prose-fold::after {
  background: linear-gradient(180deg, rgba(246,249,252,0), var(--bg-alt) 85%);
}
.prose-fold.is-open { max-height: 4000px; }
.prose-fold.is-open::after { opacity: 0; }

.fold-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 9px 20px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--blue); background: #fff;
  border: 1.5px solid var(--line-s); border-radius: 99px;
  cursor: pointer;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.fold-btn:hover { border-color: var(--blue); background: var(--bg-card); }
.fold-btn svg { transition: transform var(--t-base) var(--ease); }
.fold-btn.is-open svg { transform: rotate(180deg); }

/* ============================ 业务区块吸顶小导航 ============================ */
/* 读到第 5 个业务时，前面看过什么已经忘光了，给一条常驻的进程提示。
   它只在滚过上方"业务导航卡区"之后才出现，避免与卡区功能重复、显得堆砌。 */
.svc-sticky {
  position: sticky; top: 84px; z-index: 120;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  /* 默认收成 0 高，滚过卡区后展开 */
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease),
              opacity var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.svc-sticky.is-stuck {
  max-height: 56px; opacity: 1;
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(25,90,153,.07);
}
.svc-sticky .wrap {
  display: flex; align-items: center; gap: 6px;
  height: 52px; overflow-x: auto; scrollbar-width: none;
}
.svc-sticky .wrap::-webkit-scrollbar { display: none; }
.svc-sticky a {
  flex: none; position: relative;
  padding: 6px 13px; border-radius: 99px;
  font-size: 13.5px; color: var(--ink-m); white-space: nowrap;
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.svc-sticky a:hover { color: var(--blue); background: var(--bg-card); }
.svc-sticky a.is-current {
  color: #fff; background: var(--grad-brand); font-weight: 600;
}
.svc-sticky a.is-current:hover { color: #fff; }

/* ============================ 页面横幅 ============================ */
/* 高度从 72/64 收到 60/52：原来太占屏，进内页要滚一下才见到正文 */
.page-banner {
  position: relative; overflow: hidden;
  background: var(--grad-brand); color: #fff;
  padding: 60px 0 52px;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  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: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 100% at 78% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 78% 50%, #000 20%, transparent 100%);
}
.page-banner .wrap { position: relative; z-index: 2; }
.crumb {
  font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 14px;
  font-family: Arial, sans-serif; letter-spacing: .6px;
}
.crumb a { color: rgba(255,255,255,.85); }
.crumb a:hover { color: #fff; }
.page-banner h1 { margin: 0 0 12px; font-size: 34px; font-weight: 700; letter-spacing: 1.2px; }
.page-banner p { margin: 0; font-size: 15.5px; color: rgba(255,255,255,.82); max-width: 760px; line-height: 1.9; }

/* ============================ 服务导航（跳转卡） ============================ */
.jump-card {
  display: block; position: relative; overflow: hidden;
  padding: 30px 30px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
  will-change: transform;
}
.jump-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}
.jump-card:hover::before { transform: scaleX(1); }
.jump-card:hover {
  border-color: transparent; box-shadow: var(--shadow-m);
  transform: translateY(-4px);
}
.jump-no {
  display: block; font-family: Arial, sans-serif; font-size: 30px;
  font-weight: 700; letter-spacing: .5px; line-height: 1;
  background: var(--grad-brand-s);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px; opacity: .85;
}
.jump-card h3 {
  margin: 0 0 10px; font-size: 16.5px; font-weight: 700;
  color: var(--blue-d); line-height: 1.55;
}
.jump-card p {
  margin: 0; font-size: 13.5px; color: var(--ink-m); line-height: 1.85;
  padding-right: 40px;
}
.jump-arrow {
  position: absolute; right: 28px; bottom: 28px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-card); color: var(--blue);
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.jump-card:hover .jump-arrow {
  background: var(--grad-brand); color: #fff; transform: translateX(4px);
}

/* 跳转卡当前所在区块：左侧渐变条常驻，让"我在第几项"一眼可见 */
.jump-card.is-current {
  border-color: transparent;
  box-shadow: var(--shadow-m);
  background: var(--grad-soft);
}
.jump-card.is-current::before { transform: scaleX(1); }
.jump-card.is-current .jump-no { opacity: 1; }
.jump-card.is-current .jump-arrow { background: var(--grad-brand); color: #fff; }

/* 业务区块之间：用一条渐隐细线分隔，
   六个区块连成一片时"糊在一起"，这条线给出呼吸感 */
.svc-divider {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
}
.svc-divider span {
  display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-s) 22%, var(--line-s) 78%, transparent);
}
/* 交替背景时，分隔线落在深底上要淡一点 */
.section.alt + .svc-divider span { opacity: .55; }

/* ============================ 流程时间轴 ============================ */
.flow { position: relative; padding-left: 0; }
.flow-line {
  position: absolute; left: 26px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%);
  opacity: .22; border-radius: 2px;
}
.flow-line-fill {
  position: absolute; left: 26px; top: 12px; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 2px; transition: height .3s linear;
}
.flow-item {
  position: relative; padding: 0 0 36px 74px;
}
.flow-item:last-child { padding-bottom: 0; }
.flow-dot {
  position: absolute; left: 13px; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-s);
  display: grid; place-items: center;
  font-family: Arial, sans-serif; font-size: 12px; font-weight: 700;
  color: var(--ink-l);
  transition: background var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease), color var(--t-slow) var(--ease);
}
.flow-item.in .flow-dot {
  background: var(--grad-brand); border-color: transparent; color: #fff;
  box-shadow: 0 5px 16px rgba(25,90,153,.3);
}
.flow-item h4 {
  margin: 4px 0 8px; font-size: 17px; font-weight: 700; color: var(--blue-d);
}
.flow-item p { margin: 0; font-size: 14.5px; color: var(--ink-m); line-height: 1.95; }

/* 两列流程（服务页六步） */
.flow-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.flow-lg .flow-line, .flow-lg .flow-line-fill { display: none; }
.flow-lg .flow-item {
  padding: 0 0 30px 62px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.flow-lg .flow-item:nth-last-child(-n+2) { border-bottom: 0; margin-bottom: 0; }
.flow-lg .flow-dot {
  left: 0; top: 2px; width: 44px; height: 44px;
  border-radius: 13px; font-size: 14px; letter-spacing: .5px;
}
.flow-lg .flow-item h4 { margin: 9px 0 9px; font-size: 17.5px; }

/* ============================ 数字统计 ============================ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: 44px 24px; text-align: center; position: relative;
  border-right: 1px solid var(--line);
  transition: background var(--t-base) var(--ease);
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--bg-card); }
.stat strong {
  display: block; font-size: 40px; font-family: Arial, sans-serif;
  font-weight: 700; line-height: 1.15; letter-spacing: .5px;
  background: var(--grad-brand-s);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-m); }

/* ============================ 常见问题 ============================ */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: inherit; font-size: 16.5px; font-weight: 600;
  color: var(--blue-d); text-align: left;
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--teal); }
.faq-q .ico {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-card); color: var(--blue);
  display: grid; place-items: center;
  transition: transform var(--t-slow) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.faq-item.open .faq-q .ico { background: var(--grad-brand); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t-base) var(--ease), padding var(--t-base) var(--ease);
  opacity: 0; padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 420px; opacity: 1; padding: 0 4px 26px; }
.faq-a p { margin: 0; font-size: 15px; color: var(--ink-m); line-height: 2; }

/* ============================ 联系页 ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; gap: 16px; padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:first-child { padding-top: 0; }
.info-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--bg-card); color: var(--blue);
  display: grid; place-items: center;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.info-list li:hover .info-ico { background: var(--grad-brand); color: #fff; transform: scale(1.06); }
.info-list dt { font-size: 13px; color: var(--ink-l); margin-bottom: 3px; }
.info-list dd { margin: 0; font-size: 16px; color: var(--ink); }

.form-row { margin-bottom: 19px; }
.form-row label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: 15px;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-s); border-radius: var(--radius-s);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(25,90,153,.09);
}
.form-row textarea { resize: vertical; min-height: 132px; }
.form-note {
  margin-top: 18px; font-size: 13px; color: var(--ink-m); line-height: 1.8;
  background: var(--bg-card); border-left: 3px solid var(--teal);
  padding: 13px 17px; border-radius: var(--radius-s);
}

.placeholder-note {
  background: #FFFBF0; border: 1px solid #F2E3BC;
  border-left: 3px solid #D9A93C;
  padding: 15px 19px; border-radius: var(--radius-s);
  font-size: 13.5px; color: #7A5C0A; line-height: 1.85; margin-top: 30px;
}
.placeholder-note strong { color: #664C06; }

/* 留言表单容器 */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 34px;
  box-shadow: var(--shadow-s);
}
.form-row .req { color: #C0392B; }

/* 地图占位框 */
.map-box {
  position: relative; overflow: hidden;
  min-height: 340px; border-radius: var(--radius-s);
  background:
    linear-gradient(rgba(25,90,153,.05) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(25,90,153,.05) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(circle at 62% 40%, rgba(8,172,157,.13) 0%, transparent 58%),
    var(--bg-alt);
  display: grid; place-items: center; text-align: center; padding: 40px;
}
.map-mark {
  width: 62px; height: auto; margin: 0 auto 18px;
  animation: floatMark 9s ease-in-out infinite;
}
@keyframes floatMarkSmall {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.map-mark { animation: floatMarkSmall 6s ease-in-out infinite; }
.map-title { font-size: 19px; font-weight: 700; color: var(--blue-d); margin-bottom: 8px; }
.map-sub { font-size: 13.5px; color: var(--ink-l); }

/* ============================ 页脚 ============================ */
.site-footer {
  position: relative; overflow: hidden;
  background: #0F2E4A; color: rgba(255,255,255,.7);
  padding: 66px 0 30px; font-size: 14px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(8,172,157,.16) 0%, transparent 42%),
    linear-gradient(180deg, rgba(25,90,153,.28) 0%, transparent 62%);
  pointer-events: none;
}
.site-footer .wrap { position: relative; z-index: 2; }
.footer-top {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 44px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; font-size: 13.5px; line-height: 1.98; color: rgba(255,255,255,.6); }
.footer-col h4 { margin: 0 0 18px; color: #fff; font-size: 14.5px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 13.5px; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-col a:hover { color: #57E3D4; padding-left: 4px; }
.footer-bottom {
  padding-top: 26px; display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.45);
}

/* ============================ 回到顶部 ============================ */
.to-top {
  position: fixed; right: 30px; bottom: 34px; z-index: 300;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(25,90,153,.34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 13px 32px rgba(25,90,153,.44); }

/* 阅读进度条 */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-brand-s); z-index: 400;
  transition: width .1s linear;
}

/* 注：原整屏加载遮罩已移除（每次切页白屏 260ms，是"不丝滑"的主因），
   改为 body.page-enter / body.page-exit 的连续淡入淡出，见文件开头。 */

/* ★ 进场过渡的优先级修正
   .card / .pain-card / .adv-card / .jump-card 各自声明了
   transition: transform + box-shadow（在 .reveal-init 之后），同优先级下后定义者胜，
   会把 .reveal-init 的 opacity 淡入整个挤掉 —— 表现为卡片"啪"地出现、只有位移在动。
   这里在所有组件规则之后再声明一次，确保进场时 opacity 与 transform 一起过渡。
   main.js 在元素进场后会移除 .reveal-init，届时组件自身的悬停过渡恢复生效。 */
.reveal-init {
  transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out);
}

/* ============================ 响应式 ============================ */
@media (max-width: 1040px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-mark { width: 300px; opacity: .13; }
  .flow-lg { gap: 0 40px; }
}
@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero-mark { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav { height: 68px; }
  .brand img { height: 32px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px; display: none;
    box-shadow: 0 14px 30px rgba(25,90,153,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 13px 10px; border-radius: var(--radius-s); }

  .hero { padding: 64px 0 58px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-stats { margin-top: 46px; padding-top: 28px; }
  .hero-stat strong { font-size: 27px; }
  .hero-stat span { font-size: 12.5px; }

  .section { padding: 62px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 24px; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-3.grid-5 { grid-template-columns: 1fr; }
  .contact-grid { gap: 42px; }
  .card { padding: 28px 24px; }
  .map-figure { padding: 20px; }
  .page-banner { padding: 52px 0 44px; }
  .page-banner h1 { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .flow-item { padding-left: 62px; }
  .flow-lg { grid-template-columns: 1fr; }
  .flow-lg .flow-item, .flow-lg .flow-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line); margin-bottom: 26px;
  }
  .flow-lg .flow-item:last-child { border-bottom: 0; margin-bottom: 0; }
  .flow-lg .flow-item { padding-left: 58px; }
  .flow-lg .flow-dot { width: 40px; height: 40px; border-radius: 11px; }
  .svc-title { font-size: 22px; margin-bottom: 18px; }
  .jump-card { padding: 26px 24px 24px; }
  .jump-card p { padding-right: 0; }
  .jump-arrow { position: static; margin-top: 18px; }
  .form-card { padding: 28px 22px; }
  .map-box { min-height: 250px; padding: 30px 20px; }
  .pain-card, .adv-card { padding: 28px 24px 24px; }
  .pain-wide { grid-template-columns: 1fr; gap: 0; }
  .pain-wide .pain-sol-side { margin-top: 20px; }
  .brand-note { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
  .to-top { right: 18px; bottom: 22px; }

  /* 吸顶业务导航：窄屏缩字号、跟随主导航高度 */
  .svc-sticky { top: 68px; }
  .svc-sticky .wrap { height: 46px; gap: 2px; }
  .svc-sticky a { padding: 5px 11px; font-size: 12.5px; }
  /* 长文折叠在窄屏上收起高度放宽，免得切在句子中间 */
  .prose-fold { --fold-h: 300px; }
}

/* 无障碍：尊重系统减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-init { opacity: 1; transform: none; transition: none; }
  .anim-up { opacity: 1; transform: none; }
  .page-enter { animation: none; opacity: 1; }
  body.page-exit { opacity: 1; transition: none; }
  /* 减弱动效时，折叠不再渐变，但功能必须保留 */
  .prose-fold { transition: none; }
}
