/* ==========================================================================
   Zaynor Technology — Homepage stylesheet
   Generated from MasterGo frame "Zaynor2" (1920 × 7365)
   Design tokens derived from the source file fills / typography.
   ========================================================================== */

/* --------------------------------------------------------------- tokens */
:root {
  /* brand */
  --red: #f1250f;
  --red-deep: #cb0202;
  --orange: #fc6839;
  --orange-soft: #f79778;

  /* ink & neutrals */
  --ink: #000000;
  --text: #333333;
  --text-mid: #3b3b3b;
  --text-muted: #666666;
  --text-dim: #3d3d3d;

  /* surfaces */
  --white: #ffffff;
  --soft: #f2f2f2;
  --cream: #f6f5f0;
  --line: #d8d8d8;
  --num: #e3e3e8;

  /* dark */
  --dark: #1c222d;
  --dark-2: #3a3e46;

  /* layout — 1920 design canvas, 1620 content, 150 side gutter */
  --page: 1920px;
  --gutter: 150px;

  /* type — 纯系统字体栈，不依赖任何外链 Web Font（见 index.html 注释）。
     若本机装了思源/Noto 则用之，否则回落到各平台默认界面字体。 */
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- layout */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec {
  position: relative;
}

/* eyebrow label — "01 / Product catalog" */
.eyebrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

/* section headline — 48 / 60 */
.h2 {
  font-size: clamp(26px, 2.5vw, 48px);
  overflow-wrap: break-word;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.h2--light {
  color: #fff;
}

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-h: 57px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--btn-h);
  padding: 0 18px 0 23px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(241, 37, 15, 0.55);
}

.btn:active {
  transform: translateY(0);
}

/* arrow chip on the right side of the button */
.btn__ic {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  margin-left: auto;
  border-radius: 8px;
  background: #fff;
  color: #2c2c2c;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn__ic {
  transform: rotate(45deg);
}

.btn__ic svg {
  width: 15px;
  height: 15px;
}

/* outlined variant (03 / Precision Capabilities) */
.btn--ghost {
  background: transparent;
  border: 1px solid var(--red);
}

.btn--ghost:hover {
  background: var(--red);
}

/* larger variant (05 / Tech Blog) */
.btn--lg {
  --btn-h: 68px;
  padding: 0 12px 0 15px;
  font-size: 22px;
  gap: 12px;
}

.btn--lg .btn__ic {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.btn--lg .btn__ic svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------- header */
/* 设计稿节点 23:0146「header」：整条 1920 宽、y9 起、高 78、左右留白 68。
   组内坐标（均相对 1784×78 的内容框）：
     nav   (0,30)   587×23  —— 6 项从 x0 排到 x587，两端对齐
     logo  (794,0)  196×78  —— 794+98 = 892 = 1784/2，水平居中
     mails (1307,31) 右对齐，墨迹止于 x1721（距右 63）
     quote (1674,25) 110×36 r4
   竖向：nav 中心 41.5、mails 41、quote 43，都比行中心 39 略低 2~4px，照抄。 */
.hdr {
  position: relative;
  z-index: 40;
  background: #fff;
  padding: 9px 68px 0;
}

.hdr__in {
  position: relative;
  height: 78px;
  max-width: 1784px;
  margin-inline: auto;
}

.hdr__nav {
  position: absolute;
  left: 0;
  top: 30px;
  /* 587 = 设计稿 nav 文本帧宽；窄屏时按「中缝让开 logo」收缩 */
  width: min(587px, calc(50% - 126px));
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hdr__nav a {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.hdr__nav a:hover {
  color: var(--red);
}

/* 当前页（服务端输出的 aria-current="page"）：红字 + 下划线常驻。
   下划线由紧随其后的 ::after 规则负责，这里只管颜色。 */
.hdr__nav a[aria-current="page"] {
  color: var(--red);
}

.hdr__nav a:hover::after,
.hdr__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 头部「Products」带下拉：桌面 hover/focus 展开；移动端在抽屉内常显（见 @media max-width:1024px） */
.hdr__has-drop {
  position: relative;
}

.hdr__caret {
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s var(--ease);
}

.hdr__has-drop:hover .hdr__caret,
.hdr__has-drop:focus-within .hdr__caret {
  transform: rotate(180deg);
}

.hdr__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 264px;
  /* 树形分类共 17 项（全部产品 + 3 一级 + 13 二级），常规桌面视口一屏放得下；
     仅在矮屏时才内部滚动，避免下拉被视口裁掉。 */
  max-height: min(86vh, 780px);
  overflow-y: auto;
  margin-top: 10px;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 60;
}

/* 透明桥接：从父链接移到下拉时 hover 不中断 */
.hdr__drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

/* 指向 Products 的小尖角：让展开层明确读作「从菜单弹出」，而非 banner 被内容截断 */
.hdr__drop::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 26px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
}

.hdr__has-drop:hover .hdr__drop,
.hdr__has-drop:focus-within .hdr__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hdr__nav .hdr__drop a {
  display: block;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: #2b2b2b;
}

.hdr__nav .hdr__drop a::after {
  content: none;
}

.hdr__nav .hdr__drop a:hover {
  background: #f6f6f6;
  color: var(--red);
}

.hdr__nav .hdr__drop a.on {
  color: var(--red);
}

/* 1.9.42 树形分类下拉：level0 = 一级（加粗、上方分隔），level1 = 二级（缩进、次要色）。
   写在移动端覆盖规则之前，抽屉模式下仍由 @media 还原成常显嵌套菜单。
   下拉只列 3 个一级分类，首个一级分类即容器首子元素（无顶部分隔线），
   后续分类之间用单条 border-top 分隔，避免出现双分隔线。 */
.hdr__nav .hdr__drop a.hdr__drop__item--lvl0 {
  font-weight: 600;
  color: #1d1d1f;
  padding-top: 12px;
  padding-bottom: 8px;
}

.hdr__nav .hdr__drop a.hdr__drop__item--lvl0:not(:first-child) {
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

.hdr__nav .hdr__drop a.hdr__drop__item--lvl1 {
  padding: 8px 20px 8px 38px;
  font-size: 13.5px;
  font-weight: 400;
  color: #6b6b6b;
  white-space: normal;
}

.hdr__nav .hdr__drop a.hdr__drop__item--lvl1::before {
  content: "–";
  display: inline-block;
  margin-right: 9px;
  color: #c9c9c9;
}

.hdr__nav .hdr__drop a.hdr__drop__item--lvl0.on,
.hdr__nav .hdr__drop a.hdr__drop__item--lvl1.on {
  color: var(--red);
  background: #fff5f5;
}

.hdr__logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: block;
  width: 196px;
  height: 78px;
}

.hdr__logo img {
  width: 100%;
  height: 100%;
}

/* 右侧：整块零宽锚在内容框右缘，子元素用 right 偏移定位 */
.hdr__aside {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 78px;
}

.hdr__mails {
  position: absolute;
  /* 设计稿 mail 文本帧 1307..1653（右缘距内容框右缘 131），按钮左缘 1674，间隔 21 */
  right: 131px;
  top: 31px;
  display: flex;
  gap: 38px;
  height: 20px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-dim);
  white-space: nowrap;
}

.hdr__mails a {
  color: inherit;
  transition: color 0.25s var(--ease);
}

.hdr__mails a:hover {
  color: var(--red);
}

.btn-quote {
  position: absolute;
  right: 0;
  top: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 36px;
  padding: 0;
  border-radius: 4px;
  background: var(--red);
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background 0.3s var(--ease);
}

.btn-quote:hover {
  background: var(--red-deep);
}

.hdr__burger {
  display: none;
}

/* ----------------------------------------------------------------- hero */
/* 两张 banner 轮播，每张都是 MasterGo 1920×900 舞台。
   全部坐标换算成「设计px / 1920」的 cqw，等比缩放；
   容器查询单位按 .hero 自身宽度解析，所以任何视口都保持设计稿构图。 */
.hero {
  position: relative;
  margin-top: 14px;
  aspect-ratio: 1920 / 900;
  overflow: hidden;
  background: #140500;
  container-type: inline-size;
  /* cqw = .hero 宽度的 1%：1920 设计稿下 1cqw = 19.2px */
}

.hero__track {
  position: absolute;
  inset: 0;
}

/* 交叉淡入：两张都是绝对定位的整块舞台，滑动会互相穿帮，淡入最稳 */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  /* 1.05s 交叉淡入：两张叠着换气，比原来 0.75s 明显更缓。
     这里刻意只用 opacity，不加 transform/animation —— 给 slide 建合成层
     会让内部半透明图层（产品图 opacity .92）在软件渲染下不绘制。 */
  transition: opacity 1.05s cubic-bezier(0.33, 0.05, 0.2, 1), visibility 1.05s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 窄屏下才需要压暗层（见下方 ≤1439 段）；桌面靠设计稿自带红色水洗 */
.hero__scrim {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 厨房实景：1920×1272，向上偏移 273（裁掉上下多余部分），整体 70% 不透明 */
.hero__photo {
  position: absolute;
  left: 0;
  top: -14.21875cqw;        /* -273 / 1920（cqw 按容器宽度解析，与设计稿坐标同构） */
  width: 100%;
  height: auto;             /* 1920:1272 自然比例 */
  opacity: 0.702;
  object-fit: cover;
}

/* 后台 la_flash 配了图时走这条：只当舞台的背景照片（铺满 + 70% 不透明），
   文案层照常由 HTML 渲染。切勿把带文字的成品 banner 整图放进后台，会重影。 */
.hero__photo--up {
  top: 0;
  height: 100%;
  object-position: 50% 50%;
}

/* 左侧红色水洗：#cb1f1f 50% 被亮度蒙版裁出的斜向渐隐，已烘焙进图片（726×900 @0,0） */
.hero__wash {
  position: absolute;
  left: 0;
  top: 0;
  width: 37.8125%;          /* 726 / 1920 */
  height: 100%;
  background: url(../img/hero-wash.webp) left top / 100% 100% no-repeat;
  pointer-events: none;
}

/* 模具：843×441 @ (867,220) */
.hero__molds {
  position: absolute;
  left: 45.15625%;          /* 867 / 1920 */
  top: 11.45833cqw;         /* 220 / 1920 */
  width: 43.90625%;         /* 843 / 1920 */
  height: auto;
}

/* 保鲜盒线稿（设计稿「图层 15」）：1015×667 @ (792,96)，图层不透明度 54.9%，
   垫在模具照片下面，作为「图纸感」装饰。纯装饰，不参与交互。 */
.hero__wire {
  position: absolute;
  left: 41.25%;             /* 792 / 1920 */
  top: 5cqw;                /* 96 / 1920 */
  width: 52.864583%;        /* 1015 / 1920 */
  height: auto;
  opacity: 0.549;
  pointer-events: none;
}

/* 文案组：@ (165,222)，框 663×426 */
.hero__copy {
  position: absolute;
  left: 8.59375%;           /* 165 / 1920 */
  top: 11.5625cqw;          /* 222 / 1920 */
  width: 34.53125%;         /* 663 / 1920 */
  color: #fff;
}

.hero__eyebrow {
  position: absolute;
  left: 0.33854cqw;         /* 6.5 / 1920 */
  top: -0.20833cqw;         /* -4 / 1920 */
  margin: 0;
  font-size: 1.5625cqw;     /* 30 */
  line-height: 1.875cqw;    /* 36 */
  font-weight: 400;
  white-space: nowrap;
}

.hero__title {
  position: absolute;
  left: 0.02604cqw;         /* 0.5 / 1920 */
  top: 3.64583cqw;          /* 70 / 1920 */
  margin: 0;
  font-size: 3.125cqw;      /* 60 */
  line-height: 3.64583cqw;  /* 70 */
  font-weight: 400;
  letter-spacing: 0;
}

.hero__desc {
  position: absolute;
  left: 0.34375cqw;         /* 6.6 / 1920 */
  top: 12cqw;               /* 230.4 / 1920 */
  width: 34cqw;             /* 652.8 / 1920 */
  margin: 0;
  font-size: 0.83333cqw;    /* 16 */
  line-height: 1.25cqw;     /* 24 */
}

/* Read More：190×57 @ (8,369)，红 #f1250f，圆角 14，右侧 36×36 白色箭头块 */
.hero__cta {
  position: absolute;
  left: 0.41667cqw;         /* 8 / 1920 */
  top: 19.21875cqw;         /* 369 / 1920 */
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 9.89583cqw;        /* 190 / 1920 */
  height: 2.96875cqw;       /* 57 / 1920 */
  padding: 0 0.52083cqw 0 1.30208cqw;  /* 10 / 25 */
  border-radius: 0.72917cqw;           /* 14 / 1920 */
  background: var(--red);
  color: #fff;
  font-size: 0.83333cqw;    /* 16 */
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(241, 37, 15, 0.55);
}

.hero__cta:active {
  transform: translateY(0);
}

.hero__cta-ic {
  display: grid;
  place-items: center;
  width: 1.875cqw;          /* 36 / 1920 */
  height: 1.875cqw;
  flex: none;
  border-radius: 0.41667cqw;/* 8 / 1920 */
  background: #fff;
  color: #2c2c2c;
  transition: transform 0.35s var(--ease);
}

.hero__cta:hover .hero__cta-ic {
  transform: rotate(45deg);
}

.hero__cta-ic svg {
  width: 0.78125cqw;        /* 15 / 1920 */
  height: 0.78125cqw;
}

/* ------------------------------------------------ slide 2 / banner4 ---- */
/* 底图已按可视区裁切并压黑烘焙（2688×1797 @-139,-611 op .80 → 1920×900） */
.hero2__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero2__wash {
  background-image: url(../img/hero2-wash.webp);   /* 与 slide1 同尺寸同蒙版，仅色值 #cf0202 */
}

/* 模具投影 631×605 @1109,92（层内只有底部一条可见，其余透明）
   那是给旧模具图画的「玻璃台面上的地面投影」，位置绑在旧图的 179..620 上。
   v2 图自带橙色底座和接触阴影，这层留在原地会露出两条生硬的灰方块，一并隐藏。
   要恢复把 display:none 换成 left/top/width 三条（值见下方注释）。 */
.hero2__shadow {
  display: none;
  /* left: 57.76042cqw;  top: 4.79167cqw;  width: 32.86458cqw; */
}

/* 模具本体 631×558（v2 图：定模+动模组件，含橙色底座与热流道接线）
   旧图是 631×441。新图高 117px，按原 top=179 摆会压到下面那层耗材图，
   改成垂直居中 (900-558)/2 = 171。宽度不动，保持 1:1 不放大，锐度不损失。 */
.hero2__mold {
  position: absolute;
  left: 57.76042cqw;        /* 1109 / 1920 */
  top: 8.90625cqw;          /* 171 / 1920 */
  width: 32.86458cqw;       /* 631 / 1920 */
  height: auto;
}

/* 医疗耗材 458×231 @1134,513
   旧版这里是「模具 179..620 + 耗材 513..744」的上下叠放：成品从模具里产出的意思。
   v2 模具图到 171..729，会把耗材图几乎完全盖住，只剩底边露出几根试管，
   叠出来是乱的。新图自身已是完整的产品展示，这一层叠加不再需要，隐藏掉。
   要恢复把 display:none 换成原来的 left/top/width 四条即可（值见下方注释）。 */
.hero2__med {
  display: none;
  /* left: 59.0625cqw;  top: 26.71875cqw;  width: 23.85417cqw; */
}

/* 文案组 813×426 @165,222 */
.hero2__copy {
  width: 42.34375cqw;       /* 813 / 1920 */
}

.hero2__copy .hero__eyebrow {
  left: 0.36458cqw;         /* 7 / 1920 */
}

.hero2__title {
  position: absolute;
  left: -0.05208cqw;        /* -1 / 1920 */
  top: 3.59375cqw;          /* 69 / 1920 */
  width: 41.35417cqw;       /* 794 / 1920 */
  margin: 0;
  font-size: 3.125cqw;      /* 60 */
  line-height: 3.64583cqw;  /* 70 */
  font-weight: 400;
}

.hero2__desc {
  position: absolute;
  left: 0.36458cqw;         /* 7 / 1920 */
  top: 11.97917cqw;         /* 230 / 1920 */
  width: 34.01042cqw;       /* 653 / 1920 */
  margin: 0;
  font-size: 0.83333cqw;    /* 16 */
  line-height: 1.25cqw;     /* 24 */
}

/* ------------------------------------------------ slide 3 / banner3 ---- */
/* 底图：深青 #1b3546 + 瓶胚产线照片 2092×1386 @(-172,-305) + 红色椭圆
   2219×1768 @(-1080,-800) op .62 —— 两者已烘焙成一张 1920×900 webp */
.hero3__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 瓶胚模具组 557×663 @(1195,128) */
.hero3__prod {
  position: absolute;
  left: 62.23958cqw;        /* 1195 / 1920 */
  top: 6.66667cqw;          /* 128 / 1920 */
  width: 29.01042cqw;       /* 557 / 1920 */
  height: auto;
}

/* 文案组 776×426 @(165,222) */
.hero3__copy {
  width: 40.41667cqw;       /* 776 / 1920 */
}

.hero3__title {
  position: absolute;
  left: 0;
  top: 3.54167cqw;          /* 68 / 1920 */
  width: 38.38542cqw;       /* 737 / 1920 */
  margin: 0;
  font-size: 3.125cqw;      /* 60 */
  line-height: 3.64583cqw;  /* 70 */
  font-weight: 400;
}

.hero3__desc {
  position: absolute;
  left: 0.36458cqw;         /* 7 / 1920 */
  top: 11.97917cqw;         /* 230 / 1920 */
  width: 34.01042cqw;       /* 653 / 1920 */
  margin: 0;
  font-size: 0.83333cqw;    /* 16 */
  line-height: 1.25cqw;     /* 24 */
}

/* ------------------------------------------------------- 轮播控件 ---- */
/* 底板（半透明胶囊 + 背景模糊）放在 ::before 里，不用元素本身承载。
   原因：元素自身一旦有 backdrop-filter 就成了 backdrop root，它里面的子元素
   每帧变动都要跟着重算背景模糊，还容易被图层缓存整层吃掉。macOS 上（Safari 与
   Edge/Chrome 都是）表现就是「圆点的过渡完全不播，直接跳到终点」，而同页的文字
   动画用的是 transform/opacity、走合成线程，所以照常有。模糊挪到伪元素后，
   圆点就不在 backdrop root 里了。 */
.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 3.4%;
  z-index: 3;
  display: flex;
  gap: 2px;
  padding: 4px 8px;
  transform: translateX(-50%);
}

