/* =========================================================
   TOYS FORWARD — B2B Toy Manufacturer Website
   Modern minimal industrial · white + deep navy
   ========================================================= */

/* 白底 + 亮橙强调色（--navy* 为历史类名，已重新映射到品牌色阶） */
:root {
  --brand: #ff6a1a;
  --brand-dark: #e8570a;
  --brand-ink: #c9480a;
  --brand-soft: #fff3ea;
  --brand-line: #ffd7bf;
  --navy: #ff6a1a;
  --navy-900: #e8570a;
  --navy-800: #f26518;
  --navy-600: #ff8a4c;
  --navy-100: #fff1e7;
  --ink: #14181d;
  --text: #4d5864;
  --muted: #8b959f;
  --line: #e9ecf0;
  --line-strong: #d8dee4;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-tint: #eff2f5;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.05);
  --shadow-md: 0 12px 32px rgba(16, 24, 32, 0.09);
  --shadow-lg: 0 24px 60px rgba(16, 24, 32, 0.14);
  --container: 1280px;
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
  --topbar-h: 56px;
  --nav-h: 86px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

/* overflow-x 用 clip 而不是 hidden：hidden 会把 html/body 变成滚动容器，
   导致 .site-header 的 position: sticky 静默失效（导航栏不吸顶）。
   clip 只裁剪不滚动，兼容旧浏览器仍保留 hidden 回退。 */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--navy);
  display: inline-block;
}
.kicker--center { justify-content: center; }

.h-section { font-size: clamp(28px, 3.2vw, 42px); }
.h-section + .lead { margin-top: 18px; }
.lead { font-size: 16px; color: var(--text); max-width: 640px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head__text { max-width: 660px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.28s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn--light { background: rgba(255, 255, 255, 0.94); border-color: rgba(255, 255, 255, 0.94); color: var(--navy); backdrop-filter: blur(3px); }
.hero .btn--light:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--sm { padding: 11px 22px; font-size: 11px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--navy); gap: 16px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------------------------------------------- Top bar */

.topbar {
  background: #fff;
  color: var(--text);
  font-size: 12px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding-top: 7px; padding-bottom: 7px;
}
.topbar__left { display: flex; align-items: center; gap: 28px; min-width: 0; flex-wrap: wrap; row-gap: 2px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--text); transition: color 0.25s; }
.topbar__item:hover { color: var(--brand-ink); }
.topbar__item svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.topbar__item--wa { color: var(--ink); font-weight: 600; }
.topbar__item--wa svg { color: #1f9d55; }
.topbar__group { display: inline-flex; align-items: flex-start; gap: 8px; min-width: 0; }
.topbar__group > svg { width: 14px; height: 14px; color: var(--brand); margin-top: 4px; flex-shrink: 0; }
.topbar__lines { display: grid; gap: 1px; line-height: 1.55; }
.topbar__lines a { display: block; white-space: nowrap; color: var(--text); transition: color 0.2s; }
.topbar__lines a:hover { color: var(--brand-ink); }
.topbar__right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.topbar__socials { display: flex; align-items: center; gap: 4px; }
.topbar__social {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.topbar__social:hover { background: var(--brand-soft); color: var(--brand-ink); }
.topbar__social svg { width: 14px; height: 14px; }
.lang__btn { color: var(--text); }

/* language */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; color: inherit; font-size: 12.5px; padding: 4px 0;
}
.lang__btn svg { width: 12px; height: 12px; transition: transform 0.25s; }
.lang.open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 148px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 6px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.22s var(--ease);
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; width: 100%; align-items: center; gap: 8px;
  background: none; border: 0; text-align: left; padding: 8px 10px;
  font-size: 13px; color: var(--text); border-radius: 2px;
}
.lang__menu button:hover { background: var(--bg-tint); color: var(--navy); }
.lang__menu button.active { color: var(--navy); font-weight: 600; }

/* ---------------------------------------------- Header / nav */

/* 吸顶时只固定导航栏：top 取负的顶栏高度，让顶栏随页面滚走，
   头部整体高度始终不变（不会触发布局位移和滚动锚定抖动）。 */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; }
.navbar {
  background: #fff;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* 紧凑态只压缩导航栏「内部」内容，不改导航栏高度。
   高度一旦变化，文档高度随之变化，浏览器滚动锚定会回调 scrollY，
   使 is-stuck 在阈值附近反复翻转 —— 表现为顶部持续抖动。 */
.site-header.is-stuck .navbar {
  border-bottom-color: transparent;
  box-shadow: 0 8px 26px rgba(16, 32, 48, 0.08);
}
.site-header.is-stuck .logo__img { height: 38px; }
.site-header.is-stuck .logo__mark { transform: scale(0.88); }
.site-header.is-stuck .logo__name { font-size: 19px; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 38px; height: 38px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 19px; letter-spacing: -0.04em; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-4deg); }
.logo__img { height: 46px; width: auto; max-width: 190px; object-fit: contain; border-radius: 3px; transition: height 0.3s var(--ease); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 21px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); transition: font-size 0.3s var(--ease); }
.logo__sub { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 13px; height: 100%;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); position: relative; white-space: nowrap;
  transition: color 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 0;
  height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: var(--navy); }
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 11px; height: 11px; opacity: 0.55; transition: transform 0.25s; }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 232px; background: #fff;
  border: 1px solid var(--line); border-top: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
  padding: 10px 0; z-index: 55;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__item:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown--wide { min-width: 660px; padding: 22px 8px; }
.dropdown--right { left: auto; right: 0; }
.dropdown__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 18px; }
.dropdown--products { min-width: 560px; }
.dropdown--products .dropdown__grid { grid-template-columns: repeat(2, 1fr); gap: 2px 26px; }
.dropdown__group { padding: 4px 0; position: relative; }
.dropdown__title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.03em;
}
.dropdown__title svg { width: 11px; height: 11px; opacity: 0.4; }
.dropdown__children { padding: 2px 0 8px; border-bottom: 1px solid var(--line); }
.dropdown__group:last-child .dropdown__children { border-bottom: 0; }
.dropdown__link {
  display: block; padding: 7px 14px 7px 24px;
  font-size: 13px; color: var(--text); transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.dropdown__link:hover { color: var(--navy); background: var(--bg-soft); padding-left: 28px; }

/* nav tools */
.nav-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink); border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}
.icon-btn:hover { background: var(--bg-tint); color: var(--navy); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }

/* search panel */
.search-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 32, 48, 0.1);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.search-panel.open { max-height: 200px; }
.search-panel__inner { padding: 28px 0; display: flex; gap: 14px; align-items: center; }
.search-panel input {
  flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--line-strong);
  font-size: 20px; padding: 10px 2px; color: var(--ink); outline: none; background: none;
  font-family: inherit;
}
.search-panel input:focus { border-color: var(--navy); }
.search-panel input::placeholder { color: #b3bfca; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none;
}
.drawer__mask {
  position: absolute; inset: 0; background: rgba(10, 22, 34, 0.5);
  opacity: 0; transition: opacity 0.3s;
}
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.38s var(--ease);
  overflow-y: auto;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open .drawer__mask { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 10px 0 30px; }
.drawer__item { border-bottom: 1px solid var(--line); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 22px; font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.drawer__link svg { width: 14px; height: 14px; opacity: 0.4; transition: transform 0.3s; }
.drawer__item.open > .drawer__link { color: var(--navy); }
.drawer__item.open > .drawer__link svg { transform: rotate(180deg); }
.drawer__sub { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); background: var(--bg-soft); }
.drawer__sub a { display: block; padding: 11px 22px 11px 34px; font-size: 13.5px; color: var(--text); }
.drawer__sub a.group { font-weight: 600; color: var(--navy); padding-top: 14px; }
.drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }

