/* ============================================================
   lifting-site v2 设计系统 —— 现代重工企业站
   基调: 白底 + 深蓝 + 起重机黄(功能色) + 青绿(品牌点缀)
   全部逻辑属性, RTL(阿语)天然镜像; 无外部依赖。
   ============================================================ */

:root {
  --ink: #10293f;          /* 主文字: 深蓝黑 */
  --ink-2: #4a6377;        /* 次级文字 */
  --ink-3: #8298a9;        /* 弱化文字 */
  --line: #e2e9f0;         /* 分隔线 */
  --line-2: #cfdae4;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;      /* 浅灰蓝底 */
  --navy: #0e2a47;         /* 深蓝主色(深色区块/页脚) */
  --navy-2: #14375c;
  --navy-3: #1d4a75;
  --brand: #ffc400;        /* 起重机黄: CTA/强调/数据(功能色, 克制) */
  --brand-2: #ffd747;
  --brand-ink: #132434;    /* 黄底上的文字色 */
  --teal: #12a08c;         /* 龙辉起重 logo 青绿: 品牌点缀 */
  --ok: #1c9e5f;
  --danger: #d64545;
  --r: 12px;               /* 卡片圆角 */
  --r-s: 8px;
  --shadow-s: 0 1px 2px rgba(16, 41, 63, .06), 0 2px 8px rgba(16, 41, 63, .05);
  --shadow-m: 0 6px 24px rgba(16, 41, 63, .10);
  --shadow-l: 0 18px 48px rgba(16, 41, 63, .16);
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --font-num: "Segoe UI", Roboto, "Helvetica Neue", Arial, var(--font);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  font-size: 16px; line-height: 1.65; background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: var(--brand-ink); }
/* 键盘可达性: 统一焦点环(仅键盘导航时出现) */
:focus-visible { outline: 3px solid rgba(255, 196, 0, .6); outline-offset: 2px; border-radius: 4px; }
/* 数字等宽: 数据/日期对齐不跳 */
.stat__num, .hero__meta b, .feature__badge b, time, .news-row time { font-variant-numeric: tabular-nums; }
/* 细滚动条(webkit 桌面) */
@media (min-width: 1025px) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-thumb { background: #c3d0db; border-radius: 6px; border: 2px solid #fff; }
  ::-webkit-scrollbar-thumb:hover { background: #9fb2c2; }
  ::-webkit-scrollbar-track { background: transparent; }
}

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 96px; }
.section--soft { background: var(--bg-soft); }
/* 深色"科技氛围"区: 点阵 + 青绿/黄双光晕(工程舱质感, 克制的低透明度) */
.section--navy {
  background: var(--navy); color: #fff; position: relative;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .05) 1.2px, transparent 1.2px),
    radial-gradient(660px 340px at 88% -4%, rgba(18, 160, 140, .17), transparent 62%),
    radial-gradient(540px 300px at 4% 104%, rgba(255, 196, 0, .10), transparent 60%);
  background-size: 24px 24px, auto, auto;
}
@media (max-width: 768px) { .section { padding-block: 56px; } .container { padding-inline: 18px; } }

/* ---------- 标题系统(编辑式, v3 放大) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 780px; margin-bottom: 54px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.lead { margin-top: 16px; font-size: 17px; color: var(--ink-2); line-height: 1.75; }
.section--navy .h2 { color: #fff; }
.section--navy .lead { color: rgba(255, 255, 255, .72); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding-inline: 26px; border: 0; border-radius: var(--r-s);
  font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--brand-2); box-shadow: 0 8px 20px rgba(16, 41, 63, .18); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); box-shadow: 0 8px 20px rgba(14, 42, 71, .28); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb958; box-shadow: 0 8px 20px rgba(16, 41, 63, .2); }
.btn--sm { height: 38px; padding-inline: 16px; font-size: 14px; }
.btn--lg { height: 54px; padding-inline: 32px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* 深色区内的按钮适配(ghost/navy 文字不可隐形) */
.section--navy .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.section--navy .btn--ghost:hover { border-color: #fff; }
.section--navy .btn--navy { background: #fff; color: var(--navy); }
.section--navy .btn--navy:hover { background: var(--brand); color: var(--brand-ink); }
.section--navy .arrow-link { color: #fff; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 14.5px; color: var(--navy);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
html[dir="rtl"] .arrow-link svg { transform: scaleX(-1); }
html[dir="rtl"] .arrow-link:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- 顶栏 + 导航 ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 22px; height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--brand); }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar__right { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }

.site-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-s); }
.site-header .container { display: flex; align-items: center; gap: 30px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { height: 44px; width: auto; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--brand); display: grid; place-items: center;
  font-weight: 800; font-size: 20px;
}
.logo__text b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.logo__text small { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 6px; height: var(--header-h);
  padding-inline: 15px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 3px solid transparent; transition: color .15s;
}
.main-nav > li > a:hover, .main-nav > li.is-open > a, .main-nav > li.is-active > a { color: var(--navy); border-bottom-color: var(--brand); }
.main-nav .caret { width: 12px; height: 12px; opacity: .5; }