.hero__dots::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.hero__dot {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* 圆点本体：固定 20×7 的胶囊，未激活时整体 scaleX(0.35) 缩回 7px 正圆。
   切换动画 = 圆点自身原地拉长成椭圆（再收回），不做左右平移。
   回弹曲线让它在中段略微超出目标宽度，读起来像「被抻开再弹回」。

   这里刻意只动 transform：width 属于布局属性，过渡期间每帧都要重排+重绘，
   在 macOS 的 Edge 上会掉帧/被跳过；transform 走合成线程，代价接近 0。

   形状用「椭圆圆角」把两端补回来，保证两个端点与原来的渲染逐像素一致：
     未激活 rx=10 → 乘 0.35 后正好 3.5，是正圆；
     激活   rx=3.5 → 半高圆角，是 20×7 的胶囊。 */
.hero__dot span {
  display: block;
  width: 20px;
  height: 7px;
  border-radius: 10px / 3.5px;
  background-color: rgba(255, 255, 255, 0.5);
  transform: scaleX(0.35);          /* 20 × 0.35 = 7px */
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 0.46s cubic-bezier(0.34, 1.34, 0.64, 1),
              border-radius 0.46s cubic-bezier(0.34, 1.34, 0.64, 1),
              background-color 0.35s var(--ease);
}

.hero__dot:hover span {
  background-color: rgba(255, 255, 255, 0.8);
}

/* 激活点：7px 圆点 → 20px 长条椭圆，高度不变，所以是「原地变长」不是「跳过去」 */
.hero__dot.is-active span {
  transform: none;
  border-radius: 3.5px;
  background-color: #fff;
}

/* 旧版「滑动胶囊」节点已废弃（形变改由圆点自己承担），残留节点直接隐藏 */
.hero__dots-pill {
  display: none;
}

.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 999px;
}

/* --------------------------------------------------- banner 入场动效 ---- */
/* 每次 slide 激活时重播：文案自下而上错峰浮现，产品图从右侧轻微滑入。
   只动 transform（不动 opacity），避免覆盖设计稿给图层定的半透明度。
   本站不按「减少动态效果」降级，任何系统设置下都会播（见文件中部说明）。 */