/* ---------------------------------------------- Hero */

.hero { position: relative; height: var(--hero-h, calc(100vh - var(--nav-h) - var(--topbar-h))); min-height: 560px; max-height: 900px; overflow: hidden; background: #10161e; }
/* 后台填了固定高度后，取消 560/900 的钳制，完全按设定值渲染 */
.hero.hero--fixed { min-height: 0; max-height: none; }
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.active { opacity: 1; visibility: visible; }
/* 隐藏 More 按钮时整张图可点 */
.hero__slide--link { cursor: pointer; }
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero__slide.active .hero__bg { transform: scale(1); }
/* 完整显示模式：整张图铺进 Banner，不裁切，两侧/上下留底色（适合不允许裁掉主体的图） */
.hero--contain .hero__bg { background-size: contain; background-repeat: no-repeat; background-color: #0e1a26; transform: none !important; }
/* 手机端专属 Banner 的视频背景：铺满、静音循环，文字始终压在上面 */
.hero__video,
.hero__video-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__video { display: block; object-fit: cover; }
.hero__video-frame iframe { width: 100%; height: 100%; border: 0; pointer-events: none; transform: scale(1.12); }
.hero__inner { z-index: 2; }
.hero--single .hero__nav { display: none; }

/* 手机端视频 Banner：固定 16:9 播放器，进页面静音自动播放，
   不铺满首屏、不渲染任何静态 BANNER 图片（poster 也由 JS 去掉）。
   视频模式下整块文字区（标题/描述/按钮）都不显示，只留播放器。 */
.hero.hero--video {
  height: auto; min-height: 0; max-height: none;
  padding-bottom: 0; background: #10161e;
}
.hero--video .hero__track { position: relative; inset: auto; }
.hero--video .hero__slide {
  position: relative; inset: auto;
  opacity: 1; visibility: visible; transition: none;
}
.hero--video .hero__video {
  position: relative; inset: auto;
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; background: #10161e;
}
.hero--video .hero__video-frame {
  position: relative; inset: auto;
  width: 100%; aspect-ratio: 16 / 9;
}
.hero--video .hero__video-frame iframe { transform: none; }
.hero--video .hero__overlay,
.hero--video .hero__inner,
.hero--video .hero__nav,
.hero--video .hero__count { display: none; }
/* Banner 默认不加任何遮罩，让背景图原样呈现；
   文字可读性交给 text-shadow 与实心按钮解决。
   如需临时压暗，后台「首页 Banner」里可开启遮罩（settings.hero.overlay）。 */
.hero__overlay {
  position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.hero--shade .hero__overlay {
  background: linear-gradient(96deg, rgba(9, 23, 37, 0.72) 0%, rgba(11, 29, 46, 0.5) 46%, rgba(11, 29, 46, 0.16) 74%, rgba(11, 29, 46, 0.02) 100%);
}
.hero__inner {
  position: relative; height: 100%; display: flex; align-items: center;
  padding: 60px 0 110px;
}
.hero__content { max-width: 760px; color: #fff; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92); margin-bottom: 22px;
  text-shadow: 0 1px 10px rgba(8, 20, 33, 0.55);
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 6px rgba(8, 20, 33, 0.5); }
.hero__title {
  color: #fff; font-size: clamp(34px, 4.6vw, 62px); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px;
  /* 无遮罩后靠多层投影保证白字在任何底色上都能读清 */
  text-shadow: 0 2px 18px rgba(8, 20, 33, 0.55), 0 1px 3px rgba(8, 20, 33, 0.42);
}
.hero__desc { font-size: 16.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.95); max-width: 560px; margin-bottom: 38px; text-shadow: 0 1px 14px rgba(8, 20, 33, 0.6), 0 1px 2px rgba(8, 20, 33, 0.4); }
.hero__slide .hero__eyebrow,
.hero__slide .hero__title,
.hero__slide .hero__desc,
.hero__slide .hero__cta { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero__slide.active .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.15s; }
.hero__slide.active .hero__title { opacity: 1; transform: none; transition-delay: 0.28s; }
.hero__slide.active .hero__desc { opacity: 1; transform: none; transition-delay: 0.42s; }
.hero__slide.active .hero__cta { opacity: 1; transform: none; transition-delay: 0.56s; }

/* 背景图偏亮时自动改用深色文字（由 main.js 采样判断），这样不需要遮罩也能读清 */
.hero__slide.on-light .hero__eyebrow {
  color: #16303f;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.7);
}
.hero__slide.on-light .hero__eyebrow::before { background: rgba(13, 28, 43, 0.7); box-shadow: none; }
.hero__slide.on-light .hero__title {
  color: #0b1a29;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6), 0 6px 34px rgba(255, 255, 255, 0.55);
}
.hero__slide.on-light .hero__desc {
  color: rgba(11, 26, 41, 0.97);
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.92), 0 1px 3px rgba(255, 255, 255, 0.8);
}
.hero__slide.on-light .btn--light { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero__slide.on-light .btn--light:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.hero__nav {
  position: absolute; bottom: 46px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 26px;
  z-index: 4;
}
.hero__arrow {
  width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(9, 23, 37, 0.3); color: #fff; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero__arrow svg { width: 17px; height: 17px; }
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__dot {
  width: 26px; height: 2px; background: rgba(255, 255, 255, 0.6); border: 0; padding: 0;
  box-shadow: 0 1px 4px rgba(9, 23, 37, 0.6);
  transition: background 0.3s, width 0.3s;
}
.hero__dot.active { background: #fff; width: 44px; }
.hero__count {
  position: absolute; right: 40px; bottom: 52px; z-index: 4;
  color: rgba(255, 255, 255, 0.9); font-size: 12px; letter-spacing: 0.14em;
  text-shadow: 0 1px 8px rgba(9, 23, 37, 0.6);
}
.hero__count b { color: #fff; font-size: 17px; font-weight: 600; }

/* ---------------------------------------------- Advantages */

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); padding: 36px 30px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.adv-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.adv-card:hover::before { transform: scaleX(1); }
.adv-card__icon {
  width: 46px; height: 46px; color: var(--navy); margin-bottom: 22px;
  transition: transform 0.35s var(--ease), color 0.35s;
}
.adv-card__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.adv-card:hover .adv-card__icon { transform: translateY(-3px) scale(1.06); color: var(--navy-600); }
.adv-card__title { font-size: 16px; margin-bottom: 8px; }
.adv-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.adv-card__num {
  position: absolute; right: 22px; top: 18px; font-size: 42px; font-weight: 700;
  color: var(--bg-tint); line-height: 1; letter-spacing: -0.04em;
  transition: color 0.35s;
}
.adv-card:hover .adv-card__num { color: var(--navy-100); }

/* 优势卡片下方的说明文字（后台「核心优势」里开关 + 文案）
   · 桌面端必须一行：上限 40px 时这段示例文案占容器宽约 89%，两侧各留 60px 余量。
     44px 时占比 98%（只剩 18px 余量），不同机器字体渲染差一点点就会挤成两行，故收到 40px。
     窄屏用 vw 按比例缩，下限 18px；另外 main.js 的 fitAdvNote() 会按真实渲染宽度再兜一层
   · white-space: pre-wrap —— 后台怎么打就怎么显示，连续空格与换行都保留
   · 立体感用多层 text-shadow：右下方向挤出 3px 厚度 + 一道柔和落影 */
.adv-note {
  --adv-sh1: #39424e; --adv-sh2: #333c48; --adv-sh3: #2c343f;
  margin: 44px auto 0; max-width: 1180px;
  text-align: center;
  font-size: clamp(18px, 3.06vw, 40px); font-weight: 600;
  line-height: 1.2; letter-spacing: -0.03em;
  color: #1b222a; white-space: pre-wrap; word-break: break-word;
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6),
    1px 1px 0 var(--adv-sh1),
    2px 2px 0 var(--adv-sh2),
    3px 3px 0 var(--adv-sh3),
    5px 6px 10px rgba(20, 24, 29, 0.2);
}
/* 手动回车一段一行；段内用 2+ 空格隔开的部分整体换行，避免半句被拆到下一行 */
.adv-note__line { display: block; }
.adv-note__seg { display: inline-block; max-width: 100%; vertical-align: top; }
/* 有说明文字时只收掉卡片区块自身的底部留白（文字紧贴卡片）；
   下一区块（ABOUT US）的顶部留白保持原样 104px —— 之前为了省高度压到 64px，
   结果整块 About 上移 40px，已改回 */
.section--tight.has-note { padding-bottom: 0; }
@media (max-width: 900px) {
  .adv-note {
    line-height: 1.24;
    text-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.55),
      1px 1px 0 var(--adv-sh1),
      2px 2px 0 var(--adv-sh2),
      4px 5px 9px rgba(20, 24, 29, 0.18);
  }
}
@media (max-width: 720px) {
  /* 手机上字号由 clamp 自动缩到 18px 附近，文案会折成两行，厚度再收一层 */
  .adv-note {
    margin-top: 26px;
    text-shadow:
      1px 1px 0 var(--adv-sh1),
      2px 2px 0 var(--adv-sh2),
      3px 4px 8px rgba(20, 24, 29, 0.16);
  }
}

/* ---------------------------------------------- About */

/* 和「Let's work together」CTA 区块同一套做法：细线框直接给在图片上（框 = 图片边缘，
   图片正好在框里），左图右文等高，图片按 cover 裁切填满整列，不居中、上下都齐平 */
.about-split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 72px; align-items: stretch; }
.about-media { position: relative; display: flex; }
.about-media__img {
  width: 100%; height: 100%; min-height: 0; object-fit: cover;
  border: 1px solid var(--line); background: #fff;
  position: relative; z-index: 2;
}
.about-media__badge {
  position: absolute; left: -28px; bottom: 34px; z-index: 3;
  background: var(--navy); color: #fff; padding: 22px 26px;
  display: flex; align-items: baseline; gap: 8px;
  box-shadow: var(--shadow-md);
}
.about-media__badge b { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
.about-media__badge span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.about-body p { margin-bottom: 16px; color: var(--text); }
.about-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0 34px; }
.about-bullets li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink); align-items: flex-start; line-height: 1.55; }
.about-bullets svg { width: 16px; height: 16px; color: var(--navy); flex-shrink: 0; margin-top: 3px; }

