/* =========================================================
   洛阳市钢制办公家具 · 全站样式
   主色在 :root 的 --x-accent 系列中修改
   ========================================================= */
:root {
  color-scheme: light;
  --text-primary: #1d1d1f;
  --text-secondary: #636366;
  --fill-primary-on: #ffffff;
  --fill-page: #f5f5f7;
  --fill-tertiary: #e8e8ea;
  --fill-system-green: #00a665;
  --fill-system-red: #da2f35;
  --stroke-primary: rgba(29, 29, 31, 0.14);
  --stroke-secondary: rgba(29, 29, 31, 0.07);
  --hover-wash: rgba(29, 29, 31, 0.05);
  --mat-agent: rgba(255, 255, 255, 0.92);
  --x-blur: blur(30px) saturate(1.6);
  --x-shadow: 0 8px 40px rgba(29, 29, 31, 0.12);

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
    "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
  --lh: 1.45;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 600;
  --size-caption: 12px;
  --size-small: 14px;
  --size-body: 15px;
  --size-prose: 16px;
  --size-heading: 20px;
  --size-figure: clamp(24px, 3vw, 32px);
  --size-title: clamp(26px, 3vw, 32px);
  --size-display: clamp(30px, 5vw, 46px);
  --size-lede: clamp(16px, 1.7vw, 19px);
  --type-caption: var(--weight-regular) var(--size-caption)/var(--lh) var(--sans);
  --type-tag: var(--weight-medium) var(--size-caption)/var(--lh) var(--sans);
  --type-small: var(--weight-regular) var(--size-small)/var(--lh) var(--sans);
  --type-label: var(--weight-medium) var(--size-small)/var(--lh) var(--sans);
  --type-body: var(--weight-regular) var(--size-body)/var(--lh) var(--sans);
  --type-body-strong: var(--weight-medium) var(--size-body)/var(--lh) var(--sans);
  --type-heading: var(--weight-medium) var(--size-heading)/1.35 var(--sans);
  --type-lede: var(--weight-regular) var(--size-lede)/1.5 var(--sans);
  --type-figure: var(--weight-regular) var(--size-figure)/1.2 var(--sans);
  --type-title: var(--weight-medium) var(--size-title)/1.3 var(--sans);
  --type-display: var(--weight-medium) var(--size-display)/1.2 var(--sans);
  --r-s: 10px;
  --r-pill: 100px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-quick: 160ms;
  --page-max: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
  --tap: 44px;

  /* 品牌色 */
  --x-accent: #2b5a87;
  --x-accent-strong: #2b5a87;
  --x-accent-dark: #224a70;
  --x-steel: #eef0f2;
  --x-charcoal: #1f2326;
  --x-charcoal-2: #2a2f33;
  --x-on-dark: #f5f5f7;
  --x-on-dark-2: #b4b9be;
  --x-head-h: 68px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fill-primary-on); color: var(--text-primary);
  font: var(--type-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
b, strong { font-weight: var(--weight-bold); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--x-accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.page { padding-top: var(--x-head-h); }
.x-wrap { max-width: var(--page-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
[id] { scroll-margin-top: calc(var(--x-head-h) + 8px); }
.x-ph { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 3px; font-size: 11px; line-height: 17px; font-weight: 400;
  color: #8a6d1f; background: #fbf3d9; border: 1px solid #efdfa9; vertical-align: middle; white-space: nowrap; }
.x-foot .x-ph { color: #e7cf86; background: rgba(231, 207, 134, 0.12); border-color: rgba(231, 207, 134, 0.3); }
html.no-ph .x-ph, html.no-ph .x-note:not(.x-note--keep) { display: none !important; }

/* ---------- header ---------- */
.x-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--x-head-h);
  background: var(--mat-agent); -webkit-backdrop-filter: var(--x-blur); backdrop-filter: var(--x-blur);
  border-bottom: 1px solid var(--stroke-secondary);
  transition: box-shadow var(--dur-quick) var(--ease-out);
}
.x-header.is-scrolled { box-shadow: 0 2px 16px rgba(29, 29, 31, 0.08); }
.x-header .x-wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.x-logo { display: flex; align-items: center; gap: 10px; color: var(--text-primary); text-decoration: none; font: var(--type-body-strong); font-size: 17px; white-space: nowrap; min-height: var(--tap); }
.x-logo svg { flex: none; }
.x-menu { display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.x-menu a {
  display: flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-pill);
  color: var(--text-primary); text-decoration: none; font: var(--type-label); white-space: nowrap;
  transition: background var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.x-menu a:hover { background: var(--hover-wash); }
.x-menu a.is-active { color: var(--x-accent); background: rgba(43, 90, 135, 0.08); }
.x-tel { display: flex; align-items: center; gap: 8px; color: var(--x-accent); text-decoration: none; font: var(--type-body-strong); white-space: nowrap; min-height: var(--tap); }
.x-burger { display: none; margin-left: auto; width: var(--tap); height: var(--tap); border: 1px solid var(--stroke-primary); border-radius: 8px; background: none; color: var(--text-primary); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1100px) { .x-tel .x-ph { display: none; } .x-menu a { padding: 0 9px; } }
@media (max-width: 960px) {
  .x-burger { display: inline-flex; }
  .x-tel { display: none; }
  .x-menu {
    position: absolute; top: var(--x-head-h); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 16px; background: var(--fill-primary-on); border-bottom: 1px solid var(--stroke-primary);
    box-shadow: var(--x-shadow); display: none; max-height: calc(100vh - var(--x-head-h)); overflow-y: auto;
  }
  .x-header.is-open .x-menu { display: flex; }
  .x-menu a { border-radius: 8px; padding: 0 12px; }
  .x-menu .x-menu__tel { display: flex; color: var(--x-accent); }
}
@media (min-width: 961px) { .x-menu .x-menu__tel { display: none; } }

/* ---------- buttons ---------- */
.x-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.x-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 24px;
  border-radius: 4px; font: var(--type-label); text-decoration: none; cursor: pointer; border: 1px solid transparent; background: none;
  transition: background var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.x-btn--fill { background: var(--x-accent-strong); color: #fff; }
.x-btn--fill:hover { background: var(--x-accent-dark); }
.x-btn--ghost { border-color: rgba(245, 245, 247, 0.6); color: var(--x-on-dark); }
.x-btn--ghost:hover { background: rgba(245, 245, 247, 0.12); }
.x-btn--line { border-color: var(--stroke-primary); color: var(--text-primary); }
.x-btn--line:hover { border-color: var(--x-accent); color: var(--x-accent); }

/* ---------- hero carousel (home) ---------- */
.x-hero { position: relative; height: clamp(420px, 72vh, 680px); overflow: hidden; background: var(--x-charcoal); color: var(--x-on-dark); }
.x-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease-out), visibility 700ms; }
.x-slide.is-on { opacity: 1; visibility: visible; }
.x-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.x-slide::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(20, 23, 26, 0.8) 0%, rgba(20, 23, 26, 0.45) 55%, rgba(20, 23, 26, 0.15) 100%); }
.x-slide__copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.x-slide__eyebrow { margin: 0; font: var(--type-tag); letter-spacing: 0.16em; color: var(--x-on-dark-2); text-transform: uppercase; }
.x-slide h1, .x-slide h2 { margin: 0; font: var(--type-display); font-size: clamp(30px, 5.4vw, 54px); letter-spacing: 0.04em; max-width: 14em; }
.x-slide__sub { margin: 0; font: var(--type-lede); color: var(--x-on-dark-2); max-width: 36em; }
.x-slide__bar { width: 56px; height: 3px; background: var(--x-accent-strong); }
.x-arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(245, 245, 247, 0.4); background: rgba(20, 23, 26, 0.3); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.x-arrow:hover { background: rgba(20, 23, 26, 0.6); }
.x-arrow--prev { left: 16px; } .x-arrow--next { right: 16px; }
.x-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 4px; }
.x-dots button { width: var(--tap); height: var(--tap); border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.x-dots button::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: rgba(245, 245, 247, 0.45); transition: background var(--dur-quick); }
.x-dots button[aria-current="true"]::before { background: #fff; }
@media (max-width: 640px) { .x-arrow { display: none; } }

/* ---------- inner page banner + breadcrumb ---------- */
.x-banner { position: relative; height: clamp(200px, 30vw, 320px); overflow: hidden; background: var(--x-charcoal); color: var(--x-on-dark); }
.x-banner img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.x-banner::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(20, 23, 26, 0.82) 0%, rgba(20, 23, 26, 0.5) 60%, rgba(20, 23, 26, 0.25) 100%); }
.x-banner .x-wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.x-banner p { font: var(--type-tag); letter-spacing: 0.2em; color: var(--x-on-dark-2); text-transform: uppercase; }
.x-banner h1 { font: var(--type-display); letter-spacing: 0.04em; }
.x-banner .x-slide__bar { margin-top: 4px; }
.x-crumb { background: var(--x-steel); border-bottom: 1px solid var(--stroke-secondary); }
.x-crumb ol { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 12px; padding-bottom: 12px; font: var(--type-small); color: var(--text-secondary); }
.x-crumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: rgba(29, 29, 31, 0.3); }
.x-crumb a { text-decoration: none; color: var(--text-secondary); }
.x-crumb a:hover { color: var(--x-accent); }
.x-crumb li:last-child { color: var(--text-primary); }
.x-crumb li:first-child::before { content: "⌂ "; }