@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
  }
  55% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroArtIn {
  from {
    transform: translate3d(54px, 0, 0) scale(0.94);
  }
  to {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* 缓动统一用 cubic-bezier(0.16, 1, 0.3, 1)：起步快、收尾极慢地「落」到位，
   比原来的 ease-out 更软，不会在结尾突然停住。 */
.hero__slide.is-active .hero__copy > * {
  animation: heroCopyIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__slide.is-active .hero__copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero__slide.is-active .hero__copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero__slide.is-active .hero__copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero__slide.is-active .hero__copy > *:nth-child(4) { animation-delay: 0.46s; }

.hero__slide.is-active .hero__molds,
.hero__slide.is-active .hero2__mold,
.hero__slide.is-active .hero2__med,
.hero__slide.is-active .hero3__prod {
  animation: heroArtIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.18s;
}

.hero__slide.is-active .hero2__shadow {
  animation: heroArtIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ------------------------------------------------------ 01 / catalog */
.catalog {
  padding-top: 109px;
  padding-bottom: 97px;
}

.catalog__head {
  position: relative;
  padding-bottom: 80px;
}

.catalog__head .eyebrow {
  padding-left: 4px;
}

.catalog__head .h2 {
  max-width: 1127px;
  margin-top: 25px;
}

.catalog__head .btn {
  position: absolute;
  right: 0;
  top: 28px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 22px;
}

.cat {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 20px;
  min-height: 80px;
  padding: 12px 24px 12px 35px;
  border-radius: 10px;
  background: var(--soft);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.cat:hover {
  background: #ececec;
  transform: translateY(-2px);
}

.cat__ic {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  flex: none;
  color: var(--red);
}

.cat__name {
  min-width: 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

/* ---------------------------------------------------------- 02 / about */
/* 设计基准：1920 画布 / 1620 内容盒 / 662 高，组 23:791 "02 / ABOUT"
   所有尺寸写作 calc(N * var(--u))，--u = 1 设计像素，1920 宽时严格 1:1，
   窄屏按容器等比缩，避免"字号缩小但坐标不动"导致的错位。 */
.about-sec {
  background: var(--cream);
  padding: 78px 0 87px;
}

.about {
  container-type: inline-size;
  --u: 1px;
  --u: calc(100cqi / 1620);
  position: relative;
  aspect-ratio: 1620 / 662;
}

/* 左栏：eyebrow 在顶，图在 y=271 */
.about__left {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(327 * var(--u));
}

.about__left .eyebrow {
  margin: 0 0 calc(248 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: calc(23 * var(--u));
}

.about__pic {
  position: relative;
  width: calc(327 * var(--u));
  aspect-ratio: 1;
  border-radius: calc(10 * var(--u));
  overflow: hidden;
  background: #ececec;
}

/* 中栏：x=408 宽 797，正文只占 413 */
.about__mid {
  position: absolute;
  left: calc(408 * var(--u));
  top: 0;
  width: calc(797 * var(--u));
}

.about__mid .h2 {
  max-width: none;
  font-size: calc(48 * var(--u));
  line-height: calc(60 * var(--u));
  font-weight: 500;
  letter-spacing: 0;
}

.about__copy {
  max-width: calc(413 * var(--u));
  margin: calc(50 * var(--u)) 0 0 calc(7 * var(--u));
  font-size: calc(16 * var(--u));
  line-height: calc(30 * var(--u));
  color: var(--text-muted);
}

.about__list {
  margin: calc(21 * var(--u)) 0 0;
  padding-left: calc(30 * var(--u));
  list-style: none;
}

.about__list li {
  position: relative;
  font-size: calc(20 * var(--u));
  font-weight: 500;
  line-height: calc(40 * var(--u));
  color: var(--ink);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: calc(-25 * var(--u));
  top: calc(16 * var(--u));
  width: calc(8 * var(--u));
  height: calc(8 * var(--u));
  border-radius: 50%;
  background: var(--red);
}

.about__mid .btn {
  width: calc(190 * var(--u));
  height: calc(57 * var(--u));
  margin: calc(71 * var(--u)) 0 0 calc(7 * var(--u));
  padding: 0 calc(9 * var(--u)) 0 calc(23 * var(--u));
  border-radius: calc(18 * var(--u));
  font-size: calc(18 * var(--u));
  justify-content: space-between;
}

.about__mid .btn__ic svg {
  width: calc(25 * var(--u));
  height: calc(25 * var(--u));
}

/* 右栏：500×480，左缘中线挖 R97/R93 椭圆缺口（设计布尔运算 23:841） */
.about__right {
  position: absolute;
  left: calc(1119 * var(--u));
  top: calc(182 * var(--u));
  width: calc(500 * var(--u));
}

.about__pic2 {
  position: relative;
  width: 100%;
  aspect-ratio: 500 / 480;
  border-radius: calc(20 * var(--u));
  overflow: hidden;
  background: #ececec;
  -webkit-mask-image: radial-gradient(
    calc(97 * var(--u)) calc(93 * var(--u)) at calc(-14 * var(--u)) calc(240 * var(--u)),
    transparent 99.3%,
    #000 100%
  );
  mask-image: radial-gradient(
    calc(97 * var(--u)) calc(93 * var(--u)) at calc(-14 * var(--u)) calc(240 * var(--u)),
    transparent 99.3%,
    #000 100%
  );
}

/* 圆形徽章：150 环 + 56 红盘 + 19×24 播放三角，压在缺口里 */
.about__badge {
  position: absolute;
  left: calc(-81 * var(--u));
  top: calc(168 * var(--u));
  width: calc(150 * var(--u));
  height: calc(150 * var(--u));
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: none;
  overflow: visible;
  box-shadow: none;
  z-index: 2;
}

.about__badge::before {
  content: "";
  position: absolute;
  inset: 31.33%;                    /* (150 - 56) / 2 / 150，红盘恒为 56/150 */
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.45s var(--ease), background 0.3s var(--ease);
}

.about__badge:hover::before,
.about__badge:focus-visible::before {
  transform: scale(1.06);
  background: var(--red-deep);
}

.about__badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.about__badge-ring text {
  font-family: var(--font);
  font-size: 15.7px;          /* viewBox 单位 = 设计像素，设计实测 cap≈12.5 */
  font-weight: 400;
  fill: #131313;
  letter-spacing: 2.4px;     /* 自然宽 294 + 36×1.56 ≈ 350，铺满周长 355 */
}

/* 播放三角：19×24（12.67% / 16%），质心原在 x=6.32（偏左 3.18u），
   右移 16.73%（≈3.18u，= 质心到 viewBox 中心的距离）使视觉质心正对红盘圆心 */
.about__badge-play {
  position: relative;
  display: block;
  width: 12.67%;
  height: 16%;
  transform: translateX(16.73%);
  transition: transform 0.4s var(--ease);
}

.about__badge-play svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #fff;
}

.about__badge:hover .about__badge-play,
.about__badge:focus-visible .about__badge-play {
  transform: translateX(16.73%) scale(1.1);
}

/* -------------------------------------------------------- recommended */
/* 数据源：设计 "推荐产品列表" (23:0029) 1620×901
     · 标题组 (23:0069) 425×45.28：火焰图标 33.95×39.45 @y5.83，文字 380×38
       fs36 / Medium / #000 / letter-spacing 0，图标↔文字间距 11
     · 卡片 390×390，列距 20 / 行距 20，标题底到栅格 55.72
   卡片内部（全部相对 390 方块，用 cqw 保证任意尺寸等比）：
     顶栏+边框＝卡片底色竖向渐变 #cb0202 → #fc6839（矩形 26）
     橙色底板 369×331 @(10,48) r12，横向渐变 #f22a12 → #f79778（矩形 10）
     白色图窗 369×312 @(10,28) r12（蒙版组 3 + 矩形 29）
     logo 90×35.1 @(10,6)（抠图2，白色版）
     右上细节块 74×48 @(292,60) r10（mold19）
     厂名 12px / 700 / #333 / 全大写 @(24,350) 宽 244 */
.rec {
  padding-top: 78px;
  padding-bottom: 69px;
}

.rec__head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3056em;
  margin-bottom: 55.72px;
  font-size: clamp(24px, 1.875vw, 36px);
}

.rec__head .h2 {
  font-size: 1em;
  /* 行高按设计文字框 38px 收紧；负半行距会把字形顶到框外，补 7px 让墨迹落在设计位置 */
  line-height: 1.0556;
  margin-top: 0.1944em;
  letter-spacing: 0;
}

/* 火焰 + HOT 贴纸：34×39.45（= 0.9431em × 1.0958em） */
.rec__flame {
  flex: none;
  display: block;
  width: 0.9431em;
  height: 1.0958em;
  margin-top: 0.162em;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prod {
  position: relative;
  aspect-ratio: 1;
  container-type: inline-size;
  background: linear-gradient(180deg, #cb0202 0%, #fc6839 100%);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.prod:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -22px rgba(0, 0, 0, 0.35);
}

/* 橙色底板：369×331 @(10,48) r12；被白窗遮住上部，只在底部露出 39px 橙带 */
.prod__plate {
  position: absolute;
  left: 2.5641%;
  right: 2.5641%;
  top: 12.3077%;
  height: 84.8718%;
  border-radius: 3.0769cqw;
  background: linear-gradient(90deg, #f22a12 0%, #f79778 100%);
}

/* 白色图窗：369×312 @(10,28)，左上角有一块「缺口」—— 蒙版组的 联集 1 是并集形状，
   x<218 的部分从 y=21 才开始，给 logo 留出橙色底（缺口右端为圆弧过渡，约 34×21）。
   用 mask 而不是 border-radius，才能在缩放时保持这块 L 形切口。 */
.prod__frame {
  --win-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 369 312' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 21H218C236 21 252 12 252 0H357A12 12 0 0 1 369 12V300A12 12 0 0 1 357 312H12A12 12 0 0 1 0 300Z'/%3E%3C/svg%3E");
  position: absolute;
  left: 2.5641%;
  right: 2.5641%;
  top: 7.1795%;
  height: 80%;
  margin: 0;
  background: #fff;
  overflow: hidden;
  -webkit-mask: var(--win-mask) 0 0 / 100% 100% no-repeat;
  mask: var(--win-mask) 0 0 / 100% 100% no-repeat;
}

.prod__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右上角细节小块（mold19，黑底 + 白/红双瓶盖）已直接合成进 prod-card-1.webp，
   属于产品图本身的一部分，不再用 CSS 叠加。 */

/* 厂名：12px / 700 / #333 / 全大写 @(24,350)
   等比档下限从 7px 提到 10px：4 列布局下卡片只有 219~275px，按 3.0769cqw 会掉到 8px 以下，
   实测已不可读。10px + 收紧字距后 36 字符全大写串在最窄的 219 卡片上也排得下，不出省略号。 */
.prod__name {
  position: absolute;
  left: 6.1538%;
  right: 2.5641%;
  top: 89.7436%;
  margin: 0;
  font-size: clamp(10px, 3.0769cqw, 12px);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.4167;
  color: #333333;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

/* 白色 logo：设计墨迹 82×31 @(9,8)（节点框 90×35.1 含透明边），压在橙色缺口上 */
.prod__logo {
  position: absolute;
  left: 2.3077%;
  top: 2.0513%;
  width: 21.0256%;
  height: auto;
  z-index: 2;
}

/* ------------------------------------------------- 03 / capabilities */
/* 设计真值（1920×890，内容盒 1620）：
   标题组 x148/y141、h2 523×172 @y178、按钮 190×59 @(151,413)、
   中间 logo 604×249 @(659,299)、三个数字 y695/标签 y760、右侧描述 507×135 @(1263,680)。
   .caps__stage 把内容盒当作 container，内部一律 cqw，任意视口等比。 */
.caps {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

/* 背景：工厂长廊照片（设计 g2，1920×1082 @y-86，被 1920×890 裁切） */
.caps__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44.8%;
}

.caps .wrap {
  position: relative;
  z-index: 1;
}

/* 设计稿是明亮厂房照片，白字/红字直接压上去对比不足（实测地面区亮度 174–186，
   16px 白字只有 1.9:1）。加一层自上而下递进的轻暗角把文字区压到 ≤130，
   强度可按需调；上半部分保持通透。 */
.caps__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 11, 16, 0.24) 0%,
    rgba(8, 11, 16, 0.3) 32%,
    rgba(8, 11, 16, 0.42) 100%
  );
  pointer-events: none;
}

.caps__stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1620 / 890;
}

.caps__eyebrow,
.caps__title,
.caps__cta,
.caps__logo,
.caps__stats,
.caps__desc {
  position: absolute;
  margin: 0;
}

/* 亮背景上给文字补一层极轻的投影，进一步兜住小字可读性 */
.caps__eyebrow,
.caps__title,
.caps__stat span,
.caps__desc {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34), 0 0 18px rgba(0, 0, 0, 0.26);
}

.caps__eyebrow {
  left: 0;
  top: 8.7037cqw;
  font-size: 0.9877cqw;
  font-weight: 500;
  line-height: 1.4375;
  color: #fff;
}

.caps__title {
  left: 0;
  top: 10.9877cqw;
  width: 32.284cqw;
  font-size: 2.963cqw;
  font-weight: 500;
  line-height: 3.7037cqw;
  letter-spacing: 0;
  color: #fff;
}

/* 幽灵按钮：190×59 r18，透明底 + 1px 红描边，右侧白色 r8 箭头块 37×38 */
.caps__cta {
  left: 0.0617cqw;
  top: 25.4938cqw;
  width: 11.7284cqw;
  height: 3.642cqw;
  display: flex;
  align-items: center;
  padding-left: 1.0494cqw;
  border: 0.0617cqw solid var(--red);
  border-radius: 1.1111cqw;
  font-size: 1.1111cqw;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: background 0.35s var(--ease);
}

.caps__cta:hover {
  background: rgba(241, 37, 15, 0.14);
}

.caps__cta-ic {
  position: absolute;
  right: 0.5093cqw;
  top: 0.5809cqw;
  width: 2.2833cqw;
  height: 2.3568cqw;
  display: grid;
  place-items: center;
  border-radius: 0.4938cqw;
  background: #fff;
  /* 与红色 .btn 的箭头块（.btn__ic）同款：悬停旋转 45° */
  transition: transform 0.35s var(--ease);
}

.caps__cta:hover .caps__cta-ic {
  transform: rotate(45deg);
}

.caps__cta-ic svg {
  display: block;
  width: 1.5568cqw;
  height: 1.6068cqw;
}

.caps__logo {
  left: 31.4284cqw;
  top: 18.4568cqw;
  width: 37.3012cqw;
  height: auto;
}

.caps__stats {
  left: 0;
  top: 42.9012cqw;
  width: 100%;
  padding: 0;
  list-style: none;
}

.caps__stat {
  position: absolute;
  top: 0;
}

.caps__stat--a,
.caps__stat--1 {
  left: 0.3938cqw;
}

.caps__stat--b,
.caps__stat--2 {
  left: 12.6093cqw;
}

.caps__stat--c,
.caps__stat--3 {
  left: 24.4667cqw;
}

.caps__stat b {
  display: block;
  font-size: 3.4568cqw;
  font-weight: 500;
  line-height: 3.7037cqw;
  color: var(--red);
}

.caps__stat span {
  display: block;
  max-width: 9.3827cqw;
  margin-top: 0.3086cqw;
  font-size: 0.9877cqw;
  font-weight: 500;
  line-height: 1.1111cqw;
  color: #fff;
}

.caps__desc {
  left: 68.7037cqw;
  top: 41.9753cqw;
  width: 31.2963cqw;
  font-size: 0.9877cqw;
  line-height: 1.8519cqw;
  color: #fff;
}

/* ---------------------------------------------------- 04 / process */
/* 设计真值（节点 23:562，内容盒 1620 × 781，1cqw = 16.2px @1920）：
   眉标 (1,0) 16/500/#666 · 主标题 (0,37) 797 宽 48/60 #000 ·
   引言 (1120,54) 519 宽 16/24 #333 · 卡片行 y220，四张 379×381 r20 阶梯错落
   y = 0 / 47 / 100 / 147，间距 35 · 按钮 241×58 @(2,723) 红底白箭头 */
.process-sec {
  background: var(--cream);
  padding: 102px 0 87px;
}

.process__stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1620 / 781;
}

.process__eyebrow,
.process__title,
.process__lead,
.step,
.process__cta {
  position: absolute;
  margin: 0;
}

.process__eyebrow {
  left: 0.0617cqw;
  top: 0;
  font-size: 0.9877cqw;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-muted);
}

.process__title {
  left: 0;
  top: 2.284cqw;
  width: 49.1975cqw;
  font-size: 2.963cqw;
  font-weight: 500;
  line-height: 3.7037cqw;
  letter-spacing: 0;
  color: var(--ink);
}

.process__lead {
  left: 69.1358cqw;
  top: 3.3333cqw;
  width: 32.037cqw;
  font-size: 0.9877cqw;
  line-height: 1.4815cqw;
  color: var(--text);
}

/* 卡片：379×381，白底 r20；阶梯偏移按设计逐个给。
   注意：.step 自身是 container，border-radius 里的 cqw 会向上找 .process__stage，
   不会按卡片自身宽解析，所以这里的半径必须写成 20/1620（舞台占比）而不是 20/379。 */
.step {
  width: 23.3951cqw;
  height: 23.5185cqw;
  container-type: inline-size;
  overflow: hidden;
  background: #fff;
  border-radius: 1.2346cqw;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.step--1 { left: 0;        top: 13.5802cqw; }
.step--2 { left: 25.5556cqw; top: 16.4815cqw; }
.step--3 { left: 51.0494cqw; top: 19.7531cqw; }
.step--4 { left: 76.6049cqw; top: 22.6543cqw; }

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px -26px rgba(0, 0, 0, 0.28);
}

/* 图窗：354×159 @(12,10) r10，等比裁剪已烘焙进图片 */
.step__pic {
  position: absolute;
  left: 3.1662cqw;
  top: 2.6385cqw;
  width: 93.4037cqw;
  height: 41.9525cqw;
  overflow: hidden;
  border-radius: 2.6385cqw;
  background: var(--line);
}

.step__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step__title {
  position: absolute;
  left: 9.7625cqw;
  top: 50.3958cqw;
  font-size: 5.277cqw;
  font-weight: 700;
  line-height: 1.45;
  color: var(--red);
  white-space: nowrap;
}

.step__desc {
  position: absolute;
  left: 10.2902cqw;
  top: 64.3799cqw;
  width: 61.2137cqw;
  font-size: 4.2216cqw;
  line-height: 6.3325cqw;
  color: var(--text);
}

.step__no {
  position: absolute;
  right: 7.388cqw;
  bottom: 5.277cqw;
  font-size: 18.9974cqw;
  font-weight: 900;
  line-height: 1.44;
  letter-spacing: -0.08em;
  color: var(--num);
  pointer-events: none;
  user-select: none;
}

/* 主按钮：241×58 r18 红底，右侧 37.3×37.5 白块 r8，内含 25.5 箭头 */
.process__cta {
  left: 0.1235cqw;
  top: 44.6296cqw;
  display: flex;
  align-items: center;
  width: 14.8765cqw;
  height: 3.5802cqw;
  padding-left: 1.4815cqw;
  border-radius: 1.1111cqw;
  background: var(--red);
  color: #fff;
  font-size: 1.1111cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.35s var(--ease);
}

.process__cta:hover {
  background: #d81f0c;
}

/* 箭头块 hover 旋转 45°，与 .btn / .caps__cta 同款 */
.process__cta-ic {
  transition: transform 0.35s var(--ease);
}

.process__cta:hover .process__cta-ic {
  transform: rotate(45deg);
}

.process__cta-ic {
  position: absolute;
  right: 0.5802cqw;
  top: 0.6296cqw;
  display: grid;
  place-items: center;
  width: 2.3025cqw;
  height: 2.3148cqw;
  border-radius: 0.4938cqw;
  background: #fff;
  color: #2c2c2c;
}

.process__cta-ic svg {
  display: block;
  width: 1.5741cqw;
  height: 1.5802cqw;
}

/* --------------------------------------------- /process 单页变体（--flat）
   照搬首页 04 流程段的样式，但四张卡片等高并排，不要设计稿的阶梯错落：
   宽度仍按设计 379（23.3951cqw）、高度 381（23.5185cqw），
   top 统一到阶梯里最高的那张（13.5802cqw），横向 space-between 均分。
   ≥1281 生效；≤1280 本来就已退出等比坐标、走流式网格，无需覆盖。 */
@media (min-width: 1281px) {
  .process-sec--flat .process__cards {
    position: absolute;
    left: 0;
    top: 13.5802cqw;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .process-sec--flat .step {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 auto;
    width: 23.3951cqw;
    height: 23.5185cqw;
  }
}

/* ============================================================
   /process 单页 —— 交付流程（Flow Rail）
   独立命名空间 .flow-*，与首页 04 流程段（.process-*）互不影响。
   版式：一条横向流程轴 + 四个节点（节点对齐各列左端），
        下接「图片 / 编号 / 标题 / 描述」；≤1180 转为竖向时间轴。
   ============================================================ */
.flow-sec {
  background: var(--cream);
  padding: clamp(56px, 5.4vw, 104px) 0 clamp(60px, 5.6vw, 108px);
}

.flow-head {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 2.6vw, 48px) clamp(36px, 5vw, 90px);
  margin-bottom: clamp(44px, 4.2vw, 78px);
}

.flow-head__title {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.flow-head__lead {
  margin: 0;
  font-size: clamp(13.5px, 0.95vw, 17px);
  line-height: 1.72;
  color: var(--text-muted);
}

.flow {
  --fgap: clamp(24px, 2.4vw, 48px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 var(--fgap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 流程轴：贯穿整条，末段淡出，暗示「继续向前」 */
.flow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(0, 0, 0, 0.26) 84%,
    rgba(0, 0, 0, 0) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s;
}

.flow.is-in::before {
  transform: none;
}

.flow__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-top: 36px;
}

/* 悬停某一步时，从该节点向右「推进」一段红线 */
.flow__item::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 13px;
  right: calc(-1 * var(--fgap));
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.flow__item:last-child::after {
  display: none;
}

.flow__item:hover::after {
  transform: none;
}

.flow__body {
  display: flex;
  flex-direction: column;
}

/* 节点：红点 + 一圈米色光圈，把轴线「打断」成节点 */
.flow__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px rgba(241, 37, 15, 0.14);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.42, 0.64, 1);
}

.flow__item:nth-child(1) .flow__node { transition-delay: 0.18s; }
.flow__item:nth-child(2) .flow__node { transition-delay: 0.34s; }
.flow__item:nth-child(3) .flow__node { transition-delay: 0.5s; }
.flow__item:nth-child(4) .flow__node { transition-delay: 0.66s; }

.flow.is-in .flow__node {
  transform: none;
}

.flow__pic {
  margin: 0 0 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: var(--line);
}

.flow__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.55s var(--ease), transform 0.8s var(--ease);
}

.flow__item:hover .flow__pic img {
  filter: none;
  transform: scale(1.04);
}

/* 编号：红色小字 + 短横线，替代「01.Title」的旧写法 */
.flow__no {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--red);
}

.flow__no::after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(241, 37, 15, 0.3);
}

.flow__title {
  margin: 0 0 9px;
  font-size: clamp(17px, 1.18vw, 22px);
  font-weight: 500;
  line-height: 1.34;
  color: var(--ink);
}

.flow__desc {
  margin: 0;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.78;
  color: var(--text-muted);
}

