/* ============================================================
   瑞铭科技官网 · 首页样板间 v1.3
   本轮修订（负责人第二批反馈，Mazak 式首屏）：
   - 导航拉通全宽（Logo 顶左、联系我们顶右），透明悬浮于首屏，
     滚过首屏变白底——与第一模块融为一体
   - 品牌区：JLPM 图形标（信息资料原文件裁切）+"瑞铭科技"文字
   - 首屏改近满屏轮播：公司介绍/装配线/校直机/抛光机 4 张，
     自动 6.5s + 箭头 + 数字指示器，Ken Burns 缓推，禁白框压字
   - 产品区重构为三大产品线（装配线/校直机/抛光机，父亲口径）
   - 客户带更新为 119 家清单中的重量级名单
   ============================================================ */

@font-face {
  font-family: "FangYuan";
  src: url("/fonts/AlimamaFangYuanTiVF.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "PuHuiTi";
  src: url("/fonts/AlibabaPuHuiTi-3-55-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "PuHuiTi";
  src: url("/fonts/AlibabaPuHuiTi-3-65-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "PuHuiTi";
  src: url("/fonts/AlibabaPuHuiTi-3-85-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}

:root {
  --blue: #0052a4;          /* Logo 实测主蓝 */
  --steel: #0d1622;         /* 瑞铭蓝黑（钢铁黑，我们的"黑"带蓝） */
  --steel-2: #131f2e;
  --navy: #082f5e;
  --navy-deep: #062348;
  --red: #e60012;
  --red-dark: #c00010;
  --title: #0a3a75;
  --ink: #22303f;
  --gray: #5b6a7c;
  --mist: #edf2f9;
  --line: #dde5ef;
  --hero-text: #a9c3e4;
  --w: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-num: "DIN Alternate", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  /* 与仙工一致：UI 用系统字体链（Mac 上渲染为苹方 PingFang SC） */
  font-family: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- 导航：全宽两组布局（仙工式） ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav {
  display: flex; align-items: center; height: 78px;
  padding: 0 clamp(24px, 5.5vw, 110px);
}
.brand { display: flex; flex-shrink: 0; align-items: center; white-space: nowrap; }
.brand-logo { height: 28px; width: auto; }
.brand .logo-color { display: none; }
header.scrolled .brand .logo-white { display: none; }
header.scrolled .brand .logo-color { display: block; }
.brand-div {
  width: 1px; height: 22px; margin: 0 9px;
  background: rgba(255, 255, 255, .38); transition: background .25s;
}
header.scrolled .brand-div { background: #cfd9e6; }
.brand b {
  /* 鉴定结论：微软雅黑Bold。Windows显正牌雅黑；本机用字魂经典雅黑(仿粗)预览 */
  font-family: "Microsoft YaHei", "zihunjingdianyahei", "PingFang SC", sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: 0; color: #fff;
  display: inline-block; transform: scaleY(1.1); transform-origin: center;
  line-height: 1; transition: color .25s;
}
.nav-left { display: flex; flex-shrink: 0; align-items: center; gap: 22px; margin-left: 72px; margin-right: auto; }
.nav-right { display: flex; flex-shrink: 0; align-items: center; gap: 22px; margin-left: 28px; }
.nav .item {
  font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .94);
  padding: 27px 0; position: relative; white-space: nowrap; transition: color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav a.item:hover { color: #fff; }
.chev {
  width: 7px; height: 7px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease);
  display: inline-block; margin-top: -4px;
}
.has-drop { position: relative; }
.has-drop:hover .chev { transform: rotate(225deg) translateY(-2px); margin-top: 4px; }
.nav .item { opacity: .88; }
.nav a.item:hover { opacity: 1; }
.has-drop:hover .item::after { width: 100%; }
.nav .item::after {
  content: ""; position: absolute; left: 0; bottom: 16px; height: 3px; width: 0;
  background: var(--red); transition: width .2s var(--ease);
}
.nav a.item:hover::after { width: 100%; }
.nav [aria-disabled="true"], .foot-nav [aria-disabled="true"] { cursor: default; }

/* 下拉面板（v1.2 升级：四列大菜单、左对齐居中、分组标题带计数、新品标记） */
.drop-panel {
  position: fixed; top: 78px; left: 50%; transform: translateX(-50%) translateY(6px);
  display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 8px 40px;
  width: min(1100px, calc(100vw - 80px));
  background: rgba(9, 24, 44, .97);
  backdrop-filter: blur(10px);
  border-radius: 12px; padding: 30px 40px 34px;
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  box-shadow: 0 26px 60px rgba(4, 15, 32, .5);
  border-top: 3px solid var(--red);
}
.has-drop:hover .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop-col { min-width: 0; }
.drop-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 12px; font-weight: 600; color: #fff; letter-spacing: 1px;
  padding-bottom: 10px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.drop-title span {
  font-family: var(--font-num); font-size: 11px; font-weight: 400;
  color: var(--red); letter-spacing: .5px;
}
.drop-col a {
  display: block; font-size: 13.5px; color: rgba(255, 255, 255, .78);
  padding: 7px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s var(--ease), padding-left .15s var(--ease);
}
.drop-col a:hover { color: #fff; padding-left: 6px; }
.drop-col a em {
  font-style: normal; font-size: 10px; margin-left: 6px; padding: 1px 5px;
  background: var(--red); color: #fff; border-radius: 3px; vertical-align: 1px;
}

.nav .lang {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; color: rgba(255, 255, 255, .94);
  white-space: nowrap; transition: color .2s;
}
.nav .lang:hover { color: #fff; }
.nav .lang .globe { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.3; }
header.scrolled .lang { color: var(--ink); }
header.scrolled .lang:hover { color: var(--blue); }
.btn-contact {
  font-size: 14px; font-weight: 500; letter-spacing: 1px; color: #fff;
  background: var(--red); padding: 8px 18px; border-radius: 4px;
  white-space: nowrap; transition: background .15s var(--ease), transform .15s var(--ease);
}
.btn-contact:hover { background: var(--red-dark); transform: translateY(-1px); }
/* 滚过首屏后：白底态 */
/* 滚过首屏后：干净的白底导航（磨砂方案已撤回） */
header.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 0 rgba(10, 40, 80, .08), 0 4px 18px rgba(8, 47, 94, .05);
}
header.scrolled .brand b { color: #0050a8; }  /* 老横幅文字蓝实测值 */
header.scrolled .item { color: var(--ink); }
header.scrolled .item:hover { color: var(--blue); }
header.scrolled .lang { color: var(--gray); border-color: var(--line); }
header.scrolled .lang:hover { color: var(--blue); border-color: var(--blue); }
.hero-mobile-cta { display: none; }
.nav-burger { display: none; }
.mobile-menu { display: none; }

/* ---------- 首屏轮播（近满屏） ---------- */
.hero { position: relative; height: 94vh; min-height: 620px; background: #0a0e14; color: #fff; overflow: hidden; }
/* 换页机制照 Mazak 原文重做：新页以斜切边从左向右"擦入"（slidePolygon
   1.6s），盖过仍在原状放大的旧页（.prev 留在下层），被盖住后才隐藏——
   旧页的放大从不重置，杜绝"切页瞬间缩一下"。 */
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.prev { visibility: visible; z-index: 1; }
.slide.active { visibility: visible; z-index: 2; }
/* 擦入只在换页时播（.wipe 由 main.js 在 show() 里加）：
   首屏初载不播——否则深色打底先露再被图盖上，进页面会闪一下 */
.slide.active.wipe {
  animation: slidePolygon 1.6s cubic-bezier(.5, 1, .89, 1);
  will-change: clip-path;
}
/* Mazak 原keyframes：35% 处斜边（上 85% / 下 79%）扫过画面 */
@keyframes slidePolygon {
  0%   { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  35%  { clip-path: polygon(0 0, 85% 0, 79% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
/* 往回翻时镜像：斜边从右往左扫，方向与手势一致（Mazak 官网没做这一步，
   他们倒退时方向也是反的——负责人指出，这里做对） */
.slide.active.wipe.rev { animation-name: slidePolygonRev; }
@keyframes slidePolygonRev {
  0%   { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  35%  { clip-path: polygon(15% 0, 100% 0, 100% 100%, 21% 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right;
  /* Mazak 手法：图像减色至近黑白 + 提对比，让品牌红成为画面唯一的颜色 */
  filter: grayscale(.92) contrast(1.18) brightness(.82);
  /* 放大动画常驻但默认暂停：失活时冻结在当前帧（不弹回），
     激活时由 main.js 重置后播放 */
  animation: kenburns 8s ease-in forwards;
  animation-play-state: paused;
}
/* Mazak 实测：fadezoom 8s ease-in、1→1.14——先慢后快，且动画长于停留时间，
   观众只看到缓慢的前段 */
.slide.active .slide-bg { animation-play-state: running; }
/* 免滤镜通道：负责人自制的主视觉是已调色成品（黑白底+红激光线），
   再叠 grayscale 会把画面的魂——红线——洗掉；遮罩也只留左侧文字区一道。
   成品图构图已排满画面，1.14 的放大会把设备顶出画框（"出圈"），
   统一走 1.05 的软放大 */
.slide-art .slide-bg { filter: none; animation-name: kenburnsSoft; }
.slide-art .slide-shade {
  background: linear-gradient(95deg, rgba(10, 14, 20, .82) 0%, rgba(10, 14, 20, .46) 34%, transparent 58%);
}
/* 实拍彩色通道（Mazak 装配页做法）：不去色——厂房的整齐与亮堂本身就是
   卖点，黄色防护栏、状态灯都保留；只均匀压暗约三成给文字让路，
   文字区左侧再多压一点 */
.slide-photo .slide-bg {
  filter: saturate(.92) brightness(.96) contrast(1.04);
  /* 源图分辨率有限（1448px），放大是糊的主因：这张的 Ken Burns
     减到 1.05，少一层放大就清楚一截 */
  animation-name: kenburnsSoft;
}
@keyframes kenburnsSoft { from { transform: scale(1); } to { transform: scale(1.05); } }
.slide-photo .slide-shade {
  background:
    linear-gradient(95deg, rgba(8, 12, 18, .48) 0%, rgba(8, 12, 18, .34) 40%, rgba(8, 12, 18, .22) 70%, rgba(8, 12, 18, .3) 100%);
}
/* 浅色幻灯（白底样图）：文字整套换深色系——标题深藏青、辅文灰、
   眉题品牌蓝，与白底几何纹样图融为一体；左侧一道白渐变稳住文字区 */
.slide-light .slide-shade {
  background:
    linear-gradient(95deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .34) 36%, transparent 58%),
    /* 影棚渐晕：白机器融进白底的救法——画面边缘压一圈极淡的冷灰，
       背景白降半档、机器中心白保持原亮，轮廓自然分离；
       比改底图轻，效果不够时再让渲染侧加浅灰底+落地投影 */
    radial-gradient(ellipse 78% 72% at 70% 46%, transparent 44%, rgba(96, 112, 132, .17) 100%);
}
/* 略提对比：把白色机身的板缝与暗部加深一档，帮轮廓说话 */
.slide.slide-light .slide-bg { filter: contrast(1.06) brightness(.985); }
.slide-light .eyebrow { color: var(--blue); }
.slide-light .slide-title { color: var(--title); }
.slide-light .slide-title .dim { color: #8298b3; }
/* 加一层 .slide 提权：.hero .sub 的白字规则在文件更后面，同权重会赢，
   副文就还是深底用的浅蓝——白底上看不清的病根。
   同时收窄到 400px：样图左侧净空有限，540 宽的第二行会伸进设备区 */
.slide.slide-light .sub { color: var(--gray); max-width: 400px; }
.slide-light .btn-ghost { border-color: rgba(10, 58, 117, .4); color: var(--title); }
.slide-light .btn-ghost:hover { background: rgba(10, 58, 117, .06); border-color: var(--title); }
/* 浅色幻灯的链接列表：深字 + 深描边圆圈，悬停同样填红（Mazak 浅色页同语法） */
.slide-light .slide-links a { color: var(--ink); }
.slide-light .slide-links .circ { border-color: rgba(10, 58, 117, .4); color: var(--title); }
.slide-light .slide-links a:hover { color: var(--title); }
.slide-light .slide-links a:hover .circ { background: var(--red); border-color: var(--red); color: #fff; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
.slide-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(10, 14, 20, .94) 26%, rgba(10, 14, 20, .78) 50%,
                    rgba(10, 14, 20, .28) 78%, rgba(10, 14, 20, .55) 100%),
    radial-gradient(120% 80% at 78% 45%, rgba(8, 47, 94, .35), transparent 70%);
}
.slide-content {
  position: relative; z-index: 2;
  padding-top: 21vh;
}
.slide.active .eyebrow, .slide.active h1, .slide.active .slide-title, .slide.active .sub,
.slide.active .actions, .slide.active .sig-line {
  animation: slideup .7s var(--ease) both;
}
.slide.active h1, .slide.active .slide-title { animation-delay: .06s; }
.slide.active .sig-line { animation-delay: .12s; }
.slide.active .sub { animation-delay: .16s; }
.slide.active .actions { animation-delay: .24s; }
@keyframes slideup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 13px; letter-spacing: 4px; color: var(--hero-text); margin-bottom: 20px; }
.hero h1,
.hero .slide-title { font-size: 42px; line-height: 1.28; font-weight: 700; letter-spacing: 1px; max-width: 680px; }
.hero h1 .dim, .hero .slide-title .dim { color: #cdddf2; font-weight: 500; }

/* 品牌图形层：红色弧线（Mazak 式主视觉图形，纯 SVG 绘制） */
.hero-arcs {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.slide.active ~ .hero-arcs, .hero-arcs.on { opacity: 1; }
.hero-arcs svg { width: 100%; height: 100%; }
.hero-arcs .arc-red { stroke: var(--red); fill: none; }
.hero-arcs .arc-dim { stroke: rgba(255,255,255,.16); fill: none; }

/* 签名：被校直的线 */
.sig-line { margin: 24px 0 4px; display: flex; align-items: center; gap: 14px; }
.sig-line svg { display: block; overflow: visible; }
.sig-line path { stroke: var(--red); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.sig-cap { font-family: var(--font-num); font-size: 12px; letter-spacing: 2px; color: var(--hero-text); }

.hero .sub { margin-top: 14px; font-size: 16px; color: #cdddf2; max-width: 540px; }

/* Mazak 装配页的文字语法：标题下一道红色短杠 + 圆圈箭头链接列表
   （替代单个大按钮——列表把整线家底直接摊给客户点） */
.slide-bar {
  display: block; width: 56px; height: 3px; background: var(--red);
  margin-top: 16px;
}
.slide-bar + .sub { margin-top: 18px; }
.slide-links { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.slide-links a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15.5px; color: #fff; letter-spacing: .5px;
  transition: color .2s var(--ease);
}
.slide-links .circ {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; padding-bottom: 2px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.slide-links a:hover { color: #fff; }
.slide-links a:hover .circ { background: var(--red); border-color: var(--red); }
/* 入场：链接列表与其它文字同批滑入 */
.slide.active .slide-bar, .slide.active .slide-links { animation: slideup .7s var(--ease) both; }
.slide.active .slide-bar { animation-delay: .1s; }
.slide.active .slide-links { animation-delay: .28s; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; }
.btn-primary {
  background: var(--red); color: #fff; font-size: 15px; font-weight: 500;
  padding: 12px 30px; border-radius: 4px; transition: background .15s var(--ease);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 15px;
  padding: 12px 30px; border-radius: 4px;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* 箭头 */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  color: #fff; font-size: 26px; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: background .2s var(--ease), border-color .2s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* 底部：指示器 + 常驻数据条 */
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; }
.hero-dots { display: flex; gap: 10px; margin-bottom: 16px; }
.hero-dots .dot {
  position: relative; width: 46px; height: 18px; padding: 0;
}
.hero-dots .dot::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; margin-top: -1.5px;
  height: 3px; background: rgba(255, 255, 255, .34);
  transition: background .25s var(--ease);
}
.hero-dots .dot:hover::after { background: rgba(255, 255, 255, .6); }
.hero-dots .dot.active::after { background: var(--red); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 22px 0 30px;
}
.hero-stats b {
  display: block; font-family: var(--font-num);
  font-size: 34px; font-weight: 700; color: #fff; letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.hero-stats span { font-size: 12px; letter-spacing: 2px; color: var(--hero-text); }

/* 浅色幻灯激活时（.hero.light 由 main.js 切）：箭头/圆点/数据条同步换深色，
   Mazak 同机制——他们的页头与控件也按当前幻灯明暗切色 */
.hero-arrow, .hero-dots .dot::after, .hero-stats, .hero-stats b, .hero-stats span {
  transition: color .5s var(--ease), border-color .5s var(--ease),
              background .5s var(--ease), text-shadow .5s var(--ease);
}
.hero.light .hero-arrow { color: var(--title); border-color: rgba(10, 58, 117, .35); }
.hero.light .hero-arrow:hover { background: rgba(10, 58, 117, .08); border-color: var(--title); }
.hero.light .hero-dots .dot::after { background: rgba(10, 58, 117, .22); }
.hero.light .hero-dots .dot:hover::after { background: rgba(10, 58, 117, .45); }
.hero.light .hero-dots .dot.active::after { background: var(--red); }
.hero.light .hero-stats { border-top-color: rgba(10, 58, 117, .16); }
.hero.light .hero-stats b { color: var(--title); text-shadow: none; }
.hero.light .hero-stats span { color: var(--gray); }

/* 页头同步：浅色幻灯下导航换深字（与 scrolled 同一套配色，但底仍透明） */
header.on-light .brand .logo-white { display: none; }
header.on-light .brand .logo-color { display: block; }
header.on-light .brand-div { background: #cfd9e6; }
header.on-light .brand b { color: #0050a8; }
header.on-light .item { color: var(--ink); }
header.on-light .item:hover { color: var(--blue); }
header.on-light .lang { color: var(--gray); }
header.on-light .lang:hover { color: var(--blue); }

/* ---------- 通用分区 ---------- */
section { padding: 104px 0; scroll-margin-top: 94px; }
section.mist { background: var(--mist); }

.sec-head { max-width: 760px; margin-bottom: 38px; }
.sec-head .eyebrow { color: var(--blue); margin-bottom: 10px; }
/* 2026-09-02 补回：v1.37 修复时漏掉的主标题字号与红色下划线 */
.sec-head h2 {
  font-size: 24px; font-weight: 700; color: var(--title);
  letter-spacing: .5px; line-height: 1.3;
}
.sec-head h2::after {
  content: ""; display: block; width: 58px; height: 4px;
  background: var(--red); margin-top: 14px;
}
/* 双语标题锁定组：英文小字 + 一段红短线 + 中文主标 */
.sec-head .kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
  font-family: var(--font-num); font-size: 12px; letter-spacing: 4px;
  color: var(--gray); text-transform: uppercase;
}
.sec-head .kicker::after {
  content: ""; flex: 0 0 44px; height: 1px; background: rgba(90, 115, 145, .38);
}
.sec-head p { margin-top: 14px; color: var(--gray); }

/* 滚动入场（2026-09-02 依负责人反馈重调）：
   ①整块一起出现，不再逐个错峰蹦出（reveal 挂在模块容器上，不挂单个元素）
   ②缓慢的纯淡入 1.15s，去掉位移——参照 Galdabini 的 fadeIn 手感
   ③首次进入视口播放一次，之后常驻不重播（JS 中 unobserve） */
.reveal {
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity;
}
.reveal.in { opacity: 1; }

/* 产品区：留白收紧 + 工程图纸质感底（不是纯白，避免空旷发白） */
/* 拉丝钢底：细密横向丝纹 + 斜向反光带（= 我们抛光出来的表面） */
#products {
  padding-top: 56px;
  position: relative;
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.55) 0px, rgba(255,255,255,.55) 1px,
      rgba(52,48,42,.030)   1px, rgba(52,48,42,.030)   2px,
      rgba(255,255,255,.28) 2px, rgba(255,255,255,.28) 3px,
      rgba(52,48,42,.016)   3px, rgba(52,48,42,.016)   4px),
    linear-gradient(180deg, #f0efec 0%, #e8e7e3 45%, #edece9 100%);
}
#products::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* 金属反光：一道斜向掠过的高光带 */
  background:
    linear-gradient(104deg,
      transparent 12%, rgba(255,255,255,.55) 34%,
      rgba(255,255,255,.72) 44%, rgba(255,255,255,.3) 56%, transparent 78%),
    radial-gradient(80% 60% at 88% 92%, rgba(24,42,68,.06), transparent 70%);
}
#products .wrap { position: relative; }

/* 分区连接件：铆钉——骑在两个模块的交界线上，把上下"铆"在一起
   （钢结构的连接语言，比一根悬空的细线更有分量、也更舒服） */
.seam {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: -29px auto 34px;
  border-radius: 50%; background: #fff;
  border: 1px solid #dbe3ed;
  box-shadow: 0 8px 24px rgba(10, 40, 80, .14), inset 0 1px 0 #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.seam::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 1px solid #eef2f7;
}
.seam svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 62%, 100% { transform: translateY(0); }
  76%           { transform: translateY(3px); }
}
.seam:hover { transform: translateY(3px); border-color: var(--red); box-shadow: 0 12px 30px rgba(230, 0, 18, .2); }

/* ---------- 三大产品线（Galdabini 机制 + 瑞铭签名动效） ----------
   学到的精华：①图片默认压暗、悬停点亮（实测 opacity .5→1）
              ②圆形图标横跨图文交界（86px，top:-43px）
              ③文字块极浅灰底，三块灰度微差
              ④悬停时标题转品牌色，过渡 .2s
   我们的升级：图标不是静态换色，而是"演示这台设备在干什么"——
              校直机的弯轴被校直、抛光面由糙变光、工件在产线上流动
------------------------------------------------------------------ */
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tri { display: block; text-align: center; }
.tri-img {
  height: 224px; background-size: cover; background-position: center;
  background-color: #d8dee7; opacity: .58; filter: grayscale(.3);   /* 与动态卡同级 */
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.tri:hover .tri-img { opacity: 1; filter: none; }
/* 透明底渲染图卡：整机完整呈现（contain），浅灰衬底当摄影台背景纸 */
.tri-img.tri-render {
  background-size: contain; background-repeat: no-repeat;
  background-position: center 55%; background-origin: content-box;
  padding: 14px 18px; box-sizing: border-box;
  background-color: #e6ebf2;
}

.tri-text {
  position: relative; padding: 0 20px 28px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(2px);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.tri:nth-child(2) .tri-text { background: rgba(252, 253, 255, .78); }
.tri:nth-child(3) .tri-text { background: rgba(249, 251, 253, .74); }
.tri:hover .tri-text { background: #fff; box-shadow: 0 18px 40px rgba(10, 58, 117, .1); }

/* 圆形图标：横跨图文交界 */
.tri-ico {
  width: 86px; height: 86px; display: block; margin: -43px auto 14px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 8px 22px rgba(230, 0, 18, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tri:hover .tri-ico { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(230, 0, 18, .36); }
.tri-ico svg { width: 100%; height: 100%; }
.tri-ico svg * {
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: all .4s var(--ease);
}
/* 线条主次：工件是主角（粗），机器部件是配角（细） */
.tri-ico .bar,                 /* 校直机：被校直的轴 */
.tri-ico .surf,                /* 抛光机：被抛光的表面 */
.tri-ico .rail { stroke-width: 2.9; }   /* 装配线：线体 */
.tri-ico .part { stroke-width: 2.2; fill: #fff; }   /* 流动的工件：实心 */
.tri-ico .head,
.tri-ico .anvil,
.tri-ico .wheel-arc,
.tri-ico .base { stroke-width: 1.5; }
.tri-ico .st { stroke-width: 1.6; }

/* 图标动效一：装配线——工件走完全程，三工位依次点亮（有先后 = 有节拍） */
.part { transition: transform .9s var(--ease) !important; }
.tri:hover .part { transform: translateX(24px); }
.st { stroke-opacity: .45; }
.tri:hover .st1 { stroke-opacity: 1; transition-delay: .05s; }
.tri:hover .st2 { stroke-opacity: 1; transition-delay: .35s; }
.tri:hover .st3 { stroke-opacity: 1; transition-delay: .65s; }

/* 图标动效二：校直机——压头下压，轴被压直（路径形变由 JS 平滑驱动） */
.tri:hover .head { transform: translateY(5px); transition-duration: .24s; }

/* 图标动效三：抛光机——抛光轮压下，表面波纹被抛平（路径形变由 JS 平滑驱动） */
.tri:hover .wheel-arc { transform: translateY(3px); transition-duration: .24s; }

.tri-text h3 {
  font-size: 28px; font-weight: 700; color: var(--title);
  letter-spacing: 2px; transition: color .2s var(--ease);
}
.tri-text p {
  font-size: 15px; color: var(--gray); margin-top: 8px; min-height: 26px;
  transition: color .2s var(--ease);
}
.tri:hover h3, .tri:hover p { color: var(--red); }
.tri-more {
  display: inline-block; margin-top: 16px; font-size: 13px; letter-spacing: 1px;
  color: var(--gray); padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.tri:hover .tri-more { color: var(--red); border-bottom-color: var(--red); }

/* ---------- 按工件找设备 ---------- */
.wp-strip {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
}
.wp-label { font-size: 14px; font-weight: 500; color: var(--title); white-space: nowrap; }
.wp-label::after { content: " —"; color: var(--red); }
.wp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-chip {
  font-size: 13px; color: var(--blue); background: var(--mist);
  border: 1px solid transparent; border-radius: 999px; padding: 5px 14px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.wp-chip:hover { background: #fff; border-color: var(--blue); }

/* 分区出口：深色胶囊按钮（红色留给转化型 CTA，此处用深色更稳）
   2026-09-02 修复：v1.31 改铆钉时误删本段样式，按钮退化为纯文字，现补回 */
.sec-cta { display: flex; justify-content: center; margin-top: 30px; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0e2748; color: #fff; font-size: 16px; font-weight: 500; letter-spacing: 2px;
  padding: 17px 54px; border-radius: 999px;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-pill::after {
  content: ""; width: 18px; height: 2px; background: var(--red);
  transition: width .2s var(--ease);
}
.btn-pill:hover {
  background: #123a68; transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 39, 72, .28);
}
.btn-pill:hover::after { width: 26px; }

/* ---------- 关于：原创构图 v2 —— 不对称切分 + 尺寸线 + 幽灵年份 ----------
   设计立场（复盘 v1.24 失败后重立）：
   上一版丢掉了三条通用法则（不对称明暗切分 / 一个大胆图形 / 巨大字形锚点），
   换成三处零碎标注 → 变成噪点。本版保留这三条法则，
   但把"借来的母题"（他人的开放画框）换成属于我们的符号：**尺寸线**
   ——工程图纸上标注长度的带端头线段，够大、够克制、够正统。
   幽灵年份提供重量而不喧哗（低透明度巨型数字）。
------------------------------------------------------------------ */
.about {
  position: relative; overflow: hidden; color: #fff; padding: 0;
  background: #071a33;
}
.about-photo {
  position: absolute; inset: 0 0 0 30%;
  background: url("/images/aerial.png") center 44% / cover no-repeat;
  filter: grayscale(.62) contrast(1.04) brightness(1.02);
}
.about-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(97deg, #071a33 28%, rgba(7, 26, 51, .88) 40%,
                    rgba(7, 26, 51, .3) 62%, rgba(9, 32, 60, .5) 100%),
    linear-gradient(180deg, rgba(7,26,51,.45), transparent 22%, transparent 64%, rgba(7,26,51,.8));
}

/* 幽灵年份：巨大、极淡，只做画面重量 */
.ghost-year {
  position: absolute; right: -18px; bottom: 96px; z-index: 1;
  font-family: var(--font-num); font-size: 210px; font-weight: 700;
  letter-spacing: -4px; line-height: .8;
  color: rgba(255, 255, 255, .085);
  user-select: none;
}

/* 开放画框（Galdabini 语言 + 我们的延伸；2026-09-02 修正：
   原先顶边伸进照片，遮挡了厂区建筑——我们的航拍图是"证据"，
   不能被任何图形覆盖。故画框完全收在左侧文字区内。）
   保留的延伸：①顶边 6px / 左边 2px 粗细分明 ②转角红色节点
              ③滚动时先画顶边、再落左边（绘制动作）
--------------------------------------------------------------- */
.about-frame { position: relative; margin-top: 30px; padding: 32px 34px 8px 34px; max-width: 470px; }
.frame-top {
  position: absolute; left: 0; top: 0; height: 6px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  transition: transform .75s var(--ease) .15s;
}
.frame-left {
  position: absolute; left: 0; top: 0; width: 2px; height: 100%;
  background: var(--red); transform: scaleY(0); transform-origin: top center;
  transition: transform .6s var(--ease) .6s;
}
.frame-node {
  position: absolute; left: -4px; top: -4px; width: 14px; height: 14px;
  background: var(--red); opacity: 0; transform: scale(.4);
  transition: opacity .3s var(--ease) .9s, transform .3s var(--ease) .9s;
}
.about.in .frame-top { transform: scaleX(1); }
.about.in .frame-left { transform: scaleY(1); }
.about.in .frame-node { opacity: 1; transform: none; }

.about-inner {
  position: relative; z-index: 3; max-width: var(--w); margin: 0 auto;
  padding: 124px 24px 0; min-height: 640px;
  display: flex; flex-direction: column;
}
.about-copy { max-width: 460px; }
.about-copy .eyebrow { color: var(--hero-text); }
.about-copy h2 {
  font-size: 38px; font-weight: 700; line-height: 1.32;
  color: #fff; letter-spacing: 1.5px;
}
.about-copy h2::after {
  content: ""; display: block; width: 46px; height: 3px;
  background: var(--red); margin-top: 24px;
}
.about-lead { font-size: 15.5px; line-height: 2; color: #cfe0f2; }
/* 荣誉标签（2026-09-02 补回：构图改版时丢失） */
.about-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-chips span {
  font-size: 12.5px; color: #cfe0f5; letter-spacing: .5px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 5px 14px;
}

.about-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; font-size: 15px; color: #fff; transition: gap .2s var(--ease);
}
.about-more::before {
  content: ""; width: 24px; height: 2px; background: var(--red);
  transition: width .2s var(--ease);
}
.about-more:hover { gap: 14px; }
.about-more:hover::before { width: 34px; }

/* 数据行：细线分隔，克制排布 */
.about-facts {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: 34px 0 44px;
}
.about-facts div { padding-right: 24px; }
.about-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 30px;
}
.about-facts b {
  display: block; font-family: var(--font-num); font-size: 42px; font-weight: 700;
  color: #fff; letter-spacing: 1px; line-height: 1;
}
.about-facts span { font-size: 12.5px; letter-spacing: 2px; color: #8fb0d0; }

/* ---------- 客户：静态 Logo 网格（替代滚动带，信息量更大） ----------
   版式计算：内容区 1200px − 左右 24px 内边距 = 1152px 可用
             6 列 × 178px + 5 × 16px 间距 = 1150px ≈ 满栏
   —— 与全站其他模块同宽，既不像参照图一那样左右顶满，
      也不像参照图二那样两侧空旷。
------------------------------------------------------------------ */
/* 上留白收紧 + 冲孔板点阵纹理（冲孔网板是机器防护罩的常见材料，
   与产品区的拉丝钢横纹同属金属语言，但形态不重复） */
/* 客户区：白底 + 冲孔板点阵（点色加深，与白底拉开层次） */
.clients-sec {
  padding: 56px 0 92px; position: relative;
  background:
    radial-gradient(circle at 1px 1px, rgba(52, 48, 42, .10) 1px, transparent 1.7px),
    #fdfdfc;
  background-size: 22px 22px, 100% 100%;
}
.clients-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(78% 58% at 50% 4%, rgba(255, 255, 255, .82), transparent 70%);
}
.clients-sec .wrap { position: relative; }
.logo-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 16px; row-gap: 10px;   /* 行距小于列距：四行叠起来才不显笨重 */
}
.logo-cell {
  height: 72px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 18px;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.logo-cell img {
  max-height: 28px; max-width: 100%; width: auto; object-fit: contain;
  /* 客户品牌默认原色显示，悬停反馈由卡片承担。 */
  filter: none; opacity: 1;
}
.logo-cell:hover {
  border-color: #b9cee6; transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 58, 117, .1);
}
/* 白色版 Logo 需要深底才看得见 */
.logo-cell.dark { background: #16304f; border-color: #16304f; }
/* 文字格：Logo 未到位的客户，先以中文名占位（与图片格同规格） */
.logo-cell.text span {
  font-size: 13px; font-weight: 500; letter-spacing: .5px; color: #46617f;
  text-align: center; line-height: 1.45;
}

/* 收口格：把"还有多少家"说清楚 */
.logo-cell.more {
  flex-direction: column; gap: 2px; background: #f7f6f4; border-style: dashed;
}
.logo-cell.more b {
  font-family: var(--font-num); font-size: 22px; font-weight: 700;
  color: var(--title); line-height: 1;
}
.logo-cell.more b i { font-style: normal; color: var(--red); }
.logo-cell.more span { font-size: 11.5px; letter-spacing: 1px; color: var(--gray); }
.client-note { margin-top: 20px; font-size: 13px; color: var(--gray); text-align: center; }

/* ---------- 客户证据行 ---------- */
.proof-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof { border-left: 2px solid var(--red); padding-left: 18px; }
.proof b {
  display: block; font-family: var(--font-num);
  font-size: 26px; font-weight: 700; color: var(--title); letter-spacing: .5px;
}
.proof span { font-size: 13px; color: var(--gray); }

/* ---------- 企业动态（Galdabini 卡片结构 + 瑞铭细节） ----------
   学到的：①图 → 分类 → 标题 → 摘要 → 日期，五层固定顺序，读起来有节奏
          ②图片不满屏、不加框，直接铺在浅底上，留白托着它
          ③分类用品牌色小字，标题黑体，摘要灰字，日期配小图标
   我们的：分类色块用瑞铭红；图片默认微去色，悬停复色并轻微推近；
          日期前用红色小方点（延续全站"红色点睛"）
------------------------------------------------------------------ */
/* 企业动态：整页最深的浅色区 + 斜向细拉丝纹
   （三种金属纹形成序列：产品=横拉丝 / 客户=冲孔点阵 / 动态=斜拉丝） */
.news-sec {
  padding: 56px 0 72px; position: relative;
  background:
    repeating-linear-gradient(128deg,
      rgba(255,255,255,.40) 0px, rgba(255,255,255,.40) 2px,
      rgba(52,48,42,.032)   2px, rgba(52,48,42,.032)   3px,
      transparent           3px, transparent           9px),
    linear-gradient(180deg, #e9e7e3 0%, #dfddd8 100%);
}
.news-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 50% at 50% 0%, rgba(255, 255, 255, .5), transparent 68%);
}
.news-sec .wrap { position: relative; }
.news-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.news-head .kicker { justify-content: center; }
.news-head .kicker::before {
  content: ""; flex: 0 0 44px; height: 1px; background: rgba(90, 115, 145, .38);
}
.news-head h2::after { margin-left: auto; margin-right: auto; }
.news-lead { margin-top: 18px; font-size: 15px; color: var(--gray); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { display: block; }
.news-img {
  aspect-ratio: 16 / 10; overflow: hidden; background: #d6d4cf;
  margin-bottom: 20px;
}
.news-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.3) contrast(1.02);   /* 内容图统一轻去色 */
  transition: transform .55s var(--ease), filter .35s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.045); filter: none; }
.news-cat {
  font-size: 12.5px; font-weight: 500; letter-spacing: 2px; color: var(--red);
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 19px; font-weight: 700; line-height: 1.55; color: var(--title);
  transition: color .2s var(--ease);
}
.news-card:hover h3 { color: var(--red); }
.news-desc {
  margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--gray);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-date {
  margin-top: 18px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-num); font-size: 13.5px; letter-spacing: 1px; color: #8494a6;
}
.news-date i { width: 6px; height: 6px; background: var(--red); flex: 0 0 auto; }

/* ---------- 联系 + 页脚（打磨版：与全站同一套标题语言与红色权重） ---------- */
/* 底色：品牌蓝深灰（不是中性黑，也不是深蓝——介于两者，压得住又不沉闷）
   顶部横杠：全页最"响"的一次红，用来给整页收尾 */
.contact {
  background: #1a2430; color: #fff; padding: 68px 0 60px;
  border-top: 4px solid var(--red);
}

.contact-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px;
  align-items: start;
}
.contact-left .kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
  font-family: var(--font-num); font-size: 12px; letter-spacing: 4px;
  color: #8fa9c6; text-transform: uppercase;
}
.contact-left .kicker::after {
  content: ""; flex: 0 0 44px; height: 1px; background: rgba(150, 175, 205, .4);
}
.contact h2 {
  font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: .5px; color: #fff;
}
.contact h2::after {
  content: ""; display: block; width: 58px; height: 4px; background: var(--red); margin-top: 18px;
}
.contact .lead {
  margin-top: 24px; font-size: 15.5px; line-height: 1.95; color: #c2d1e0; max-width: 440px;
}
.contact-actions { margin-top: 34px; display: flex; gap: 14px; align-items: center; }
.btn-line {
  font-size: 15px; color: #fff; padding: 12px 4px;
  border-bottom: 2px solid rgba(255, 255, 255, .35);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.btn-line:hover { border-bottom-color: var(--red); }

/* 右侧信息块：三条，细线分隔，红色小竖标 */
.contact-right { display: grid; gap: 0; padding-top: 6px; }
.loc { padding: 14px 0 14px 20px; border-top: 1px solid rgba(255, 255, 255, .11); position: relative; }
.loc:first-child { border-top: none; padding-top: 0; }
.loc::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 2px; height: 15px; background: var(--red);
}
.loc:first-child::before { top: 3px; }
.loc-tag { font-size: 12.5px; letter-spacing: 2px; color: #8fa9c6; margin-bottom: 4px; }
.loc-addr { font-size: 15.5px; line-height: 1.75; color: #e4edf6; }
.loc-addr.num { font-family: var(--font-num); font-size: 19px; letter-spacing: 1px; }

/* 页脚 */
/* 页脚：独立区块，色阶比联系区更深——转化区与工具区分层 */
.site-foot { background: #10171f; color: #93aac7; padding: 34px 0 30px; }
.foot-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding-bottom: 26px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { height: 22px; width: auto; opacity: .9; }
.foot-brand b {
  font-family: "Microsoft YaHei", "zihunjingdianyahei", "PingFang SC", sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: 0; color: #dfe9f4;
  display: inline-block; transform: scaleY(1.1);
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.foot-nav a { font-size: 13.5px; color: #93aac7; transition: color .18s var(--ease); }
.foot-nav a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12.5px; color: #7e93ad;
}
.foot-bottom a:hover { color: #b9cbe0; }
.foot-meta { margin-top: 18px; font-size: 11px; color: #56697f; letter-spacing: 1px; }

/* ---------- 响应式 ---------- */
@media (min-width: 1201px) and (max-width: 1366px) {
  .nav { padding: 0 24px; }
  .nav-left { margin-left: 40px; gap: 18px; }
  .nav-right { gap: 18px; }
}

@media (max-width: 1200px) {
  .nav { padding: 0 20px; }
  .nav-left, .nav-right { display: none; }
  .drop-panel { display: none !important; }
  .nav-burger {
    display: block; margin-left: auto; font-size: 14px; color: #fff; cursor: pointer;
    border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 5px 12px;
  }
  header.scrolled .nav-burger, header.on-light .nav-burger { color: var(--title); border-color: rgba(10, 58, 117, .35); }
  .nav-burger[aria-expanded="true"] ~ .mobile-menu { display: flex; }
  .mobile-menu {
    position: absolute; top: 78px; left: 0; right: 0;
    max-height: calc(100svh - 78px); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 24px 18px; gap: 2px;
  }
  .mobile-menu a, .mobile-menu > span { padding: 10px 0; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--mist); }
  .mobile-menu > span { color: var(--gray); }
  .mobile-menu small { margin-left: 12px; font-size: 11px; color: var(--gray); }
}

@media (max-width: 900px) {
  /* Mazak 手机端：白色导航、480px 主视觉、精简标题与底部入口。 */
  header, header.scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav { height: 60px; padding: 0 16px; }
  header .brand .logo-white { display: none; }
  header .brand .logo-color { display: block; }
  header .brand b { color: var(--blue); font-size: 18px; }
  header .brand-div { background: var(--line); }
  .brand-logo { height: 24px; }
  .nav-burger { position: relative; width: 44px; height: 44px; min-width: 44px; font-size: 0; border: 0; padding: 0; color: var(--red); }
  .nav-burger::before, .nav-burger::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--red); transition: transform .2s, box-shadow .2s; }
  .nav-burger::before { top: 14px; box-shadow: 0 7px 0 var(--red); }
  .nav-burger::after { top: 28px; }
  .nav-burger[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); box-shadow: none; }
  .nav-burger[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
  html.menu-open { overflow: hidden; }
  .mobile-menu { position: fixed; top: 60px; bottom: 0; max-height: calc(100dvh - 60px); padding: 0 0 32px; gap: 0; }
  .mobile-menu > a, .mobile-menu > span, .mobile-products summary { padding: 17px 20px; min-height: 58px; border-bottom: 1px solid #d4d9df; }
  .mobile-menu > a { display: flex; align-items: center; justify-content: space-between; }
  .mobile-menu > a::after { content: "›"; font-size: 20px; color: var(--gray); }
  .mobile-products summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--ink); list-style: none; }
  .mobile-products summary::-webkit-details-marker { display: none; }
  .mobile-products summary span { width: 8px; height: 8px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); }
  .mobile-products[open] summary span { transform: rotate(225deg); }
  .mobile-submenu { padding: 8px 20px 16px; background: #f6f7f9; }
  .mobile-submenu a { display: block; padding: 11px 12px; min-height: 46px; }
  section, .tri { scroll-margin-top: 80px; }
  .hero { display: grid; height: auto; min-height: 0; padding: 60px 0 0; background: #fff; touch-action: pan-y pinch-zoom; }
  .slide { position: relative; grid-area: 1 / 1; height: 480px; min-width: 0; overflow: hidden; background: #0a0e14; }
  .slide.slide-light { background: #f5f6f8; }
  .hero .slide-content { width: 100%; padding: 44px 20px 0; }
  .hero h1, .hero .slide-title { font-size: 28px; line-height: 1.4; letter-spacing: 0; font-weight: 500; }
  .hero .eyebrow, .hero .sub, .hero .slide-bar, .hero .slide-links, .hero .actions { display: none; }
  .slide .slide-bg { position: absolute; inset: 126px 0 56px; width: 100%; height: auto; background-size: auto 100%; background-position: right center; background-repeat: no-repeat; animation: none; transform: none; }
  .slide-photo .slide-bg { inset: 0; background-size: cover; background-position: 58% center; }
  .slide .slide-shade { display: block; background: linear-gradient(180deg, #0a0e14 0%, transparent 44%, transparent 78%, #0a0e14 100%); }
  .slide.slide-light .slide-shade { background: linear-gradient(180deg, #f5f6f8 0%, transparent 44%, transparent 78%, #f5f6f8 100%); }
  .slide-photo .slide-shade { background: linear-gradient(180deg, rgba(10,14,20,.72), transparent 55%, rgba(10,14,20,.5)); }
  .hero-mobile-cta { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 18px; width: max-content; max-width: calc(100% - 40px); min-height: 44px; padding: 8px 26px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
  .hero-mobile-cta span { font-size: 21px; line-height: 1; }
  .slide-light .hero-mobile-cta { background: var(--navy); color: #fff; }
  .hero-arcs, .hero-arrow, .hero-stats { display: none; }
  .hero-bottom { position: relative; grid-area: 2 / 1; background: #fff; }
  .hero-dots { justify-content: center; gap: 8px; margin: 0; padding: 2px 0 14px; }
  .hero-dots .dot { width: 42px; height: 44px; }
  .hero .hero-dots .dot::after { background: #cfd2d5; }
  .hero .hero-dots .dot.active::after { background: var(--red); }
  section { padding: 64px 0; }
  .tri-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact h2 { font-size: 27px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .about-photo { inset: 0; filter: grayscale(.92) contrast(1.12) brightness(.42); }
  .about-veil { background: linear-gradient(180deg, rgba(5,19,31,.9), rgba(5,19,31,.86)); }
  .about-frame { max-width: none; }
  .ghost-year { font-size: 120px; bottom: 150px; right: -6px; }
  .about-inner { padding: 76px 24px 0; min-height: 0; }
  .about-copy h2 { font-size: 27px; }
  .about-facts { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .about-facts div + div { border-left: none; padding-left: 0; }
  .about-facts b { font-size: 32px; }
  .proof-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* 小屏（≤520px）：三大产品线与客户墙转单列/双列 */
@media (max-width: 520px) {
  .tri-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-facts { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .frame-top, .frame-left { transform: none !important; }
  .frame-node { opacity: 1 !important; transform: none !important; }
  .slide-bg { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}


/* ============================================================
   内页：资质荣誉（/honors）
   设计原则：不报数字、墙上零解释文字，靠证书本身的密度与质感说话
   ============================================================ */

/* 内页页头：深色小首屏，与主页首屏区别开（不占满屏） */
.page-hero {
  background:
    linear-gradient(100deg, rgba(10,14,20,.95) 30%, rgba(10,14,20,.72) 70%, rgba(10,14,20,.9)),
    url("/images/aerial.png") center 40% / cover no-repeat;
  color: #fff; padding: 168px 0 66px; position: relative;
}
/* 企业动态页：改用校直机控制系统实拍界面——科研感来自真实测量数据，
   重度压暗去色后只留曲线与网格的微光，不露出老旧的界面配色 */
.news-page-hero {
  filter: none;
  background:
    linear-gradient(100deg, rgba(8,12,18,.96) 26%, rgba(8,12,18,.80) 62%, rgba(8,12,18,.93) 100%),
    url("/images/hero-tech.png") center center / cover no-repeat;
  color: #fff; padding: 168px 0 66px; position: relative;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red);
}
.page-hero .kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
  font-family: var(--font-num); font-size: 12px; letter-spacing: 4px;
  color: #8fa9c6; text-transform: uppercase;
}
.page-hero .kicker::after { content: ""; flex: 0 0 44px; height: 1px; background: rgba(150,175,205,.4); }
.page-hero h1 { font-size: 34px; font-weight: 700; letter-spacing: 2px; }

/* 一、企业资质：六张一横排（横排本身就是"一份履历"的读法，换行会散） */
.quals-sec {
  padding: 36px 0 34px;
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.55) 0px, rgba(255,255,255,.55) 1px,
      rgba(52,48,42,.030)   1px, rgba(52,48,42,.030)   2px,
      rgba(255,255,255,.28) 2px, rgba(255,255,255,.28) 3px,
      rgba(52,48,42,.016)   3px, rgba(52,48,42,.016)   4px),
    linear-gradient(180deg, #f0efec 0%, #e9e8e4 100%);
}
/* 等高错宽（美术馆挂画式）：六张证书统一高度，卡片宽度各随其长宽比。
   此前等宽等高的格子里混了 1.5 的横版牌匾与 0.71 的竖版证书，
   结果横版上下各悬空 46px、竖版顶天立地，一行读成"小小小大大大"。
   现在每张都填满自己的卡，上下沿落在同一条线上。
   行高 =（版心 − 间距 − 描边）÷ 比例和；比例和由资料卡算出写在 --qsum，
   日后增删证书会自动重新分配，不必回来改这里。
   这一带单独挣脱 1200px 版心：证书是这页的"主"，横向铺得开才立得住。 */
.quals-sec { --qband: min(1460px, 100vw - 90px); }
.quals-sec .wrap { max-width: none; width: var(--qband); padding: 0; }
.qual-grid { display: flex; gap: 10px; align-items: stretch; }
.qual-card {
  flex: 0 1 auto; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; text-align: center;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.qual-card:hover {
  transform: translateY(-4px); border-color: #c6d6ea;
  box-shadow: 0 16px 34px rgba(10, 58, 117, .12);
}
/* 证书出血到卡边，不留内边距——省下来的宽度全给证书，高度做到约 207px */
.qual-img {
  height: calc((var(--qband) - (var(--qn) - 1) * 10px - var(--qn) * 2px) / var(--qsum));
  display: flex; align-items: center; justify-content: center;
  background: #fbfcfd; overflow: hidden;
}
.qual-img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.qual-img.placeholder {
  border: 1px dashed #c9d4e2;
}
.qual-img.placeholder span { font-size: 12.5px; color: #93a4b8; letter-spacing: 1px; }
/* 名称一律一行：nowrap 会把资料卡里的换行符折成空格，宽屏自动排成一行。
   窄屏放不下时（见下方 1330 断点）才切回 pre-line，按资料卡写好的位置断成
   两行——中文可在任意字后断行，交给浏览器贪心填字会断出孤字（"…校直"／"机"）。 */
.qual-name {
  padding: 10px 8px 12px;
  border-top: 1px solid #eef1f5;
  font-size: 13px; font-weight: 500; color: var(--title);
  line-height: 1.45; letter-spacing: -.1px; white-space: nowrap;
}

/* 二、专利墙 */
.patents-sec {
  padding: 18px 0 84px;
  background:
    radial-gradient(circle at 1px 1px, rgba(52, 48, 42, .09) 1px, transparent 1.7px),
    #fdfdfc;
  background-size: 22px 22px, 100% 100%;
}


/* 筛选标签：安静，不抢戏 */
/* 筛选工具条（v3）：三层压成两行，标题与主 tab 同一水平线
   —— 上一版三层各占一行、间距松散，占用垂直空间过大；
      且纯文字 tab 简洁过头显得寒酸，故给按钮做实体质感。 */
.pat-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.pat-bar .sec-head { margin-bottom: 0; padding-bottom: 14px; }
.pat-bar .sec-head h2::after { display: none; }   /* 红线由主 tab 承担，避免重复 */

/* 主 tab：带底色的实体分段控件（质感来源：内嵌容器 + 白色滑块 + 阴影） */
.filter-row.kinds {
  display: flex; gap: 4px; padding: 4px; margin-bottom: 14px;
  background: rgba(10, 58, 117, .055);
  border: 1px solid rgba(10, 58, 117, .08);
  border-radius: 10px;
}
.filter-row.kinds .pat-tag {
  background: transparent; border: none; border-radius: 7px;
  padding: 9px 22px; font-size: 14px; font-weight: 500;
  color: var(--gray); letter-spacing: .5px; cursor: pointer; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.filter-row.kinds .pat-tag:hover { color: var(--title); }
.filter-row.kinds .pat-tag.active {
  color: var(--title); font-weight: 600; background: #fff;
  box-shadow: 0 2px 8px rgba(10, 40, 80, .1), 0 0 0 1px rgba(10, 58, 117, .06);
}
/* 选中态左侧一枚红点：品牌点睛，替代下划线 */
.filter-row.kinds .pat-tag.active::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); margin-right: 8px; vertical-align: 1.5px;
}

/* 次 tab：细分标签，分量低一级但有描边质感 */
.filter-row.cats {
  display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px;
}
.filter-row.cats .pat-tag {
  font-size: 12.5px; color: var(--gray); letter-spacing: .5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px; cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease),
              background .18s var(--ease), box-shadow .18s var(--ease);
}
.filter-row.cats .pat-tag:hover {
  color: var(--title); border-color: #bfd0e4; box-shadow: 0 2px 8px rgba(10,40,80,.07);
}
.filter-row.cats .pat-tag.active {
  color: #fff; background: var(--title); border-color: var(--title);
  box-shadow: 0 4px 12px rgba(10, 58, 117, .22);
}

/* 墙体：一行 5 张（负责人认可的形态，勿动） */
.pat-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pat-item {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 12px 0; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pat-item:hover {
  transform: translateY(-4px); border-color: #c6d6ea;
  box-shadow: 0 16px 34px rgba(10, 58, 117, .13);
}
.pat-img {
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
  background: #fbfcfd; overflow: hidden;
}
.pat-img img {
  max-height: 100%; max-width: 100%; object-fit: contain;
  transition: transform .35s var(--ease);
}
.pat-item:hover .pat-img img { transform: scale(1.03); }
.pat-item figcaption {
  font-size: 12.5px; line-height: 1.5; color: var(--ink);
  padding: 12px 2px 14px; text-align: center;
  border-top: 1px solid #eef1f5; margin-top: 12px;
}

/* 证书原件放大 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 14, 22, .92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 40px; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(880px, 92vw); max-height: 80vh; object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox p { color: #cdddf2; font-size: 14px; letter-spacing: 1px; }
.lb-close {
  position: absolute; top: 24px; right: 30px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; transition: background .2s var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.14); }

/* 窄于 1366 时窄卡放不下一行名称，切回资料卡里写好的两行断法 */
@media (max-width: 1366px) {
  .qual-name { white-space: pre-line; min-height: 2.9em; }
}
/* 一横排的行高随版心自动收缩；窄到 900 以下证书会太小，改为居中折行、固定高度 */
@media (max-width: 900px) {
  .page-hero { padding: 130px 0 48px; }
  .page-hero h1 { font-size: 26px; }
  .qual-grid { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .qual-img { height: 150px; }
  .pat-wall { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 520px) {
  .qual-img { height: 118px; }
  .pat-wall { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   内页：企业动态（/news）
   三分区：展会用卡片（有图有时效）、技术文章与产品解析用列表
   （这两类无配图，硬做卡片会全是空图框——列表反而更利落）
   ============================================================ */
.news-page {
  padding: 18px 0 84px;
  background:
    repeating-linear-gradient(128deg,
      rgba(255,255,255,.55) 0px, rgba(255,255,255,.55) 2px,
      rgba(52,48,42,.018)   2px, rgba(52,48,42,.018)   3px,
      transparent           3px, transparent           10px),
    linear-gradient(180deg, #f6f5f3 0%, #efedea 100%);
}

/* tab 上的计数角标 */
.filter-row.kinds .pat-tag em {
  font-style: normal; font-family: var(--font-num);
  font-size: 11px; margin-left: 7px; color: var(--gray);
  vertical-align: 1px; transition: color .2s var(--ease);
}
.filter-row.kinds .pat-tag.active em { color: var(--red); }

/* 面板切换 */
.np-panel { display: none; }
.np-panel.active { display: block; }
.np-panel .news-grid { grid-template-columns: repeat(3, 1fr); }

/* 无图替代块：品牌斜纹 */
.no-img-mark {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 2px, rgba(52,48,42,.05) 2px 3px, transparent 3px 10px),
    linear-gradient(135deg, #dcdad6, #cfcdc8);
  font-size: 13px; letter-spacing: 5px; color: rgba(34,48,63,.42);
}

/* 列表式（技术文章 / 产品解析）——无配图，靠标题与摘要说话 */
/* 文字承载面：纹理是页面的底，文字不直接躺在纹理上——
   列表整体垫一层高透白，可读性上来了，纹理仍隐约可见 */
.np-list {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(52, 48, 42, .10);
  border-radius: 2px; padding: 0 14px;
}
.np-list .np-row:last-child, .ev-list .ev-row:last-child { border-bottom: none; }
.np-row {
  display: flex; align-items: baseline; gap: 26px;
  padding: 20px 16px 20px 6px;
  border-bottom: 1px solid rgba(52,48,42,.12);
  cursor: pointer; position: relative;
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}
.np-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transition: transform .2s var(--ease);
}
.np-row:hover { background: #fff; padding-left: 18px; }
.np-row:hover::before { transform: scaleY(1); }
.np-row time {
  flex: 0 0 auto; width: 96px;
  font-family: var(--font-num); font-size: 13px; color: #8a8781; letter-spacing: .5px;
}
.np-main { flex: 1; min-width: 0; }
.np-main h3 {
  font-size: 16.5px; font-weight: 600; color: var(--title);
  transition: color .18s var(--ease);
}
.np-row:hover .np-main h3 { color: var(--red); }
.np-main p {
  margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: #55636f;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.np-arrow {
  flex: 0 0 auto; font-size: 14px; color: #b4b0aa;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.np-row:hover .np-arrow { color: var(--red); transform: translateX(4px); }

/* 展会：首条特写（借 Kadia 单列思路，但加了他们没有的"首条放大"层级） */
.ev-lead {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  background: #fff; border: 1px solid rgba(52,48,42,.14);
  overflow: hidden; margin-bottom: 26px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
}
.ev-lead:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(52,48,42,.16); }
.ev-lead-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d6d4cf; }
.ev-lead-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2); transition: transform .55s var(--ease), filter .35s var(--ease);
}
.ev-lead:hover .ev-lead-img img { transform: scale(1.04); filter: none; }
.ev-badge {
  position: absolute; left: 0; top: 18px;
  background: var(--red); color: #fff; font-size: 11.5px; letter-spacing: 3px;
  padding: 6px 14px 6px 16px;
}
.ev-lead-text { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.ev-lead-text h3 {
  font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--title);
  margin: 12px 0 14px; transition: color .2s var(--ease);
}
.ev-lead:hover .ev-lead-text h3 { color: var(--red); }

/* 展会：其余条目横排（图右文左，与首条形成节奏差） */
.ev-list {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(52, 48, 42, .10);
  border-radius: 2px; padding: 0 14px;
}
.ev-row {
  display: grid; grid-template-columns: 1fr 210px; gap: 30px; align-items: center;
  padding: 22px 8px 22px 6px; border-bottom: 1px solid rgba(52,48,42,.12);
  cursor: pointer; position: relative;
  transition: background .18s var(--ease), padding-left .18s var(--ease);
}
.ev-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transition: transform .2s var(--ease);
}
.ev-row:hover { background: #fff; padding-left: 18px; }
.ev-row:hover::before { transform: scaleY(1); }
.ev-row-text h3 {
  font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--title);
  margin: 8px 0 8px; transition: color .18s var(--ease);
}
.ev-row:hover .ev-row-text h3 { color: var(--red); }
.ev-row-img { aspect-ratio: 16 / 10; overflow: hidden; background: #d6d4cf; }
.ev-row-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25); transition: transform .5s var(--ease), filter .3s var(--ease);
}
.ev-row:hover .ev-row-img img { transform: scale(1.05); filter: none; }

/* 展会共用文字 */
.ev-date {
  font-family: var(--font-num); font-size: 13px; color: #8a8781; letter-spacing: .5px;
}
.ev-excerpt {
  font-size: 14px; line-height: 1.8; color: #55636f;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ev-more {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  font-size: 14px; color: var(--title); transition: gap .2s var(--ease), color .2s var(--ease);
}
.ev-more::before { content: ""; width: 22px; height: 2px; background: var(--red); transition: width .2s var(--ease); }
.ev-lead:hover .ev-more { color: var(--red); gap: 13px; }
.ev-lead:hover .ev-more::before { width: 30px; }

@media (max-width: 900px) {
  .ev-lead { grid-template-columns: 1fr; }
  .ev-lead-text { padding: 24px 22px 28px; }
  .ev-lead-text h3 { font-size: 19px; }
  .ev-row { grid-template-columns: 1fr; gap: 14px; }
  .ev-row-img { max-width: 260px; }
  .np-row { flex-wrap: wrap; gap: 8px 18px; }
  .np-row time { width: auto; }
  .np-arrow { display: none; }
}

/* ============================================================
   内页：项目案例（/cases）
   仙工式轻页面：不立大图页头，白底 + 小标题 + 分类标签 + 两栏卡片。
   一条案例 = 一张卡，同一套版式；字体全走系统字体链，字重只用 400/600。
   ============================================================ */

/* 细深色带：给透明导航一个落脚处（导航高 78px，多留 4px 呼吸） */
.case-topband { height: 82px; background: #0c1626; }

.cases-sec { padding: 40px 0 84px; background: #fff; }

.case-headrow {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 30px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.case-headrow h1 { font-size: 24px; font-weight: 600; color: var(--title); letter-spacing: 1px; }

/* 分类标签：文字 + 选中底线，与仙工行业 tab 同一做法 */
.case-tabs { display: flex; gap: 26px; }
.ctab {
  background: none; border: none; padding: 0 2px 10px; margin-bottom: -19px;
  font-size: 14px; color: var(--gray); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ctab:hover { color: var(--title); }
.ctab.active { color: var(--title); font-weight: 600; border-bottom-color: var(--red); }

/* 两栏卡片：图上文下 */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px 44px; }
.case-card { min-width: 0; }
.case-fig {
  display: block; height: 320px; background: #f6f8fa; border-radius: 8px;
  overflow: hidden;
}
/* 列表图铺满卡宽（cover 裁边）；想看全图点进详情页，那里保持 contain */
.case-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-meta { font-size: 13px; color: var(--red); }
.case-meta time { color: #9aa7b7; margin-left: 12px; }
.case-card h2 {
  margin-top: 15px; font-size: 18px; font-weight: 600;
  color: var(--title); line-height: 1.45;
}
.case-text { margin-top: 9px; font-size: 14px; line-height: 1.85; color: var(--gray); }
.case-text.clamp {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.case-card h2 a { color: inherit; }
.case-card h2 a:hover { color: var(--blue); }
.case-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px;
}
.case-more {
  display: inline-block;
  font-size: 13px; color: var(--title); border-bottom: 1px solid #c9d4e2;
  padding-bottom: 2px; transition: color .18s var(--ease), border-color .18s var(--ease);
}
.case-more:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- 案例详情页（/cases/编号）：通用单页模板 ---------- */
.casev-sec { padding: 34px 0 84px; background: #fff; }
.casev-wrap { max-width: 860px; }
.casev-crumb { font-size: 13px; color: var(--gray); margin-bottom: 22px; }
.casev-crumb a { color: var(--gray); }
.casev-crumb a:hover { color: var(--blue); }
.casev-crumb i { font-style: normal; margin: 0 8px; color: #c2ccd8; }
.casev-sec h1 {
  margin-top: 8px; font-size: 26px; font-weight: 600;
  color: var(--title); line-height: 1.4;
}
.casev-fig {
  margin-top: 22px; background: #f6f8fa; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  max-height: 520px; overflow: hidden;
}
.casev-fig img { max-width: 100%; max-height: 520px; object-fit: contain; display: block; }
.casev-body { margin-top: 24px; font-size: 15px; line-height: 2; color: var(--ink); }
.casev-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 26px;
}
.casev-specs > div {
  background: #f8fafc; border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 16px;
}
.casev-specs dt { font-size: 12.5px; color: var(--gray); }
.casev-specs dd { margin-top: 5px; font-size: 15px; font-weight: 600; color: var(--title); }
.casev-label { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 1px; }
.casev-steps { margin-top: 26px; }
.casev-steps ol { margin-top: 12px; counter-reset: step; }
.casev-steps li {
  counter-increment: step; position: relative;
  padding: 9px 0 9px 40px; border-top: 1px solid #eef1f5;
  font-size: 14px; color: var(--ink);
}
.casev-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 2px; top: 10px;
  font-size: 12.5px; color: var(--red);
}
.casev-back { display: inline-block; margin-top: 36px; font-size: 14px; color: var(--gray); }
.casev-back:hover { color: var(--blue); }

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-fig { height: 250px; }
  .case-tabs { gap: 18px; }
}

/* 手机与平板的阅读、筛选和触控间距；桌面沿用原版式。 */
@media (min-width: 521px) and (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .case-topband { height: 60px; background: #fff; }
  .page-hero { padding: 108px 0 40px; }
  .casev-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-tabs { flex-wrap: wrap; gap: 4px 18px; }
  .ctab { min-height: 44px; }
  .pat-bar { gap: 12px; }
  .filter-row.kinds { flex-wrap: wrap; }
  .filter-row.kinds .pat-tag, .filter-row.cats .pat-tag { min-height: 44px; }
  .np-panel .news-grid { grid-template-columns: 1fr; }
  .foot-nav { gap: 2px 24px; }
  .foot-nav a, .foot-nav > span { display: inline-flex; align-items: center; min-height: 44px; }
  .lightbox { padding: 72px 16px 24px; }
  .lightbox img { max-width: 100%; max-height: calc(100svh - 170px); }
  .lightbox p { text-align: center; }
  .lb-close { top: 16px; right: 16px; width: 44px; height: 44px; }
}
@media (max-width: 520px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero .slide-content { padding-top: 44px; padding-bottom: 0; }
  section { padding-top: 48px; padding-bottom: 48px; }
  .hero { padding: 60px 0 0; }
  .sec-head { margin-bottom: 28px; }
  .casev-sec h1 { font-size: 23px; }
  .casev-specs { grid-template-columns: 1fr; gap: 8px; }
  .casev-specs > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: baseline; }
  .casev-specs dd { margin-top: 0; overflow-wrap: anywhere; }
  .case-fig { height: auto; aspect-ratio: 3 / 2; }
  .filter-row.kinds .pat-tag { padding-left: 12px; padding-right: 12px; }
  .np-row time { flex-basis: 100%; }
  .np-row { padding-right: 6px; }
  .contact-actions { align-items: stretch; }
  .contact-actions .btn-primary, .contact-actions .btn-line { text-align: center; }
  .loc-addr { overflow-wrap: anywhere; }
}

/* 手机首页下半部沿用 Mazak 的设备网格、圆角入口与新闻行。 */
@media (max-width: 900px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .sec-head h2 { font-size: 26px; font-weight: 500; }
  .sec-head .kicker { display: none; }
  #products { background: #f5f6f8; padding-top: 56px; }
  .seam { display: none; }
  .tri-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .tri:first-child { grid-column: 1 / -1; }
  .tri-img { height: clamp(120px, 30vw, 220px); opacity: 1; filter: none; background-color: transparent; }
  .tri:first-child .tri-img { height: clamp(170px, 44vw, 270px); }
  .tri-img.tri-render { padding: 4px; background-color: transparent; }
  .tri .tri-text { padding: 12px 0 0; background: transparent; backdrop-filter: none; }
  .tri:hover .tri-text { box-shadow: none; }
  .tri-ico, .tri-text p { display: none; }
  .tri-text h3 { font-size: 17px; font-weight: 500; }
  .tri-more { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; margin-top: 8px; }
  .btn-pill { display: flex; align-items: center; justify-content: center; min-height: 48px; width: min(100%, 340px); margin: 0 auto; border-radius: 999px; background: var(--navy); border-color: var(--navy); color: #fff; }
  .news-sec { background: #fff; padding: 64px 0; }
  .news-sec::before { display: none; }
  .news-head { text-align: left; margin: 0 0 32px; }
  .news-head h2::after { margin-left: 0; }
  .about-inner { padding: 56px 20px 0; }
  .about-copy { max-width: none; }
  .about-copy h2 { font-size: 26px; font-weight: 500; }
  .about-frame { margin-top: 24px; padding: 0; }
  .frame-top, .frame-left, .frame-node, .ghost-year { display: none; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; gap: 24px 16px; }
  .about-facts div { padding-right: 0; }
  .news-sec .news-grid { display: block; border-top: 1px solid var(--line); }
  .news-sec .news-card { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .news-sec .news-img, .news-sec .news-desc, .news-sec .news-lead { display: none; }
  .news-sec .news-date { grid-column: 1; grid-row: 1; margin: 0; font-size: 13px; }
  .news-sec .news-date i { display: none; }
  .news-sec .news-cat { grid-column: 2; grid-row: 1; justify-self: start; margin: 0; padding: 0 7px; background: #fbedee; font-size: 12px; }
  .news-sec .news-card h3 { grid-column: 1 / -1; margin: 0; font-size: 16px; font-weight: 500; line-height: 1.65; }
  .foot-top { gap: 24px; }
  .foot-nav { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0; }
  .foot-nav a, .foot-nav > span { padding: 12px 0; min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .foot-nav a { justify-content: space-between; }
  .foot-nav a::after { content: "›"; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .mobile-products summary { cursor: pointer; padding: 10px 0; }
  .mobile-submenu a { display: block; padding-left: 16px; }
}

/* site-v3.19 共用导航精修：只追加状态规则，不改变结构、尺寸或定位。
   --logo-blue 为现有 logo-mark.png 蓝色主体取样；导航强调色来自已认可精修试稿。 */
header {
  --logo-blue: #002d92;
  --nav-accent: #0a2966;
  --nav-text: #424953;
  --nav-secondary: #69727c;
  --nav-contact: #c8102e;
  --nav-contact-hover: #a50d26;
}
header.scrolled { background: #fff; box-shadow: none; }
header:is(.scrolled, .on-light) .brand b { color: var(--logo-blue); }
header:is(.scrolled, .on-light) .nav .item { color: var(--nav-text); font-weight: 400; }
header:is(.scrolled, .on-light) .nav .item:is([aria-current], :hover) { color: var(--nav-accent); }
header .nav .item::after { display: none; }
header .btn-contact { background: var(--nav-contact); border-radius: 2px; font-weight: 500; letter-spacing: .04em; box-shadow: none; transition: background .18s; }
header .btn-contact:hover { background: var(--nav-contact-hover); transform: none; }
header:is(.scrolled, .on-light) .nav .lang { color: #66717e; }
header .nav .lang .globe { stroke-width: 1.15; }
header .chev { border-width: 0 1px 1px 0; }
header :is(a, button, summary):focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 5px; }
/* 深色透明首屏保留反白文字，焦点框同样必须可辨认。 */
header:not(.scrolled):not(.on-light) :is(a, button, summary):focus-visible { outline-color: #fff; }
header .mobile-menu :is(a[aria-current], summary[data-current="true"]) { color: var(--nav-accent); }
header .has-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
header .has-drop[data-dismissed] .drop-panel { opacity: 0; visibility: hidden; }
header .drop-panel a:focus-visible { outline-color: #fff; outline-offset: 2px; }
@media (max-width: 900px) {
  header .brand b { color: var(--logo-blue); }
  header:not(.scrolled):not(.on-light) :is(a, button, summary):focus-visible { outline-color: var(--nav-accent); }
  header .nav-burger::before, header .nav-burger::after { background: var(--nav-contact); }
  header .nav-burger::before { box-shadow: 0 7px 0 var(--nav-contact); }
  header .nav-burger[aria-expanded="true"]::before { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { header .btn-contact { transition: none; } }

/* site-v3.20：负责人恢复联系按钮原来的红色与外形；保留已认可的克制交互。 */
header .btn-contact { background: var(--red); border-radius: 4px; letter-spacing: 1px; }
header .btn-contact:hover { background: var(--red-dark); }

/* Navigation stability: native history restores its saved position without animation.
   Brand geometry belongs in this render-blocking sheet, not a late component sheet. */
html { scroll-behavior: auto; }
header .brand-logo { height: 32px; width: auto; aspect-ratio: 338 / 164; }
header .brand b { font-size: 23px; }
header .brand-div { height: 25px; margin-inline: 10px; }
@media (max-width: 900px) {
  header .brand-logo { height: 28px; }
  header .brand b { font-size: 21px; }
  header .brand-div { height: 24px; margin-inline: 9px; }
}

/* 2026-10-07：统一内容字体；品牌字保留独立规则。旧数字变量仅作兼容别名。 */
:root {
  --font-body: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: var(--font-body);
}
body { font-family: var(--font-body); }
input, select, textarea, button { font-family: inherit; }