/* ---------- sections & titles ---------- */
.x-sec { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.x-sec--grey { background: var(--x-steel); }
.x-sec--tight { padding-top: clamp(32px, 4vw, 48px); }
.x-title { text-align: center; margin: 0 auto 40px; }
.x-title p { margin: 0 0 6px; font: var(--type-tag); letter-spacing: 0.2em; color: var(--x-accent); }
.x-title h2 { margin: 0; font: var(--type-title); }
.x-title span { display: block; margin-top: 10px; font: var(--type-body); color: var(--text-secondary); }
.x-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--x-accent); margin: 16px auto 0; }
.x-title--left { text-align: left; margin-left: 0; }
.x-title--left::after { margin-left: 0; }
.x-note { font: var(--type-caption); color: var(--text-secondary); margin-top: 12px; }
.x-note::before { content: "※ "; }
.x-center { text-align: center; margin-top: 32px; }
.x-prose { font-size: var(--size-prose); line-height: 1.9; color: var(--text-primary); }
.x-prose p + p { margin-top: 1em; }

/* ---------- tabs ---------- */
.x-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.x-tab {
  min-height: var(--tap); padding: 0 22px; border-radius: 4px; border: 1px solid var(--stroke-primary);
  background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-label); cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), border-color var(--dur-quick);
}
.x-tab:hover { border-color: var(--x-accent); color: var(--x-accent); }
.x-tab[aria-selected="true"], .x-tab.is-active { background: var(--x-accent-strong); border-color: var(--x-accent-strong); color: #fff; }

/* ---------- home: product tabs ---------- */
.x-prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.x-prod__img { margin: 0; border-radius: var(--r-s); overflow: hidden; background: var(--fill-primary-on); aspect-ratio: 4 / 3; }
.x-prod__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-prod__side { display: flex; flex-direction: column; gap: 16px; }
.x-prod__side h3 { margin: 0; font: var(--type-heading); }
.x-prod__side > p { margin: 0; color: var(--text-secondary); }
.x-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; flex: 1; align-content: start; }
.x-subs a {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: var(--fill-primary-on); height: 100%;
  border: 1px solid var(--stroke-secondary); border-left: 3px solid var(--x-accent); border-radius: 4px; font: var(--type-body-strong);
  text-decoration: none; transition: color var(--dur-quick), box-shadow var(--dur-quick);
}
.x-subs a:hover { color: var(--x-accent); box-shadow: var(--x-shadow); }
.x-subs a::after { content: "›"; margin-left: auto; color: var(--text-secondary); font-size: 18px; }
.x-more { align-self: flex-start; color: var(--x-accent); font: var(--type-label); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.x-more:hover { text-decoration: underline; }
@media (max-width: 780px) { .x-prod { grid-template-columns: 1fr; } }

/* ---------- about split ---------- */
.x-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.x-about__img { margin: 0; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 4 / 3; }
.x-about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-about .x-title { text-align: left; margin: 0 0 20px; }
.x-about .x-title::after { margin-left: 0; }
.x-about__text { margin: 0 0 24px; font-size: var(--size-prose); line-height: 1.9; color: var(--text-primary); }
.x-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--stroke-primary); }
.x-count b { display: block; font: var(--type-display); color: var(--x-accent); font-variant-numeric: tabular-nums; }
.x-count span { font: var(--type-small); color: var(--text-secondary); }
@media (max-width: 780px) { .x-about { grid-template-columns: 1fr; } .x-counts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature / advantage cards ---------- */
.x-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-adv--3 { grid-template-columns: repeat(3, 1fr); }
.x-adv > div {
  padding: 32px 24px; background: var(--fill-primary-on); border-radius: var(--r-s); border: 1px solid var(--stroke-secondary);
  text-align: center; transition: transform var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out);
}
.x-adv > div:hover { transform: translateY(-4px); box-shadow: var(--x-shadow); }
.x-adv svg { color: var(--x-accent); margin: 0 auto 16px; display: block; }
.x-adv h3 { margin: 0 0 8px; font: var(--type-heading); }
.x-adv p { margin: 0; color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 900px) { .x-adv, .x-adv--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .x-adv, .x-adv--3 { grid-template-columns: 1fr; } }