/* 底部：一句提示 + 主按钮，替掉原来孤零零靠左的按钮 */
.flow-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(46px, 4.4vw, 82px);
  padding-top: clamp(24px, 2.2vw, 36px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.flow-foot__note {
  margin: 0;
  max-width: 46em;
  font-size: clamp(13px, 0.9vw, 15.5px);
  line-height: 1.7;
  color: var(--text-muted);
}

.flow-foot .btn {
  flex: none;
}

/* ≤1180：横向轴转竖向时间轴，图文左右分栏 */
@media (max-width: 1180px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* 竖轴改由每个条目自绘：只连到下一项，最后一项不画，避免轴线拖出内容区 */
  .flow::before {
    display: none;
  }

  .flow__item::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 13px;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.26);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .flow__item:last-child::before {
    display: none;
  }

  .flow.is-in .flow__item::before {
    transform: none;
  }

  .flow__item:nth-child(2)::before { transition-delay: 0.12s; }
  .flow__item:nth-child(3)::before { transition-delay: 0.24s; }
  .flow__item:nth-child(4)::before { transition-delay: 0.36s; }

  .flow__item {
    display: grid;
    grid-template-columns: clamp(190px, 26vw, 300px) minmax(0, 1fr);
    column-gap: clamp(18px, 3vw, 36px);
    align-items: center;
    padding: 0 0 clamp(28px, 3vw, 40px) 34px;
  }

  .flow__node {
    top: 0;
  }

  /* 竖向排布时不需要「向右推进」的悬停线 */
  .flow__item::after {
    display: none;
  }

  .flow__pic {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .flow__body {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    max-width: 52ch;
  }

  .flow__no {
    margin-top: 2px;
  }

  .flow-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .flow-head__lead {
    max-width: 46em;
  }
}

@media (max-width: 640px) {
  .flow__item {
    grid-template-columns: 1fr;
    padding-left: 26px;
    padding-bottom: 30px;
  }

  .flow__pic {
    grid-row: auto;
    grid-column: 1;
    margin-bottom: 16px;
    aspect-ratio: 16 / 10;
  }

  .flow__body {
    grid-row: auto;
    grid-column: 1;
    align-self: start;
  }

  .flow-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* 流程轴：动画不按「减少动态效果」降级（见文件中部说明） */

/* ----------------------------------------------------- 05 / blog */
/* 等比容器：设计稿 1621 × 613，1cqw = 16.21 设计单位 */
.blog {
  padding-top: 102px;
  padding-bottom: 101px;
}

.blog__grid {
  container-type: inline-size;
  display: grid;
  /* 436 | 26 | 569 | 47 | 543 —— 空隙也做成轨道，保证 1281~1600 之间等比不塌 */
  grid-template-columns: 26.8963% 1.6039% 35.1018% 2.8994% 33.4985%;
  align-items: start;
}

.blog__lead {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  min-height: 29.9198cqw; /* 485 */
}

.blog__lead .eyebrow {
  font-size: 0.9871cqw; /* 16 */
  line-height: 1.4375; /* 23 */
}

.blog__lead .h2 {
  max-width: none;
  margin-top: 2.2825cqw; /* 37 */
  font-size: 2.9611cqw; /* 48 */
  line-height: 3.7014cqw; /* 60 */
}

/* 按钮贴住左栏底部 = 设计稿 y417 / h485 */
.blog__lead .btn {
  align-self: flex-start;
  margin-top: auto;
  height: 4.1949cqw; /* 68 */
  padding: 0 0.6786cqw 0 0.9254cqw; /* 11 / 15 */
  gap: 1.6656cqw; /* 27 */
  border-radius: 1.1104cqw; /* 18 */
  font-size: 1.3572cqw; /* 22 */
  line-height: 1.8507cqw; /* 30 */
}

.blog__lead .btn__ic {
  width: 2.7144cqw; /* 44 */
  height: 2.7144cqw;
  border-radius: 0.4935cqw; /* 8 */
}

.blog__lead .btn__ic svg {
  width: 1.0488cqw; /* 17 */
  height: 1.0488cqw;
}

.blog__pic {
  grid-column: 3;
  position: relative;
  width: 100%;
  aspect-ratio: 569 / 611;
  margin-top: 0.1234cqw; /* 2 */
  border-radius: 1.8507cqw; /* 30 */
  overflow: hidden;
  background:
    radial-gradient(70% 40% at 50% 4%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
    radial-gradient(70% 55% at 30% 100%, rgba(58, 52, 44, 0.3) 0%, transparent 70%),
    linear-gradient(158deg, #e2dfd7 0%, #c9c6bd 55%, #a9a69c 100%);
}

.blog__list {
  grid-column: 5;
  display: flex;
  flex-direction: column;
  gap: 0.9871cqw; /* 16 */
}

.post {
  display: flex;
  align-items: center;
  gap: 1.3572cqw; /* 22 */
  min-height: 6.7242cqw; /* 109 */
  padding: 0.8cqw 0.9871cqw 0.8cqw 1.6656cqw; /* 16 / 27 */
  border-radius: 0.6169cqw; /* 10 */
  background: var(--soft);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.post:hover {
  background: #ebebeb;
  transform: translateX(4px);
}

.post__ic {
  display: grid;
  place-items: center;
  width: 3.3313cqw; /* 54 */
  height: 3.3313cqw;
  flex: none;
  border-radius: 0.3084cqw; /* 5 */
  background: var(--red);
  color: #fff;
}

.post__ic svg {
  width: 1.7545cqw; /* 28.4 */
  height: 1.8852cqw; /* 30.6 */
}

.post__title {
  font-size: 1.1104cqw; /* 18 */
  font-weight: 500;
  line-height: 1.8507cqw; /* 30 */
  color: var(--ink);
}

/* ---------------------------------------------------------- footer */
.foot {
  --foot-gutter: 63px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(710px, 44vw);
  align-items: start;
  gap: 56px;
  max-width: 1920px;
  margin-inline: auto;
  background: #fff;
  overflow: hidden;
}

/* 设计稿 23:878 蒙版组：底 #1c222d + 击掌照片（1932×1086 置于 -12,-92），无压暗层 */
.foot__banner {
  grid-column: 1 / -1;
  position: relative;
  height: 593px;
  overflow: hidden;
  background: #1c222d;
}

.foot__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* newsletter card —— 与静态稿/设计稿逐节点还原（节点 23:882「表单」710×710 @(1141,244)）：
   卡内元素按卡片百分比绝对定位，字号用 cqw（1cqw = 卡宽/100 = 7.10 设计单位）带 px 兜底。
   卡片 aspect-ratio:1 正方形；上叠深度 = 设计稿 (593-244)/710 ≈ 49.2% 卡宽。
   标题钉在卡顶 10.85% → 深叠后标题压在横幅照片上（设计稿标题绝对 y=321 < 593）。 */
.subscribe {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2; /* DOM 里 subscribe 在 foot__cols 之前，必须显式钉同一行，否则自动放置会把它独占一行、左栏掉到下一行 */
  justify-self: end;
  width: 710px;
  max-width: 100%;
  margin: -349px var(--foot-gutter) 60px 0;
  aspect-ratio: 1;
  container-type: inline-size;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(
    180deg,
    rgba(241, 37, 15, 0) 0%,
    rgba(241, 37, 15, 1) 50%,
    rgba(203, 2, 2, 1) 100%
  );
  color: #fff;
}

/* 标题帧设计稿 430×148 @(140.5,77)——72px 下「Subscribe to」恰好贴边（430/72≈5.97em），
   Mac 系统字体比设计稿思源黑体略宽就会爆框换成 3 行、压住副标题。
   框加宽到 84%（左右 8% 对称，视觉仍居中），留足字体差异余量。 */
.subscribe h2 {
  position: absolute;
  left: 8%;
  top: 10.8451%;
  width: 84%;
  margin: 0;
  font-size: 72px;
  font-size: 10.1408cqw;
  font-weight: 500;
  line-height: 74px;
  line-height: 10.4225cqw;
  letter-spacing: 0;
  text-align: center;
}

/* 说明帧 405.58×52 @(153,245)，16/22，居中 */
.subscribe__lead {
  position: absolute;
  left: 21.5493%;
  top: 34.507%;
  width: 57.1239%;
  margin: 0;
  font-size: 16px;
  font-size: 2.2535cqw;
  line-height: 22px;
  line-height: 3.0986cqw;
  text-align: center;
  text-transform: capitalize;
  color: rgba(255, 255, 255, 0.8);
}

/* form 只是容器，子元素直接相对卡片定位 */
.subscribe__field {
  position: static;
  margin: 0;
}

/* 输入框 588×64 @(57,350)，r30，1px #ffffff4d */
.subscribe__input {
  position: absolute;
  left: 8.0282%;
  top: 49.2958%;
  width: 82.8169%;
  height: 9.0141%;
  box-sizing: border-box;
  padding: 0 26px;
  padding: 0 3.662cqw;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  border-radius: 4.2254cqw;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-size: 2.2535cqw;
  line-height: 28px;
  line-height: 3.9437cqw;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.subscribe__input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.subscribe__input:focus {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
}

/* Subscribe → 94×28 @(305,446) */
.subscribe__send {
  position: absolute;
  left: 42.9577%;
  top: 62.8169%;
  width: 13.2394%;
  margin: 0;
  padding: 0;
  background: none;
  color: #fff;
  font-size: 16px;
  font-size: 2.2535cqw;
  font-weight: 400;
  line-height: 28px;
  line-height: 3.9437cqw;
  text-align: center;
}

.subscribe__send::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.subscribe__send:hover::after {
  transform: scaleX(1);
}

/* 分隔线 588×0 @(57,566)，1px 纯白 */
.subscribe__rule {
  position: absolute;
  left: 8.0282%;
  top: 79.7183%;
  width: 82.8169%;
  height: 0;
  border-top: 1px solid #fff;
}

/* 底部说明帧 405.58×52 @(153,625)，14/22，居中 */
.subscribe__note {
  position: absolute;
  left: 21.5493%;
  top: 88.0282%;
  width: 57.1239%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-size: 1.9718cqw;
  line-height: 22px;
  line-height: 3.0986cqw;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.subscribe__note p {
  margin: 0;
}

.subscribe__note p {
  margin: 0;
}

/* footer columns —— 流式网格：联系人 1 | 联系人 2 | 快速链接 */
.foot__cols {
  position: relative;
  grid-column: 1;
  grid-row: 2; /* 与 .subscribe 显式同行（见上） */
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 36px 32px;
  align-items: start;
  padding: 51px 0 60px var(--foot-gutter);
}

.foot__h {
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: var(--text-mid);
}

.foot__h--contact {
  grid-column: 1 / 3;
  grid-row: 1;
}

.foot__h--links {
  grid-column: 3;
  grid-row: 1;
}

/* 联系人：姓名 + 电话/邮箱 + 二维码合图（WhatsApp + 微信并排一张）
   序号类 .contact--1 / .contact--2 供后台循环渲染
   （后台 image=头像 字段仍保留，只是前台不再渲染头像，2026-10-30 用户要求去掉） */
.contact {
  position: relative;
  min-width: 0;
}

.contact--1 {
  grid-column: 1;
  grid-row: 2;
}

.contact--2 {
  grid-column: 2;
  grid-row: 2;
}

.contact__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  color: var(--ink);
}

.contact__meta {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 350;
  line-height: 30px;
  color: var(--text-mid);
}

.contact__meta a:hover {
  color: var(--red);
}

.contact__qr {
  display: flex;
  gap: 13px;
  margin: 16px 0 0;
  align-items: flex-start;
}

.contact__qr img {
  display: block;
  /* 后台只存一张「二维码合图」（WhatsApp + 微信并排），按高度定尺、宽度自适应 */
  width: auto;
  height: 110px;
  max-width: none;
  object-fit: contain;
}

.contact--2 .contact__qr img:nth-child(2) {
  width: 110px;
  height: 113px;
}

.foot__links {
  grid-column: 3;
  grid-row: 2;
  width: auto;
}

.foot__links a {
  display: block;
  font-size: 16px;
  line-height: 42px;
  color: var(--text-mid);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.foot__links a:hover {
  color: var(--red);
  padding-left: 4px;
}

/* 版权行：跨满整行 */
.foot__copy {
  grid-column: 1 / -1;
  margin: 0 var(--foot-gutter) 40px;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}

/* ------------------------------------------------------- media (real assets) */
/* 所有配图统一：填满容器、保持比例、不撑破布局 */
.about__pic img,
.about__pic2 img,
.prod__photo,
.step__pic img,
.blog__pic img,
.foot__banner img,
.cat__ic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 品类图标：设计稿「组 1」中图标节点 8357050-200 是 55×55 的透明线稿，
   直接落在 #f2f2f2 卡面上——没有白色底板（原误加的白底 + r10 + 6px padding 已移除）。
   尺寸/位置由 .cat 的 padding-left 35px + gap 20px + .cat__ic 的 55×55 决定，
   与设计坐标（图标 x35 y14、文字 x110）逐像素一致。 */
.cat__ic {
  background: none;
  border-radius: 0;
  padding: 0;
}

.cat__ic img {
  object-fit: contain;
  filter: none;
}

/* 02 左图：CNC 加工车间（黄色行车梁 + 立加阵列 + 绿色地坪），
   源图为设计稿蒙版组顶部可见层，裁切已烘焙进 about-cnc.webp */
.about__pic img {
  object-position: 50% 50%;
}

/* 02 右图：厂区主楼招牌，裁切已烘焙（避开源图 AI 水印） */
.about__pic2 img {
  object-position: 50% 50%;
}

/* 产品图已在导出时按 369:312 图窗比例合成，object-fit 用 cover 正好填满 */
.prod__photo {
  object-position: 50% 50%;
}

/* 04 步骤图：工件与设备特写 */
.step__pic img {
  transition: transform 0.6s var(--ease);
}

.step:hover .step__pic img {
  transform: scale(1.05);
}

/* ------------------------------------------------------- media queries */
/* footer 基类已改为稳健的 CSS Grid（左联系栏 / 右订阅卡），
   自 1024px 至 1920px 自适应，无需旧的 1879 绝对定位分支。 */

@media (max-width: 1600px) {
  :root {
    --gutter: 80px;
  }
}

/* footer 专用：1281–1559 放不下「710px 卡 + 联系人三列」（左栏 <750px 会被挤爆），
   该段收成单栏堆叠——卡 640px 右对齐、按设计比例上叠（49.2% 卡宽 ≈ -315px）深叠照片，
   联系栏全宽在下方。≥1560 走双栏（联系栏与卡并排）。 */
@media (min-width: 1281px) and (max-width: 1559px) {
  .foot {
    grid-template-columns: minmax(0, 1fr);
    --foot-gutter: 48px;
  }

  .foot__banner {
    grid-column: 1;
    grid-row: 1;
    height: 520px;
  }

  .subscribe {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    width: 640px;
    max-width: calc(100% - 2 * var(--foot-gutter));
    margin: -315px var(--foot-gutter) 0 0;
  }

  .foot__cols {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr 200px;
    padding: 44px 0 56px var(--foot-gutter);
  }

  .foot__copy {
    grid-column: 1;
    grid-row: 4;
    margin: 0 var(--foot-gutter) 40px;
  }
}

@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }

  /* footer：≤1280 收成单栏堆叠，避免双栏时左栏被压得过窄 */
  .foot {
    grid-template-columns: 1fr;
    --foot-gutter: 48px;
  }

  /* 单栏也必须显式行号：grid 自动放置（grid-row:auto）时负 margin-top
     只会缩小轨道、不会把元素拉上去（实测 Chromium），显式行号才生效 */
  .foot__banner {
    grid-column: 1;
    grid-row: 1;
    height: 420px;
  }

  .subscribe {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    width: 640px;
    max-width: calc(100% - 2 * var(--foot-gutter));
    margin: -280px var(--foot-gutter) 0 0;
  }

  .foot__cols {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr 200px;
    padding: 44px 0 56px var(--foot-gutter);
  }

  .foot__copy {
    grid-column: 1;
    grid-row: 4;
    margin: 0 var(--foot-gutter) 40px;
  }

  .hdr {
    padding-inline: 32px;
  }

  /* 05 / blog —— 退出等比坐标，改两列流式 */
  .blog__grid {
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 26px;
    row-gap: 40px;
  }

  .blog__lead {
    grid-column: 1;
    min-height: 0;
  }

  .blog__lead .eyebrow {
    font-size: 16px;
    line-height: 1.4;
  }

  .blog__lead .h2 {
    margin-top: 24px;
    font-size: clamp(26px, 2.5vw, 48px);
    line-height: 1.25;
  }

  .blog__lead .btn {
    margin-top: 32px;
    height: 57px;
    padding: 0 18px 0 23px;
    gap: 14px;
    border-radius: 18px;
    font-size: 18px;
    line-height: 1;
  }

  .blog__lead .btn__ic {
    width: 37px;
    height: 37px;
    border-radius: 8px;
  }

  .blog__lead .btn__ic svg {
    width: 15px;
    height: 15px;
  }

  .blog__pic {
    grid-column: 2;
    grid-row: span 2;
    margin-top: 0;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  /* 文章列表跨满行时单列会有 1160px 长的横条，扫读很累；≤1280 起排两列 */
  .blog__list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 16px;
  }

  .post {
    gap: 20px;
    min-height: 92px;
    padding: 20px 22px;
    border-radius: 12px;
  }

  .post__ic {
    width: 48px;
    height: 48px;
    border-radius: 5px;
  }

  .post__ic svg {
    width: 25px;
    height: 27px;
  }

  .post__title {
    font-size: 17px;
    line-height: 1.6;
  }

  .cap__grid {
    column-gap: 32px;
  }

  /* 04 process：退出等比坐标，改流式两列 */
  .process-sec {
    padding: 72px 0 60px;
  }

  .process__stage {
    container-type: normal;
    aspect-ratio: auto;
  }

  .process__eyebrow,
  .process__title,
  .process__lead {
    position: static;
    width: auto;
  }

  .process__eyebrow {
    font-size: 16px;
  }

  .process__title {
    max-width: 640px;
    margin-top: 12px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.25;
  }

  .process__lead {
    max-width: 560px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 24px;
  }

  /* 四步在设计稿里是一排阶梯，流式档也尽量保持「一行排完」：
     卡片按 260 下限自动分列（1160→4 列、904→3 列、756→2 列、452→1 列），
     比固定两列矮一半。 */
  .process__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
  }

  .step {
    position: relative;
    width: auto;
    height: auto;
    padding: 10px 12px 26px;
    border-radius: 20px;
    container-type: inline-size;
  }

  /* 取消阶梯错落的绝对偏移，交给网格自然排列 */
  .step--1,
  .step--2,
  .step--3,
  .step--4 {
    left: auto;
    top: auto;
  }

  .step__pic {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 354 / 159;
    border-radius: 10px;
  }

  .step__title {
    position: static;
    margin: 20px 0 0 25px;
    font-size: 20px;
    white-space: normal;
  }

  .step__desc {
    position: static;
    width: auto;
    /* 右下角大号数字占位约 96px，正文按卡片内宽留 140px 给它，两列/单列都不压字 */
    max-width: min(300px, calc(100% - 140px));
    margin: 6px 0 0 27px;
    font-size: 16px;
    line-height: 24px;
  }

  .step__no {
    right: 28px;
    bottom: 20px;
    font-size: 72px;
    line-height: 1.44;
  }

  /* 窄卡片（≤360）：大号数字会吃掉正文一半宽度，缩到 44px 并让位。
     必须写在这组规则之后——container 查询不提升优先级，靠的是顺序覆盖。 */
  @container (max-width: 360px) {
    .step__title {
      font-size: 17px;
    }

    .step__desc {
      max-width: calc(100% - 78px);
      font-size: 14px;
      line-height: 21px;
    }

    .step__no {
      right: 12px;
      bottom: 10px;
      font-size: 44px;
    }
  }

  .process__cta {
    position: relative;
    left: auto;
    top: auto;
    display: inline-flex;
    width: 241px;
    height: 58px;
    margin-top: 40px;
    padding-left: 24px;
    border-radius: 18px;
    font-size: 18px;
  }

  .process__cta-ic {
    right: 9px;
    top: 10px;
    width: 37px;
    height: 38px;
    border-radius: 8px;
  }

  .process__cta-ic svg {
    width: 25px;
    height: 26px;
  }

  /* 03 capabilities：退出等比坐标，改「左文案 / 右 logo + 说明」两列。
     单列堆叠会把这一屏拉到 1100+ 高，两列反而比等比档更矮。 */
  .caps {
    padding: 76px 0 64px;
  }

  .caps__stage {
    container-type: normal;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    column-gap: 48px;
    align-items: start;
  }

  .caps__eyebrow,
  .caps__title,
  .caps__cta,
  .caps__logo,
  .caps__stats,
  .caps__desc {
    position: static;
    width: auto;
    max-width: none;
  }

  .caps__eyebrow {
    font-size: 16px;
    line-height: 1.45;
  }

  .caps__title {
    max-width: 560px;
    margin-top: 12px;
    font-size: clamp(26px, 4vw, 48px);
    line-height: 1.22;
  }

  .caps__cta {
    width: 190px;
    height: 59px;
    margin-top: 30px;
    padding: 0 9px 0 17px;
    border-width: 1px;
    border-radius: 18px;
    font-size: 18px;
  }

  .caps__cta-ic {
    position: static;
    margin-left: auto;
    width: 37px;
    height: 38px;
    border-radius: 8px;
  }

  .caps__cta-ic svg {
    width: 25px;
    height: 26px;
  }

  .caps__logo {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    display: block;
    width: 100%;
    max-width: 400px;
    margin-top: 0;
  }

  .caps__stats {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 34px 56px;
    margin-top: 48px;
  }

  .caps__stat {
    position: static;
  }

  .caps__stat b {
    font-size: 44px;
    line-height: 56px;
  }

  .caps__stat span {
    max-width: 152px;
    margin-top: 2px;
    font-size: 16px;
    line-height: 22px;
  }

  .caps__desc {
    grid-column: 2;
    grid-row: 4;
    max-width: none;
    margin-top: 32px;
    font-size: 16px;
    line-height: 27px;
  }

  .caps__eyebrow,
  .caps__title,
  .caps__cta {
    grid-column: 1;
  }

  /* 02 about：≤1024 退出等比坐标，改「左图文 / 右文案 + 底部大图」两列 */
  .about {
    container-type: normal;
    --u: 1px;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    column-gap: 44px;
    align-items: start;
  }

  .about__left,
  .about__mid,
  .about__right {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  .about__left {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .about__left .eyebrow {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .about__pic {
    width: 100%;
    border-radius: 10px;
  }

  .about__mid {
    margin-top: 0;
    max-width: 660px;
  }

  .about__mid .h2 {
    font-size: clamp(26px, 4.4vw, 40px);
    line-height: 1.22;
  }

  .about__copy {
    margin: 20px 0 0;
    max-width: 54ch;
    font-size: 15.5px;
    line-height: 1.9;
  }

  .about__list {
    margin-top: 20px;
    padding-left: 22px;
  }

  .about__list li {
    font-size: 17px;
    line-height: 34px;
  }

  .about__list li::before {
    left: -18px;
    top: 13px;
    width: 7px;
    height: 7px;
  }

  .about__mid .btn {
    width: auto;
    height: 54px;
    margin: 30px 0 0;
    padding: 0 9px 0 22px;
    border-radius: 16px;
    font-size: 17px;
  }

  .about__mid .btn__ic svg {
    width: 20px;
    height: 20px;
  }

  .about__right {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    margin-top: 44px;
  }

  /* 小屏不放缺口，徽章改「奶油底圆牌」压在图角，环形字才读得清 */
  .about__pic2 {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .about__badge {
    left: 18px;
    top: auto;
    bottom: 18px;
    width: 132px;
    height: 132px;
    background: var(--cream);
    box-shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.32);
  }
}

/* 02 about：1180–1280 是笔电主流宽度，这一档排得下「左图 / 文案 / 右大图」三列，
   比「两列 + 底部大图」矮 470，也更贴近设计稿原本的三段式结构 */
@media (min-width: 1160px) and (max-width: 1280px) {
  .about {
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 380px);
  }

  .about__right {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 1250px) {
  /* 两枚邮箱合计 320 宽、右缘固定内缩 131；视口 <1250 时它们距居中 logo 不足 40px，此档只留一枚 */
  .hdr__mails a + a {
    display: none;
  }
}

@media (max-width: 1024px) {
  /* 头部：横向 6 项 nav 在 1024 以下会与居中 logo 相撞（1024 时 nav 右缘 655 vs logo 左缘 414），
     这一档起改汉堡抽屉 */
  .hdr {
    padding-inline: 20px;
  }

  .hdr__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }

  .hdr__nav,
  .hdr__aside {
    display: none;
  }

  .hdr__logo {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 168px;
    height: auto;
  }

  .hdr__burger {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--soft);
  }

  .hdr__burger svg {
    width: 20px;
    height: 20px;
  }

  /* 与 ≤820 同一套 auto-fit：904 内容宽排 3 列（285），比固定两列少两行 */
  .cat-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  /* 8 张正方形卡：1024 档仍给 3 列（卡片 288），2 列会把卡片放大到 442、
     整段拉到 2000+ 高，平板上下滚代价太大；≤820 才降到 2 列。 */
  .rec-grid {
    grid-template-columns: repeat(3, 1fr);
  }


}

@media (max-width: 820px) {
  :root {
    --gutter: 20px;
  }

  .hdr__in {
    height: 64px;
  }

  .hdr__logo {
    width: 150px;
  }

  .catalog {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .catalog__head .btn {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 24px;
  }

  .catalog__head {
    padding-bottom: 40px;
  }

  /* 9 张分类卡单列会把每行拉到 756 宽、右侧大片空白；
     用 auto-fit 让 ≥560 的中屏自动回到两列，手机（452）自然保持单列 */
  .cat-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
  }

  .cat {
    padding: 10px 18px 10px 22px;
  }

  .rec-grid > *,
  .process__cards > *,
  .cat-grid > * {
    min-width: 0;
  }

  .cat__name {
    font-size: 18px;
  }

  .about-sec,
  .process-sec {
    padding: 56px 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__left {
    flex-direction: column;
    gap: 24px;
  }

  .about__pic {
    width: min(100%, 320px);
  }

  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .prod__name {
    font-size: clamp(10px, 3.0769cqw, 12px);
    line-height: 1.4;
  }

  .blog {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .blog__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .blog__lead {
    grid-column: 1;
  }

  .blog__pic {
    grid-column: 1;
    grid-row: auto;
    border-radius: 20px;
  }

  .blog__list {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }

  .blog__lead .btn {
    margin-top: 28px;
  }

  .post {
    gap: 16px;
    padding: 18px 18px;
  }

  .post__title {
    font-size: 16px;
  }

  /* 卡片列数由 ≤1280 档的 auto-fit(260) 决定，这一档不再重写列数 */

  /* 手机端退出等比坐标：正方形卡片在 400px 宽时正文只有 9px，改流式 */
  .subscribe {
    margin: -120px var(--foot-gutter) 0;
    width: auto;
    max-width: none;
    min-height: 0; /* 重置 ≤1280 档的 640px 最小高，手机上按内容撑 */
    aspect-ratio: auto;
    padding: 44px 28px 36px;
    container-type: normal;
    /* 手机端标题压在照片上，起始透明度抬到 .82 保证白字可读 */
    background: linear-gradient(
      180deg,
      rgba(241, 37, 15, 0.82) 0%,
      rgba(241, 37, 15, 1) 40%,
      rgba(203, 2, 2, 1) 100%
    );
  }

  .subscribe h2,
  .subscribe__lead,
  .subscribe__note,
  .subscribe__input,
  .subscribe__send {
    position: static;
    width: auto;
    left: auto;
    top: auto;
  }

  .subscribe h2 {
    font-size: clamp(30px, 8.6vw, 48px);
    line-height: 1.05;
    text-align: left;
  }

  .subscribe__lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
  }

  .subscribe__lead br {
    display: none;
  }

  .subscribe__field {
    margin-top: 26px;
  }

  .subscribe__input {
    width: 100%;
    height: 56px;
    font-size: 15px;
    line-height: 24px;
    padding: 0 22px;
    border-radius: 28px;
  }

  .subscribe__send {
    display: block;
    width: max-content;
    margin: 22px auto 0;
    font-size: 15px;
    line-height: 24px;
  }

  .subscribe__rule {
    position: static;
    width: auto;
    height: 0;
    margin-top: 34px;
  }

  .subscribe__note {
    margin-top: 22px;
    padding: 0;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
  }

  .subscribe__note p {
    margin: 0;
  }

  .foot__cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    margin: 36px var(--foot-gutter) 0;
    padding: 0;
  }

  .foot__h--contact,
  .contact--1,
  .contact--2,
  .foot__h--links,
  .foot__links {
    grid-column: 1;
    grid-row: auto;
  }

  .foot__banner {
    height: 320px;
  }

  .foot {
    --foot-gutter: 24px;
    min-height: 0;
    padding-bottom: 32px;
  }

  .foot__copy {
    margin: 40px var(--foot-gutter) 0;
    line-height: 1.4;
  }

  .contact__qr {
    gap: 12px;
  }

  .contact__qr img,
  .contact--1 .contact__qr img:nth-child(2),
  .contact--2 .contact__qr img:nth-child(2) {
    width: 96px;
    height: 98px;
  }

  .caps {
    padding: 56px 0 48px;
  }

  /* 两列在这一档左栏只剩 300 出头，回退单列堆叠 */
  .caps__stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .caps__eyebrow,
  .caps__title,
  .caps__cta,
  .caps__logo,
  .caps__stats,
  .caps__desc {
    grid-column: 1;
    grid-row: auto;
  }

  .caps__logo {
    width: min(100%, 360px);
    margin-top: 36px;
  }

  .caps__desc {
    margin-top: 30px;
    max-width: min(560px, 100%);
  }

  .caps__title {
    font-size: 26px;
  }

  .caps__stats {
    gap: 26px 36px;
    margin-top: 36px;
  }

  .caps__stat b {
    font-size: 36px;
    line-height: 46px;
  }
}

/* ---------------------------------------------------------- phone (≤600) */
/* 这一档卡片窄到 133~188px：厂名 36 字符全大写在一行上放不下（设计稿是
   12px @384 卡片），硬压字号会掉到 7px。改成「图窗让出两行位置 + 厂名折行」，
   字仍保持 10px，信息不丢也不出省略号。 */
@media (max-width: 600px) {
  .prod__frame {
    height: 70%;
  }

  .prod__name {
    top: 82%;
    white-space: normal;
    font-size: 10px;
    line-height: 1.25;
  }

  /* 6 条快速链接竖排要占 252px，手机上改两列更紧凑 */
  .foot__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }

  .foot__links a {
    line-height: 34px;
  }
}

/* ------------------------------------------------------- interactions */
/* 补 1280 断点的收尾花括号后，这里才真正对全宽生效。
   is-stuck 之前一直被嵌套在 1280 断点里（只有 ≤1280 才吸顶），
   先沿用这个范围，桌面端仍按设计稿静态呈现；如需全宽吸顶，把外层 media 去掉即可。 */
@media (max-width: 1280px) {
  .hdr.is-stuck {
    position: sticky;
    top: 0;
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.35);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.subscribe__input.is-invalid {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.subscribe__send:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
}

/* mobile drawer — the nav is a hidden panel below 1024px */
@media (max-width: 1024px) {
  .hdr__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .hdr__nav a {
    padding: 15px 4px;
    font-size: 17px;
    border-bottom: 1px solid #f0f0f0;
  }

  .hdr__nav a::after {
    display: none;
  }

  /* 抽屉里没有下划线，当前页靠「左侧红条 + 加粗」表达，否则只剩一点颜色差 */
  .hdr__nav a[aria-current="page"] {
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--red);
    padding-left: 12px;
  }

  .nav-open .hdr__nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* 抽屉模式下下拉改为常显的嵌套子菜单（无 hover，点击展开由抽屉本身承担） */
  .hdr__has-drop {
    position: static;
  }

  .hdr__caret {
    display: none;
  }

  .hdr__drop {
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin-top: 0;
    padding: 0 0 4px 16px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hdr__drop::before,
  .hdr__drop::after {
    content: none;
  }

  .hdr__nav .hdr__drop a {
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 400;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
  }

  .hdr__nav .hdr__drop a.on {
    font-weight: 600;
    color: var(--red);
  }

  /* 抽屉里两级分类靠缩进区分，取消桌面态的悬浮底色与 border-top */
  .hdr__nav .hdr__drop a.hdr__drop__item--all {
    padding: 12px 4px;
  }

  /* 🔴 双分隔线修复：桌面端 lvl0:not(:first-child) 的特异性是 (0,4,1)，
     比下面这条 (0,3,1) 高；@media 不提权，原 border-top:0 覆盖不到第 2/3 个分类，
     于是它们的 border-top 与上一项的 border-bottom 夹出两条线 + 4px 间隙。
     必须用同等选择器（含 :not(:first-child)）才能真正清掉。 */
  .hdr__nav .hdr__drop a.hdr__drop__item--lvl0:not(:first-child) {
    border-top: 0;
    margin-top: 0;
  }

  .hdr__nav .hdr__drop a.hdr__drop__item--lvl0 {
    padding: 12px 4px 6px;
    font-weight: 600;
    color: #444;
    border-top: 0;
    margin-top: 0;
  }

  .hdr__nav .hdr__drop a.hdr__drop__item--lvl1 {
    padding: 9px 4px 9px 24px;
    font-size: 14px;
    white-space: normal;
  }

  .hdr__nav .hdr__drop a.hdr__drop__item--lvl0.on,
  .hdr__nav .hdr__drop a.hdr__drop__item--lvl1.on {
    background: transparent;
  }
}

/* ------------------------------------------------- hero / 窄屏重排（≤1439） */
/* 设计稿是 1920 定宽舞台，等比缩放到 1400 以下时 16px 正文会被压到 11px、
   文字块也会和按钮撞上。这一档起改成「实景铺底 + 文案常规排版」，
   构图仍守设计稿的左文右图，只是不再等比缩放文字。 */
@media (max-width: 1439px) {
  .hero {
    aspect-ratio: auto;
    min-height: clamp(430px, 50vw, 620px);
  }

  /* 桌面是「绝对定位的舞台」，窄屏改成「实景铺底 + 文案流式」，由 slide 自己承接 flex。
     竖向居中交给 .hero__copy 的 margin-block:auto：内容比舞台矮时上下等分留白，
     内容比舞台高时 auto 归零、从顶部开始排，不会把标题顶出画面。 */
  .hero__slide {
    display: flex;
    align-items: flex-start;
  }

  /* 设计稿靠左半幅红色水洗压住实景来保证白字可读；窄屏水洗比例变窄，
     这里补一层左侧暗色渐变兜住对比度（只在文字侧，右侧留给实景）。 */
  .hero__dots {
    bottom: 16px;
  }

  .hero__scrim {
    display: block;
    background: linear-gradient(
      90deg,
      rgba(12, 3, 0, 0.78) 0%,
      rgba(12, 3, 0, 0.55) 40%,
      rgba(12, 3, 0, 0.14) 66%,
      rgba(12, 3, 0, 0) 86%
    );
  }

  .hero__photo {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 42%;
  }

  .hero__wash {
    width: 64%;
  }

  /* 产品图与文案一样在舞台里纵向居中：上下都贴 0 + margin-block:auto 平分剩余空间。
     不用 top:50%+transform 是因为入场动画 heroArtIn 也写 transform，会互相覆盖。

     右位移必须比线稿多 0.115 × 模具宽 —— 设计稿里模具右缘（1710）在线稿右缘（1807）内侧，
     差 97px = 0.115 个模具宽，不是齐右缘。旧写法两张图都写 right:1.5%，
     等于把模具整体右移了 0.115 宽，框的右侧留白被吃光，模具就「出框」了。
     同时把模具缩到 0.885 倍：左缘原地不动（给文案留出距离），缩下来的宽度正好补成右位移，
     于是框内左右留白与设计稿同比例（左 0.089 / 右 0.115 个模具宽）。 */
  .hero__molds {
    left: auto;
    right: calc(1.5% + 0.115 * min(38.94%, 460px));
    top: 0;
    bottom: 0;
    margin-block: auto;
    width: min(38.94%, 460px);   /* = 0.885 × (44%, 520px) */
    opacity: 0.92;
  }

  /* 线稿锚在右缘 1.5%，宽度恒等于 1.20403 × 模具宽（1015/843），纵向与产品图同步居中，
     于是始终「包住」模具。两个数值必须跟上面的模具宽用同一个表达式，改一处就要改两处。 */
  .hero__wire {
    left: auto;
    right: 1.5%;
    top: 0;
    bottom: 0;
    margin-block: auto;
    width: calc(1.20403 * min(38.94%, 460px));
  }

  .hero__copy {
    position: relative;
    left: 0;
    top: 0;
    width: auto;
    min-width: 0;                 /* 关键：否则 flex 子项被长句撑破容器 */
    flex: 1 1 auto;
    max-width: min(680px, 62%);
    margin-block: auto;           /* 上下等分剩余空间 = 垂直居中 */
    padding: clamp(32px, 4.2vw, 64px) 40px;  /* 上下对称；底部仍够指示点避让 */
    z-index: 1;
  }

  .hero__eyebrow {
    position: static;
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    white-space: normal;
  }

  .hero__title {
    position: static;
    margin: 0 0 16px;
    font-size: clamp(28px, 3.6vw, 50px);
    line-height: 1.14;
  }

  /* 设计稿用 <br> 卡死两行；窄屏容器变窄后硬换行会挤成三四行，这里放开自然折行 */
  .hero__title br,
  .hero2__title br,
  .hero3__title br {
    display: none;
  }

  /* 中文的 <br> 是「定制食品保鲜盒 / 注塑模具」这种断句，放开会掉出孤字（末尾单字成行），
     所以按语言回填。选择器带 :lang(zh)，特异性高于上面那条，不需要靠顺序。 */
  html:lang(zh) .hero__title br,
  html:lang(zh) .hero2__title br,
  html:lang(zh) .hero3__title br {
    display: inline;
  }

  .hero__desc {
    position: static;
    width: auto;
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__cta {
    position: static;
    width: 190px;
    height: 57px;
    padding: 0 10px 0 25px;
    border-radius: 14px;
    font-size: 16px;
  }

  .hero__cta-ic {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .hero__cta-ic svg {
    width: 15px;
    height: 15px;
  }

  /* slide 2：三张图层叠出来的构图在窄屏没法等比站住，只留模具本体 */
  .hero2__shadow,
  .hero2__med {
    display: none;
  }

  .hero2__mold {
    left: auto;
    right: 1.5%;
    top: 0;
    bottom: 0;
    margin-block: auto;
    width: min(44%, 520px);
  }

  .hero2__copy {
    width: auto;
    max-width: min(680px, 62%);
  }

  .hero2__title {
    position: static;
    width: auto;
    margin: 0 0 16px;
    font-size: clamp(28px, 3.6vw, 50px);
    line-height: 1.14;
  }

  .hero2__desc {
    position: static;
    width: auto;
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.55;
  }

  /* slide 3：底图已是 16:9 满幅，只需把模具组收到右下、文案回到流式 */
  .hero3__prod {
    left: auto;
    right: 1.5%;
    top: 0;
    bottom: 0;
    margin-block: auto;
    width: min(34%, 420px);
    max-height: 78%;
    object-fit: contain;
    object-position: right center;
  }

  .hero3__copy {
    width: auto;
    max-width: min(680px, 62%);
  }

  .hero3__title {
    position: static;
    width: auto;
    margin: 0 0 16px;
    font-size: clamp(28px, 3.6vw, 50px);
    line-height: 1.14;
  }

  .hero3__desc {
    position: static;
    width: auto;
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (max-width: 1100px) {
  /* 与 ≤1439 档同一套算法：模具 = 0.885 × (36%, 400px) = (31.86%, 354px)，
     右位移再补 0.115 个模具宽，线稿宽恒为 1.20403 倍。改一处必须同步改两处。 */
  .hero__molds {
    width: min(31.86%, 354px);
    right: calc(2% + 0.115 * min(31.86%, 354px));
    /* bottom 不再覆盖：纵向居中由 ≤1439 档的 top:0/bottom:0 + margin auto 负责 */
    opacity: 0.9;
  }

  .hero__wire {
    right: 2%;
    width: calc(1.20403 * min(31.86%, 354px));
  }

  .hero2__mold {
    width: min(36%, 400px);
    right: 2%;
  }

  .hero3__prod {
    width: min(28%, 340px);
    right: 2%;
  }

  .hero__copy,
  .hero2__copy,
  .hero3__copy {
    max-width: 58%;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 500px;
  }

  .hero__photo {
    object-position: 68% 45%;
  }

  .hero__wash {
    width: 54%;
    opacity: 0.85;
  }

  /* 产品图保留，线稿框退出：小屏下框只剩几条碎线，还会把产品图挤小。
     仍用「右缘锚定 + 纵向 margin auto 居中」，与 ≤1439 档同一套机制，
     所以不会和 heroArtIn 的 transform 打架（不能用 translate 居中）。 */
  .hero__wire {
    display: none;
  }

  .hero__molds,
  .hero2__mold,
  .hero3__prod {
    left: auto;
    right: 3%;
    top: 0;
    bottom: 0;
    margin-block: auto;
    opacity: 0.95;
  }

  /* 尺寸按「文案可读宽度优先」定：文案占 58%，产品图吃掉右侧 38%，
     820 宽下两者之间还有 20px 左右空隙。 */
  .hero__molds {
    width: min(38%, 300px);
  }

  .hero2__mold {
    width: min(35%, 270px);
  }

  .hero3__prod {
    width: min(28%, 230px);
    max-height: 74%;
    object-fit: contain;
    object-position: right center;
  }

  .hero__copy,
  .hero2__copy,
  .hero3__copy {
    max-width: 58%;
    padding: 34px 8px 48px 24px;
  }

  .hero__eyebrow {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .hero__title,
  .hero2__title,
  .hero3__title {
    font-size: clamp(28px, 6.6vw, 40px);
    margin-bottom: 14px;
  }

  .hero__desc,
  .hero2__desc,
  .hero3__desc {
    font-size: 14px;
    margin-bottom: 22px;
  }
}

/* 700 及以下改上下叠放：再窄下去左右分栏会把标题挤成四五行 */
@media (max-width: 700px) {
  /* 高度加长给产品图腾位置；三张 banner 文案行数不同，用 min-height 兜底 */
  .hero {
    min-height: 600px;
  }

  .hero__wire {
    display: none;
  }

  /* 文案在上、产品图在下：三张 banner 的标题行数不一样（2~3 行），
     绝对定位贴底会被长文案压住，所以这里改成 flex 纵向流：
     文案先排，产品图用 margin-top:auto 吃掉剩余空间沉到底部。 */
  .hero__slide {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__copy,
  .hero2__copy,
  .hero3__copy {
    order: 1;
    flex: 0 0 auto;
    max-width: none;
    margin: 0;                    /* 清掉 ≤1439 档的 margin-block:auto，否则和产品图抢空间 */
    padding: 30px 20px 0;
  }

  .hero__molds,
  .hero2__mold,
  .hero3__prod {
    order: 2;
    position: static;
    align-self: flex-end;
    margin: auto 7% 64px 0;       /* 上边 auto = 沉底；底部 64 = 指示器(16+22) + 26 间距 */
    opacity: 0.95;
  }

  .hero__molds {
    width: min(64%, 320px);
  }

  .hero2__mold {
    width: min(50%, 260px);
  }

  /* 第 3 张是竖构图（557×663），600~700 这段宽度下按百分比会高到顶住指示器，
     所以加死高度上限；object-fit: contain 保证不被压扁，多出来的宽度只是透明留白。 */
  .hero3__prod {
    width: min(46%, 240px);
    max-height: 240px;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  /* 手机上文字几乎横向铺满，横向渐变不够用，改成整体下沉的竖直压暗 */
  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(12, 3, 0, 0.34) 0%,
      rgba(12, 3, 0, 0.58) 55%,
      rgba(12, 3, 0, 0.8) 100%
    );
  }

  .hero__title,
  .hero2__title,
  .hero3__title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero__desc,
  .hero2__desc,
  .hero3__desc {
    font-size: 13px;
    line-height: 1.5;
  }
}


/* 系统「减少动态效果」：本站按客户要求**不做降级**（与 zm-motion.js 的
   RESPECT_REDUCE = false 保持一致），所以这里故意没有全局的
   `animation-duration / transition-duration: .001ms !important` 一刀切。
   之前有这一段时，凡是开了 macOS「减弱动态效果」的机器（不少客户是默认开着的）
   会出现「一半动一半不动」的怪现象：CSS 过渡全被压成 0（圆点指示器直接跳），
   而 zm-motion.js 用 anime.js 跑的标题逐字动画照常播 —— 看着就像某个组件坏了。
   若要恢复严格的无障碍降级：把这一段和文件末尾两处 reduce 块加回来，
   同时把 main.js 的 RESPECT_REDUCE 改成 true。 */

/* ==========================================================================
   内页（产品 / 新闻 / 关于 / 流程 / 联系 / 留言）通用版式
   与首页共用同一套 tokens 与 .wrap / .btn / .h2，视觉语言保持一致。
   ========================================================================== */
.zn-page {
  padding-bottom: 96px;
}

/* 页面头图：真实照片铺底 + 左侧渐变压暗保证白字可读（不再用纯色 / 渐变当背景）
   照片单独走 ::before 一层，好处是能只对照片做提亮/加饱和，不影响文字与其它子元素；
   各栏目只需要换 --banner-img / --banner-pos / --banner-bright 等几个变量。 */
.zn-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(220px, 21vw, 330px);
  padding: 92px 0 84px;
  color: #fff;
  background-color: #1b2027;
  --banner-img: url(../img/caps-factory.webp);
  --banner-pos: center 46%;
  --banner-size: cover;
  --banner-bright: 1.14;   /* 整体亮度，暗照片往上加 */
  --banner-sat: 1.06;      /* 饱和度，偏色照片往下压 */
  --banner-contrast: 1.04;
}

/* 照片层：适度提亮 + 微加饱和，画面不再发闷发黑 */
.zn-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-img);
  background-size: var(--banner-size);
  background-position: var(--banner-pos);
  background-repeat: no-repeat;
  filter: brightness(var(--banner-bright)) saturate(var(--banner-sat)) contrast(var(--banner-contrast));
}

/* 明暗层：只在文字所在的左侧收敛压暗，右侧基本保留照片原亮度 */
.zn-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 21, 0.68) 0%, rgba(12, 16, 21, 0.5) 32%, rgba(12, 16, 21, 0.2) 64%, rgba(12, 16, 21, 0.02) 100%),
    linear-gradient(0deg, rgba(12, 16, 21, 0.18) 0%, rgba(12, 16, 21, 0) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.zn-banner > .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* 各栏目配自己的实景照片（图片都在 /static/web/zaynor/img/）
   --banner-bright 按各自照片底子的明暗单独给，暗照片多提一点，亮照片少提。 */
.zn-banner--about {
  --banner-img: url(../img/foot-shop.webp);
  --banner-pos: center 42%;
  --banner-bright: 1.24;
}

.zn-banner--process {
  --banner-img: url(../img/caps-cnc.webp);
  --banner-pos: center 46%;
  --banner-bright: 1.28;
}

.zn-banner--product {
  --banner-img: url(../img/hero3-photo.webp);
  --banner-pos: 26% 64%;
  --banner-bright: 1;
  --banner-sat: 0.86;
}

/* 产品头图是浅景深虚化片，通用那套压暗一盖就只剩一片黑，单独放轻左端 */
.zn-banner--product::after {
  background:
    linear-gradient(90deg, rgba(12, 16, 21, 0.55) 0%, rgba(12, 16, 21, 0.38) 32%, rgba(12, 16, 21, 0.13) 64%, rgba(12, 16, 21, 0) 100%),
    linear-gradient(0deg, rgba(12, 16, 21, 0.12) 0%, rgba(12, 16, 21, 0) 56%);
}

.zn-banner--news {
  --banner-img: url(../img/hero2-photo.webp);
  --banner-pos: center 40%;
  --banner-bright: 1.05;
  --banner-contrast: 1.1;  /* 这张虚化浅景深，补点对比免发灰 */
}

.zn-banner--contact {
  --banner-img: url(../img/caps-factory.webp);
  --banner-pos: center 44%;
  --banner-bright: 1.12;
}

/* 头图大字：详情页改用 div（文章标题才是 h1），这里两种标签共用一套字号 */
.zn-banner h1,
.zn-banner__title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 54px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(6, 10, 15, 0.42);
}

.zn-crumb {
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 16px rgba(6, 10, 15, 0.45);
}

.zn-crumb a {
  color: inherit;
}

.zn-crumb a:hover {
  color: #fff;
}

/* 当前筛选状态条：分组与分类可叠加，chip 可逐个清除 */
.zn-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 46px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.zn-filters__label {
  font-size: 13px;
  color: var(--text-muted);
}

.zn-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  font-size: 13px;
  color: var(--red);
  transition: all 0.25s var(--ease);
}

.zn-chip:hover {
  border-color: var(--red);
  background: #fff5f5;
}

.zn-chip__x {
  font-size: 16px;
  line-height: 1;
  color: var(--text-muted);
}

.zn-filters__clear {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
}

.zn-filters__clear:hover {
  color: var(--red);
}

/* 状态条与标签条相邻时收紧间距，避免两段留白相加过大 */
.zn-filters + .zn-tabs {
  margin-top: 18px;
}

/* 分类筛选条 */
.zn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 46px 0 0;
}

.zn-tabs a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  font-size: 15px;
  color: var(--text-mid);
  transition: all 0.25s var(--ease);
}

.zn-tabs a:hover {
  border-color: var(--red);
  color: var(--red);
}

.zn-tabs a.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 树形分类两级标签：第一行 3 个一级，第二行当前一级下的可见子分类。
   第二行收紧间距、加浅底，视觉上明确读作「从属于上面那一行」。 */
.zn-tabs + .zn-tabs {
  margin-top: 14px;
}

.zn-tabs--sub {
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.zn-tabs--sub a {
  height: 34px;
  padding: 0 16px;
  font-size: 14px;
  background: #fff;
}

.zn-tabs--sub a.on {
  background: var(--red);
  color: #fff;
}

.zn-tabs__label {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* 卡片网格 */
.zn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 26px;
  /* 分类条的下边距收到 0，改由列表自己撑开；分类被隐藏时也能和头图留出气口 */
  margin-top: 42px;
}

/* 产品列表：大屏固定一行 5 个，每页 15 个正好 3 行。
   用修饰类限定，详情页「相关产品」用的裸 .zn-grid 与新闻列表都不受影响。
   5 列下卡片变窄，正文/标题按新闻卡片的密度收敛，避免文字挤成一团。 */
.zn-grid--products {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.zn-grid--products .zn-card__body {
  padding: 16px 16px 18px;
}

.zn-grid--products .zn-card__title {
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

.zn-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.zn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.36);
}

.zn-card__pic {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.zn-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.zn-card:hover .zn-card__pic img {
  transform: scale(1.04);
}

.zn-card__body {
  padding: 20px 22px 24px;
}

.zn-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-card__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-card__date {
  margin-top: 14px;
  font-size: 13px;
  color: #9a9a9a;
}

/* 新闻列表：和产品列表同一套卡片，只是排得更密 —— 大屏每行 5 篇，
   每页 10 篇正好两行；原来一行一篇、右侧空掉半页 */
.zn-grid--news {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

/* 卡片拉成等高列，日期沉到卡片底部，同一行的日期才不会参差 */
.zn-grid--news .zn-card {
  display: flex;
  flex-direction: column;
}

.zn-grid--news .zn-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
}

.zn-grid--news .zn-card__title {
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

.zn-card__excerpt {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zn-grid--news .zn-card__date {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* 相关阅读（详情页尾部）：直接复用列表页的 .zn-grid--news（一行 5 个、同一套卡片），
   详情页看到的就是列表页那张网格，降列断点也自动跟着走 */
.zn-related {
  margin-top: clamp(48px, 5.4vw, 78px);
  padding-top: clamp(30px, 3.2vw, 46px);
  border-top: 1px solid var(--line);
}

.zn-related__title {
  margin: 0;
  font-size: clamp(21px, 1.7vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* .zn-grid 默认带 42px 上边距（给列表页分类条留的），这里标题已经隔开了，收窄一点 */
.zn-related .zn-grid {
  margin-top: clamp(20px, 2vw, 30px);
}

/* 列表式（新闻） */
.zn-list {
  border-top: 1px solid var(--line);
}

.zn-list__item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.zn-list__item:hover .zn-list__title {
  color: var(--red);
}

.zn-list__pic {
  flex: 0 0 240px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
}

.zn-list__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zn-list__main {
  min-width: 0;
}

.zn-list__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.zn-list__desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.zn-list__date {
  margin-top: 12px;
  font-size: 13px;
  color: #9a9a9a;
}

/* 正文（详情 / 单页） */
.zn-detail {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.zn-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.zn-detail h2,
.zn-detail h3 {
  margin: 28px 0 12px;
  font-weight: 500;
  color: var(--ink);
}

.zn-detail p {
  margin: 0 0 16px;
}

.zn-detail ul,
.zn-detail ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.zn-detail li {
  margin-bottom: 6px;
}

/* 详情头部（产品） */
.zn-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  margin-top: 44px;
  align-items: start;
}

.zn-detail-pic {
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
}

.zn-detail-pic img {
  width: 100%;
  height: auto;
}

.zn-detail-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

/* 文章页专用：标题居中 + 限宽 960px（约 45 个字符一行），
   不限宽的话长标题会顶到容器两边、读起来很累；balance 让两行长度接近，避免末行只剩一个词 */
.zn-detail-title--center {
  max-width: min(100%, 960px);
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}

/* 详情页标题下方的时间 / 浏览量：一条细线收住，把标题和正文分开 */
.zn-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.zn-detail__meta span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin-right: 14px;
  vertical-align: -1px;
  background: #cfcfcf;
}

/* 上一篇 / 下一篇：左右分列，窄屏自动换行 */
.zn-pn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.6;
}

.zn-pn a {
  max-width: 46%;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.zn-pn a:hover {
  color: var(--red);
}

.zn-detail-sub {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* 产品详情：参数表（正文里 <table class="zn-spec"> 用）。
   两列细线表，左侧字段名带浅底，长参数值（钢材牌号那一串）自动换行不撑破容器。 */
.zn-spec {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.zn-spec th,
.zn-spec td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.zn-spec tr:first-child th,
.zn-spec tr:first-child td {
  border-top: 1px solid var(--line);
}

.zn-spec th {
  width: 30%;
  min-width: 140px;
  color: var(--ink);
  background: var(--soft);
  white-space: nowrap;
}

.zn-spec td {
  color: var(--text);
}

/* 产品相册：详情正文下方补充角度，点开看原图 */
.zn-gallery {
  margin-top: 48px;
}

.zn-gallery__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}

.zn-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.zn-gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
}

.zn-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.zn-gallery__item:hover img {
  transform: scale(1.04);
}

/* 制品示意：样品图留在相册，但用说明行 + 角标讲清它是什么，避免被误认为放错图 */
.zn-gallery__note {
  margin: -6px 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.zn-gallery__item--sample {
  position: relative;
}

.zn-gallery__tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(24, 24, 24, .78);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .zn-gallery__item:hover img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .zn-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .zn-spec {
    font-size: 13.5px;
  }

  .zn-spec th {
    width: 42%;
    min-width: 0;
    padding: 10px 11px;
    white-space: normal;
  }

  .zn-spec td {
    padding: 10px 11px;
  }

  .zn-gallery {
    margin-top: 36px;
  }

  .zn-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.zn-meta {
  margin: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.zn-meta div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.zn-meta span {
  flex: 0 0 96px;
  color: var(--text-muted);
}

/* 分页 */
.zn-pager {
  margin: 44px 0 0;
  text-align: center;
  font-size: 15px;
}

.zn-pager a,
.zn-pager span {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  margin: 0 3px;
  line-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-mid);
}

.zn-pager .active,
.zn-pager .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* 空态 */
.zn-empty {
  padding: 90px 0;
  text-align: center;
  color: var(--text-muted);
}

.zn-empty a {
  color: var(--red);
  text-decoration: underline;
}

/* 表单（联系 / 留言） */
.zn-form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.zn-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-mid);
}

.zn-form input,
.zn-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.zn-form input:focus,
.zn-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.zn-form .full {
  grid-column: 1 / -1;
}

.zn-form__captcha {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.zn-form__captcha > input {
  flex: 1 1 150px;
  min-width: 0;
  width: auto;
}

/* 中文站「换一张」在窄列里会被挤成竖排，禁掉折行 */
.zn-form__captcha > a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.zn-form__captcha img {
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

/* 联系页两栏 */
.zn-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  margin-top: 44px;
  align-items: stretch;
}

/* 右栏表单卡（留言页不套这个类，仍用 .zn-form 自带的 36px 上边距） */
.zn-contact-form .zn-form {
  margin-top: 26px;
}

/* 左栏：信息卡 —— 一张卡一类信息，浅灰底 + 圆点图标 + 小标签/黑值；
   卡片等到分右栏表单的高度，内容垂直居中 */
.zn-contact-info {
  display: flex;
  flex-direction: column;
}

.zn-contact-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 1 auto;
  justify-content: flex-start;
}

.zn-contact-card {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  max-height: 168px;
  gap: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 14px;
  background: #f7f7f8;
}

.zn-contact-card__ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fcece9;
  color: var(--red);
}

.zn-contact-card__ic svg {
  width: 19px;
  height: 19px;
}

.zn-contact-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.zn-contact-card__label {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #8c8c8c;
}

.zn-contact-card__val {
  display: block;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s var(--ease);
}

a.zn-contact-card__val:hover {
  color: var(--red);
}

/* 一个字段下有多条时（如两位联系人的电话）：同一行用空格隔开，窄屏自然折行 */
.zn-contact-card__vals {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}

/* 右栏：表单卡 */
.zn-contact-form__card {
  padding: 30px 32px 34px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px -40px rgba(0, 0, 0, 0.38);
}

.zn-contact-form__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.zn-contact-form__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 流程页步骤 */
.zn-steps {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.zn-step {
  padding: 24px 24px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.26);
}

.zn-step img {
  width: 100%;
  aspect-ratio: 708 / 318;
  object-fit: cover;
  border-radius: 12px;
}

.zn-step h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 500;
}

.zn-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- 内页响应式 ---------- */
@media (max-width: 1280px) {
  .zn-grid--news,
  .zn-grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  /* minmax(0,1fr)：单列时也要压住 grid 项的 min-width:auto，
     否则验证码那一行会把整列撑宽，页面出现横向滚动 */
  .zn-detail-head,
  .zn-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .zn-list__pic {
    flex: 0 0 180px;
  }

  /* 单列时左右不再比高，卡片间距收回常规档，卡片高度回到内容高度 */
  .zn-contact-cards {
    gap: 18px;
  }

  .zn-contact-card {
    flex: none;
    max-height: none;
  }

  .zn-grid--news,
  .zn-grid--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .zn-banner {
    min-height: 0;
    padding: 56px 0 48px;
    --banner-pos: center 42%;
  }

  /* 窄屏文案铺满整行，左右向的渐变罩不住了，改成整体轻压暗，保证白字可读 */
  .zn-banner::after {
    background:
      linear-gradient(180deg, rgba(12, 16, 21, 0.38) 0%, rgba(12, 16, 21, 0.22) 100%);
  }

  .zn-list__item {
    flex-direction: column;
    gap: 16px;
  }

  .zn-list__pic {
    flex: none;
    width: 100%;
  }

  .zn-grid--news,
  .zn-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .zn-page {
    padding-bottom: 60px;
  }

  .zn-form {
    grid-template-columns: 1fr;
  }

  .zn-grid,
  .zn-grid--products {
    grid-template-columns: 1fr;
  }

  /* 联系页：窄屏卡片收紧，联系人两列并一列 */
  .zn-contact-card {
    gap: 15px;
    padding: 18px 20px;
  }

  .zn-contact-card__ic {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .zn-contact-card__val {
    font-size: 16px;
  }

  .zn-contact-form__card {
    padding: 22px 20px 26px;
  }

  /* 验证码：窄屏输入框独占一行，图片与「换一张」落到第二行，输入框不被截断 */
  .zn-form__captcha > input {
    flex: 1 1 100%;
  }

  .zn-form__captcha img {
    height: 40px;
  }
}

/* ==========================================================================
   旧版块兼容层（招聘 / 行情 / 搜索 / 自定义页等尚未改版的内页）
   这些模板仍沿用 skr.css 时代的类名与变量。旧的 skr.css 已停止加载，
   这里补齐最小可用的样式，避免出现「无样式 + var() 失效」的破版。
   后续这些版块按 zn-* 重写后，本段可直接删除。
   ========================================================================== */
:root {
  --primary: var(--red);
  --primary-dark: var(--red-deep);
  --gray: var(--text-muted);
}

.crumb {
  padding: 18px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.crumb a:hover {
  color: var(--red);
}

.side-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.side-menu a {
  display: block;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-mid);
}

.side-menu a:last-child {
  border-bottom: 0;
}

.side-menu a:hover,
.side-menu a.on {
  background: var(--red);
  color: #fff;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.28);
}

.card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card .body {
  padding: 16px 18px 20px;
}

.card .body h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.card .price {
  margin-top: 6px;
  color: var(--red);
  font-weight: 600;
}

.detail {
  padding: 8px 0 0;
}

.detail h1 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.detail .meta {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.list-item h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.list-item p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.list-item .date {
  flex: 0 0 108px;
  font-size: 14px;
  color: #9a9a9a;
}

.notice {
  background: #fff5f3;
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-mid);
  font-size: 14px;
}

.captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.captcha-img {
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
}

/* 栏目头图（旧版块 include public/cate-banner） */
.zn-subbanner {
  position: relative;
  margin: 8px 0 30px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--soft);
}

.zn-subbanner img {
  width: 100%;
  aspect-ratio: 1920 / 420;
  object-fit: cover;
}

.zn-subbanner__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 34px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  color: #fff;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .list-item { flex-direction: column; }
  .list-item .date { flex: none; }
}

/* 分页：ThinkPHP 默认渲染成 <ul class="pagination"><li><a|span></li></ul>，
   这里补齐 ul/li 的排版，并把高亮打到 li.active 内的 span 上。 */
.zn-pager ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zn-pager li {
  display: inline-block;
}

.zn-pager li.active span,
.zn-pager li.disabled span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.zn-pager li.disabled span {
  background: #b9b9b9;
  border-color: #b9b9b9;
}

/* ============================================================
   滚动动效门控（ZMMotion 引擎 · 原 zm-motion.js 体系）
   规则挂 .zm-anim 前缀（<head> 内联脚本添加；引擎 2.5s 未就绪则移除
   → 内容一律可见，渐进增强）。动画参数全部由 zm-motion.js 计算。
   · 用法：元素加 class="reveal"（默认上浮）或方向变体：
     reveal--up/--down/--left/--right/--zoom/--blur/--rotate/--pop/
     --skew/--flip/--clip/--fade/--rise
   ============================================================ */
.zm-anim .reveal,
.zm-anim [data-anim],
.zm-anim .side,
.zm-anim .card, .zm-anim .list-item,
.zm-anim .detail h1, .zm-anim .content, .zm-anim .meta, .zm-anim .notice,
.zm-anim .crumb { opacity: 0; }

.zm-anim .is-visible { opacity: 1; }

/* anime.js 不动画 transform-origin，flip 的「由下展开」基线由 CSS 静态提供 */
.zm-anim .reveal--flip { transform-origin: bottom center; }

/* caps 板块背景视差余量：原图 inset:0 铺满，上下各扩 6%（≈53px），
   供 ±30px 视差位移不露边。引擎未加载时此规则不生效（保持原铺满）。 */
.zm-anim .caps__bg {
  top: -6%;
  bottom: -6%;
}

/* ---------------------------------------------------------------------------
   后台 la_flash 图（.hero__photo--up）在各断点的取景：
   这张图已是设计稿可见区，焦点居中即可；用双类提高权重，
   压过窄屏段给原始 1272 高照片层准备的 62%/68% 焦点偏移。 */
.hero__photo.hero__photo--up {
  object-position: 50% 50%;
}

/* ============================================================
   /company —— 关于我们（改版）
   编辑式版面：简介 → 关键数据 → 优势 → 制造实力 → 交付流程 → 联系
   全部使用 co-* 命名空间，不覆盖首页 .about-* / .process-* 与内页 .zn-*
   ============================================================ */

/* 面包屑里用斜线代替 &raquo;，与改版后的其它页面一致 */
.co-banner .zn-crumb__sep {
  margin: 0 9px;
  opacity: 0.5;
}

/* 小节小标签：只用一行小字，不做编号、不加尾线（编号留给流程，全页只一套） */
.co-eyebrow {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.co-eyebrow--light {
  color: rgba(255, 255, 255, 0.62);
}

/* 章节标题：不再固定预留下眉标间距，有小标签时再补 */
.co-h2 {
  margin-top: 0;
  font-size: clamp(27px, 2.6vw, 50px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  color: var(--ink);
}

/* 有小标签时，标题与标签之间留一口气 */
.co-eyebrow + .co-h2 {
  margin-top: 20px;
}

/* ------------------------------------------------ 01 / 公司简介 */
.co-intro {
  padding: clamp(64px, 7vw, 132px) 0 clamp(52px, 5.6vw, 96px);
}

.co-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(30px, 4.6vw, 96px);
  align-items: center;
}

.co-prose {
  margin-top: clamp(22px, 2.2vw, 34px);
  max-width: 62ch;
  font-size: clamp(15.5px, 1.06vw, 19px);
  line-height: 1.95;
  color: var(--text-muted);
}

/* 落款：只留一行灰字，不用红线装饰 */
.co-sign {
  margin-top: clamp(24px, 2.4vw, 38px);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.co-prose p + p {
  margin-top: 1.15em;
}

.co-prose strong {
  font-weight: 500;
  color: var(--ink);
}

.co-prose a {
  color: var(--red);
}

.co-prose img {
  width: 100%;
  height: auto;
  margin: 0 0 24px;
  border-radius: 2px;
}

/* 封面图：直角、无描边，避免方图“贴上去”的模板感 */
.co-intro__pic {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 4 / 3.7;
}

.co-intro__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------ 02 / 关键数据 */
.co-stats {
  position: relative;
  padding: clamp(44px, 4.6vw, 80px) 0;
  background: #12151a;
  color: #fff;
}

.co-stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 56px);
  margin-top: clamp(22px, 2.4vw, 38px);
}

/* 三列均分整行，组内居中——三项内容长短不一，左对齐时第三列右边会空一大截，
   整块看着偏左；居中后每组的重心落在各自格子的中线上，视觉才是平衡的 */
.co-stats .co-eyebrow {
  text-align: center;
}

.co-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(18px, 1.6vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.co-stats__item b {
  display: block;
  font-size: clamp(32px, 3.2vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.co-stats__item span {
  display: block;
  margin-top: 12px;
  font-size: clamp(12.5px, 0.92vw, 15px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.58);
}

/* ------------------------------------------------ 03 / 我们的优势 */
.co-value {
  padding: clamp(56px, 6vw, 116px) 0;
}

.co-value__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 110px);
  align-items: start;
}

/* 左栏跟随滚动，右栏列表较长时视线不丢 */
.co-value__head {
  position: sticky;
  top: clamp(24px, 3vw, 48px);
}

/* 左栏引导语：一句话说清这段在讲什么，顶住大标题的空白 */
.co-lead {
  margin-top: clamp(16px, 1.6vw, 24px);
  max-width: 32ch;
  font-size: clamp(14.5px, 1vw, 17px);
  line-height: 1.8;
  color: var(--text-muted);
}

.co-value__list {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.co-value__item {
  position: relative;
  padding: clamp(22px, 2vw, 32px) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* 悬停时红线从左向右盖住分隔线 */
.co-value__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.55s var(--ease);
}

.co-value__item:hover::after {
  width: 100%;
}

.co-value__title {
  font-size: clamp(19px, 1.5vw, 27px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.co-value__desc {
  margin-top: 12px;
  max-width: 60ch;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.8;
  color: var(--text-muted);
}

/* ------------------------------------------------ 04 / 制造实力 */
.co-shop {
  padding: clamp(56px, 6vw, 116px) 0;
  background: var(--cream);
}

.co-shop__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4.6vw, 92px);
  align-items: center;
}

.co-shop__pic {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  /* 车间是广角横图，主体机床排在左右两侧；近方形裁切会把它们切掉只剩过道
     → 用 16:9 接近原图比例，整排机床能进画面 */
  aspect-ratio: 16 / 9;
}

.co-shop__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.co-shop__lead {
  margin: clamp(18px, 1.8vw, 26px) 0 clamp(26px, 2.4vw, 38px);
  max-width: 48ch;
  font-size: clamp(14.5px, 0.98vw, 17px);
  line-height: 1.85;
  color: var(--text-muted);
}

/* ------------------------------------------------ 05 / 交付流程 */
.co-flow {
  padding: clamp(56px, 6vw, 116px) 0;
}

.co-flow__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.co-flow__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.co-flow__more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.co-flow__more:hover {
  color: var(--red);
  border-color: var(--red);
}

.co-flow__more:hover svg {
  transform: translateX(4px);
}

.co-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 3vw, 48px);
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

/* 四步用竖线分栏，像一张工序表；只有编号，没有色块和箭头 */
.co-flow__item {
  position: relative;
  padding: clamp(22px, 2vw, 30px) clamp(18px, 2vw, 34px) 0 0;
}

.co-flow__item + .co-flow__item {
  padding-left: clamp(18px, 2vw, 34px);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.co-flow__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.55s var(--ease);
}

.co-flow__item:hover::before {
  width: 100%;
}

.co-flow__no {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.34);
}

.co-flow__title {
  margin-top: 10px;
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.co-flow__desc {
  margin-top: 10px;
  font-size: clamp(13.5px, 0.92vw, 15px);
  line-height: 1.75;
  color: var(--text-muted);
}

/* ------------------------------------------------ 06 / 联系我们 */
.co-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.4vw, 120px) 0;
  color: #fff;
  background-color: #0f1216;
}

/* 车间全景铺底：纵深过道自然把视线引向右侧，避免整块死黑显得空。
   图由 main.js 在区块临近视口时注入（元素上的 data-bg → --zn-bg），
   首屏不再为一张页面底部的背景图占带宽；JS 未执行时退回纯深色底。 */
.co-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--zn-bg);
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  filter: brightness(0.95) saturate(0.92);
}

/* 压暗层：左深右透，文字所在的左侧压住，右侧保留车间细节 */
.co-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 17, 0.95) 0%, rgba(10, 13, 17, 0.88) 34%, rgba(10, 13, 17, 0.5) 66%, rgba(10, 13, 17, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 13, 17, 0.45) 0%, rgba(10, 13, 17, 0.05) 58%);
  pointer-events: none;
}