/* ---------------------------------------------- Products */

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 9px 18px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); border-radius: 100px; transition: all 0.25s var(--ease);
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.carousel-head--stack { margin-bottom: 22px; align-items: flex-end; }
.carousel-head__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.home-tabs { margin-bottom: 34px; }
.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.tabs-row .home-tabs { margin-bottom: 0; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff;
  color: var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.carousel-arrow:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel-arrow[disabled] { opacity: 0.35; pointer-events: none; }
.carousel-arrow svg { width: 16px; height: 16px; }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
  scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.dragging { scroll-behavior: auto; cursor: grabbing; }
.carousel__item { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }

/* 首页热门产品网格：后台「首页布局」选行数（1/2/3 行），每行固定 4 个。
   与横向轮播分开，网格一次铺开、分类切换时整组重绘；手机降为 2 列。 */
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-product-cell { min-width: 0; }
.home-product-cell .product-card { height: 100%; }
.home-product-grid + .home-products-empty { grid-column: 1 / -1; }

.product-card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
/* 图片区纯白底：白底产品图的留白与卡片融为一体，看不出空隙 */
.product-card__media { position: relative; overflow: hidden; aspect-ratio: 1; background: #fff; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); }

.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--navy); color: #fff; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px;
}
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-size: 15.5px; line-height: 1.4; }
.product-card__desc { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }
.product-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
}
.product-card__more svg { width: 13px; height: 13px; transition: transform 0.25s; }
.product-card:hover .product-card__more svg { transform: translateX(4px); }

/* ---------------------------------------------- CTA band */

.cta-band { position: relative; overflow: hidden; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.16; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 46%, rgba(255, 255, 255, 0.78) 100%); }
.cta-band__inner {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  padding: 88px 0; align-items: center; color: var(--ink);
}
.cta-band__media { position: relative; }
.cta-band__media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.cta-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.cta-counter { background: #fff; padding: 22px 16px; text-align: center; }
.cta-counter__num { font-size: 30px; font-weight: 600; color: var(--brand-ink); letter-spacing: -0.03em; line-height: 1; }
.cta-counter__num small { font-size: 16px; }
.cta-counter__label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.cta-band__content h2 { color: var(--ink); font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; }
.cta-band__content p { color: var(--text); margin-bottom: 26px; max-width: 480px; }
.cta-band__phones { display: grid; gap: 4px; margin-bottom: 28px; }
.cta-band__phone {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
  transition: color 0.25s;
}
.cta-band__phone--sm { font-size: 16.5px; font-weight: 500; color: var(--text); letter-spacing: 0; }
.cta-band__phone:hover { color: var(--brand-ink); }
.cta-band__phone svg { width: 22px; height: 22px; color: var(--brand); }
.cta-band__phone--sm svg { width: 17px; height: 17px; }
.cta-band .kicker { color: var(--brand-ink); }
.cta-band .kicker::before { background: var(--brand); }

/* ---------------------------------------------- Why choose */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-card {
  display: flex; gap: 22px; padding: 34px 32px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.why-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.why-card__icon {
  width: 42px; height: 42px; flex-shrink: 0; color: var(--navy);
  background: var(--navy-100); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-card__icon svg { width: 20px; height: 20px; }
.why-card__title { font-size: 16px; margin-bottom: 8px; }
.why-card__desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------- Cases */

.case-card { position: relative; overflow: hidden; display: block; background: transparent; height: 100%; }
.case-card__media { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--bg-tint); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.5s; }
.case-card:hover .case-card__media img { transform: scale(1.05); opacity: 0.9; }
.case-card__body { padding: 22px 2px 0; }
.case-card__meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.case-card__title { font-size: 16.5px; line-height: 1.45; margin-bottom: 8px; color: var(--ink); transition: color 0.25s; }
.case-card:hover .case-card__title { color: var(--navy); }
.case-card__desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------- News */

.news-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.news-card__cat { color: var(--navy); font-weight: 600; }
.news-card__title { font-size: 15.5px; line-height: 1.45; }
.news-card__desc { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.news-card__more { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.news-card__more svg { width: 13px; height: 13px; transition: transform 0.25s; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }

/* ---------------------------------------------- Page hero (inner pages) */

.page-hero {
  position: relative; background: #0e1a26; color: #fff;
  padding: 104px 0 96px; overflow: hidden; border-bottom: 1px solid var(--line);
}
/* 不画整屏遮罩：背景图完全原样铺满。
   仅文字所在的一侧（左）晕一层柔和暗角并向右淡出到 0，右侧图片不受任何影响 */
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 1; z-index: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 14, 22, 0.72) 0%, rgba(5, 14, 22, 0.58) 34%, rgba(5, 14, 22, 0.26) 58%, rgba(5, 14, 22, 0) 76%),
    linear-gradient(180deg, rgba(5, 14, 22, 0.22) 0%, rgba(5, 14, 22, 0) 28%, rgba(5, 14, 22, 0) 70%, rgba(5, 14, 22, 0.26) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px;
  text-shadow: 0 1px 2px rgba(3, 10, 16, 0.5), 0 3px 18px rgba(3, 10, 16, 0.42);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.94); max-width: 620px; font-size: 15.5px;
  text-shadow: 0 1px 2px rgba(3, 10, 16, 0.5), 0 2px 14px rgba(3, 10, 16, 0.44);
}
/* 背景图偏亮时自动切深色文字（由 main.js 采样判断） */
.page-hero.on-light::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.72) 34%, rgba(255, 255, 255, 0.32) 58%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.26) 100%);
}
.page-hero.on-light h1 { color: #0b1a29; text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45); }
.page-hero.on-light p { color: rgba(11, 26, 41, 0.94); text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5); }
/* 页头里的浅色按钮：暗图用白底深字，亮图用品牌色，都保证看得见 */
.page-hero .btn--light { background: rgba(255, 255, 255, 0.95); border-color: rgba(255, 255, 255, 0.95); color: var(--navy); backdrop-filter: blur(3px); }
.page-hero .btn--light:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }
.page-hero.on-light .btn--light { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-hero.on-light .btn--light:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.page-hero.on-light .breadcrumb { color: rgba(11, 26, 41, 0.8); }
.page-hero.on-light .breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.86); margin-bottom: 20px; text-shadow: 0 1px 6px rgba(3, 10, 18, 0.62); }
.breadcrumb a:hover { color: #ffb27a; }
.breadcrumb svg { width: 11px; height: 11px; opacity: 0.6; }

/* 详情页等次级页头：更矮一档 */
.page-hero--compact { padding: 68px 0 58px; }
.page-hero__search { display: flex; gap: 12px; margin-top: 24px; max-width: 560px; }
.page-hero__input {
  flex: 1; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.45); background: none;
  color: #fff; font-size: 17px; padding: 10px 2px; outline: none; font-family: inherit;
}
.page-hero__input::placeholder { color: rgba(255, 255, 255, 0.62); }
.page-hero.on-light .page-hero__input { color: #0d1c2b; border-bottom-color: rgba(13, 28, 43, 0.45); }
.page-hero.on-light .page-hero__input::placeholder { color: rgba(13, 28, 43, 0.55); }

/* ---------------------------------------------- Listing / grids */

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

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; }
.pagination button, .pagination a {
  min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 13px; color: var(--text); display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.22s;
}
.pagination button:hover, .pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .pagination__edge { padding: 0 18px; letter-spacing: 0.02em; }
.pagination .is-disabled {
  min-width: 42px; height: 42px; padding: 0 18px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; color: var(--muted); opacity: 0.5; display: inline-flex; align-items: center;
  justify-content: center; cursor: not-allowed; user-select: none;
}
.pagination .pagination__gap {
  min-width: 20px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px;
}

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 18px; opacity: 0.35; }