/* ---------- cards (cases, news, products) ---------- */
.x-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-cards--4 { grid-template-columns: repeat(4, 1fr); }
.x-card { background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out); }
a.x-card:hover { box-shadow: var(--x-shadow); transform: translateY(-3px); }
a.x-card:hover h3 { color: var(--x-accent); }
.x-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fill-tertiary); }
.x-card figure.is-43 { aspect-ratio: 4 / 3; }
.x-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease-out); }
.x-card:hover img { transform: scale(1.04); }
.x-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; text-decoration: none; color: inherit; }
.x-card__tag { font: var(--type-tag); color: var(--x-accent); margin: 0; }
.x-card h3 { margin: 0; font: var(--type-heading); font-size: 18px; transition: color var(--dur-quick); }
.x-card p { margin: 0; color: var(--text-secondary); line-height: 1.65; }
.x-card__link { margin-top: auto; padding-top: 6px; font: var(--type-label); color: var(--x-accent); }
.x-case { display: grid; grid-template-columns: 1.2fr 1fr; }
.x-case figure { aspect-ratio: auto; min-height: 300px; }
.x-case .x-card__body { padding: 32px; justify-content: center; gap: 12px; }
@media (max-width: 780px) { .x-case { grid-template-columns: 1fr; } .x-case figure { min-height: 220px; } }
.x-news time { font: var(--type-caption); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.x-news .x-card { border-top: 3px solid var(--x-accent); }
@media (max-width: 1000px) { .x-cards--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .x-cards, .x-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .x-cards, .x-cards--4 { grid-template-columns: 1fr; } }

/* ---------- process (home) ---------- */
.x-flow { display: flex; align-items: stretch; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.x-flow li { flex: 1; display: flex; align-items: center; counter-increment: flow; }
.x-flow li > div { flex: 1; text-align: center; padding: 24px 8px; border-radius: var(--r-s); background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); }
.x-flow li > div::before { content: counter(flow, decimal-leading-zero); display: block; font: var(--type-figure); color: var(--x-accent); margin-bottom: 6px; }
.x-flow b { font: var(--type-label); }
.x-flow li:not(:last-child)::after { content: "→"; flex: none; width: 22px; text-align: center; color: var(--text-secondary); font-size: 18px; }
@media (max-width: 900px) {
  .x-flow { flex-direction: column; }
  .x-flow li { flex-direction: column; }
  .x-flow li > div { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px 20px; }
  .x-flow li > div::before { margin: 0; font: var(--type-heading); }
  .x-flow li:not(:last-child)::after { content: "↓"; width: auto; padding: 4px 0; }
}

/* ---------- service steps (service page) ---------- */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.x-steps li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; padding: 24px; background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); position: relative; }
.x-steps li::before { content: counter(step, decimal-leading-zero); font: var(--type-figure); color: #fff; background: var(--x-accent-strong); width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.x-steps h3 { font: var(--type-heading); margin-bottom: 6px; }
.x-steps p { color: var(--text-secondary); line-height: 1.75; }
@media (max-width: 600px) { .x-steps li { grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; } .x-steps li::before { width: 48px; height: 48px; font-size: 18px; } }

/* ---------- timeline (about) ---------- */
.x-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.x-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 96px; width: 2px; background: var(--stroke-primary); }
.x-timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 0 32px; padding: 0 0 28px; position: relative; }
.x-timeline li::before { content: ""; position: absolute; left: 90px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--x-accent); box-shadow: 0 0 0 4px var(--x-steel); }
.x-timeline b { font: var(--type-heading); color: var(--x-accent); font-variant-numeric: tabular-nums; }
.x-timeline h3 { font: var(--type-body-strong); font-size: 17px; margin-bottom: 4px; }
.x-timeline p { color: var(--text-secondary); line-height: 1.7; }
@media (max-width: 600px) {
  .x-timeline::before { left: 6px; }
  .x-timeline li { grid-template-columns: 1fr; padding-left: 32px; }
  .x-timeline li::before { left: 0; }
}