.co-cta .wrap {
  position: relative;
  z-index: 1;
}

.co-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
}

.co-cta h2 {
  margin-top: 0;
  font-size: clamp(28px, 3vw, 56px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
}

.co-cta__lead {
  margin-top: clamp(16px, 1.6vw, 24px);
  max-width: 48ch;
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.64);
}

/* 右侧只剩一个按钮：整列贴右边界，垂直方向跟左侧文案居中 */
.co-cta__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  width: fit-content;
}

/* ------------------------------------------------ 响应式 */
@media (max-width: 1180px) {
  .co-intro__grid,
  .co-value__grid,
  .co-shop__grid,
  .co-cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .co-value__head {
    position: static;
  }

  /* 单列时图片会占满整行，压成 16:9 免得一块照片顶掉半屏 */
  .co-intro__pic,
  .co-shop__pic {
    aspect-ratio: 16 / 9;
  }

  /* 两列时竖线会落在行首，改用每项上边线分隔，读起来仍是一条条工序 */
  .co-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
  }

  .co-flow__item,
  .co-flow__item + .co-flow__item {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .co-cta__grid {
    align-items: start;
  }

  /* 单列时按钮落在文案下方，跟着整块左对齐，贴右会显得飘 */
  .co-cta__side {
    justify-self: start;
    width: auto;
  }

  /* 单列时文案铺满整行，左右渐变罩不住了，改成整体压暗保证白字可读 */
  .co-cta::after {
    background:
      linear-gradient(180deg, rgba(10, 13, 17, 0.9) 0%, rgba(10, 13, 17, 0.76) 55%, rgba(10, 13, 17, 0.88) 100%);
  }
}