/* sidebar layout */
.with-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: flex-start; }
.sidebar { position: sticky; top: 110px; }
.side-card { border: 1px solid var(--line); background: #fff; margin-bottom: 22px; }
.side-card__head { padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; font-size: 13.5px; color: var(--text); border-bottom: 1px solid var(--line); transition: all 0.22s; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover, .side-nav a.active { color: var(--navy); background: var(--bg-soft); padding-left: 26px; }
.side-nav a svg { width: 12px; height: 12px; opacity: 0.35; }
.side-contact { padding: 22px; }
.side-contact p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.side-contact__item { display: flex; gap: 10px; font-size: 13px; color: var(--ink); margin-bottom: 10px; align-items: flex-start; }
.side-contact__item svg { width: 15px; height: 15px; color: var(--navy); flex-shrink: 0; margin-top: 3px; }

/* ---------------------------------------------- Detail pages */

.detail-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.gallery__main { position: relative; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumb { width: 82px; height: 82px; border: 1px solid var(--line); padding: 0; overflow: hidden; background: none; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.active { opacity: 1; border-color: var(--navy); }

.detail-info h1, .detail-info .detail-name { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.detail-info__cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin-bottom: 12px; display: block; }
.detail-info__summary { color: var(--text); margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; font-size: 13.5px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 11px 0; vertical-align: top; }
.spec-table td:first-child { width: 42%; color: var(--muted); }
.spec-table td:last-child { color: var(--ink); }

.prose { font-size: 15px; line-height: 1.85; color: var(--text); }
.prose h2, .prose h3 { margin: 34px 0 14px; font-size: 20px; }
.prose p { margin-bottom: 18px; }
.prose ul { margin: 0 0 20px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--navy); border-radius: 50%; }
.prose img { margin: 26px 0; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: flex-start; }
.article-cover { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; margin-bottom: 36px; }
.article-meta { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; flex-wrap: wrap; }
.article-title { font-size: clamp(26px, 3vw, 40px); margin-bottom: 24px; }
.article-share { display: flex; gap: 8px; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.article-share a { width: 34px; height: 34px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.22s; }
.article-share a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.article-share svg { width: 15px; height: 15px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: flex-start; }
.contact-info__item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info__icon { width: 42px; height: 42px; background: var(--navy-100); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
.contact-info__icon svg { width: 19px; height: 19px; }
.contact-info__label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info__value { font-size: 15px; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-info__value a:hover { color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); padding: 42px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: #b4402f; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong); background: #fff; padding: 12px 14px;
  font-size: 14px; font-family: inherit; color: var(--ink); outline: none;
  border-radius: 2px; transition: border-color 0.22s, box-shadow 0.22s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.12); }
.field input::placeholder, .field textarea::placeholder { color: #aab6c2; }
.field input[type="file"] {
  padding: 12px 14px; border: 1px dashed var(--line-strong); background: #fafbfc;
  font-size: 12.5px; color: var(--muted); cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 7px 14px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 2px; color: var(--navy); font-family: inherit;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.field input[type="file"]::file-selector-button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.field__hint { font-size: 11.5px; color: var(--muted); }
.form-note { font-size: 11.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* map */
.map-wrap { height: 420px; background: var(--bg-tint); position: relative; overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* video */
.video-card { position: relative; overflow: hidden; cursor: pointer; background: #10161e; }
.video-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.7s var(--ease), opacity 0.4s; }
.video-card:hover .video-card__media img { transform: scale(1.05); opacity: 0.65; }
.video-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-card__play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--brand-ink);
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s, background 0.3s;
}
.video-card:hover .video-card__play span { transform: scale(1.08); background: #fff; }
.video-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 22px 20px; color: #fff; font-size: 15px; background: linear-gradient(transparent, rgba(10, 24, 38, 0.9)); margin: 0; }
.video-card__dur { position: absolute; right: 14px; top: 14px; background: rgba(10, 24, 38, 0.75); color: #fff; font-size: 11px; padding: 3px 8px; letter-spacing: 0.06em; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(9, 20, 32, 0.82); backdrop-filter: blur(3px); }
.modal__box { position: relative; width: min(1000px, 100%); background: #000; box-shadow: var(--shadow-lg); }
.modal__box iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.modal__box video { width: 100%; max-height: 78vh; aspect-ratio: 16 / 9; display: block; background: #000; object-fit: contain; }
.modal__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 8px; }
.modal__close svg { width: 22px; height: 22px; }

/* download */
.dl-item { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border: 1px solid var(--line); background: #fff; transition: box-shadow 0.25s, transform 0.25s; }
.dl-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dl-item__icon { width: 46px; height: 46px; background: var(--navy-100); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl-item__icon svg { width: 21px; height: 21px; }
.dl-item__body { flex: 1; }
.dl-item__title { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.dl-item__meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.dl-item__btn { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); padding: 9px 18px; border: 1px solid var(--line-strong); transition: all 0.22s; }
.dl-item__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.dl-item__btn svg { width: 14px; height: 14px; }

/* solution cards */
.solution-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.solution-card:nth-child(even) { direction: rtl; }
.solution-card:nth-child(even) > * { direction: ltr; }
.solution-card__media { overflow: hidden; min-height: 280px; }
.solution-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.solution-card:hover .solution-card__media img { transform: scale(1.04); }
.solution-card__body { padding: 44px 44px; display: flex; flex-direction: column; justify-content: center; }
.solution-card__num { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 0.14em; margin-bottom: 14px; }
.solution-card__title { font-size: 22px; margin-bottom: 12px; }
.solution-card__desc { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* honor / vision */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card { border: 1px solid var(--line); background: #fff; padding: 34px 28px; text-align: center; transition: box-shadow 0.3s, transform 0.3s; }
.honor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.honor-card__icon { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--navy); }
.honor-card__icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
.honor-card h3 { font-size: 16px; margin-bottom: 8px; }
.honor-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.honor-card__year { font-size: 11px; letter-spacing: 0.12em; color: var(--navy); margin-top: 14px; display: block; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 40px 32px; background: var(--bg-soft); border-left: 2px solid var(--navy); }
.value-card__idx { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--navy); margin-bottom: 16px; }
.value-card h3 { font-size: 19px; margin-bottom: 12px; }
.value-card p { font-size: 13.5px; color: var(--text); line-height: 1.8; }

.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 130px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline__item { display: grid; grid-template-columns: 130px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline__year { font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; text-align: right; padding-right: 30px; }
.timeline__body { padding-left: 30px; position: relative; }
.timeline__body::before { content: ""; position: absolute; left: -5px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.timeline__title { font-size: 16px; margin-bottom: 6px; }
.timeline__desc { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------- Footer */

.site-footer { background: var(--bg-soft); color: var(--text); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 64px; padding: 76px 0 60px; }
.footer-brand .logo__name { color: var(--ink); }
.footer-brand .logo__sub { color: var(--muted); }
.footer-about { font-size: 13.5px; line-height: 1.85; margin: 22px 0 26px; max-width: 380px; color: var(--text); }
.footer-socials { display: flex; gap: 8px; }
.footer-social { width: 34px; height: 34px; border: 1px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.25s; }
.footer-social:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-social svg { width: 15px; height: 15px; }
.footer-title { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 22px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer-links a { font-size: 13.5px; color: var(--text); transition: color 0.22s, padding-left 0.22s; }
.footer-links a:hover { color: var(--brand-ink); padding-left: 4px; }
.footer-contact__item { display: flex; gap: 12px; font-size: 13.5px; margin-bottom: 16px; line-height: 1.65; }
.footer-contact__item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 5px; color: var(--brand); }
.footer-contact__item a:hover { color: var(--brand-ink); }
.footer-contact__lines { display: grid; gap: 2px; }
.footer-contact__lines a { display: inline-block; width: fit-content; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
}
.footer-certs { display: flex; gap: 16px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* 页脚外部链接条（后台可编辑） */
.footer-ext {
  display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap;
  padding: 20px 0 18px; border-top: 1px solid var(--line);
}
.footer-ext__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.footer-ext__links { display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; }
.footer-ext__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 0 16px; font-size: 13px; color: var(--text); transition: color 0.22s;
}
.footer-ext__link:first-child { padding-left: 0; }
.footer-ext__link + .footer-ext__link::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 11px;
  margin-top: -5.5px; background: var(--line-strong);
}
.footer-ext__link:hover { color: var(--brand-ink); }
.footer-ext__link svg { width: 12px; height: 12px; opacity: 0.5; flex-shrink: 0; }
.footer-ext__link:hover svg { opacity: 1; }

/* back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px;
  background: var(--navy); color: #fff; border: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s var(--ease); z-index: 40;
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-ink); }
.to-top svg { width: 16px; height: 16px; }

/* floating whatsapp */
.float-wa {
  position: fixed; left: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--float-bg, #1f8a4c); color: #fff; padding: 11px 18px 11px 13px;
  border-radius: 100px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16, 24, 32, 0.3); }
.float-wa svg { width: 20px; height: 20px; }

/* right-hand suspension social rail */
.social-rail {
  position: fixed; right: 0; top: 50%; z-index: 60;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 7px 0 0 7px;
  box-shadow: -18px 0 48px rgba(15, 32, 48, 0.16);
  transform: translate(112%, -50%);
  transition: transform 0.7s var(--ease);
}
.social-rail.is-in { transform: translate(0, -50%); }
.social-rail__cap {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 0 9px; color: #6f7d8a;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  border-radius: 7px 0 0 0;
}
.social-rail__cap svg { color: var(--muted); }
.social-rail__link {
  position: relative; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transition: background 0.28s var(--ease), color 0.28s;
}
.social-rail__link:last-child { border-bottom: 0; border-radius: 0 0 0 7px; }
.social-rail__link svg { width: 19px; height: 19px; }
.social-rail__link:hover, .social-rail__link:focus-visible {
  background: var(--brand, var(--navy-600)); color: #fff; outline: none;
}
.social-rail__label {
  position: absolute; right: 100%; top: 0; height: 48px;
  display: flex; align-items: center; padding: 0 17px;
  background: var(--brand, var(--navy-600)); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 0.03em; white-space: nowrap;
  border-radius: 4px 0 0 4px;
  opacity: 0; transform: translateX(12px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-rail__link:hover .social-rail__label,
.social-rail__link:focus-visible .social-rail__label { opacity: 1; transform: none; }

/* wechat popover */
.wechat-pop {
  position: fixed; right: 62px; top: 50%; z-index: 61; width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow-lg); padding: 18px;
  opacity: 0; visibility: hidden;
  transform: translate(14px, -50%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.wechat-pop.open { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.wechat-pop::after {
  content: ''; position: absolute; right: -6px; top: 50%; margin-top: -6px;
  width: 12px; height: 12px; background: #fff;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.wechat-pop__close {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  display: grid; place-items: center; border: 0; background: none; cursor: pointer;
  color: var(--muted); border-radius: 3px;
}
.wechat-pop__close:hover { background: var(--bg-tint); color: var(--ink); }
.wechat-pop__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wechat-pop__badge {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
  background: #e8f7ee; color: #0aa85a; border-radius: 5px;
}
.wechat-pop__head strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.wechat-pop__head span { font-size: 11.5px; color: var(--muted); }
.wechat-pop__qr { margin-bottom: 12px; }
.wechat-pop__qr img { width: 100%; border-radius: 4px; border: 1px solid var(--line); display: block; }
.wechat-pop__id {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  background: var(--bg-soft); border-radius: 4px; font-size: 12px;
}
.wechat-pop__id span { color: var(--muted); letter-spacing: 0.08em; }
.wechat-pop__id strong { color: var(--ink); font-weight: 600; font-size: 12.5px; flex: 1; word-break: break-all; }
.wechat-pop__copy {
  border: 1px solid var(--line-strong); background: #fff; color: var(--navy);
  font-size: 11px; padding: 3px 8px; border-radius: 3px; cursor: pointer; font-family: inherit;
  transition: all 0.2s;
}
.wechat-pop__copy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------------------------------------- 二维码弹层（WhatsApp / WeChat 通用） */

[hidden] { display: none !important; }

.qr-pop {
  right: auto; top: 0;
  transform: none;
  width: 244px;
  padding: 18px;
}
.qr-pop.open { transform: none; }
.qr-pop::after { display: none; }
.qr-pop--rail::after { display: block; }
.qr-pop .wechat-pop__qr img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.qr-pop__action {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 10px 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.4;
  word-break: break-word; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.qr-pop__action:hover { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-ink); }
.qr-pop__action svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------------------------------------------- 联系页：多行联系方式 / 静态地图 */

.contact-info__lines { display: grid; gap: 2px; }
.contact-info__lines a { display: inline-block; width: fit-content; }
.contact-info__item--last { border-bottom: 0; }
.contact-info__body { min-width: 0; }
.contact-info__qr {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  padding: 6px 13px; border-radius: 100px; cursor: pointer;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft); border: 1px solid var(--brand-line);
  transition: background 0.2s, color 0.2s;
}
.contact-info__qr:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.contact-info__qr svg { width: 14px; height: 14px; }

.map-static { background: #f1f4f6; }
.map-art { position: absolute; inset: 0; }
.map-art svg { width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; left: 57.5%; top: 49%; width: 34px; height: 34px; transform: translate(-50%, -100%); filter: drop-shadow(0 6px 10px rgba(20, 24, 29, 0.22)); }
.map-pin svg { display: block; }
.map-pin__pulse { position: absolute; left: 50%; bottom: -6px; width: 26px; height: 12px; margin-left: -13px; border-radius: 50%; border: 2px solid rgba(255, 106, 26, 0.5); animation: pinPulse 2.6s ease-out infinite; }
@keyframes pinPulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.map-card {
  position: absolute; left: 32px; top: 32px; width: min(370px, calc(100% - 64px));
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.map-card__pin { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.map-card__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.map-card__text strong { font-size: 13.5px; color: var(--ink); }
.map-card__text span { font-size: 12.5px; color: var(--text); line-height: 1.55; }
.map-card__text em { font-size: 11px; font-style: normal; color: var(--muted); letter-spacing: 0.04em; }
.map-card .btn { grid-column: 1 / -1; justify-self: start; }
.map-static__hint { position: absolute; right: 18px; bottom: 14px; font-size: 10.5px; letter-spacing: 0.04em; color: #9aa5af; }

/* QR 放大弹窗 */
.qr-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; }
.qr-modal__mask { position: absolute; inset: 0; background: rgba(10, 16, 24, 0.72); backdrop-filter: blur(3px); }
.qr-modal__box { position: relative; background: #fff; padding: 26px; display: grid; gap: 14px; justify-items: center; box-shadow: var(--shadow-lg); max-width: 320px; }
.qr-modal__box img { width: 236px; height: 236px; object-fit: contain; }
.qr-modal__box span { font-size: 12.5px; color: var(--text); text-align: center; }
.qr-modal__box .icon-btn { position: absolute; top: 4px; right: 4px; }

/* ---------------------------------------------- Case 页侧栏 */

.case-layout { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start; }
.case-side { position: sticky; top: 110px; display: grid; gap: 22px; }
/* 详情页（案例 / 新闻正文）单列时要让正文排前面，否则手机上先看到侧栏卡片 */
@media (max-width: 900px) {
  .case-layout--detail .case-side { order: 2; position: static; }
  .case-layout--detail > #case-detail,
  .case-layout--detail > #article { order: 1; min-width: 0; }
}
.case-main__head { margin-bottom: 30px; }
.case-main__head .kicker { margin-bottom: 12px; }
.case-main__head p { font-size: 14px; color: var(--text); max-width: 660px; }

.side-products { padding: 6px 0; }
.side-product { display: flex; align-items: center; gap: 13px; padding: 12px 18px; border-bottom: 1px solid var(--line); transition: background 0.22s; }
.side-product:last-child { border-bottom: 0; }
.side-product:hover { background: var(--bg-soft); }
.side-product__media { width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; background: var(--bg-tint); }
.side-product__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.side-product:hover .side-product__media img { transform: scale(1.06); }
.side-product__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.side-product__body strong {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-product__body em { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.side-product:hover .side-product__body strong { color: var(--brand-ink); }

.side-message { padding: 18px; display: grid; gap: 12px; }
.side-message .field label { display: none; }
.side-message .field input, .side-message .field textarea { padding: 11px 12px; font-size: 13px; background: var(--bg-soft); border-color: var(--line); }
.side-message .field input:focus, .side-message .field textarea:focus { background: #fff; }
.side-message .field textarea { min-height: 96px; }
.side-message .btn { padding: 13px 18px; font-size: 11px; }
.side-message__note { font-size: 11px; color: var(--muted); line-height: 1.6; }

.side-contact { padding: 14px 18px 20px; display: grid; gap: 11px; }
.side-contact__item { display: flex; gap: 9px; font-size: 13px; color: var(--text); align-items: flex-start; line-height: 1.55; word-break: break-word; transition: color 0.2s; }
.side-contact__item svg { width: 15px; height: 15px; color: var(--brand); margin-top: 3px; flex-shrink: 0; }
.side-contact__item:hover { color: var(--brand-ink); }
/* 不可点击的条目（地址、工作时间这类纯文字）：不加下划线色变，鼠标也不变成手型 */
.side-contact__item--plain { cursor: default; }
.side-contact__item--plain:hover { color: var(--text); }
.side-contact__item--plain svg { color: var(--brand); }
.side-empty { padding: 18px; font-size: 13px; color: var(--muted); }
.side-skeleton {
  height: 200px; margin: 4px 0;
  background: linear-gradient(90deg, #f4f6f8 0%, #eceff2 50%, #f4f6f8 100%);
  background-size: 200% 100%; animation: sk 1.3s linear infinite;
}
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (min-width: 1120px) {
  .float-wa { display: none; }
}
@media (max-width: 1119px) {
  .social-rail, .wechat-pop { display: none; }
}

/* ---------------------------------------------- Reveal animation */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(0.96); }
.reveal--delay-1 { transition-delay: 0.09s; }
.reveal--delay-2 { transition-delay: 0.18s; }
.reveal--delay-3 { transition-delay: 0.27s; }
.reveal--delay-4 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* toast */
.toast-wrap { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 13px 22px; font-size: 13.5px;
  box-shadow: var(--shadow-lg); border-left: 3px solid #4c9a6a;
  animation: toastIn 0.3s var(--ease);
}
.toast--error { border-left-color: #c0563f; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------- Responsive */

@media (max-width: 1180px) {
  .topbar__item--wa { display: none; }
  .topbar__left { gap: 20px; }
  .case-layout { grid-template-columns: 262px 1fr; gap: 36px; }
  .nav__link { padding: 0 9px; font-size: 11.5px; letter-spacing: 0.03em; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { gap: 48px; }
  .carousel__item { flex-basis: calc((100% - 48px) / 3); }
  .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .footer-main { gap: 40px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  :root { --nav-h: 72px; }
  .section { padding: 76px 0; }
  .hero { height: var(--hero-hm, var(--hero-h, calc(100vh - var(--nav-h) - var(--topbar-h)))); min-height: 520px; }
  .hero.hero--fixed { min-height: 0; }
  .hero--shade .hero__overlay {
    background: linear-gradient(180deg, rgba(9, 23, 37, 0.5) 0%, rgba(9, 23, 37, 0.62) 46%, rgba(9, 23, 37, 0.5) 100%);
  }
  .hero__title { text-shadow: 0 2px 22px rgba(9, 23, 37, 0.68), 0 1px 4px rgba(9, 23, 37, 0.5); }
  .hero__desc { text-shadow: 0 1px 14px rgba(9, 23, 37, 0.75), 0 1px 3px rgba(9, 23, 37, 0.45); }
  .hero__eyebrow { text-shadow: 0 1px 10px rgba(9, 23, 37, 0.62); }
  .detail-head { grid-template-columns: 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .with-sidebar { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-layout { grid-template-columns: 1fr; gap: 34px; }
  .case-side { position: static; grid-template-columns: 1fr 1fr; }
  .case-side > .side-card:last-child { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .honor-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-bullets { grid-template-columns: 1fr; }
  .form-card { padding: 30px; }
  .hero__count { display: none; }
}

@media (max-width: 820px) {
  .container { padding: 0 22px; }
  .about-split { grid-template-columns: 1fr; gap: 54px; }
  /* 单列时高度不再跟右栏走，回到固定比例，避免图片被拉成怪比例 */
  .about-media { display: block; }
  .about-media__img { height: auto; aspect-ratio: 4 / 3.2; }
  .about-media__badge { left: 0; bottom: -22px; padding: 16px 20px; }
  .about-media__badge b { font-size: 26px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .carousel__item { flex-basis: 78%; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .home-product-cell .product-card__body { padding: 18px 16px 20px; }
  .cta-counters { grid-template-columns: repeat(3, 1fr); }
  .cta-counter { padding: 16px 10px; }
  .cta-counter__num { font-size: 23px; }
  .cta-counter__label { font-size: 10px; }
  .solution-card, .solution-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .solution-card__media { min-height: 220px; }
  .solution-card__body { padding: 30px 26px; }
  .honor-grid, .value-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 74px; }
  .timeline__item { grid-template-columns: 74px 1fr; gap: 16px; }
  .timeline__year { font-size: 17px; padding-right: 16px; }
  .timeline__body { padding-left: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .section-head--center { align-items: center; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .topbar { font-size: 11.5px; }
  .topbar__left { gap: 16px; }
  .topbar__group { align-items: center; }
  .topbar__group > svg { margin-top: 0; }
  .topbar__lines a:nth-child(n+2) { display: none; }
  .topbar__socials { display: none; }
  .case-side { grid-template-columns: 1fr; }
  .case-side > .side-card:last-child { grid-column: auto; }
  .float-wa span { display: none; }
  .float-wa { padding: 13px; border-radius: 50%; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dl-item { flex-wrap: wrap; gap: 14px; }
  .dl-item__btn { width: 100%; justify-content: center; }
  .hero__nav { bottom: 30px; gap: 16px; }
  .article-cover { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .navbar__inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 34px; height: 34px; font-size: 17px; }
  .logo__name { font-size: 18px; }
  .logo__sub { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .nav-tools { gap: 0; }
  .search-panel__inner { padding: 18px 0; gap: 10px; }
  .search-panel input { font-size: 15px; }
  .search-panel .btn { padding: 11px 14px; font-size: 10.5px; letter-spacing: 0.08em; }
  .adv-grid { grid-template-columns: 1fr; }
  .carousel__item { flex-basis: 85%; }
  .carousel__track { gap: 16px; }
  .home-product-grid { gap: 12px; }
  .home-product-cell .product-card__body { padding: 14px 12px 16px; }
  .home-product-cell .product-card__title { font-size: 14px; }
  .home-product-cell .product-card__desc { font-size: 12px; }
  .page-hero { padding: 78px 0 70px; }
  /* 窄屏文字几乎占满宽度，暗角向右延伸到底（图片仍可见，只是整体略压） */
  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(5, 14, 22, 0.7) 0%, rgba(5, 14, 22, 0.58) 48%, rgba(5, 14, 22, 0.38) 80%, rgba(5, 14, 22, 0.26) 100%),
      linear-gradient(180deg, rgba(5, 14, 22, 0.18) 0%, rgba(5, 14, 22, 0) 30%, rgba(5, 14, 22, 0) 70%, rgba(5, 14, 22, 0.2) 100%);
  }
  .page-hero.on-light::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 0.36) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.24) 100%);
  }
  .hero__desc { font-size: 14.5px; }
  .hero__nav .hero__arrow { width: 38px; height: 38px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { padding-bottom: 78px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-ext { padding: 18px 0 14px; gap: 10px; }
  .footer-ext__links { row-gap: 10px; }
  .footer-ext__link { padding: 0 12px; font-size: 12.5px; }
  .to-top { right: 16px; bottom: 16px; }
  .float-wa { left: 16px; bottom: 16px; }
  .spec-table td:first-child { width: 46%; }
  .form-card { padding: 24px 20px; }
  .about-media__badge { left: 0; padding: 14px 18px; }
  .map-wrap { height: 430px; }
  .map-card { left: 14px; top: 14px; width: calc(100% - 28px); padding: 16px; gap: 12px; }
  .map-card__pin { width: 38px; height: 38px; }
  .map-static__hint { display: none; }
  .cta-band__phone { font-size: 21px; }
  .cta-band__phone--sm { font-size: 14.5px; }
  .qr-pop { width: 232px; }
}

/* =========================================================
   手机端重排（2026-11-28）
   只在 ≤900px 生效，桌面端完全不动。
   原则：正文/产品先出现，筛选侧栏后置；标签单行横滑；卡片两列紧凑；
        去掉重复的大留白；按钮和分页保证拇指可点。
   ========================================================= */

@media (max-width: 900px) {
  /* 列表页：产品/文章在前，侧栏分类与订阅在后 */
  body[data-page="products"] .with-sidebar,
  body[data-page="news"] .with-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* 覆盖基础样式的 align-items:flex-start，否则子项按内容宽度撑到 900+px */
    gap: 26px;
  }
  body[data-page="products"] #product-list,
  body[data-page="news"] #news-list { order: 1; min-width: 0; }
  body[data-page="products"] .sidebar,
  body[data-page="news"] .sidebar { order: 2; position: static; display: grid; gap: 14px; }
  body[data-page="products"] .side-card,
  body[data-page="news"] .side-card { margin-bottom: 0; }
  body[data-page="products"] .side-nav,
  body[data-page="news"] .side-nav {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 12px;
  }
  body[data-page="products"] .side-nav a,
  body[data-page="news"] .side-nav a {
    border: 0; border-radius: 100px; background: var(--bg-soft);
    padding: 9px 14px; font-size: 12px; justify-content: flex-start;
  }
  body[data-page="products"] .side-nav a.active,
  body[data-page="news"] .side-nav a.active { background: var(--navy); color: #fff; }
  body[data-page="products"] .side-nav a svg,
  body[data-page="news"] .side-nav a svg { display: none; }
  body[data-page="products"] .side-nav a[style*="padding-left"],
  body[data-page="news"] .side-nav a[style*="padding-left"] { padding-left: 14px; font-size: 11.5px; }

  /* 案例列表同样把正文提到侧栏前面 */
  body[data-page="case"] .case-layout { display: flex; flex-direction: column; align-items: stretch; gap: 26px; }
  body[data-page="case"] .case-layout > div:last-child { order: 1; min-width: 0; }
  body[data-page="case"] .case-side { order: 2; position: static; }

  /* 分类标签：单行横向滑动，不再折成三行 */
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }

  /* 可点区域放大到拇指友好 */
  .pagination button, .pagination a, .pagination .is-disabled { min-width: 40px; height: 40px; }
  .carousel-arrow { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section--tight { padding: 40px 0; }
  .section-head, .carousel-head { margin-bottom: 22px; gap: 14px; }
  .kicker { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 10px; }
  .kicker::before { width: 20px; }
  .h-section { font-size: 24px; }
  .lead { font-size: 13px; }
  .btn { min-height: 44px; padding: 12px 22px; }

  /* ---------- 首页：核心优势改两列紧凑卡，整块高度砍掉近一半 ---------- */
  body[data-page="home"] .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-page="home"] .adv-card { padding: 16px 14px 14px; }
  body[data-page="home"] .adv-card__num { font-size: 24px; top: 10px; right: 12px; }
  body[data-page="home"] .adv-card__icon { width: 32px; height: 32px; margin-bottom: 12px; }
  body[data-page="home"] .adv-card__title { font-size: 13px; line-height: 1.35; margin-bottom: 6px; }
  body[data-page="home"] .adv-card__desc { font-size: 11px; line-height: 1.5; }
  body[data-page="home"] .adv-note { margin-top: 18px; font-size: clamp(15px, 4.2vw, 18px); line-height: 1.3; }
  body[data-page="home"] .section--tight.has-note { padding-bottom: 32px; }

  /* ---------- 首页：热门产品两列紧凑卡 ---------- */
  body[data-page="home"] .carousel-head--stack { margin-bottom: 18px; }
  body[data-page="home"] .tabs-row { margin-bottom: 16px; }
  body[data-page="home"] .home-product-grid { gap: 10px; }
  body[data-page="home"] .product-card__badge { font-size: 9px; padding: 4px 7px; top: 8px; left: 8px; }
  body[data-page="home"] .home-product-cell .product-card__body { padding: 12px 11px 14px; gap: 5px; }
  body[data-page="home"] .home-product-cell .product-card__cat { font-size: 9px; }
  body[data-page="home"] .home-product-cell .product-card__title { font-size: 13px; line-height: 1.35; }
  body[data-page="home"] .home-product-cell .product-card__desc {
    font-size: 11px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  body[data-page="home"] .home-product-cell .product-card__more { font-size: 10px; margin-top: 2px; }

  /* ---------- 首页：CTA / 为什么 / 案例 / 新闻 ---------- */
  body[data-page="home"] .cta-band__inner { padding: 44px 0; gap: 24px; }
  body[data-page="home"] .cta-band__media img { aspect-ratio: 16 / 10; }
  body[data-page="home"] .cta-counter { padding: 12px 6px; }
  body[data-page="home"] .cta-counter__num { font-size: 20px; }
  body[data-page="home"] .cta-counter__label { font-size: 9px; margin-top: 5px; }
  body[data-page="home"] .cta-band__content h2 { font-size: 22px; margin-bottom: 10px; }
  body[data-page="home"] .cta-band__content p { font-size: 13px; margin-bottom: 16px; }
  body[data-page="home"] .cta-band__phone { font-size: 19px; }
  body[data-page="home"] .cta-band__phone--sm { font-size: 13px; }
  body[data-page="home"] .cta-band__content .btn { width: 100%; }
  body[data-page="home"] .why-card { padding: 16px; gap: 12px; }
  body[data-page="home"] .why-card__icon { width: 34px; height: 34px; }
  body[data-page="home"] .why-card__title { font-size: 14px; }
  body[data-page="home"] .why-card__desc { font-size: 12px; }
  body[data-page="home"] .carousel__item { flex-basis: 88%; }
  body[data-page="home"] .carousel__track { gap: 10px; }
  body[data-page="home"] .case-card__body,
  body[data-page="home"] .news-card__body { padding: 14px 12px 0; }
  body[data-page="home"] .case-card__title,
  body[data-page="home"] .news-card__title { font-size: 14px; }
  body[data-page="home"] .case-card__desc,
  body[data-page="home"] .news-card__desc { font-size: 11px; }

  /* ---------- 列表页：两列紧凑卡 ---------- */
  body[data-page="products"] #product-list > div:first-child { margin-bottom: 16px; }
  body[data-page="products"] #product-title,
  body[data-page="news"] #news-list h2 { font-size: 20px; }
  body[data-page="products"] #product-tabs,
  body[data-page="news"] #news-tabs { margin-bottom: 18px; }
  body[data-page="products"] #product-grid,
  body[data-page="news"] #news-grid,
  body[data-page="case"] #case-grid,
  body[data-page="product"] #product-detail .grid-3,
  body[data-page="product"] #product-detail .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  body[data-page="products"] #product-grid .product-card__body { padding: 12px 11px 14px; gap: 5px; }
  body[data-page="products"] #product-grid .product-card__title { font-size: 13px; line-height: 1.35; }
  body[data-page="products"] #product-grid .product-card__desc {
    font-size: 11px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  body[data-page="products"] #product-grid .product-card__more { font-size: 10px; margin-top: 2px; }
  body[data-page="products"] .pagination,
  body[data-page="news"] .pagination { margin-top: 32px; }

  /* ---------- 详情页：页头收紧、信息紧凑、按钮通栏 ---------- */
  body[data-page="product"] .page-hero,
  body[data-page="case-detail"] .page-hero,
  body[data-page="news-detail"] .page-hero { padding: 52px 0 42px; }
  body[data-page="product"] .page-hero--compact { padding: 48px 0 38px; }
  body[data-page="product"] .page-hero h1,
  body[data-page="case-detail"] .page-hero h1,
  body[data-page="news-detail"] .page-hero h1 { font-size: 24px; }
  body[data-page="product"] .page-hero p,
  body[data-page="case-detail"] .page-hero p,
  body[data-page="news-detail"] .page-hero p { font-size: 13px; line-height: 1.6; }
  body[data-page="product"] .breadcrumb,
  body[data-page="case-detail"] .breadcrumb,
  body[data-page="news-detail"] .breadcrumb { font-size: 11px; margin-bottom: 12px; }
  body[data-page="product"] .detail-head { gap: 22px; }
  body[data-page="product"] .gallery__thumb { width: 56px; height: 56px; }
  body[data-page="product"] .detail-info .detail-name { font-size: 21px; margin-bottom: 8px; }
  body[data-page="product"] .detail-info__summary { font-size: 13px; margin-bottom: 16px; }
  body[data-page="product"] .spec-table { font-size: 12px; margin-bottom: 20px; }
  body[data-page="product"] .spec-table td { padding: 9px 0; }
  body[data-page="product"] .detail-info > div:last-child { display: grid; gap: 10px; }
  body[data-page="product"] .detail-info .btn { width: 100%; }
  body[data-page="product"] .prose { font-size: 14px; line-height: 1.75; }
  body[data-page="product"] .prose h2,
  body[data-page="product"] .prose h3 { font-size: 17px; margin: 24px 0 10px; }
  body[data-page="case-detail"] .article-cover,
  body[data-page="news-detail"] .article-cover { aspect-ratio: 16 / 10; margin-bottom: 22px; }
  body[data-page="case-detail"] .article-title,
  body[data-page="news-detail"] .article-title { font-size: 24px; margin-bottom: 16px; }
  body[data-page="case-detail"] .prose,
  body[data-page="news-detail"] .prose { font-size: 14px; line-height: 1.75; }
  body[data-page="case-detail"] .side-product__media,
  body[data-page="news-detail"] .side-product__media { width: 54px; height: 54px; }
  body[data-page="case-detail"] .side-card,
  body[data-page="news-detail"] .side-card { margin-bottom: 14px; }
}

/* 极窄屏（iPhone SE 等）优势卡回到单列，避免文字挤成竖条 */
@media (max-width: 360px) {
  body[data-page="home"] .adv-grid { grid-template-columns: 1fr; }
  body[data-page="home"] .adv-card { padding: 14px 16px; }
  body[data-page="home"] .adv-card__icon { width: 28px; height: 28px; }
}
