/* =========================================================
   Kaihua Electric — 全站样式（品牌蓝）
   所有颜色、圆角、间距、控件尺寸都来自下方的设计变量；
   基础组件一览见 drafts/components.html
   ========================================================= */

:root {
  /* —— 颜色 —— */
  --blue: #1b4f9c;
  --blue-deep: #0f3470;
  --blue-pale: #eaf0f9;
  --orange: #f08a24;
  --orange-deep: #d9740f;
  --ink: #0f141c;
  --ink-2: #4a5566;
  --ink-3: #7c8799;
  --grey: #f1f3f6;
  --line: #d3dbe7;
  --line-soft: #e4e9f0;
  --danger: #c43b3b;
  --success: #1c6b3f;

  /* —— 圆角：四级 —— */
  --radius-tag: 2px;      /* 型号代码、小标签 */
  --radius-control: 2px;  /* 按钮、输入框、筛选标签、下拉菜单项 */
  --radius-card: 4px;     /* 卡片、列表项、缩略图 */
  --radius-panel: 6px;    /* 大面板：首屏图谱、页头、询价条、弹窗 */

  /* —— 间距：4px 基准 —— */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --density: 1;                                                /* 整体疏密：紧凑 .85 / 标准 1 / 宽松 1.15 */
  --section-y: calc(clamp(56px, 7vw, 96px) * var(--density));  /* 区块上下留白 */
  --head-gap: calc(28px * var(--density));                     /* 区块标题与内容之间 */
  --gap: calc(12px * var(--density));                          /* 卡片网格间距 */
  --gap-lg: calc(24px * var(--density));                       /* 内容块之间 */
  --card-pad: calc(16px * var(--density));                     /* 卡片内边距 */
  --panel-pad: calc(clamp(24px, 4vw, 56px) * var(--density));  /* 大面板内边距 */

  /* —— 控件高度 —— */
  --control-sm: 36px;
  --control-md: 44px;
  --control-lg: 52px;

  /* —— 版面与字体 —— */
  --container: 1320px;
  --pad: clamp(16px, 3vw, 40px);
  --header-h: 68px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --din: "DIN Condensed", "DIN Alternate", "Bahnschrift", "Roboto Condensed", "Arial Narrow", sans-serif;
}
:lang(ja) { --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", -apple-system, "Segoe UI", sans-serif; }
:lang(en), :lang(tr), :lang(fr), :lang(es) { --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.65; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; color: var(--ink); }
:lang(en) :is(h1, h2), :lang(tr) :is(h1, h2), :lang(fr) :is(h1, h2), :lang(es) :is(h1, h2) { letter-spacing: -.015em; }
/* 中日文标题优先在标点处换行，避免词语被拆开 */
:lang(zh) :is(h1, h2), :lang(ja) :is(h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid rgba(27, 79, 156, .45); outline-offset: 2px; border-radius: var(--radius-control); }
::selection { background: var(--blue-pale); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 840px; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: 100; padding: 10px var(--space-4); border-radius: var(--radius-control); background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: var(--space-3); }
.label { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--blue); }

/* =========================================================
   基础组件
   ========================================================= */

/* ---------- 按钮：尺寸 sm / 默认 / lg；样式 primary / secondary / outline / dark / light / outline-light ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  height: var(--control-md); padding: 0 20px; border: 0; border-radius: var(--radius-control);
  font-size: 14.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 17px; height: 17px; }
.btn-sm { height: var(--control-sm); padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: var(--control-lg); padding: 0 24px; font-size: 15.5px; }
.btn-primary { background: var(--orange); color: var(--ink); }                 /* 主操作：询价 */
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-secondary { background: var(--blue); color: #fff; }                      /* 次要操作 */
.btn-secondary:hover { background: var(--blue-deep); }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--blue-deep); }                      /* 深色底上使用 */
.btn-light:hover { background: var(--orange); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65); }
.btn-outline-light:hover { background: #fff; color: var(--blue-deep); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- 文字链接 ---------- */
.head-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.head-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.head-link:hover { color: var(--orange-deep); }
.head-link:hover .icon { transform: translateX(3px); }
.head-link--back:hover .icon { transform: translateX(-3px); }
.plain-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; overflow-wrap: anywhere; }
.plain-link .icon { width: 17px; height: 17px; color: var(--blue); }
.plain-link:hover { color: var(--blue); }