@media (max-width: 820px) {
  .co-stats__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 22px;
  }

  .co-stats__item {
    padding: 20px 0;
  }

  .co-stats__item b {
    font-size: clamp(34px, 9vw, 52px);
  }

  .co-stats__item span {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .co-eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .co-flow__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .co-flow__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .co-banner .zn-crumb__sep {
    margin: 0 6px;
  }
}

/* ---- 悬停微交互：原本完全没有反馈的两处 ----
   注意：必须写在 .zn-rev 之前。同一元素上「入场过渡」和「hover 过渡」都要声明，
   谁在后面谁生效；入场只需要几百毫秒，而 hover 是常驻的，所以让 .zn-rev 在后面接管
   transition，JS 入场结束后会把 .zn-rev 摘掉，hover 的过渡自动回到这里这套。 */
.zn-list__pic img {
  transition: transform 0.6s var(--ease);
}

.zn-list__item:hover .zn-list__pic img {
  transform: scale(1.045);
}

.zn-contact-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.zn-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 17, 0.09);
  box-shadow: 0 16px 34px -26px rgba(17, 17, 17, 0.6);
}

/* ==========================================================================
   内页入场动效（.zn-rev 体系）
   --------------------------------------------------------------------------
   首页板块走的是 main.js 的 .reveal + zm-motion.js 的 anime.js 预设（位移 80px、
   带回弹），那套是给营销首屏用的。内页以阅读为主，另起一套更克制的：
   只动 opacity + 22px 位移，0.68s 缓出，同组 55~90ms 错峰，不做旋转与过冲。
   类名独立（.zn-rev，不复用 .reveal）是为了不被 zm-motion 拿去套 anime 预设。
   main.js 负责：按容器分组打类、写 --zn-d 错峰延迟、进视口加 .is-in。
   ========================================================================== */