.dropdown {
  position: absolute; top: 100%; inset-inline-start: 0; min-width: 244px;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-m); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.main-nav > li:hover .dropdown, .main-nav > li.is-open .dropdown, .main-nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-s); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.dropdown a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); flex: none; }
.dropdown a:hover::before { background: var(--brand); }
.dropdown--sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
html[dir="rtl"] .dropdown--sub { padding: 0 12px 0 0; }

.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 7px; background: transparent;
  border: 1.5px solid var(--line-2); border-radius: 999px;
  height: 38px; padding-inline: 14px 12px; font-size: 13.5px; font-weight: 600;
}
.lang-switch__btn:hover { border-color: var(--navy); }
.lang-switch__btn svg { width: 14px; height: 14px; opacity: .6; }
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-m); padding: 8px; z-index: 99;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-s); font-size: 14px; }
.lang-switch__menu a:hover { background: var(--bg-soft); }
.lang-switch__menu a.is-current { color: var(--teal); font-weight: 700; }

.header-search { background: #fff; border-top: 1px solid var(--line); }
.header-search .container { padding-block: 13px; }
.header-search form { display: flex; gap: 10px; }
.header-search input {
  flex: 1; border: 1.5px solid var(--line-2); border-radius: var(--r-s);
  padding: 11px 15px; font-size: 15px; outline: 0;
}
.header-search input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 42, 71, .1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-2);
  border-radius: var(--r-s); background: #fff; place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
body.nav-open .nav-toggle .ico-open { display: none; }
body.nav-open .nav-toggle .ico-close { display: block; }