/* ---------- 标签 ---------- */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-tag); background: var(--blue-pale); color: var(--blue); font-size: 12px; font-weight: 600; white-space: nowrap; }
.code-tag { display: inline-block; padding: 6px 9px 5px; border-radius: var(--radius-tag); background: var(--blue); color: #fff; font: 700 15px/1 var(--din); letter-spacing: .05em; }

/* ---------- 筛选标签 ---------- */
.chips { position: relative; display: flex; gap: var(--space-2); min-width: 0; }
.chips--wrap { flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 38px; padding: 0 var(--space-3);
  border: 0; border-radius: var(--radius-control); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.chip-label { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
.chip-code { min-width: 22px; font: 700 15px/1 var(--din); letter-spacing: .04em; color: var(--blue); }
.chip-count { font: 700 14px/1 var(--din); color: var(--ink-3); }
.chip[aria-pressed="true"] .chip-code { color: var(--orange); }
.chip[aria-pressed="true"] .chip-count { color: rgba(255, 255, 255, .75); }

/* ---------- 输入框 ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.req { margin-left: 3px; color: var(--orange-deep); }
.field input, .field textarea, .search input {
  width: 100%; height: var(--control-md); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--grey);
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 150px; padding: var(--space-3) 14px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .search input::placeholder { color: #98a2b3; }
.field input:focus, .field textarea:focus, .search input:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 79, 156, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d64545; background: #fff; }
.field-error { font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.search { position: relative; display: block; }
.search .icon { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { padding-left: 40px; background: #fff; font-size: 15px; }

/* ---------- 区块标题 ---------- */
.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--flush-top { padding-top: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap-lg); margin-bottom: var(--head-gap); }
.head-row h2 { font-size: clamp(28px, 3vw, 42px); }
.head-row p { max-width: 42em; margin-top: var(--space-2); color: var(--ink-2); }

/* =========================================================
   页头
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.brand-mark { height: 30px; width: auto; aspect-ratio: 700 / 290; object-fit: cover; object-position: 0 50%; }

.main-nav { flex: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a { position: relative; display: block; padding: 23px 0; font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* 语言下拉 */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control-md); padding: 0 var(--space-3);
  border: 1px solid var(--line); border-radius: var(--radius-control); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.lang-btn .icon { width: 17px; height: 17px; }
.lang-btn .lang-chev { width: 14px; height: 14px; color: var(--ink-3); transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-code { display: none; font: 700 16px/1 var(--din); letter-spacing: .04em; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + var(--space-2)); z-index: 70; min-width: 196px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 18px 40px -16px rgba(15, 20, 28, .28);
}
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 10px var(--space-3); border-radius: var(--radius-control); font-size: 14.5px; }
.lang-menu a:hover { background: var(--grey); }
.lang-menu a[aria-current="true"] { background: var(--blue-pale); color: var(--blue); font-weight: 600; }
.lang-menu small { font: 700 14px/1 var(--din); letter-spacing: .06em; color: var(--ink-3); }
.lang-menu .icon { width: 16px; height: 16px; }