.zn-rev {
  opacity: 0;
  /* 用独立的 translate / scale 属性，不用 transform ——
     卡片 hover 的 translateY(-4px) 走 transform，两者各管各的，不会互相覆盖。 */
  translate: 0 22px;
  transition: opacity 0.68s var(--ease), translate 0.68s var(--ease), scale 0.68s var(--ease);
  transition-delay: var(--zn-d, 0ms);
}

.zn-rev--fade { translate: none; }
.zn-rev--left { translate: -26px 0; }
.zn-rev--right { translate: 26px 0; }
.zn-rev--zoom { translate: 0; scale: 0.972; }

.zn-rev.is-in {
  opacity: 1;
  translate: none;
  scale: none;
}

/* 只在没进场时提示合成层，进场后收回，避免整页长期占 GPU */
.zn-rev:not(.is-in) {
  will-change: opacity, translate, scale;
}

/* main.js 打 .zn-rev / .reveal 的那一瞬间必须「直接隐藏」，不能走淡出：
   首屏元素从打类到加 .is-in 只隔 1~2 帧，若此处保留 0.68s 过渡，
   过渡还没走出第一帧就被反向回去，opacity 全程停在 1 —— 肉眼就是没有动画。
   main.js 强制一次样式落地后立刻移除 .zn-rev-init，后续入场照常过渡。 */