/* 移动端抽屉 */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 89;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px 18px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s var(--ease);
  }
  html[dir="rtl"] .main-nav { transform: translateX(-100%); }
  body.nav-open .main-nav { transform: none; }
  .main-nav > li > a { height: auto; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav > li > a { border-bottom-width: 1px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px; display: none; }
  .main-nav > li.is-open .dropdown { display: block; }
  .main-nav .caret { margin-inline-start: auto; transition: transform .2s; }
  .main-nav > li.is-open .caret { transform: rotate(180deg); }
  .header-actions .btn--quote-cta { display: none; }
}
@media (max-width: 560px) {
  .logo__text small { display: none; }
  .logo__text b { font-size: 15px; max-width: 158px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header .container { gap: 10px; }
  .header-actions { gap: 8px; }
  .js-search-toggle { display: none; }
  .lang-switch__btn { padding-inline: 10px 8px; }
}

/* ---------- Hero(分屏编辑式, v3) ---------- */
.hero {
  background: #0b1f33; color: #fff; position: relative; overflow: hidden;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  align-items: stretch; min-height: 620px;
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding-block: 84px 64px; padding-inline-end: 56px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.hero__kicker::before { content: ""; width: 34px; height: 3px; background: var(--brand); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__sub { margin-top: 22px; font-size: 16.5px; line-height: 1.75; color: rgba(255, 255, 255, .72); max-width: 480px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 14px 38px;
}
.hero__meta div b { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: var(--brand); display: block; line-height: 1.2; }
.hero__meta div span { font-size: 12.5px; color: rgba(255, 255, 255, .6); letter-spacing: .02em; }
.hero__media { position: relative; min-height: 420px; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-start-start-radius: 28px; border-end-start-radius: 28px;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__media img.is-active { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 51, .72) 0%, rgba(11, 31, 51, 0) 38%);
  border-start-start-radius: 28px; border-end-start-radius: 28px;
}
html[dir="rtl"] .hero__media::after { background: linear-gradient(-90deg, rgba(11, 31, 51, .72) 0%, rgba(11, 31, 51, 0) 38%); }
.hero__tag {
  position: absolute; z-index: 2; inset-inline-end: 34px; bottom: 34px;
  background: rgba(11, 31, 51, .78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 14px 20px;
}
.hero__tag b { display: block; font-size: 15px; font-weight: 800; }
.hero__tag span { font-size: 12.5px; color: rgba(255, 255, 255, .66); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* 手机优先: 文案与 CTA 先出现(3 秒内看懂+可联系), 大图随后 */
  .hero__copy { padding-block: 48px 34px; padding-inline-end: 0; order: 1; }
  .hero__media { min-height: 240px; order: 2; }
  .hero__media img, .hero__media::after { border-radius: 0; }
  .hero__meta { gap: 12px 26px; margin-top: 32px; padding-top: 20px; }
  .hero__sub { margin-top: 16px; }
  .hero__cta { margin-top: 26px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .h1-mark { margin-top: 12px; }
}
@media (max-width: 768px) { .section { padding-block: 48px; } }

/* ---------- 横滑条(原生 scroll-snap) ---------- */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82vw);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__item img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; border-radius: var(--r); }
.rail__item figcaption { margin-top: 12px; font-weight: 700; font-size: 15.5px; }
.rail__nav { display: flex; gap: 10px; margin-top: 18px; }
.rail__nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .18s;
}
.rail__nav button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.rail__nav svg { width: 18px; height: 18px; }
html[dir="rtl"] .rail__nav svg { transform: scaleX(-1); }

/* ---------- 数据带(编辑式巨型数字, v3) ---------- */
.stats {
  background: #0b1f33; color: #fff;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .045) 1.2px, transparent 1.2px),
    radial-gradient(560px 300px at 94% 10%, rgba(18, 160, 140, .14), transparent 62%);
  background-size: 24px 24px, auto;
}
.stats .container { padding-block: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 48px; align-items: center; }
.stats__head .eyebrow { color: var(--brand); }
.stats__head .eyebrow::before { background: var(--brand); }
.stats__head h2 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; line-height: 1.3; }
.stats__lead { margin-top: 14px; color: rgba(255, 255, 255, .62); font-size: 14.5px; line-height: 1.75; }
.stats__lead p { margin: 0; }
.stats__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding-inline: 26px; border-inline-start: 1px solid rgba(255, 255, 255, .13); }
.stat:first-child { border-inline-start: 0; }
.stat__num { font-family: var(--font-num); font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1; }
.stat__num small { font-size: .5em; font-weight: 700; }
.stat__label { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .66); line-height: 1.5; }
@media (max-width: 1000px) {
  .stats .container { grid-template-columns: 1fr; gap: 34px; }
  .stats__nums { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat { padding-inline: 16px; }
}
@media (max-width: 560px) { .stats__nums { grid-template-columns: 1fr 1fr; } }

/* ---------- 产品分类卡(Bento 不等网格, v3) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-grid--bento > :nth-child(1), .cat-grid--bento > :nth-child(2) {
  grid-column: span 2; grid-row: span 2;
}
.cat-grid--bento > :nth-child(1) .cat-card__img, .cat-grid--bento > :nth-child(2) .cat-card__img { aspect-ratio: 16 / 9.4; }
.cat-grid--bento > :nth-child(1) .cat-card__name, .cat-grid--bento > :nth-child(2) .cat-card__name { font-size: 20px; }
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid--bento > :nth-child(1), .cat-grid--bento > :nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .cat-grid--bento > :nth-child(1) .cat-card__img, .cat-grid--bento > :nth-child(2) .cat-card__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid--bento > :nth-child(1), .cat-grid--bento > :nth-child(2) { grid-column: span 2; }
  .cat-grid--bento > :nth-child(1) .cat-card__name, .cat-grid--bento > :nth-child(2) .cat-card__name { font-size: 17px; }
}
.cat-card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.cat-card__img { aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { padding: 18px 18px 20px; }
.cat-card__name { font-size: 16.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__en { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.cat-card__go { margin-top: 12px; color: var(--navy); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.cat-card__go svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__go svg { transform: translateX(4px); }
html[dir="rtl"] .cat-card__go svg { transform: scaleX(-1); }
html[dir="rtl"] .cat-card:hover .cat-card__go svg { transform: scaleX(-1) translateX(4px); }

/* ---------- 图文特性块 ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.feature--flip .feature__media { order: 2; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature--flip .feature__media { order: 0; } }
.feature__media { position: relative; }
.feature__media img { border-radius: var(--r); box-shadow: var(--shadow-m); }
.feature__badge {
  position: absolute; inset-inline-start: -22px; bottom: 30px;
  background: var(--brand); color: var(--brand-ink); border-radius: var(--r-s);
  padding: 16px 22px; box-shadow: var(--shadow-m);
}
.feature__badge b { display: block; font-family: var(--font-num); font-size: 26px; font-weight: 800; line-height: 1.15; }
.feature__badge span { font-size: 12.5px; font-weight: 600; opacity: .8; }
@media (max-width: 900px) { .feature__badge { inset-inline-start: 16px; } }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.check-list b { color: var(--ink); }

/* ---------- 配件图鉴 ---------- */
.parts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .parts-grid { grid-template-columns: 1fr; } }
.parts-item {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: #fff;
}
.parts-item img { aspect-ratio: 5 / 4; width: 100%; object-fit: contain; background: #fff; transition: transform .5s var(--ease); }
.parts-item:hover img { transform: scale(1.03); }
.parts-item__cap {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; font-size: 15px;
}
.parts-item__cap i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand); flex: none; }

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow-s); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-num); font-size: 34px; font-weight: 800; color: var(--line-2);
  display: block; margin-bottom: 10px; line-height: 1;
}
.step h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); }
.step p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.step::after {
  content: ""; position: absolute; top: 38px; inset-inline-end: -16px; width: 10px; height: 10px;
  border-top: 2px solid var(--line-2); border-inline-end: 2px solid var(--line-2); transform: rotate(45deg);
}
.step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }

/* ---------- 新闻卡 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.news-card__img { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.news-card h3 { margin-top: 8px; font-size: 16.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .arrow-link { margin-top: auto; padding-top: 16px; }

/* ---------- 制造工序(从图纸到出厂, 横滑) ---------- */
.mfg-item { position: relative; }
.mfg-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.mfg-item figcaption { margin-top: 14px; }
.mfg-item figcaption b { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.mfg-item figcaption b .mfg-no {
  font-family: var(--font-num); font-size: 13px; font-weight: 800;
  width: 30px; height: 30px; display: grid; place-items: center; flex: none;
  background: var(--brand); color: var(--brand-ink);
  border-radius: 48% 52% 45% 55% / 52% 46% 54% 48%; transform: rotate(-4deg);
}
.mfg-item figcaption p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.rail__track--wide { grid-auto-columns: min(640px, 86vw); }

/* ---------- 数字展厅(VR 全景 + 电子画册 双卡) ---------- */
.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 768px) { .media-duo { grid-template-columns: 1fr; } }
.media-duo__card {
  position: relative; display: flex; align-items: center; gap: 26px;
  border-radius: var(--r); padding: 42px 38px; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.media-duo__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.media-duo__card--vr { background: var(--navy); color: #fff; }
.media-duo__card--book { background: var(--brand); color: var(--brand-ink); }
.media-duo__art { width: 84px; height: 84px; flex: none; opacity: .95; }
.media-duo__card--vr .media-duo__art { color: var(--brand); }
.media-duo__card h3 { font-size: 20px; font-weight: 800; }
.media-duo__card p { margin-top: 7px; font-size: 13.5px; opacity: .72; }
.media-duo__go { margin-top: 13px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; }
.media-duo__go svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.media-duo__card:hover .media-duo__go svg { transform: translateX(4px); }
html[dir="rtl"] .media-duo__go svg { transform: scaleX(-1); }
html[dir="rtl"] .media-duo__card:hover .media-duo__go svg { transform: scaleX(-1) translateX(4px); }
@media (max-width: 480px) { .media-duo__card { padding: 30px 26px; gap: 18px; } .media-duo__art { width: 62px; height: 62px; } }

/* ---------- CTA 区块 ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset-inline-end: -140px; top: -140px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 0, .16), transparent 66%);
}
.cta-band .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-block: 72px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .72); max-width: 560px; }
.cta-band__actions { margin-inline-start: auto; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .cta-band__actions { margin-inline-start: 0; } }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a2036; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.site-footer__main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 44px; padding-block: 64px 48px; }
@media (max-width: 900px) { .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer__main { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 18px; }
.site-footer a:hover { color: var(--brand); }
.site-footer__links li { margin-bottom: 11px; }
.site-footer .logo__mark { background: rgba(255, 255, 255, .08); }
.site-footer .logo__text b { color: #fff; }
.site-footer .logo__text small { color: rgba(255, 255, 255, .5); }
.site-footer__about { margin-top: 16px; line-height: 1.75; color: rgba(255, 255, 255, .6); }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer__social a {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8);
}
.site-footer__social a:hover { background: var(--brand); color: var(--brand-ink); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__contact li { display: flex; gap: 11px; margin-bottom: 13px; line-height: 1.6; }
.site-footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--brand); margin-top: 3px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13px; color: rgba(255, 255, 255, .5);
}
.site-footer__bottom a { color: rgba(255, 255, 255, .5); }
.site-footer__bottom .sep { opacity: .4; }

/* ---------- 面包屑 ---------- */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.crumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 13px; }
.crumbs a:hover { color: var(--navy); }
.crumbs .sep { opacity: .45; }
.crumbs b { color: var(--ink); font-weight: 600; }

/* ---------- 工程手绘元素(技术线稿风) ---------- */
.h1-mark { display: block; width: min(300px, 60%); height: 14px; margin-top: 18px; color: var(--brand); opacity: .9; }
.h2-mark { display: block; width: 180px; height: 12px; margin-top: 14px; color: var(--brand); opacity: .9; }
.sketch-dim { display: block; width: 200px; height: 22px; margin-top: 20px; color: rgba(255, 255, 255, .35); }
.step__art { width: 54px; height: 54px; color: var(--navy-3); margin-bottom: 14px; }
.step__art use { color: inherit; }
.parts-item { position: relative; }
.parts-item__no {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  font-family: var(--font-num); font-weight: 800; font-size: 15px;
  border: 2px solid var(--navy); border-radius: 48% 52% 45% 55% / 52% 46% 54% 48%;
  transform: rotate(-4deg);
}
.cta-band__doodle {
  position: absolute; inset-inline-end: -50px; bottom: -34px; width: 360px; height: 230px;
  color: rgba(255, 255, 255, .09); pointer-events: none;
}
@media (max-width: 900px) { .cta-band__doodle { display: none; } .parts-item__no { width: 36px; height: 36px; font-size: 13px; } }

/* ---------- 卡片全量打造: 背景纹理 + 图纸角标 + 手绘插画 ---------- */
/* 工程点阵底纹(技术图纸的坐标纸感, 极淡) */
.dot-bg {
  background-image: radial-gradient(circle, rgba(16, 41, 63, .07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  background-position: -11px -11px;
}
/* 图纸对位角标(crop marks): 卡片右上角, hover 变黄 */
.crop { position: relative; }
.crop::after {
  content: ""; position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3;
  width: 14px; height: 14px; pointer-events: none;
  border-top: 2px solid var(--line-2); border-inline-end: 2px solid var(--line-2);
  transition: border-color .25s var(--ease);
}
.crop:hover::after { border-color: var(--brand); }
/* 深色底上的角标 */
.crop--light::after { border-color: rgba(255, 255, 255, .28); }
/* 手绘波浪下划线(黄色): 步骤标题/区块标题点缀 */
.sk-underline::after {
  content: ""; display: block; width: 58px; height: 8px; margin-top: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'%3E%3Cpath d='M2 5 Q15 1 30 4 Q45 7 58 3' fill='none' stroke='%23ffc400' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
}
/* 配件卡: 图上叠工程虚线图纸框 + 已有手绘编号圈 */
.parts-item { position: relative; }
.parts-item::after {
  content: ""; position: absolute; top: 10px; inset-inline: 10px; bottom: 62px; z-index: 2;
  border: 1.5px dashed rgba(16, 41, 63, .28); border-radius: 6px; pointer-events: none;
  transition: border-color .25s var(--ease);
}
.parts-item:hover::after { border-color: rgba(255, 196, 0, .75); }
/* 空态插画 */
.empty-art { width: 120px; height: 80px; margin-inline: auto; margin-bottom: 14px; color: var(--line-2); }
.empty-state { padding: 56px 24px; text-align: center; color: var(--ink-3); }

/* ---------- 内页统一体系(所有内页共用, 保证排版一致) ---------- */
.section--page { padding-top: 56px; } /* 面包屑下方正文区的统一顶距 */
.page-title {
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; font-weight: 800;
  letter-spacing: -.015em; margin-bottom: 6px;
}
.page-title--gap { margin-bottom: 26px; }

/* ---------- 内页英雄 ---------- */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero .container { position: relative; padding-block: 66px; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.page-hero p { margin-top: 10px; color: rgba(255, 255, 255, .7); max-width: 660px; }

/* ---------- 分类页(侧栏 + 网格) ---------- */
.layout-side { display: grid; grid-template-columns: 264px 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) {
  .layout-side { grid-template-columns: 1fr; gap: 28px; }
  /* 移动端: 正文内容置顶, 侧栏(分类/热销/联系卡)排到内容之后 */
  .layout-side > aside { order: 2; }
  .layout-side > div { order: 1; }
}
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.side-card + .side-card { margin-top: 20px; }
.side-card__head { background: var(--navy); color: #fff; padding: 15px 20px; font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 9px; }
.side-card__head svg { width: 17px; height: 17px; color: var(--brand); }
.side-tree { padding: 10px; }
.side-tree a { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; border-radius: var(--r-s); font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.side-tree a:hover { background: var(--bg-soft); color: var(--navy); }
.side-tree a.is-active { background: var(--navy); color: #fff; font-weight: 700; }
.side-tree .sub { padding-inline-start: 14px; }
.side-tree .sub a { font-size: 13.5px; padding-block: 9px; }
.side-hot { padding: 16px; }
.side-hot a { display: flex; gap: 12px; align-items: center; padding-block: 9px; }
.side-hot img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-s); flex: none; background: var(--bg-soft); }
.side-hot b { font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-hot a:hover b { color: var(--navy); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1200px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.prod-card__img { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.prod-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s var(--ease); }
.prod-card:hover .prod-card__img img { transform: scale(1.05); }
.prod-card__body { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.prod-card__body h3 { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.prod-card__body p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-s); font-size: 14px; font-weight: 600; padding-inline: 12px;
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }
.list-sum { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 1.02fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 30px; } }
.pd-gallery { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.pd-gallery__main { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.pd-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-3); }
.pd-meta a { color: var(--teal); font-weight: 600; }
.pd h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.28; margin-top: 10px; }
.pd__brief { margin-top: 16px; color: var(--ink-2); line-height: 1.8; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pd__points { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 12px; }
.pd__points li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); align-items: center; }
.pd__points svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.tabs { border-bottom: 1.5px solid var(--line); display: flex; gap: 4px; margin-top: 56px; }
.tabs button {
  background: transparent; border: 0; border-bottom: 3px solid transparent;
  padding: 13px 20px; font-size: 15.5px; font-weight: 700; color: var(--ink-3);
}
.tabs button.is-active { color: var(--navy); border-bottom-color: var(--brand); }
.tab-pane { padding-top: 30px; }
.rich { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.rich img { border-radius: var(--r-s); margin-block: 14px; }
.rich p { margin-bottom: 14px; }
.rich h2, .rich h3 { color: var(--ink); margin: 26px 0 12px; font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; font-weight: 700; color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pn-nav a {
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; font-size: 14.5px;
  transition: border-color .18s, box-shadow .18s;
}
.pn-nav a:hover { border-color: var(--navy); box-shadow: var(--shadow-s); }
.pn-nav small { display: block; color: var(--ink-3); font-size: 12.5px; margin-bottom: 4px; }
.pn-nav b { font-weight: 700; }
.pn-nav .right { text-align: end; }

/* ---------- 新闻文章 ---------- */
.article { max-width: 820px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: 13.5px; margin-top: 12px; }
.article__body { margin-top: 30px; }
.article__body img { border-radius: var(--r); margin-block: 18px; }

/* ---------- 询盘弹窗 + 表单 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(10, 32, 54, .62); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-l);
  animation: modal-in .28s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal__head b { font-size: 17px; font-weight: 800; }
.modal__close { width: 38px; height: 38px; border: 0; background: var(--bg-soft); border-radius: 10px; display: grid; place-items: center; }
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 22px 24px 26px; }
.modal__product { display: flex; gap: 14px; align-items: center; background: var(--bg-soft); border-radius: var(--r-s); padding: 12px 14px; margin-bottom: 18px; }
.modal__product img { width: 66px; height: 50px; object-fit: contain; border-radius: 6px; background: #fff; flex: none; }
.modal__product b { font-size: 14.5px; display: block; }
.modal__product p { font-size: 13px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.form-grid { display: grid; gap: 15px; }
.form-grid .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 560px) { .form-grid .cols { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field label em { color: var(--danger); font-style: normal; margin-inline-start: 3px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: var(--r-s);
  padding: 12px 14px; font-size: 15px; background: #fff; outline: 0;
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 42, 71, .1); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field input:user-invalid:focus, .field textarea:user-invalid:focus { box-shadow: 0 0 0 3px rgba(214, 69, 69, .12); }
.field textarea { resize: vertical; min-height: 104px; }
.hp-field { position: absolute !important; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { display: none; border-radius: var(--r-s); padding: 12px 15px; font-size: 14px; margin-top: 4px; }
.form-msg.ok { display: block; background: #e9f8f0; color: #157347; }
.form-msg.err { display: block; background: #fdeeee; color: #b02a2a; }

/* ---------- 移动端专属: 拇指行动条 + 触控优化 ---------- */
.mobile-actions { display: none; }
@media (max-width: 768px) {
  .mobile-actions {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; inset-inline: 0; bottom: 0; z-index: 150;
    background: #fff; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 24px rgba(16, 41, 63, .10);
  }
  .mobile-actions a, .mobile-actions button {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 4px 8px; font-size: 11.5px; font-weight: 700; color: var(--ink-2);
    border: 0; background: none; font-family: inherit;
  }
  .mobile-actions a:active, .mobile-actions button:active { background: var(--bg-soft); }
  .mobile-actions svg { width: 21px; height: 21px; }
  .mobile-actions .ma-wa { color: #17a34a; }
  /* 手机端: 右侧浮动组让位给底部行动条 */
  .float-stack { display: none; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .cookie-bar { bottom: calc(72px + env(safe-area-inset-bottom)); inset-inline: 10px; }
  /* iOS 表单聚焦不缩放 */
  .field input, .field textarea, .header-search input, .chat-panel__form textarea { font-size: 16px; }
  /* 触控反馈: 卡片点按给响应 */
  .cat-card:active, .prod-card:active, .news-card:active, .news-row:active, .parts-item:active, .media-duo__card:active { transform: scale(.985); }
}
/* 移动端抽屉里的快捷联系块 */
.nav-contact-li { display: none; }
@media (max-width: 1024px) {
  .nav-contact-li { display: block; margin-top: 22px; }
  .nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-contact a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    height: 50px; border-radius: var(--r-s); font-weight: 700; font-size: 14.5px;
    background: var(--navy); color: #fff;
  }
  .nav-contact a.nav-contact--wa { background: #17a34a; }
  .nav-contact svg { width: 19px; height: 19px; }
}

/* ---------- 悬浮部件(客服/回顶/cookie) ---------- */
.float-stack { position: fixed; inset-inline-end: 22px; bottom: 26px; z-index: 120; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 50px; height: 50px; border-radius: 15px; border: 0; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-m); color: var(--navy); position: relative;
}
.float-btn:hover { background: var(--navy); color: #fff; }
.float-btn svg { width: 22px; height: 22px; }
.float-btn--wa { background: #23c45e; color: #fff; }
.float-btn--wa:hover { background: #1eae53; }
.float-btn__tip {
  position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: 12.5px; padding: 7px 12px; border-radius: 7px;
  white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .16s;
}
.float-btn:hover .float-btn__tip { opacity: 1; visibility: visible; }
@media (max-width: 768px) { .float-stack { display: none; } /* 手机端让位给底部拇指行动条 */ }

.chat-panel {
  position: fixed; inset-inline-end: 22px; bottom: 26px; z-index: 130; width: 348px; max-width: calc(100vw - 28px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-l); overflow: hidden; display: none;
}
.chat-panel.is-open { display: block; animation: modal-in .26s var(--ease); }
.chat-panel__head { background: var(--navy); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat-panel__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-panel__head b { font-size: 15px; display: block; }
.chat-panel__head small { font-size: 12px; color: rgba(255, 255, 255, .7); }
.chat-panel__head button { margin-inline-start: auto; width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.chat-panel__body { height: 300px; overflow-y: auto; padding: 16px; background: var(--bg-soft); }
.chat-msg { max-width: 85%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 11px 14px; font-size: 14px; line-height: 1.6; margin-bottom: 12px; box-shadow: var(--shadow-s); }
html[dir="rtl"] .chat-msg { border-radius: 12px 4px 12px 12px; }
.chat-msg--me { margin-inline-start: auto; background: var(--navy); color: #fff; border-radius: 12px 4px 12px 12px; }
.chat-panel__form { display: flex; gap: 9px; padding: 13px; border-top: 1px solid var(--line); }
.chat-panel__form textarea { flex: 1; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; resize: none; height: 46px; font-size: 14px; outline: 0; }
.chat-panel__form textarea:focus { border-color: var(--navy); }
.chat-panel__form button { width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.chat-panel__form button svg { width: 19px; height: 19px; }

.cookie-bar {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 140; display: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-l);
  padding: 16px 20px; align-items: center; gap: 16px; max-width: 720px; margin-inline: auto;
}
.cookie-bar.is-show { display: flex; }
.cookie-bar p { font-size: 13.5px; color: var(--ink-2); }
.cookie-bar__actions { display: flex; gap: 9px; margin-inline-start: auto; flex: none; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-bar__actions { margin-inline-start: 0; } }

/* ---------- 滚动动效(v3 升级: 上浮 + 图片揭幕) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; transition: none; clip-path: none; }
  .reveal-img img { transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 新闻横条列表 ---------- */
.news-list { display: grid; gap: 18px; }
.news-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.news-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.news-row__img { min-height: 200px; background: var(--bg-soft); }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
.news-row__body { padding: 24px 28px; display: flex; flex-direction: column; }
.news-row time { font-size: 13px; color: var(--ink-3); }
.news-row h3 { margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.45; }
.news-row p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row .arrow-link { margin-top: auto; padding-top: 16px; }
@media (max-width: 768px) { .news-row { grid-template-columns: 1fr; } .news-row__img { min-height: 0; aspect-ratio: 16/9; } }

/* ---------- 图片灯箱(产品主图点击放大) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 30px;
  background: rgba(8, 20, 33, .93); cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: modal-in .22s var(--ease); }
.lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.pd-gallery__main { cursor: zoom-in; }
[data-lightbox] { cursor: zoom-in; }

/* ---------- 工具类 ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 内容页(服务页/关于/联系) ---------- */
.doc { max-width: 900px; }
.doc .rich { font-size: 16px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.contact-card__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 196, 0, .14); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.contact-card__ico svg { width: 22px; height: 22px; }
.contact-card b { font-size: 15px; display: block; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--ink-2); line-height: 1.7; word-break: break-all; }
.contact-card a:hover { color: var(--teal); }

/* 语言切换/菜单在 RTL 下的箭头 */
html[dir="rtl"] .hero__arrow svg, html[dir="rtl"] .caret { transform: scaleX(1); }