/* ---------- certificate placeholders ---------- */
.x-cert { background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); padding: 16px; text-align: center; }
.x-cert__img { aspect-ratio: 3 / 4; border: 1px dashed var(--stroke-primary); border-radius: 6px; background: repeating-linear-gradient(135deg, #f7f8f9 0 10px, #f0f2f4 10px 20px); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font: var(--type-small); margin-bottom: 12px; }
.x-cert h3 { font: var(--type-body-strong); }

/* ---------- equipment list ---------- */
.x-equip { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.x-equip li { padding: 16px; background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-left: 3px solid var(--x-accent); border-radius: 4px; }
.x-equip b { display: block; font: var(--type-body-strong); margin-bottom: 4px; }
.x-equip span { font: var(--type-small); color: var(--text-secondary); line-height: 1.6; display: block; }
@media (max-width: 520px) { .x-equip { grid-template-columns: 1fr; } }

/* ---------- products page ---------- */
.x-shop { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.x-side { position: sticky; top: calc(var(--x-head-h) + 16px); background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); overflow: hidden; }
.x-side h2 { font: var(--type-body-strong); color: #fff; background: var(--x-accent-strong); padding: 16px 20px; }
.x-side ul { list-style: none; margin: 0; padding: 8px; }
.x-side button { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--text-primary); font: var(--type-body); cursor: pointer; text-align: left; }
.x-side button:hover { background: var(--hover-wash); color: var(--x-accent); }
.x-side button.is-active { background: rgba(43, 90, 135, 0.1); color: var(--x-accent); font-weight: var(--weight-medium); }
.x-side button span { font: var(--type-caption); color: var(--text-secondary); }
.x-side__contact { border-top: 1px solid var(--stroke-secondary); padding: 16px 20px 20px; font: var(--type-small); color: var(--text-secondary); }
.x-side__contact a { display: block; margin-top: 6px; font: var(--type-heading); color: var(--x-accent); text-decoration: none; }
.x-shop__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.x-shop__head h2 { font: var(--type-heading); }
.x-shop__head p { color: var(--text-secondary); font: var(--type-small); }
.x-shop .x-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .x-shop { grid-template-columns: 1fr; gap: 20px; }
  .x-side { position: static; }
  .x-side h2, .x-side__contact { display: none; }
  .x-side ul { display: flex; gap: 8px; overflow-x: auto; padding: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .x-side ul::-webkit-scrollbar { display: none; }
  .x-side li { flex: none; }
  .x-side button { width: auto; white-space: nowrap; border: 1px solid var(--stroke-primary); gap: 6px; }
  .x-side button.is-active { background: var(--x-accent-strong); color: #fff; border-color: var(--x-accent-strong); }
  .x-side button.is-active span { color: rgba(255, 255, 255, 0.75); }
  .x-shop .x-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .x-shop .x-cards { gap: 12px; } .x-shop .x-card__body { padding: 14px; } .x-shop .x-card h3 { font-size: 16px; } .x-shop .x-card p { display: none; } }

/* ---------- product / case detail ---------- */
.x-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.x-detail__img { border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--stroke-secondary); background: var(--fill-tertiary); aspect-ratio: 4 / 3; }
.x-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.x-detail__info { display: flex; flex-direction: column; gap: 16px; }
.x-detail__info h1 { font: var(--type-title); }
.x-detail__intro { font-size: var(--size-prose); line-height: 1.85; color: var(--text-secondary); }
.x-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.x-feats li { padding-left: 24px; position: relative; line-height: 1.6; }
.x-feats li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--x-accent); border-bottom: 2px solid var(--x-accent); transform: rotate(-45deg); }
.x-specs { width: 100%; border-collapse: collapse; font: var(--type-body); background: var(--fill-primary-on); border: 1px solid var(--stroke-primary); border-radius: 6px; overflow: hidden; }
.x-specs th, .x-specs td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--stroke-secondary); vertical-align: top; line-height: 1.6; }
.x-specs tr:last-child th, .x-specs tr:last-child td { border-bottom: 0; }
.x-specs th { width: 110px; background: var(--x-steel); font-weight: var(--weight-medium); white-space: nowrap; }
.x-meta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.x-meta li { padding: 14px 16px; background: var(--x-steel); border-radius: 6px; }
.x-meta span { display: block; font: var(--type-caption); color: var(--text-secondary); margin-bottom: 2px; }
.x-meta b { font: var(--type-body-strong); }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.x-chips a, .x-chips span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(43, 90, 135, 0.08); color: var(--x-accent); font: var(--type-small); text-decoration: none; }
.x-chips a:hover { background: rgba(43, 90, 135, 0.16); }
.x-empty { text-align: center; padding: 64px 16px; color: var(--text-secondary); }
.x-empty h2 { font: var(--type-heading); color: var(--text-primary); margin-bottom: 12px; }
@media (max-width: 860px) { .x-detail { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .x-meta { grid-template-columns: 1fr; } .x-specs th { width: 84px; padding: 10px 12px; } .x-specs td { padding: 10px 12px; } }

/* ---------- news list ---------- */
.x-list { display: grid; gap: 16px; }
.x-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; padding: 24px; background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); text-decoration: none; color: inherit; transition: box-shadow var(--dur-quick), border-color var(--dur-quick); }
.x-item:hover { box-shadow: var(--x-shadow); border-color: transparent; }
.x-item:hover h3 { color: var(--x-accent); }
.x-item__date { text-align: center; border-right: 1px solid var(--stroke-primary); padding-right: 24px; }
.x-item__date b { display: block; font: var(--type-figure); color: var(--x-accent); font-variant-numeric: tabular-nums; }
.x-item__date span { font: var(--type-caption); color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.x-item h3 { font: var(--type-heading); font-size: 18px; margin-bottom: 6px; transition: color var(--dur-quick); }
.x-item p { color: var(--text-secondary); line-height: 1.65; }
.x-item__go { color: var(--x-accent); font: var(--type-label); white-space: nowrap; }
@media (max-width: 640px) {
  .x-item { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
  .x-item__date { text-align: left; border: 0; padding: 0; display: flex; gap: 8px; align-items: baseline; }
  .x-item__date b { font: var(--type-label); color: var(--x-accent); }
  .x-item__go { display: none; }
}

/* ---------- article ---------- */
.x-article { max-width: 820px; margin: 0 auto; }
.x-article__head { text-align: center; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--stroke-primary); }
.x-article__head h1 { font: var(--type-title); margin: 10px 0 12px; }
.x-article__meta { font: var(--type-small); color: var(--text-secondary); display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.x-article .x-prose p { text-indent: 2em; }
.x-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--stroke-primary); }
.x-pn a, .x-pn span { display: block; padding: 16px; border-radius: 6px; background: var(--x-steel); text-decoration: none; color: inherit; line-height: 1.6; }
.x-pn a:hover { color: var(--x-accent); }
.x-pn small { display: block; font: var(--type-caption); color: var(--text-secondary); }
.x-pn .is-next { text-align: right; }
.x-pn span { color: var(--text-secondary); }
@media (max-width: 600px) { .x-pn { grid-template-columns: 1fr; } .x-pn .is-next { text-align: left; } }