.zn-rev-init .zn-rev,
.zn-rev-init .reveal {
  transition: none !important;
}

/* 头图：照片轻微推近 + 面包屑/标题依次上浮。
   不挂 JS —— 头图在首屏，等脚本执行再淡入会先闪一下白。
   不再包在 no-preference 里：本站不按「减少动态效果」降级（见上文说明）。 */
@keyframes znBannerPhoto {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

@keyframes znBannerText {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.zn-banner::before {
  animation: znBannerPhoto 1.7s var(--ease) both;
}

.zn-banner .zn-crumb {
  animation: znBannerText 0.8s var(--ease) 0.06s both;
}

.zn-banner h1,
.zn-banner .zn-banner__title {
  animation: znBannerText 0.85s var(--ease) 0.16s both;
}

/* 「减少动态效果」不再单独降级（见文件中部说明）；下面两块原先是把
   .zn-rev / .zn-banner / img.zn-img 静音用的，已随全局策略一起撤掉。
   内容可见性由 main.js 的入场兜底保证，不依赖媒体查询。 */


/* ==========================================================================
   图片懒加载淡入（img.zn-img）
   --------------------------------------------------------------------------
   浏览器原生 loading="lazy" 只负责「什么时候发请求」，图片解码完成到贴上屏是
   一瞬间的，滚动时会有「啪」地弹出来一块的感觉。这里由 main.js 给还没加载完的
   懒加载图挂 .zn-img（先透明），load 后再挂 .zn-img--in 播一次淡入。

   刻意用 animation 而不是 transition：
     - .zn-list__pic img 的 hover 缩放已经占用了 transform 的 transition，
       再往同一个元素上写 transition 会把那条覆盖掉（同权重、位置更靠后）；
     - animation 与 transition 互不干扰，图进场后仍能正常 hover 放大。
   ========================================================================== */
img.zn-img {
  opacity: 0;
}

img.zn-img--in {
  animation: znImgIn 0.62s var(--ease) both;
}

@keyframes znImgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 懒加载淡入同样不按「减少动态效果」降级（见文件中部说明） */