.menu-toggle { display: none; place-items: center; width: var(--control-md); height: var(--control-md); border: 1px solid var(--line); border-radius: var(--radius-control); background: #fff; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { padding-top: var(--space-2); padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
.mobile-links a { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 21px; font-weight: 600; }
.mobile-links a[aria-current="page"] { color: var(--blue); }
.mobile-links .icon { width: 20px; height: 20px; color: var(--ink-3); }
.mobile-contact { display: grid; gap: 14px; margin-top: 28px; }
.mobile-contact a:not(.btn) { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.mobile-contact a:not(.btn) .icon { color: var(--blue); }
.mobile-contact .btn { margin-top: 6px; }

/* =========================================================
   首页 · 插头图谱
   ========================================================= */
.board-wrap { --board-pad: clamp(10px, 1.4vw, 20px); max-width: 1640px; margin-inline: auto; padding: var(--board-pad) var(--board-pad) 0; }
.board {
  --board-w: min(100vw - 2 * var(--board-pad), 1600px);
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(calc((var(--board-w) - 8px) / 7), auto);
  gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-panel);
}
.board-intro {
  grid-column: 1 / span 3; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(28px, 3.2vw, 52px); background: var(--blue); color: #fff;
}
.board-label { font: 700 15px/1 var(--din); letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.board-intro h1 { font-size: clamp(36px, 4.3vw, 72px); line-height: 1.12; color: #fff; }
:lang(en) .board-intro h1, :lang(tr) .board-intro h1, :lang(fr) .board-intro h1, :lang(es) .board-intro h1 { line-height: 1.04; }
.board-intro p { max-width: 28em; margin-top: 18px; font-size: 16px; color: rgba(255, 255, 255, .86); }
.board-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.board-cell { display: flex; flex-direction: column; min-width: 0; padding: 14px var(--card-pad); background: #fff; transition: background-color .2s; }
.board-cell b { font: 700 clamp(22px, 2vw, 30px)/1 var(--din); letter-spacing: .03em; color: var(--blue); transition: color .2s; }
.board-cell img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 8% 12%; mix-blend-mode: multiply; transition: transform .3s; }
.board-cell span { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); font-size: 13px; color: var(--ink-2); }
.board-cell em { font: 700 16px/1 var(--din); font-style: normal; color: var(--ink-3); }
.board-cell:hover { background: var(--blue-pale); }
.board-cell:hover b { color: var(--orange-deep); }
.board-cell:hover img { transform: scale(1.06); }

.marks-bar {
  display: flex; align-items: center; gap: 28px; height: 64px; margin-top: 10px; padding: 0 28px;
  background: var(--ink); color: #fff; border-radius: var(--radius-panel); overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.marks-bar::-webkit-scrollbar { display: none; }
.marks-bar > span { flex: none; font-size: 13px; color: #8d97a8; }
.marks-bar ul { display: flex; flex: 1; justify-content: space-between; gap: 28px; }
.marks-bar li { font: 700 22px/1 var(--din); letter-spacing: .06em; }
.marks-bar a { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; font-weight: 600; color: var(--orange); }
.marks-bar a .icon { width: 15px; height: 15px; }
.marks-bar a:hover { color: #fff; }

/* =========================================================
   卡片
   ========================================================= */
/* 产品卡片 */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.p-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; background: #fff; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow .2s; }
.p-card:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.p-code { position: absolute; top: 0; left: 0; z-index: 1; padding: 7px 10px 6px; background: var(--blue); color: #fff; font: 700 15px/1 var(--din); letter-spacing: .05em; border-radius: 0 0 var(--radius-tag) 0; }
.p-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .3s; }
.p-card:hover img { transform: scale(1.04); }
.p-body { display: flex; flex: 1; flex-direction: column; gap: 3px; padding: 0 var(--card-pad) var(--card-pad); }
.p-model { font: 700 21px/1.1 var(--din); letter-spacing: .02em; }
.p-name { font-size: 14px; color: var(--ink-2); }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--space-2); }

/* 信息卡片（灰底） */
.fact, .contact-item, .note, .pd-note { border-radius: var(--radius-card); background: var(--grey); }

/* ---------- 工厂 ---------- */
.factory { overflow: hidden; background: var(--blue-deep); color: #fff; border-radius: var(--radius-panel); }
.factory-photo img { width: 100%; height: clamp(200px, 24vw, 360px); object-fit: cover; }
.factory-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-7); align-items: center; padding: var(--panel-pad); }
.factory-in h2 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; color: #fff; }
.factory-in p { max-width: 30em; margin-top: 14px; color: rgba(255, 255, 255, .78); }
.factory-in p a { color: #fff; border-bottom: 1px solid var(--orange); }
.factory-in p a:hover { color: var(--orange); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nums div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2); padding: 4px 0 4px 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.nums dd { font: 700 clamp(38px, 4.2vw, 64px)/1 var(--din); }
.nums dd small { margin-left: 3px; font: 600 16px/1 var(--sans); }
.nums dt { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .7); }

/* ---------- 合作客户 ---------- */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.clients li { display: grid; place-items: center; height: 104px; padding: var(--card-pad); background: #fff; }
.clients img { width: min(var(--w), 82%); height: auto; max-height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.clients .clients-more { padding: var(--card-pad); background: var(--blue); color: #fff; font-size: 13px; line-height: 1.5; text-align: center; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-lg); }
.news-card > a { display: block; height: 100%; }
.news-pic { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-card); background: var(--blue); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card a:hover .news-pic img { transform: scale(1.04); }
.news-pic--blank { display: grid; place-items: center; color: rgba(255, 255, 255, .92); font: 700 34px/1 var(--din); letter-spacing: .16em; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--space-3); font-size: 13px; color: var(--ink-3); }
.news-meta time { font: 700 16px/1 var(--din); letter-spacing: .04em; color: var(--ink-2); }
.news-body { padding-top: 14px; }
.news-title { margin-top: var(--space-2); font-size: 18px; line-height: 1.45; transition: color .2s; }
.news-card a:hover .news-title { color: var(--blue); }
.news-excerpt { display: -webkit-box; margin-top: var(--space-2); overflow: hidden; font-size: 14.5px; color: var(--ink-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-grid .news-excerpt { display: none; }
.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--gap-lg); }
.news-card--featured { grid-column: 1 / -1; }
.news-card--featured > a { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.news-card--featured .news-body { padding-top: 0; }
.news-card--featured .news-title { font-size: clamp(22px, 2vw, 30px); }
.news-card--featured .news-excerpt { -webkit-line-clamp: 4; font-size: 16px; }

/* ---------- 询价条 ---------- */
.cta-band { padding-bottom: var(--section-y); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gap-lg) 40px; padding: var(--panel-pad); background: var(--orange); border-radius: var(--radius-panel); }
.cta h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; }
.cta-side { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) 28px; }
.cta-tel { font: 700 clamp(28px, 3vw, 40px)/1 var(--din); letter-spacing: .02em; }
.cta-tel:hover { color: #fff; }

/* =========================================================
   内页
   ========================================================= */
.page-head { padding-top: var(--space-4); }
.page-head-in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--gap-lg);
  padding: var(--panel-pad); background: var(--blue); color: #fff; border-radius: var(--radius-panel);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.breadcrumb--dark ol { color: var(--ink-3); }
.breadcrumb--dark a:hover { color: var(--blue); }
.page-title { font-size: clamp(34px, 4vw, 58px); line-height: 1.12; color: #fff; }
.page-lead { max-width: 42em; margin-top: 14px; font-size: clamp(15px, 1.1vw, 17px); color: rgba(255, 255, 255, .86); }
.page-stat { text-align: right; }
.page-stat b { display: block; font: 700 clamp(56px, 7vw, 108px)/.9 var(--din); letter-spacing: .01em; }
.page-stat span { font-size: 13px; color: rgba(255, 255, 255, .72); }

.prose p { margin-bottom: 1.1em; font-size: 16.5px; line-height: 1.85; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- 关于 ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-lead { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.fact { padding: var(--card-pad) 18px; }
.fact dt { font-size: 13px; color: var(--ink-3); }
.fact dd { margin-top: 4px; font-weight: 600; line-height: 1.45; }
.panorama { margin-top: clamp(40px, 6vw, 72px); }
.panorama img { width: 100%; aspect-ratio: 1976 / 371; object-fit: cover; border-radius: var(--radius-panel); }
.panorama figcaption, .env-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

.culture { padding: var(--panel-pad); background: var(--blue-deep); color: #fff; border-radius: var(--radius-panel); }
.culture-label { margin-bottom: var(--space-3); font-size: 13px; font-weight: 600; color: var(--orange); }
.culture h2 { max-width: 22em; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; color: #fff; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-lg) var(--space-7); margin-top: 36px; }
.principle h3 { font-size: 19px; color: #fff; }
.principle p { margin-top: var(--space-2); color: rgba(255, 255, 255, .78); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .18); }
.values div { padding: 18px 20px 4px 0; }
.values div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.values dt { font-size: 13px; color: rgba(255, 255, 255, .6); }
.values dd { margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.45; }

.env { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.env-copy h2 { font-size: clamp(28px, 3vw, 42px); }
.env-copy > p { max-width: 32em; margin-top: 14px; color: var(--ink-2); }
.mark-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: 28px; }
.mark-list li { padding: 9px var(--space-3) 8px; background: #fff; border-radius: var(--radius-control); font: 700 18px/1 var(--din); letter-spacing: .05em; color: var(--blue-deep); box-shadow: inset 0 0 0 1px var(--line); }
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; border-radius: var(--radius-panel); cursor: zoom-in; }
.zoomable img { width: 100%; }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-control); background: rgba(15, 20, 28, .72); color: #fff; opacity: 0; transition: opacity .2s; }
.zoom-hint .icon { width: 18px; height: 18px; }
.zoomable:hover .zoom-hint, .cert-card:hover .zoom-hint, .system-card:hover .zoom-hint,
.zoomable:focus-visible .zoom-hint, .cert-card:focus-visible .zoom-hint, .system-card:focus-visible .zoom-hint { opacity: 1; }

.careers { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-lg) var(--space-7); align-items: center; padding: var(--panel-pad); background: var(--grey); border-radius: var(--radius-panel); }
.careers h2 { font-size: clamp(24px, 2.4vw, 34px); }
.careers p:not(.label) { max-width: 40em; margin-top: 10px; color: var(--ink-2); }
.careers-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }

/* ---------- 产品目录 ---------- */
.catalog { padding-block: var(--space-6) var(--section-y); }
.catalog-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.catalog-bar {
  position: sticky; top: calc(var(--header-h) + var(--space-4)); z-index: 30; display: flex; flex-direction: column; gap: var(--space-3);
  max-height: calc(100vh - var(--header-h) - var(--space-6)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  padding: 14px; background: var(--grey); border-radius: var(--radius-panel);
}
.catalog-side-label { padding: 4px 6px 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.chips--side { flex-direction: column; gap: 2px; }
.chips--side .chip { justify-content: space-between; width: 100%; padding: 0 10px; background: transparent; box-shadow: none; }
.chips--side .chip:hover { background: #fff; color: var(--ink); box-shadow: none; }
.chips--side .chip[aria-pressed="true"] { background: var(--blue); color: #fff; }

.catalog-body { min-width: 0; }
.catalog-count { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }
.product { display: flex; }
.product[hidden] { display: none; }
.product.is-flash .p-card { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: inset 0 0 0 1px var(--line-soft); } 20% { box-shadow: inset 0 0 0 3px var(--orange); } }
.catalog-empty { display: grid; justify-items: center; gap: var(--space-4); padding: 56px 20px; text-align: center; background: var(--grey); border-radius: var(--radius-panel); }
.catalog-empty[hidden] { display: none; }
.catalog-empty p { max-width: 30em; color: var(--ink-2); }
.catalog-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- 对话框 ---------- */
.dialog { max-width: none; max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; color: inherit; }
.dialog::backdrop { background: rgba(15, 20, 28, .6); }
.dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius-control); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dialog-close:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dialog-close .icon { width: 20px; height: 20px; }
.product-dialog .dialog-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(940px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-panel); }
.pd-media { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); background: var(--grey); }
.pd-media img { width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.pd-body { padding: clamp(28px, 3.5vw, 44px); padding-top: clamp(48px, 5vw, 56px); }
.pd-region { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pd-code { padding: 6px 9px 5px; background: var(--blue); color: #fff; border-radius: var(--radius-tag); font: 700 15px/1 var(--din); letter-spacing: .05em; }
.pd-title { margin-top: 14px; font: 700 clamp(34px, 3vw, 46px)/1 var(--din); letter-spacing: .02em; }
.pd-name { margin-top: var(--space-2); font-size: 18px; color: var(--ink-2); }
.pd-specs { margin: 22px 0 18px; border-top: 1px solid var(--line-soft); }
.pd-specs > div { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; gap: var(--space-3); padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.pd-specs dt { color: var(--ink-3); }
.pd-specs dd { font-weight: 500; }
.pd-specs dd .tag { margin: 0 6px 4px 0; }
.pd-note { padding: 14px var(--card-pad); font-size: 14px; color: var(--ink-2); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.lightbox .lb-panel { position: relative; display: flex; align-items: center; justify-content: center; width: calc(100vw - 32px); height: calc(100dvh - 32px); }
.lb-figure { display: flex; flex-direction: column; align-items: center; max-width: min(1000px, calc(100vw - 140px)); }
.lb-figure img { width: auto; max-width: 100%; max-height: calc(100dvh - 130px); background: #fff; border-radius: var(--radius-card); }
.lb-figure figcaption { margin-top: 14px; font-size: 14px; font-weight: 500; color: #fff; text-align: center; }
.lb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: var(--radius-control); background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .2s; }
.lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-nav[hidden] { display: none; }
.lb-nav .icon { width: 22px; height: 22px; }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-close { top: 0; right: 0; }

/* ---------- 认证 ---------- */
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(48px, 6vw, 80px); }
.system-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 22px; width: 100%; padding: 14px; border: 0; background: var(--grey); border-radius: var(--radius-card); text-align: left; cursor: zoom-in; transition: box-shadow .2s; }
.system-card:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.system-copy { display: flex; flex-direction: column; gap: 6px; }
.system-code { font: 700 clamp(30px, 3vw, 40px)/1 var(--din); letter-spacing: .02em; color: var(--blue); }
.system-name { color: var(--ink-2); }
.cert-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; border-radius: var(--radius-control); }
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cert-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px var(--gap-lg); margin-bottom: 20px; }
.cert-head h2 { display: flex; align-items: center; gap: var(--space-3); font-size: clamp(28px, 3vw, 42px); }
.cert-head .count { font: 700 28px/1 var(--din); color: var(--ink-3); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: var(--gap); }
.cert { display: flex; }
.cert[hidden] { display: none; }
.cert-card { display: flex; flex-direction: column; width: 100%; padding: 10px 10px 14px; border: 0; background: var(--grey); border-radius: var(--radius-card); text-align: left; cursor: zoom-in; transition: box-shadow .2s; }
.cert-card:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.cert-title { margin-top: var(--space-3); padding-inline: 4px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.cert-sub { margin-top: 2px; padding-inline: 4px; font: 700 15px/1.3 var(--din); letter-spacing: .02em; color: var(--ink-3); }
.note { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding: var(--card-pad) 18px; font-size: 14px; color: var(--ink-2); }
.note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }

/* ---------- 文章 ---------- */
.article-head { padding-top: clamp(32px, 5vw, 64px); }
.article-head .news-meta { margin-bottom: 14px; }
.article-title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.3; }
.article-summary { margin-top: 14px; font-size: clamp(16px, 1.2vw, 18px); color: var(--ink-2); }
.article-body { padding-block: var(--space-6) var(--section-y); }
.article-cover { margin-bottom: var(--space-6); }
.article-cover img { width: 100%; border-radius: var(--radius-panel); }
.article-body .prose p { font-size: 17px; line-height: 1.9; color: var(--ink); }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); margin-top: var(--space-6); }
.article-gallery img { width: 100%; border-radius: var(--radius-card); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--space-7); }
.article-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--grey); border-radius: var(--radius-card); transition: box-shadow .2s; }
.article-nav-link:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.article-nav-link span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-3); }
.article-nav-link span .icon { width: 16px; height: 16px; }
.article-nav-link strong { font-size: 15px; line-height: 1.45; }
.article-nav-link--next { align-items: flex-end; text-align: right; }
.article-back { margin-top: 28px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; padding: var(--card-pad) 18px; }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; background: var(--blue); color: #fff; border-radius: var(--radius-control); }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-item dt { font-size: 13px; color: var(--ink-3); }
.contact-item dd { margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-item dd a:hover { color: var(--blue); }
.contact-item small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
/* 地图：默认显示示意图，连得上 Google 时由 main.js 换成嵌入地图 */
.map { margin-top: 10px; overflow: hidden; background: var(--grey); border-radius: var(--radius-card); }
.map-view { position: relative; aspect-ratio: 4 / 3; background: var(--blue-pale); }
.map-art, .map-view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-view iframe { opacity: 0; transition: opacity .3s; }
.map-view.is-ready iframe { opacity: 1; }
.map-pin { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 50px; height: 50px; margin: -25px 0 0 -25px; background: var(--orange); color: var(--ink); border-radius: 50%; }
.map-pin .icon { width: 24px; height: 24px; }
.map-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: var(--space-3) 18px; font-size: 14px; font-weight: 600; }
.map-links a { display: inline-flex; align-items: center; gap: var(--space-2); }
.map-links a:hover { color: var(--blue); }
.map-links .icon { width: 18px; height: 18px; color: var(--blue); }
.map-links .icon:last-child { width: 16px; height: 16px; color: var(--ink-3); }