/* ---------- FAQ accordion ---------- */
.x-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.x-faq details { background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); }
.x-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font: var(--type-body-strong); font-size: 16px; position: relative; min-height: var(--tap); }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::before { content: "Q"; color: var(--x-accent); font-weight: var(--weight-bold); margin-right: 10px; }
.x-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--x-accent); transition: transform var(--dur-quick); }
.x-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.x-faq details > div { padding: 0 20px 20px 44px; color: var(--text-secondary); line-height: 1.8; }

/* ---------- contact ---------- */
.x-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-contact > div { padding: 28px 20px; background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); text-align: center; }
.x-contact svg { color: var(--x-accent); margin: 0 auto 12px; display: block; }
.x-contact h3 { font: var(--type-label); color: var(--text-secondary); margin-bottom: 6px; }
.x-contact p { font: var(--type-body-strong); font-size: 17px; word-break: break-all; }
.x-contact a { text-decoration: none; color: var(--x-accent); }
@media (max-width: 900px) { .x-contact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .x-contact { grid-template-columns: 1fr; } }
.x-map-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
.x-map { min-height: 280px; border: 1px dashed var(--stroke-primary); border-radius: var(--r-s); background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(43, 90, 135, 0.06) 39px 40px), repeating-linear-gradient(90deg, #f7f8f9 0 39px, rgba(43, 90, 135, 0.06) 39px 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-secondary); text-align: center; padding: 24px; }
.x-map svg { color: var(--x-accent); }
.x-map b { color: var(--text-primary); font: var(--type-body-strong); }
.x-qrbox { border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); background: var(--fill-primary-on); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.x-qrbox .x-qr { width: 160px; height: 160px; color: var(--text-secondary); background: var(--x-steel); border-color: var(--stroke-primary); }
.x-qrbox p { font: var(--type-small); color: var(--text-secondary); }
@media (max-width: 760px) { .x-map-row { grid-template-columns: 1fr; } }
.x-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-job { background: var(--fill-primary-on); border: 1px solid var(--stroke-secondary); border-radius: var(--r-s); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.x-job h3 { font: var(--type-heading); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.x-job h3 small { font: var(--type-label); color: var(--x-accent); }
.x-job__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.x-job__tags span { font: var(--type-caption); padding: 2px 8px; border-radius: 4px; background: var(--x-steel); color: var(--text-secondary); }
.x-job ul { margin: 0; padding-left: 18px; color: var(--text-secondary); line-height: 1.75; font: var(--type-small); }
@media (max-width: 900px) { .x-jobs { grid-template-columns: 1fr; } }

/* ---------- form ---------- */
.x-form { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-field { display: flex; flex-direction: column; gap: 6px; }
.x-field--full { grid-column: 1 / -1; }
.x-field label { font: var(--type-label); }
.x-field label i { color: var(--fill-system-red); font-style: normal; }
.x-field input, .x-field select, .x-field textarea {
  font: var(--type-body); color: var(--text-primary); background: var(--fill-primary-on);
  border: 1px solid var(--stroke-primary); border-radius: 4px; padding: 11px 14px; min-height: var(--tap); width: 100%;
}
.x-field textarea { min-height: 120px; resize: vertical; }
.x-field :focus { outline: 2px solid var(--x-accent); outline-offset: 0; border-color: transparent; }
.x-form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.x-form__ok { margin: 0; font: var(--type-body-strong); color: var(--fill-system-green); }
.x-form__ok.is-err { color: var(--fill-system-red); }
@media (max-width: 600px) { .x-form { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.x-cta { background: var(--x-accent-strong); color: #fff; }
.x-cta .x-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 36px; }
.x-cta h2 { font: var(--type-heading); font-size: 22px; }
.x-cta p { color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.x-cta .x-btn--fill { background: #fff; color: var(--x-accent-strong); }
.x-cta .x-btn--fill:hover { background: #e8eef5; }

/* ---------- footer ---------- */
.x-foot { background: var(--x-charcoal); color: var(--x-on-dark-2); padding-top: 56px; }
.x-foot a { color: var(--x-on-dark-2); text-decoration: none; }
.x-foot a:hover { color: #fff; }
.x-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 32px; padding-bottom: 40px; }
.x-foot .x-logo { color: #fff; margin-bottom: 16px; }
.x-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
.x-foot ul a { display: inline-flex; min-height: 36px; align-items: center; font: var(--type-small); }
.x-foot h4 { margin: 0 0 12px; color: #fff; font: var(--type-label); }
.x-foot__contact p { margin: 0 0 8px; font: var(--type-small); line-height: 1.7; }
.x-qr { width: 112px; height: 112px; border: 1px dashed rgba(245, 245, 247, 0.35); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; font: var(--type-caption); background: var(--x-charcoal-2); overflow: hidden; }
.x-qr img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.x-foot__qr p { margin: 8px 0 0; font: var(--type-caption); text-align: center; }
.x-foot__bottom { border-top: 1px solid rgba(245, 245, 247, 0.1); padding-top: 20px; padding-bottom: 28px; font: var(--type-caption); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .x-foot__grid { grid-template-columns: 1fr 1fr; } .x-foot__brand { grid-column: 1 / -1; } }


/* ---------- floating contact bar ---------- */
.x-float { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; box-shadow: var(--x-shadow); border-radius: var(--r-s); }
.x-float li { position: relative; }
.x-float a, .x-float button {
  width: 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--x-accent-strong); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: var(--type-caption); padding: 0;
  transition: background var(--dur-quick) var(--ease-out);
}
.x-float li:first-child > a, .x-float li:first-child > button { border-radius: var(--r-s) var(--r-s) 0 0; }
.x-float li:last-child > a, .x-float li:last-child > button { border-radius: 0 0 var(--r-s) var(--r-s); background: var(--x-charcoal-2); }
.x-float a:hover, .x-float button:hover { background: var(--x-accent-dark); }
.x-float__top { transition: opacity var(--dur-quick), visibility var(--dur-quick); }
.x-float__top.is-hidden { opacity: 0.35; }
.x-float__pop {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%); background: var(--fill-primary-on); color: var(--text-primary);
  border: 1px solid var(--stroke-primary); border-radius: var(--r-s); padding: 12px; box-shadow: var(--x-shadow);
  white-space: nowrap; font: var(--type-label); opacity: 0; visibility: hidden; transition: opacity var(--dur-quick) var(--ease-out), visibility var(--dur-quick);
  text-align: center;
}
.x-float li:hover .x-float__pop, .x-float li:focus-within .x-float__pop, .x-float li.is-open .x-float__pop { opacity: 1; visibility: visible; }
.x-float__pop .x-qr { color: var(--text-secondary); background: var(--fill-tertiary); border-color: var(--stroke-primary); margin: 0 auto 6px; }
@media (max-width: 640px) {
  /* 手机端：底部通栏 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .x-float { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; gap: 1px; border-radius: 0; background: rgba(255, 255, 255, 0.2); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 20px rgba(29, 29, 31, 0.12); }
  .x-float li { flex: 1; }
  .x-float a, .x-float button { width: 100%; height: 56px; border-radius: 0 !important; }
  .x-float__pop { right: auto; left: 50%; top: auto; bottom: 64px; transform: translateX(-50%); }
  .x-float li:first-child .x-float__pop { left: 8px; transform: none; }
  .x-float__top.is-hidden { opacity: 1; }
}

/* ---------- reveal ---------- */
.js .x-reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .x-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .x-slide, .x-reveal, .x-card img { transition: none !important; }
  .js .x-reveal { opacity: 1; transform: none; }
}
.x-foot .x-note { color: var(--x-on-dark-2); opacity: 0.75; }

/* =========================================================
   多语言：语言切换下拉框
   ========================================================= */
.x-lang { position: relative; flex: none; }
.x-lang__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--stroke-primary);
  border-radius: var(--r-pill); background: var(--fill-primary-on); color: var(--text-primary); font: var(--type-label); cursor: pointer; white-space: nowrap;
}
.x-lang__btn:hover, .x-lang.is-open .x-lang__btn { border-color: var(--x-accent); color: var(--x-accent); }
.x-lang__btn svg { flex: none; }
.x-lang__caret { transition: transform var(--dur-quick); }
.x-lang.is-open .x-lang__caret { transform: rotate(180deg); }
.x-lang__list {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 60; min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: var(--fill-primary-on); border: 1px solid var(--stroke-primary); border-radius: var(--r-s); box-shadow: var(--x-shadow); display: none;
}
.x-lang.is-open .x-lang__list { display: block; }
html:not(.js) .x-lang:hover .x-lang__list, html:not(.js) .x-lang:focus-within .x-lang__list { display: block; }
.x-lang__list a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 6px; color: var(--text-primary); text-decoration: none; font: var(--type-body); }
.x-lang__list a:hover, .x-lang__list a:focus-visible { background: var(--hover-wash); color: var(--x-accent); }
.x-lang__list a[aria-current="true"] { color: var(--x-accent); font-weight: var(--weight-medium); }
.x-lang__list a[aria-current="true"]::after { content: "✓"; margin-inline-start: auto; }
.x-menu .x-menu__langs { display: none; }
@media (min-width: 961px) {
  .x-header .x-menu { order: 1; } .x-header .x-lang { order: 2; } .x-header .x-tel { order: 3; }
  .x-header .x-wrap { gap: 16px; }
}
@media (max-width: 960px) {
  .x-header .x-lang { margin-inline-start: auto; }
  .x-header .x-burger { margin-left: 0; margin-inline-start: 0; }
  .x-header .x-wrap { gap: 10px; }
  .x-menu .x-menu__langs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--stroke-secondary); color: var(--text-secondary); }
  .x-menu .x-menu__langs svg { margin-inline-end: 4px; }
  .x-menu .x-menu__langs a { min-height: 40px; padding: 0 12px; border: 1px solid var(--stroke-primary); }
  .x-menu .x-menu__langs a[aria-current="true"] { background: var(--x-accent-strong); border-color: var(--x-accent-strong); color: #fff; }
}
.x-logo { min-width: 0; }
.x-logo span { overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   多语言：非中文版面细节（长单词、大写装饰标题）
   ========================================================= */
html:not([lang="zh-CN"]) .x-slide h1, html:not([lang="zh-CN"]) .x-slide h2, html:not([lang="zh-CN"]) .x-banner h1 { letter-spacing: 0; max-width: 20em; }
html:not([lang="zh-CN"]) .x-prose, html:not([lang="zh-CN"]) .x-about__text { line-height: 1.75; }
html:not([lang="zh-CN"]) .x-article .x-prose p { text-indent: 0; }
html:not([lang="zh-CN"]) h1, html:not([lang="zh-CN"]) h2, html:not([lang="zh-CN"]) h3 { overflow-wrap: break-word; }
html:not([lang="zh-CN"]) .x-flow b { display: block; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
html:not([lang="zh-CN"]) .x-specs th { white-space: normal; width: 150px; }
html:not([lang="zh-CN"]) .x-float a, html:not([lang="zh-CN"]) .x-float button { font-size: 11px; line-height: 1.15; text-align: center; }
html:not([lang="zh-CN"]) .x-float span { max-width: 60px; overflow-wrap: break-word; }
html:not([lang="zh-CN"]) .x-tab { padding: 0 16px; }
html:not([lang="zh-CN"]) .x-btn { text-align: center; }
@media (min-width: 961px) and (max-width: 1280px) {
  html:not([lang="zh-CN"]) .x-tel { display: none; }
  html:not([lang="zh-CN"]) .x-menu a { padding: 0 9px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  html:not([lang="zh-CN"]) .x-logo { font-size: 15px; }
  html:not([lang="zh-CN"]) .x-menu a { padding: 0 7px; font-size: 13px; }
}
@media (max-width: 420px) {
  html:not([lang="zh-CN"]) .x-logo { font-size: 15px; gap: 8px; }
  html:not([lang="zh-CN"]) .x-cta h2 { font-size: 20px; }
}

/* 俄语单词更长：桌面导航稍收紧 */
html[lang="ru"] .x-menu a { padding: 0 9px; }
@media (min-width: 961px) and (max-width: 1366px) { html[lang="ru"] .x-menu a { padding: 0 7px; } html[lang="ru"] .x-header .x-wrap { gap: 12px; } }

/* =========================================================
   从右到左（RTL）语言：阿拉伯语等。<html dir="rtl"> 时生效
   flex / grid 会自动镜像，这里处理用 left/right 写死的部分
   ========================================================= */
[dir="rtl"] {
  --sans: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", "Geeza Pro", "Arabic Typesetting", "DejaVu Sans", Arial, sans-serif;
}
[dir="rtl"] body { text-align: right; }
/* 阿拉伯文字母相连，禁止字距与大写变换 */
[dir="rtl"] .x-title p, [dir="rtl"] .x-banner p, [dir="rtl"] .x-slide__eyebrow, [dir="rtl"] .x-slide h1, [dir="rtl"] .x-slide h2, [dir="rtl"] .x-banner h1 { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .x-prose, [dir="rtl"] .x-about__text { line-height: 1.9; }
/* 电话、邮箱、数字、日期、尺寸保持从左到右 */
[dir="rtl"] [data-site="phone"], [dir="rtl"] [data-site="email"], [dir="rtl"] [data-site="mobile"], [dir="rtl"] [data-site="year"],
[dir="rtl"] [data-site="icp"], [dir="rtl"] .x-ltr, [dir="rtl"] time, [dir="rtl"] .x-count b, [dir="rtl"] .x-item__date b, [dir="rtl"] .x-item__date span,
[dir="rtl"] .x-timeline b, [dir="rtl"] .x-side button span, [dir="rtl"] .x-side__contact a, [dir="rtl"] .x-tel span[data-site] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .x-field input[type="tel"], [dir="rtl"] .x-field input[type="email"] { direction: ltr; text-align: right; }
/* 页头 */
[dir="rtl"] .x-menu { margin: 0 auto 0 0; }
[dir="rtl"] .x-burger { margin-left: 0; margin-right: auto; }
@media (max-width: 960px) { [dir="rtl"] .x-header .x-lang { margin-inline-start: auto; } [dir="rtl"] .x-header .x-burger { margin: 0; } [dir="rtl"] .x-menu { margin: 0; } }
@media (max-width: 1100px) { [dir="rtl"] .x-tel .x-ph { display: none; } }
/* 小标签 */
[dir="rtl"] .x-ph { margin-left: 0; margin-right: 4px; }
/* 轮播：渐变、箭头位置与方向 */
[dir="rtl"] .x-slide::after { background: linear-gradient(270deg, rgba(20, 23, 26, 0.8) 0%, rgba(20, 23, 26, 0.45) 55%, rgba(20, 23, 26, 0.15) 100%); }
[dir="rtl"] .x-banner::after { background: linear-gradient(270deg, rgba(20, 23, 26, 0.82) 0%, rgba(20, 23, 26, 0.5) 60%, rgba(20, 23, 26, 0.25) 100%); }
[dir="rtl"] .x-arrow--prev { left: auto; right: 16px; } [dir="rtl"] .x-arrow--next { right: auto; left: 16px; }
[dir="rtl"] .x-arrow svg { transform: scaleX(-1); }
/* 面包屑 */
[dir="rtl"] .x-crumb li:not(:last-child)::after { margin-left: 0; margin-right: 6px; }
/* 标题左对齐版本 → 右对齐 */
[dir="rtl"] .x-title--left, [dir="rtl"] .x-about .x-title { text-align: right; margin-left: auto; margin-right: 0; }
[dir="rtl"] .x-title--left::after, [dir="rtl"] .x-about .x-title::after { margin-left: auto; margin-right: 0; }
/* 首页产品子类 */
[dir="rtl"] .x-subs a { border-left: 1px solid var(--stroke-secondary); border-right: 3px solid var(--x-accent); }
[dir="rtl"] .x-subs a::after { content: "‹"; margin-left: 0; margin-right: auto; }
[dir="rtl"] .x-more { align-self: flex-start; }
/* 服务流程箭头 */
[dir="rtl"] .x-flow li:not(:last-child)::after { content: "←"; }
@media (max-width: 900px) {
  [dir="rtl"] .x-flow li > div { text-align: right; }
  [dir="rtl"] .x-flow li:not(:last-child)::after { content: "↓"; }
}
/* 时间轴 */
[dir="rtl"] .x-timeline::before { left: auto; right: 96px; }
[dir="rtl"] .x-timeline li::before { left: auto; right: 90px; }
@media (max-width: 600px) {
  [dir="rtl"] .x-timeline::before { left: auto; right: 6px; }
  [dir="rtl"] .x-timeline li { padding-left: 0; padding-right: 32px; }
  [dir="rtl"] .x-timeline li::before { left: auto; right: 0; }
}
/* 设备列表、产品特点 */
[dir="rtl"] .x-equip li { border-left: 1px solid var(--stroke-secondary); border-right: 3px solid var(--x-accent); }
[dir="rtl"] .x-feats li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .x-feats li::before { left: auto; right: 4px; }
/* 产品分类侧栏、参数表 */
[dir="rtl"] .x-side button { text-align: right; }
[dir="rtl"] .x-specs th, [dir="rtl"] .x-specs td { text-align: right; }
/* 新闻列表 */
[dir="rtl"] .x-item__date { border-right: 0; padding-right: 0; border-left: 1px solid var(--stroke-primary); padding-left: 24px; }
@media (max-width: 640px) { [dir="rtl"] .x-item__date { text-align: right; border: 0; padding: 0; } }
/* 上一篇 / 下一篇 */
[dir="rtl"] .x-pn .is-next { text-align: left; }
@media (max-width: 600px) { [dir="rtl"] .x-pn .is-next { text-align: right; } }
/* 常见问题 */
[dir="rtl"] .x-faq summary { padding: 18px 20px 18px 56px; }
[dir="rtl"] .x-faq summary::before { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .x-faq summary::after { right: auto; left: 20px; }
[dir="rtl"] .x-faq details > div { padding: 0 44px 20px 20px; }
/* 招聘要求列表 */
[dir="rtl"] .x-job ul { padding-left: 0; padding-right: 18px; }
/* 右侧悬浮栏 → 左侧 */
[dir="rtl"] .x-float { right: auto; left: 12px; }
[dir="rtl"] .x-float__pop { right: auto; left: 74px; }
@media (max-width: 640px) {
  [dir="rtl"] .x-float { left: 0; right: 0; }
  [dir="rtl"] .x-float__pop { left: 50%; right: auto; }
  [dir="rtl"] .x-float li:first-child .x-float__pop { left: auto; right: 8px; }
}

/* 轮播“下一张”箭头避开右侧悬浮栏（RTL 时悬浮栏在左侧） */
@media (min-width: 641px) {
  .x-arrow--next { right: 88px; }
  [dir="rtl"] .x-arrow--next { right: auto; left: 88px; }
}
[data-site="icp"] { white-space: nowrap; }
@media (max-width: 420px) { html:not([lang="zh-CN"]) .x-specs th { width: 104px; } }
/* 中文可任意断行；其它语言按单词断行，只有过长的邮箱等才强制断开 */
html:not([lang="zh-CN"]) .x-contact p { word-break: normal; overflow-wrap: anywhere; }
html:not([lang="zh-CN"]) .x-contact p span[data-site] { overflow-wrap: normal; }