.form-card { padding: var(--panel-pad); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.form-card h2 { font-size: clamp(24px, 2.2vw, 32px); }
.form-sub { margin: var(--space-2) 0 26px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) 18px; }
.form-grid .field input { height: 48px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--gap-lg); }
.form-privacy { display: flex; align-items: center; gap: var(--space-2); max-width: 30em; font-size: 13px; color: var(--ink-3); }
.form-privacy .icon { width: 16px; height: 16px; color: var(--blue); }
.form-status { margin-top: 18px; padding: 14px var(--card-pad); border-radius: var(--radius-control); font-size: 15px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #e8f6ee; color: var(--success); }
.form-status.is-error { background: #fdecec; color: #a83232; }
.form-status.is-info { background: var(--blue-pale); color: var(--blue-deep); }
.inquiry-form button[disabled] { opacity: .7; cursor: progress; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer { background: var(--blue-deep); color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.3fr); gap: 36px; padding-block: 56px 40px; }
.footer-brand .brand-mark { height: 30px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 24em; margin-top: var(--space-4); line-height: 1.7; }
.footer-col h2 { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.footer-col li { padding: 4px 0; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px var(--gap-lg); padding-block: 18px calc(var(--gap-lg) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a:hover { color: #fff; }

.to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center;
  width: var(--control-md); height: var(--control-md); border: 0; border-radius: var(--radius-control); background: var(--ink); color: #fff;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top .icon { width: 20px; height: 20px; }

/* =========================================================
   响应式
   ========================================================= */
/* ---------- DIN 窄体的垂直居中 ----------
   DIN Condensed 的字形挤在行框上部（下方留了很大的下伸部空间），居中时看起来偏上约 0.17em。
   支持 text-box 的浏览器把文字框裁到「大写字母顶 ~ 基线」，字形才真正居中；
   带底色的标签同时改用上下相等的内边距，尺寸基本不变 */
@supports (text-box: trim-both cap alphabetic) {
  .lang-code, .lang-menu small, .chip-code, .chip-count, .news-meta time { text-box: trim-both cap alphabetic; }
  .code-tag, .pd-code { text-box: trim-both cap alphabetic; padding-block: 8px; }
  .p-code { text-box: trim-both cap alphabetic; padding-block: 9px; }
  .mark-list li { text-box: trim-both cap alphabetic; padding-block: 11px; }
}

@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: minmax(calc((var(--board-w) - 6px) / 5), auto); }
  .board-intro { grid-column: 1 / -1; grid-row: auto; }
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid > :nth-child(n + 7) { display: none; }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients .clients-more { grid-column: span 3; }
  .factory-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .about-intro, .env, .contact-grid, .careers { grid-template-columns: 1fr; }
  .env-figure { max-width: 520px; }
  /* 产品目录：顶部吸顶 + 横向滑动标签 */
  .catalog { padding-top: 0; }
  .catalog-layout { display: block; padding-inline: 0; }
  .catalog-bar {
    top: var(--header-h); gap: 10px; max-height: none; overflow: visible; padding: var(--space-3) var(--pad);
    background: rgba(255, 255, 255, .96); border-radius: 0; border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .catalog-bar.is-stuck { box-shadow: 0 10px 20px -18px rgba(15, 20, 28, .5); }
  .catalog-side-label { display: none; }
  .chips--side { flex-direction: row; gap: var(--space-2); margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); overflow-x: auto; scrollbar-width: none; }
  .chips--side::-webkit-scrollbar { display: none; }
  .chips--side .chip { width: auto; padding: 0 var(--space-3); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .chips--side .chip:hover { box-shadow: inset 0 0 0 1px var(--blue); }
  .chips--side .chip[aria-pressed="true"] { background: var(--blue); box-shadow: none; }
  .chips--side .chip-code { min-width: 0; }
  .catalog-body { padding: 20px var(--pad) 0; }
  .page-head-in { grid-template-columns: 1fr; }
  .page-stat { display: flex; align-items: baseline; gap: 10px; text-align: left; }
  .page-stat b { font-size: 52px; }
}

@media (max-width: 860px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--gap-lg); }
  .nums div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .news-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .news-grid .news-card > a, .news-list .news-card:not(.news-card--featured) > a { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: var(--space-4); align-items: center; }
  .news-grid .news-pic, .news-list .news-card:not(.news-card--featured) .news-pic { aspect-ratio: 1; }
  .news-grid .news-body, .news-list .news-card:not(.news-card--featured) .news-body { padding-top: 0; }
  .news-grid .news-title, .news-list .news-card:not(.news-card--featured) .news-title { font-size: 16px; }
  .news-list .news-card:not(.news-card--featured) .news-excerpt { display: none; }
  .news-pic--blank { font-size: 20px; letter-spacing: .1em; }
  .news-list { grid-template-columns: 1fr; gap: 20px; }
  .news-card--featured > a { grid-template-columns: 1fr; }
  .principles, .values { grid-template-columns: 1fr; }
  .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .values div { padding-bottom: 14px; }
  .system-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-link--next { align-items: flex-start; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 62px; }
  body { font-size: 15px; }
  .brand-mark { height: 26px; }
  .lang-name { display: none; }
  .lang-code { display: inline; }
  .lang-btn { padding: 0 10px; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(calc((var(--board-w) - 4px) / 3), auto); }
  .board-cell { padding: 10px; }
  .board-cell span { font-size: 12px; }
  .board-actions .btn { flex: 1 1 auto; }
  .marks-bar { height: 56px; padding: 0 18px; gap: 20px; }
  .marks-bar ul { gap: 18px; }
  .marks-bar li { font-size: 19px; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-grid > :nth-child(n + 7) { display: flex; }
  .p-body { padding: 0 var(--space-3) var(--space-3); }
  .p-model { font-size: 18px; }
  .p-name { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients li { height: 80px; padding: 10px; }
  .clients .clients-more { grid-column: span 1; font-size: 12px; }
  .cta-side, .cta-side .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-card { grid-template-columns: 92px minmax(0, 1fr); gap: var(--space-4); }
  .panorama img { aspect-ratio: 2 / 1; }
  .product-dialog { width: 100%; margin: auto 0 0; }
  .product-dialog .dialog-panel { grid-template-columns: 1fr; width: 100vw; max-height: 92dvh; border-radius: var(--radius-panel) var(--radius-panel) 0 0; }
  .pd-media { padding: 28px 28px var(--space-2); }
  .pd-media img { max-width: 220px; }
  .pd-body { padding-top: 20px; }
  .pd-actions .btn { flex: 1 1 100%; }
  .lb-figure { max-width: calc(100vw - 32px); }
  .lb-nav { top: auto; bottom: 0; margin-top: 0; }
  .lb-figure img { max-height: calc(100dvh - 180px); }
  .footer-bottom { flex-direction: column; }
  .to-top { right: var(--space-3); }
}

@media (max-width: 380px) {
  .board-cell b { font-size: 20px; }
  .board-cell em { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-nav, .to-top, .cta-band, .catalog-bar { display: none !important; }
}
