/* ============================================================
   湖南海思特 · 官网样式表
   结构：1 设计变量 / 2 基础重置 / 3 通用组件 / 4 页头页脚
        5 首页区块 / 6 产品页 / 7 案例页 / 8 联系页 / 9 响应式
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 主色：HYSTER 商标红（取自商标图，R205 G45 B34）。
     深/浅两档取自《电子物料色卡》朱红系「胭脂虫」，与商标红同色相、明度递减。 */
  --brand: #cd2d22;
  --brand-700: #a81e32;
  --brand-600: #e0503c;
  --brand-050: #fbedeb;

  /* 深色骨架：色卡「漆黑」（略带冷调，压住大面积朱红，避免整站发烫） */
  --navy-900: #161824;
  --navy-800: #2b2e3c;
  --navy-700: #3a3e4e;

  /* 强调色：色卡「库金」。浅底不可直接作文字（对比度仅 2.66），文字用 --accent-600 */
  --accent: #e18a3b;
  --accent-600: #9a5514;
  --accent-050: #fcf2e4;

  --ink: #161824;
  --ink-2: #35394a;
  --muted: #616a7d;
  --line: #e9e6e8;
  --line-2: #d6d2d6;
  --bg: #faf7f5;
  --white: #ffffff;
  --ok: #2a6e3f;
  --danger: #8e1622;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 35, 0.05);
  --shadow: 0 8px 24px -12px rgba(22, 24, 35, 0.2), 0 2px 6px rgba(22, 24, 35, 0.04);
  --shadow-lg: 0 24px 48px -24px rgba(22, 24, 35, 0.32);

  --container: 1180px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; }

/* ---------- 3. 通用组件 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--bg { background: var(--bg); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -12px rgba(163, 26, 17, 0.5); }
.btn--primary:hover { background: var(--brand-700); }
.btn--accent { background: var(--accent); color: #2a1a08; }
.btn--accent:hover { background: #d99a26; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--on-dark { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.55); }
.btn--block { width: 100%; }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--brand-050); color: var(--brand);
}
.tag--warn { background: var(--accent-050); color: var(--accent-600); }
.tag--muted { background: #eef1f5; color: var(--muted); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow); }

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

.icon-box {
  width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand);
  margin-bottom: 18px;
}
.icon-box svg { width: 22px; height: 22px; }

.placeholder-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); background: #f3f6fa;
  border: 1px dashed var(--line-2); border-radius: 999px; padding: 4px 12px;
}

/* ---------- 4. 页头 ---------- */
.topbar {
  background: var(--navy-900); color: rgba(255, 255, 255, 0.7);
  font-size: 13px; letter-spacing: 0.02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; align-items: center; gap: 22px; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; opacity: 0.7; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(22, 24, 35, 0.55); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 18px; font-weight: 700; color: var(--navy-900); letter-spacing: 0.02em; }
.brand__sub { font-size: 10.5px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 6px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.16s ease, background 0.16s ease;
}
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--brand); background: var(--brand-050); }
.nav a.is-active { color: var(--brand); font-weight: 650; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-size: 14px; font-weight: 650; color: var(--navy-800); letter-spacing: 0.01em; white-space: nowrap; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; padding: 0; place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 8px var(--gutter) 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 4px; font-size: 16px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.is-active { color: var(--brand); font-weight: 650; }
.mobile-nav .btn { margin-top: 18px; }

/* ---------- 语言切换 ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--navy-800); transition: border-color 0.18s ease, color 0.18s ease;
}
.lang__btn:hover { border-color: var(--brand); color: var(--brand); }
.lang__globe { width: 17px; height: 17px; opacity: 0.75; }
.lang__code { min-width: 18px; }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 212px; z-index: 80;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  box-shadow: 0 16px 36px rgba(22, 24, 35, 0.14);
}
.lang__menu[hidden] { display: none; }
.lang__item {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px;
  border: 0; border-radius: 7px; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--ink); text-align: left;
}
.lang__item:hover { background: var(--brand-050); }
.lang__item.is-active { color: var(--brand); font-weight: 650; }
.lang__tick { width: 14px; height: 14px; flex-shrink: 0; opacity: 0; color: var(--brand); }
.lang__item.is-active .lang__tick { opacity: 1; }
.lang__flag {
  width: 20px; height: 15px; flex-shrink: 0; display: block; border-radius: 2.5px;
  box-shadow: inset 0 0 0 1px rgba(22, 24, 35, 0.14);
}
.lang__name { flex: 1; }
.lang__sub {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
  text-transform: uppercase;
}

/* 移动端：语言按钮收进汉堡菜单 */
.lang-mobile { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lang-mobile__title {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.lang-mobile__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lang-mobile__grid button {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.lang-mobile__grid button.is-active {
  border-color: var(--brand); background: var(--brand-050); color: var(--brand); font-weight: 650;
}
@media (min-width: 861px) {
  .lang-mobile { display: none; }
}
@media (max-width: 1080px) {
  .header__phone { display: none; }
}
@media (max-width: 860px) {
  .lang { display: none; }
}

/* ---------- 5. 首页 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #101218 0%, #1b1d28 46%, #43202a 100%);
  color: rgba(255, 255, 255, 0.8);
}
.hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.hero__glow {
  position: absolute; width: 640px; height: 640px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(225, 138, 59, 0.26), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 1px; background: rgba(225, 138, 59, 0.72); }
.hero h1 {
  color: #fff; font-size: clamp(32px, 4.3vw, 52px); line-height: 1.2;
  letter-spacing: -0.015em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: #f0c273; }
.hero__lead { margin-top: 22px; font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, 0.76); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 40px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__meta li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }
.hero__meta svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* 首屏右侧视觉占位：可整体替换为实景图片 */
.hero__visual { position: relative; }
.visual-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  aspect-ratio: 4 / 3.4;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.visual-frame__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.visual-frame__label {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 11.5px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.visual-frame svg { width: 74%; max-width: 320px; color: rgba(255, 255, 255, 0.85); }
.visual-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 8px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink);
}
.visual-chip svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.visual-chip--1 { left: -18px; bottom: 96px; }
.visual-chip--2 { right: -12px; top: 40px; }

/* 信任条 */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trustbar__item { padding: 26px 24px; border-left: 1px solid var(--line); }
.trustbar__item:first-child { border-left: 0; padding-left: 0; }
.trustbar__item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.trustbar__item span { font-size: 13.5px; color: var(--muted); }

/* 核心优势 */
.adv { padding: 30px 28px 32px; }
.adv h3 { font-size: 17.5px; margin-bottom: 10px; }
.adv p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* 产品概览 */
.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card__media {
  aspect-ratio: 16 / 9; position: relative;
  background: linear-gradient(140deg, #eef3f9, #e2ebf5);
  display: grid; place-items: center; overflow: hidden;
}
.product-card__media svg { width: 96px; height: 96px; color: var(--brand); opacity: 0.85; }
/* 产品照片：铺满 16:9 图区，缺图时按同一个占位方案降级 */
.product-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; background: #fff; }
.product-card__media img.is-media-fallback { object-fit: contain; }
.product-card__media img.is-media-failed { display: none; }
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.product-card__body h3 { font-size: 17px; margin: 10px 0 8px; }
.product-card__body p { font-size: 14.2px; color: var(--muted); flex: 1; }
.product-card__foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  align-self: stretch; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 600; color: var(--brand);
}
.product-card__foot svg { width: 16px; height: 16px; transition: transform 0.18s ease; }
.product-card:hover .product-card__foot svg { transform: translateX(4px); }

.section-foot { display: flex; justify-content: center; margin-top: 44px; }

/* 应用场景 */
.scene {
  display: flex; gap: 16px; padding: 24px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.scene__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--accent-050); color: var(--accent-600); }
.scene__icon svg { width: 20px; height: 20px; }
.scene h3 { font-size: 16px; margin-bottom: 6px; }
.scene p { font-size: 14px; color: var(--muted); }

/* 流程 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-600);
}
.step::after {
  content: ""; position: absolute; top: 9px; left: 34px; right: -28px; height: 1px;
  background: var(--line-2);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* 案例 */
.case-card { overflow: hidden; display: flex; flex-direction: column; }
.case-card__media {
  aspect-ratio: 16 / 9; background: linear-gradient(140deg, #123f63, #1d5b86);
  display: grid; place-items: center; position: relative;
}
.case-card__media svg { width: 54%; color: rgba(255, 255, 255, 0.28); }
.case-card__media .tag--warn { position: absolute; left: 14px; top: 14px; }
.case-card__body { padding: 22px 24px 24px; }
.case-card__body h3 { font-size: 16.5px; margin: 10px 0 8px; }
.case-card__body p { font-size: 14.2px; color: var(--muted); }
.case-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.case-card__meta b { color: var(--ink-2); font-weight: 600; }

/* 资质占位 */
.cert {
  aspect-ratio: 3 / 4; border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #fdfbf9, #fdfbf9 10px, #f7f3f0 10px, #f7f3f0 20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 18px;
}
.cert svg { width: 34px; height: 34px; color: var(--line-2); }
.cert strong { font-size: 14px; color: var(--ink-2); }
.cert span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* CTA 带 */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #161824, #4a2028 70%);
  border-radius: var(--radius-lg); padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, 0.72); font-size: 15.5px; max-width: 560px; }
.cta-band__actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- 6. 页面头图 ---------- */
.page-hero {
  background: linear-gradient(150deg, #161824, #3d1c24);
  color: rgba(255, 255, 255, 0.78); position: relative; overflow: hidden;
}
.page-hero__inner { position: relative; padding: 56px 0 60px; max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.page-hero p { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, 0.35); }

/* 产品页 */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px;
}
.filter-bar__label { font-size: 13.5px; color: var(--muted); margin-right: 6px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; font-size: 14px; color: var(--ink-2); transition: all 0.16s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.product-detail { padding: 28px; display: flex; flex-direction: column; }
.product-detail__top { display: flex; gap: 20px; align-items: flex-start; }
.product-detail__thumb {
  width: 96px; height: 96px; flex-shrink: 0; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brand);
  overflow: hidden;
}
/* 暂无实拍图的卡片保留线框图标，底色与照片卡一致，避免一粉一白跳出来 */
.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail__thumb img.is-media-fallback { object-fit: contain; }
.product-detail__thumb img.is-media-failed { display: none; }
.product-detail__thumb svg { width: 40px; height: 40px; opacity: .55; }
.product-detail h3 { font-size: 18px; margin-bottom: 4px; }
.product-detail__desc { margin-top: 14px; font-size: 14.2px; color: var(--muted); flex: 1; }
.product-detail__spec {
  margin-top: 12px; padding: 10px 12px 10px 13px; border-radius: 8px;
  background: #f6f7f9; border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  font-size: 12.6px; line-height: 1.7; color: var(--ink-2);
  letter-spacing: 0.01em; text-wrap: pretty; font-variant-numeric: tabular-nums;
}
.spec { margin-top: 18px; border-top: 1px solid var(--line); }
.spec li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.spec li:last-child { border-bottom: 0; }
.spec span { color: var(--muted); flex-shrink: 0; }
.spec b { color: var(--ink-2); font-weight: 600; text-align: right; }
.product-detail .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- 7. 案例页 ---------- */
.case-row {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.case-row + .case-row { margin-top: 24px; }
.case-row__media {
  min-height: 260px; background: linear-gradient(150deg, #241a24, #4a2230);
  display: grid; place-items: center; position: relative;
}
.case-row__media svg { width: 60%; color: rgba(255, 255, 255, 0.25); }
.case-row__body { padding: 36px 40px; }
.case-row__body h3 { font-size: 20px; margin: 12px 0 10px; }
.case-row__body p { font-size: 14.5px; color: var(--muted); }
.case-row__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-row__facts dt { font-size: 12.5px; color: var(--muted); }
.case-row__facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }

.notice {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--accent-050); border: 1px solid #f0dcc0; font-size: 14px; color: var(--accent-600);
  line-height: 1.75;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--accent-600); }

/* ---------- 8. 联系页 ---------- */
.contact-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: start; }

.contact-list li {
  display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px;
  background: var(--brand-050); color: var(--brand); display: grid; place-items: center;
}
.contact-list__icon svg { width: 19px; height: 19px; }
.contact-list dt { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.contact-list dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink); overflow-wrap: break-word; hyphens: auto; }
.contact-list dd small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* 联系人卡片 */
.contact-person {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0 4px; padding: 16px 18px;
  background: var(--brand-050); border: 1px solid rgba(22, 24, 35, 0.12); border-radius: 10px;
}
.contact-person__avatar {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
}
.contact-person__avatar svg { width: 23px; height: 23px; }
.contact-person__name { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.contact-person__role { margin-top: 2px; font-size: 12.8px; color: var(--muted); line-height: 1.5; }

/* 快捷联系按钮 */
.contact-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-quick .btn { flex: 1 1 auto; min-width: 120px; }
@media (max-width: 620px) {
  .contact-quick { flex-direction: column; }
  .contact-quick .btn { width: 100%; }
}

/* 地图卡片：能连上就在此嵌入真实地图，连不上退化为同风格的位置卡片 */
.map-card {
  margin-top: 28px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #eef2f7; box-shadow: var(--shadow);
}
.map-card__body { position: relative; aspect-ratio: 16 / 10; }
.map-card__frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: none; background: #eef2f7;
}
.map-card--ready .map-card__frame { display: block; }
.map-card__fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  gap: 14px; padding: 24px; text-align: center;
  background:
    linear-gradient(rgba(22, 46, 77, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(22, 46, 77, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(160deg, #f4f7fb 0%, #e6edf6 100%);
}
.map-card--ready .map-card__fallback { display: none; }
.map-card__pin {
  width: 38px; height: 38px; color: var(--brand);
  filter: drop-shadow(0 6px 14px rgba(205, 45, 34, 0.24));
}
.map-card__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.map-card__link {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 8px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.map-card__link:hover { border-color: var(--brand); color: var(--brand); }
.map-card__foot {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 14px; background: #fff; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.65; color: var(--muted);
}
.map-card__foot svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--brand); }
@media (max-width: 620px) {
  .map-card__body { aspect-ratio: 4 / 3; }
  .map-card__links { width: 100%; max-width: 242px; flex-direction: column; }
  .map-card__link { justify-content: center; width: 100%; }
  .map-card__foot { font-size: 12px; padding: 11px 12px; }
}

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.form-card h2 { font-size: 22px; }
.form-card > p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; color: var(--ink); transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(205, 45, 34, 0.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(142, 22, 34, 0.12); }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field__error { font-size: 12.5px; color: var(--danger); display: none; }
.field.has-error .field__error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.form-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin-top: 16px; padding: 13px 15px; border-radius: var(--radius-sm);
  font-size: 14px; display: none; line-height: 1.7;
}
.form-status.is-visible { display: block; }
.form-status--error { background: #fdf2f1; border: 1px solid #f6d3cf; color: var(--danger); }
.form-status--ok { background: #edf5ef; border: 1px solid #c7e2d1; color: var(--ok); }
.form-status--pending { background: #fdf7ea; border: 1px solid #eddfbe; color: #8a6116; }

.form-success { display: none; text-align: center; padding: 34px 10px; }
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%;
  background: #edf5ef; color: var(--ok); display: grid; place-items: center;
}
.form-success__icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 19px; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--muted); }
.form-success__note {
  margin: 16px auto 0; max-width: 420px; padding: 10px 14px; border-radius: 10px;
  background: #edf5ef; font-size: 13.5px !important; line-height: 1.7; color: var(--ink) !important;
}
.form-success__note[hidden] { display: none; }
.form-success__note strong { color: var(--brand-700); font-weight: 700; word-break: break-all; }
.form-success__note--warn { background: #fff7ea; color: #8a5a12 !important; }
.form-success__note--warn a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }
.form-success .btn { margin-top: 24px; }

/* ---------- 9. 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.site-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255, 255, 255, 0.45); }
.site-footer__about { margin-top: 18px; font-size: 13.5px; line-height: 1.9; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 18px; font-weight: 600; }
.site-footer__links li { margin-bottom: 11px; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.7; }
.site-footer__contact a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 5px; opacity: 0.6; }
/* 页脚语种切换：一行纯文字链，当前语种加粗不可点。
   不做下拉——移动端下拉会掉点击，12 个语种在列表里反而更难挑。 */
.lang-switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 4px 0 18px; font-size: 12.5px; line-height: 1.4;
}
.lang-switch > svg { width: 15px; height: 15px; flex: 0 0 auto; color: rgba(255, 255, 255, 0.4); }
.lang-switch a,
.lang-switch__cur { white-space: nowrap; text-decoration: none; padding: 3px 0; }
.lang-switch a { color: rgba(255, 255, 255, 0.55); }
.lang-switch a:hover,
.lang-switch a:focus-visible { color: #fff; text-decoration: underline; }
.lang-switch__cur { color: #fff; font-weight: 700; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.42);
}

/* 回到顶部 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.22s ease; z-index: 50;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* 进场动画：默认完全可见，只有脚本就绪后才启用动画（避免脚本/观察器失效导致内容不可见） */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-ready .reveal { opacity: 0; transform: translateY(18px); }
.anim-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-ready .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 72px; }
  .hero__visual { max-width: 520px; }
  .visual-chip--1 { left: 8px; }
  .visual-chip--2 { right: 8px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trustbar__item:nth-child(1), .trustbar__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .case-row { grid-template-columns: 1fr; }
  .case-row__media { min-height: 200px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
}

/* 多语言导航文案更长，折叠到汉堡菜单的时机提前到 980px */
@media (max-width: 980px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: grid; }
  .header__actions .btn--primary { display: none; }
  .site-header__inner { height: 64px; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__list li:nth-child(2) { display: none; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; }
  /* 顶部信息条改为单行居中，避免折行 */
  .topbar__inner { justify-content: center; }
  .topbar__list:last-child { display: none; }
  .topbar__list li { white-space: nowrap; }
  .hero h1 { font-size: clamp(25px, 7.4vw, 30px); }
  .grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .hero__inner { padding-top: 48px; padding-bottom: 56px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 10px 20px; }
  .trustbar__inner { grid-template-columns: 1fr; }
  .trustbar__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .trustbar__item:last-child { border-bottom: 0; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .case-row__body { padding: 26px 22px; }
  .case-row__facts { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 32px 24px; }
  .site-footer__main { grid-template-columns: 1fr; padding: 48px 0 32px; }
  .visual-chip { display: none; }
  .section-head { margin-bottom: 34px; }
  .product-detail { padding: 22px; }
}

/* ---------- 10. 关键数据条（新增） ---------- */
.stats { border-bottom: 1px solid var(--line); background: #fff; }
.stats__inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line); }
.stat:nth-child(6n + 1) { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; font-size: 27px; line-height: 1.2; letter-spacing: -0.02em;
  font-weight: 700; color: var(--navy-800);
}
.stat strong em { font-style: normal; color: var(--accent-600); }
.stat span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* 关于我们 */
.about-text { max-width: 900px; }
.about-text p { font-size: 16px; color: var(--ink-2); line-height: 1.92; }
.about-text p + p { margin-top: 18px; }
.industry-chips {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
}
.industry-chips__label { font-size: 13px; font-weight: 650; color: var(--muted); letter-spacing: 0.04em; }
.industry-chips__list { font-size: 15px; font-weight: 600; color: var(--brand); line-height: 1.8; }

/* 应用行业（双栏大卡） */
.scene--lg { padding: 28px; align-items: flex-start; }
.scene--lg h3 { font-size: 18px; margin-bottom: 8px; }
.scene--lg p { font-size: 14.6px; line-height: 1.85; }

/* 产品英文名 */
.product-detail__en { margin-top: 3px; font-size: 12.5px; letter-spacing: 0.03em; color: var(--muted); }

/* 数据表 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.mat-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mat-table th, .mat-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mat-table thead th { background: var(--bg); font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.mat-table tbody tr:last-child td { border-bottom: 0; }
.mat-table td:first-child { color: var(--ink); font-weight: 600; }
.mat-table tbody tr:hover { background: #fafcfe; }
.app-table td:last-child { color: var(--muted); line-height: 1.95; }
.app-table td:first-child { white-space: nowrap; }

@media (max-width: 860px) {
  .stats__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 22px 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .mat-table thead { display: none; }
  .mat-table tbody tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mat-table tbody tr:last-child { border-bottom: 0; }
  .mat-table td { display: block; border: 0; padding: 3px 16px; }
  .mat-table td:first-child { white-space: normal; color: var(--brand); padding-top: 0; }
  .mat-table td + td { color: var(--muted); }
  .app-table td:first-child { white-space: normal; }
}

@media (max-width: 620px) {
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 16px; }
  .stat:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 16px; }
  .stat:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat strong { font-size: 23px; }
  .about-text p { font-size: 15.4px; }
  .industry-chips__list { font-size: 14px; }
}

/* ---------- 12. 产品资料页（gallery.html） ---------- */
.pcard__src { font-size: 12.8px; color: var(--brand-700); text-decoration: none; }
.pcard__src:hover { text-decoration: underline; }

/* 产品：一行一条，左图右文 */
.plist { display: grid; gap: 20px; }
.pcard {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px;
  padding: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.pcard__img {
  position: relative; align-self: start; padding-top: 75%; overflow: hidden;
  border-radius: 8px; background: var(--brand-050);
}
.pcard__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.pcard__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pcard__head h3 { font-size: 18px; line-height: 1.4; }
.pcard__head h3 span { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.pcard__params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pcard__params > div { padding: 10px 12px; background: var(--brand-050); border-radius: 8px; }
.pcard__params dt { font-size: 12px; color: var(--muted); }
.pcard__params dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pcard__desc { position: relative; max-height: 170px; overflow: hidden; font-size: 14.2px; line-height: 1.78; color: var(--muted); }
.pcard__desc p + p { margin-top: 8px; }
.pcard__desc.is-open { max-height: none; }
.pcard__desc.is-clipped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none;
}
.pcard__more {
  align-self: flex-start; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--brand-700);
}
.pcard__more:hover { text-decoration: underline; }
.is-missing { color: var(--accent-600); }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pager button {
  min-width: 40px; height: 38px; padding: 0 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-family: inherit; font-size: 14px; color: var(--ink); transition: .18s;
}
.pager button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-700); }
.pager button[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager button:disabled { opacity: .42; cursor: not-allowed; }
.pager__info { margin: 0 8px; font-size: 13px; color: var(--muted); }

.plist > [hidden] { display: none !important; }

/* 页尾说明 */
.note-box { padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.note-box__title { font-size: 17px; margin-bottom: 12px; }
.note-box__list { margin: 0; padding-left: 18px; }
.note-box__list li { font-size: 14px; line-height: 1.8; color: var(--muted); }
.note-box__list li + li { margin-top: 6px; }

@media (max-width: 1024px) {
  .pcard { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .pcard { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .pcard__img { padding-top: 62%; }
  .pcard__params { grid-template-columns: 1fr 1fr; }
  .pcard__head h3 span { display: block; margin: 4px 0 0; }
  .pager button { min-width: 36px; height: 36px; padding: 0 10px; }
}

/* 区块底部的跳转链接 */
.section-foot-link { margin-top: 30px; font-size: 14.5px; }
.section-foot-link a { color: var(--brand-700); font-weight: 600; text-decoration: none; }
.section-foot-link a:hover { text-decoration: underline; }

/* ============================================================
   14. 移动端优化
   只覆盖手机/触屏场景，桌面端样式一律不动。
   分四块：触屏基础 / 首屏 / 内容区 / 触控目标与安全区
   ============================================================ */

/* ---------- 14.1 触屏基础 ---------- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a, button, .btn, .chip, .pager button, .lang__item {
  -webkit-tap-highlight-color: rgba(205, 45, 34, 0.1);
}
.btn, .chip, .pager button, .nav-toggle, .lang__btn, .lang-mobile__grid button,
.map-card__link, .to-top, .pcard__more {
  touch-action: manipulation;   /* 去掉双击缩放带来的 300ms 点击延迟 */
}
/* 触摸设备没有 hover，按下即反馈 */
@media (hover: none) {
  .btn:active, .chip:active, .pager button:active:not(:disabled) { transform: scale(0.985); }
  .nav a:active, .mobile-nav a:active, .site-footer a:active { color: var(--brand); }
}

/* 页面里可横向滚动的区域（数据表）在触屏上顺滑滚动并带惯性 */
.table-wrap { -webkit-overflow-scrolling: touch; }

/* ---------- 14.2 首屏 ---------- */
@media (max-width: 620px) {
  .hero__inner { padding-top: 38px; padding-bottom: 42px; gap: 32px; }
  .hero__eyebrow { font-size: 11.5px; letter-spacing: 0.14em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(26px, 7.6vw, 31px); line-height: 1.24; text-wrap: balance; }
  .hero__lead { margin-top: 15px; font-size: 15.5px; line-height: 1.72; }
  .hero__actions { margin-top: 24px; gap: 10px; }
  .hero__actions .btn { min-height: 50px; }
  /* 三行标签改成两列，省掉一整行高度 */
  .hero__meta {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px 14px; margin-top: 24px; padding-top: 18px;
    align-items: start;
  }
  /* 折行时对勾与首行对齐，不再垂直居中造成参差 */
  .hero__meta li { font-size: 12.6px; gap: 6px; align-items: flex-start; line-height: 1.5; }
  .hero__meta svg { width: 14px; height: 14px; margin-top: 3px; }
  /* 首屏配图改成 16:10，比原来的 4:3.4 矮一截 */
  .visual-frame { aspect-ratio: 16 / 10; }
}

/* ---------- 14.3 内容区 ---------- */
@media (max-width: 620px) {
  /* 数据条：数字与说明各降一档，格子更紧凑 */
  .stat { padding: 17px 14px; }
  .stat strong { font-size: 21px; }
  .stat span { font-size: 12.2px; margin-top: 3px; }

  /* 关于我们：行距从 1.92 收到 1.78，段间距 18 → 14 */
  .about-text p { font-size: 15.2px; line-height: 1.78; }
  .about-text p + p { margin-top: 14px; }
  .industry-chips { margin-top: 24px; padding-top: 18px; gap: 8px 12px; }
  .industry-chips__label { font-size: 12.5px; }
  .industry-chips__list { font-size: 14.5px; line-height: 1.7; }

  /* 优势卡：图标与标题同行、正文通栏，单卡高度约省一半 */
  .adv {
    display: grid; grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px; row-gap: 8px; align-items: center;
    padding: 20px 20px 22px;
  }
  .adv .icon-box { width: 36px; height: 36px; margin-bottom: 0; grid-row: 1; }
  .adv .icon-box svg { width: 19px; height: 19px; }
  .adv h3 { margin: 0; font-size: 16px; grid-column: 2; grid-row: 1; line-height: 1.35; }
  .adv p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 14.2px; line-height: 1.72; }

  /* 首页产品卡：原先 16:9 太扁，收到 16:10 让产品看得清又不至于过高 */
  .product-card__media { aspect-ratio: 16 / 10; }
  .product-card__body { padding: 18px 18px 20px; }
  .product-card__body h3 { font-size: 16.5px; margin: 8px 0 6px; }
  .product-card__body p { font-size: 14.2px; line-height: 1.7; }
  .product-card__foot { margin-top: 14px; padding-top: 13px; min-height: 40px; }

  /* 产品详情卡 */
  .product-detail { padding: 18px; }
  .product-detail__top { gap: 14px; }
  .product-detail__thumb { width: 86px; height: 86px; }
  .product-detail h3 { font-size: 16.5px; }
  .product-detail__en { font-size: 12px; }
  .product-detail__desc { margin-top: 12px; font-size: 14.5px; line-height: 1.72; }
  .product-detail__spec { font-size: 13.2px; line-height: 1.72; padding: 11px 12px; }
  .product-detail .btn { align-self: stretch; width: 100%; margin-top: 16px; }
  .spec li { font-size: 13px; padding: 8px 0; }

  /* 分类筛选：标签独占一行，按钮加大到 40px 高，两列排布不零散 */
  .filter-bar { gap: 8px; padding-bottom: 22px; margin-bottom: 30px; }
  .filter-bar__label { flex: 0 0 100%; margin: 0 0 2px; font-size: 13px; }
  .chip { min-height: 40px; padding: 9px 15px; font-size: 13.5px; }

  /* 联系页 */
  .contact-list li { padding: 17px 0; gap: 13px; }
  .contact-list__icon { width: 36px; height: 36px; border-radius: 7px; }
  .contact-list__icon svg { width: 17px; height: 17px; }
  .contact-list dt { font-size: 12.5px; }
  .contact-list dd { font-size: 16px; line-height: 1.5; }
  .contact-list dd small { font-size: 12.2px; line-height: 1.65; }
  .contact-person { margin: 18px 0 4px; padding: 14px 15px; gap: 12px; }
  .contact-person__avatar { width: 40px; height: 40px; }
  .contact-person__name { font-size: 16px; }
  /* figure 自带左右 40px 边距，会把地图卡挤窄 —— 清零 */
  .map-card { margin: 22px 0 0; }
  .map-card__body { aspect-ratio: 16 / 11; }
  .map-card__link { height: 42px; font-size: 13.5px; }
  .map-card__foot { font-size: 12px; }

  /* 表单：输入框统一 16px，避免 iOS 聚焦时页面自动放大 */
  .form-card { padding: 24px 18px; }
  .form-card h2 { font-size: 20px; }
  .form-card > p { font-size: 14px; line-height: 1.68; }
  .form-grid { gap: 14px; margin-top: 20px; }
  .field label { font-size: 13px; }
  .field input, .field select, .field textarea {
    font-size: 16px; padding: 12px 13px; min-height: 48px;
  }
  .field textarea { min-height: 148px; }
  .field__hint, .field__error { font-size: 12.2px; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .form-actions .btn { width: 100%; min-height: 50px; }
  .form-note { font-size: 12.2px; }
  .form-status { font-size: 13.4px; padding: 12px 14px; }

  /* 案例页 */
  .case-row__body { padding: 22px 18px; }
  .case-row__facts { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* CTA 带 */
  .cta-band { padding: 30px 22px; gap: 22px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }

  /* 页脚：单列，链接改成 44px 高的行，好点按 */
  .site-footer__main { gap: 26px; padding: 40px 0 26px; }
  .site-footer h4 { margin-bottom: 12px; font-size: 13.5px; }
  .site-footer__links li { margin-bottom: 0; }
  .site-footer__links a { display: block; padding: 10px 0; min-height: 44px; }
  .site-footer__about { font-size: 13.2px; line-height: 1.75; margin-top: 14px; }
  .site-footer__contact li { margin-bottom: 8px; }
  .site-footer__contact a { display: inline-block; padding: 6px 0; }
  .site-footer__bottom { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); font-size: 12px; }
  .lang-switch { gap: 6px 12px; font-size: 12px; padding-bottom: 14px; }
}

/* ---------- 14.4 触控目标与安全区 ---------- */
@media (max-width: 980px) {
  /* 汉堡键从 42 提到 44（触控最小尺寸），图标同步放大 */
  .nav-toggle { width: 44px; height: 44px; }
  .nav-toggle svg { width: 22px; height: 22px; }
  .mobile-nav a { padding: 15px 4px; font-size: 16.5px; }
  .mobile-nav .btn { min-height: 50px; }
  .lang-mobile__grid button { min-height: 44px; }
}

@media (max-width: 620px) {
  /* 顶部信息条：整行可点，够高 */
  .topbar { font-size: 12.5px; }
  .topbar__inner { padding-top: 9px; padding-bottom: 9px; }
  .topbar__list li { line-height: 1.4; }
  .topbar__list a { display: inline-block; padding: 2px 0; }

  /* 回到顶部：贴边、避开圆角与 iPhone 底部横条 */
  .to-top {
    width: 42px; height: 42px;
    right: 14px; bottom: calc(16px + env(safe-area-inset-bottom));
  }

  /* 移动菜单底部留出安全区 */
  .mobile-nav { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

  /* 面包屑与页头留白 */
  .page-hero__inner { padding: 40px 0 44px; }
  .page-hero h1 { font-size: clamp(26px, 7.2vw, 32px); }
  .page-hero p { margin-top: 13px; font-size: 15px; line-height: 1.7; }
  .breadcrumb { margin-bottom: 16px; font-size: 12.5px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 46px 0; }
  .section-head { margin-bottom: 28px; }
}

/* 超窄屏（iPhone SE / 老安卓 320–360px）：再收一档 */
@media (max-width: 360px) {
  :root { --gutter: 15px; }
  .hero h1 { font-size: 24px; }
  .hero__meta { grid-template-columns: 1fr; }
  .product-detail__thumb { width: 72px; height: 72px; }
  .stat { padding: 15px 12px; }
  .stat strong { font-size: 19px; }
}

/* 首屏配图（实拍）：铺满图框，叠一层由浅到深的暗色，与深色首屏自然衔接 */
.visual-frame--shot { background: #1b1d28; }
.visual-frame__shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%; display: block;
  transform: scale(1.1);            /* 轻微放大，把画面聚到中间的板材上 */
  filter: brightness(0.93) saturate(0.9);
}
.visual-frame--shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(178deg,
    rgba(16, 18, 24, 0.06) 0%,
    rgba(16, 18, 24, 0.22) 48%,
    rgba(16, 18, 24, 0.66) 100%);
}
.visual-frame--shot .visual-frame__grid { opacity: 0.22; }

/* ---------- 14.5 资料页与零碎触控点 ---------- */
@media (max-width: 720px) {
  /* 1fr 会让窄列被长内容撑宽，改成 minmax(0,1fr) 两列等宽 */
  .pcard__params { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pcard__params > div { padding: 9px 11px; }
  .pcard__params dt { font-size: 11.5px; }
  .pcard__params dd { font-size: 13.5px; }
  .pcard__desc { max-height: 200px; font-size: 14.2px; line-height: 1.72; }
  .pcard__more { padding: 8px 0; font-size: 13.5px; min-height: 40px; }
  .pcard__src { padding: 6px 0; display: inline-block; }
  .pager button { min-width: 40px; height: 40px; }
  .note-box { padding: 20px 18px; }
  .note-box__list li { font-size: 13.6px; line-height: 1.72; }
}

@media (max-width: 620px) {
  /* 长英文/邮箱不撑破容器 */
  .contact-list dd, .site-footer__contact a, .map-card__foot span { word-break: break-word; }
  /* 面包屑与正文链接的点击热区 */
  .breadcrumb a { padding: 4px 0; }
  .section-foot-link a { display: inline-block; padding: 8px 0; }
}

/* ============================================================
   15. 新增语种（fa / he / nl-be / nl / pl）
   15.1 语种字体回退  15.2 RTL 镜像  15.3 语言菜单容量
   说明：波斯语、希伯来语为从右向左排版，由 assets/i18n.js 在
   <html> 上写入 dir="rtl"，本章据此做镜像；其余语种（含拉丁字母
   的 nl、pl）不受任何影响，桌面与手机布局与改动前一致。
   ============================================================ */

/* ---------- 15.1 语种字体回退 ---------- */
/* 只覆盖波斯语/希伯来语：拉丁语系仍走 --font 原序列。
   Tahoma 在 Windows 上同时含希伯来与阿拉伯字形，作为兜底。 */
html[lang="fa"],
html[lang="he"] {
  --font: "Vazirmatn", "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro",
    "Noto Sans Hebrew", "Arial Hebrew", "Noto Sans", Arial, sans-serif;
}
/* 波斯语/希伯来语的正文行高略放宽，字母上行下行笔画不拥挤 */
html[lang="fa"] body,
html[lang="he"] body { line-height: 1.85; }
html[lang="fa"] .hero h1,
html[lang="he"] .hero h1 { line-height: 1.35; }
/* 技术参数、型号、数字用拉丁字体显示更清晰 */
html[lang="fa"] .spec b,
html[lang="he"] .spec b,
html[lang="fa"] .pcard__params dd,
html[lang="he"] .pcard__params dd { font-variant-numeric: tabular-nums; }

/* ---------- 15.2 RTL 镜像 ---------- */
/* 下拉菜单原本贴右边缘，RTL 下改为贴左边缘，避免超出视口 */
[dir="rtl"] .lang__menu { right: auto; left: 0; }
[dir="rtl"] .lang__item { text-align: right; }

/* 表格与规格列表的文字对齐 */
[dir="rtl"] .mat-table th,
[dir="rtl"] .mat-table td { text-align: right; }
[dir="rtl"] .spec b { text-align: left; }

/* 以左边框作分隔线的网格：改为右边框 */
[dir="rtl"] .trustbar__item {
  border-left: 0; border-right: 1px solid var(--line);
}
[dir="rtl"] .trustbar__item:first-child {
  border-right: 0; padding-right: 0;
}
[dir="rtl"] .stat { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stat:nth-child(6n + 1) {
  border-right: 0; padding-right: 0;
}
[dir="rtl"] .note-box {
  border-left-width: 1px;
  border-right: 3px solid var(--accent);
}
[dir="rtl"] .note-box__list { padding-left: 0; padding-right: 18px; }
/* 产品卡里的参数条：竖条换到右侧 */
[dir="rtl"] .product-detail__spec {
  border-left: 1px solid var(--line);
  border-right: 3px solid var(--brand);
  padding: 10px 13px 10px 12px;
}

/* 细小间距与角标 */
[dir="rtl"] .filter-bar__label { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .field label .req { margin-left: 0; margin-right: 2px; }
[dir="rtl"] .pcard__head h3 span { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .case-card__media .tag--warn { left: auto; right: 14px; }

/* 联系页蜜罐字段用 left:-9999px 移出屏幕。在 RTL 下这段负偏移会被算作
   横向溢出，把整页宽度撑到一万多像素；改为向上移出，不产生横向滚动。 */
[dir="rtl"] .hp { left: auto; top: -9999px; }

/* 悬浮元素换边 */
[dir="rtl"] .to-top { right: auto; left: 22px; }
@media (max-width: 980px) {
  [dir="rtl"] .to-top { left: 14px; right: auto; }
}
[dir="rtl"] .visual-chip--1 { left: auto; right: -18px; }
[dir="rtl"] .visual-chip--2 { right: auto; left: -12px; }
@media (max-width: 980px) {
  [dir="rtl"] .visual-chip--1 { right: 8px; left: auto; }
  [dir="rtl"] .visual-chip--2 { left: 8px; right: auto; }
}

/* 指向性图标（箭头）水平翻转；电话/邮件等对称图标不处理 */
[dir="rtl"] svg:has(> use[href="#i-arrow"]) { transform: scaleX(-1); }
[dir="rtl"] .product-card__foot svg { transform: scaleX(-1); }
[dir="rtl"] .product-card:hover .product-card__foot svg {
  transform: translateX(-4px) scaleX(-1);
}

/* ---------- 15.3 语言菜单容量（12 种语言） ---------- */
/* 桌面下拉最多 12 项：收紧行高让 12 项一屏放完，超短屏才滚动 */
.lang__menu {
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.lang__item { flex: 0 0 auto; padding: 7px 10px; line-height: 1.4; }
/* 「Nederlands (BE)」比其它名称长，菜单略加宽并禁止折行 */
.lang__menu { min-width: 234px; }
.lang__name { white-space: nowrap; }
/* 手机端语言网格：12 项 × 3 列 = 4 行，名称较长时允许换行 */
.lang-mobile__grid { grid-auto-rows: minmax(44px, auto); }
.lang-mobile__name { line-height: 1.25; text-align: center; }

/* ---------- 16. 询盘转化组件 ---------- */
/* WhatsApp 悬浮入口：海外买家（中东、南美、东南亚）主要用 WhatsApp 谈生意，
   放一个常驻入口，比让他们填表再等邮件回复快得多。
   配色走站点深色而非 WhatsApp 亮绿，避免在工业风版面上过于跳；
   图标用品牌绿，识别度仍在。 */
.wa-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: #161824;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(16, 18, 30, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wa-btn:hover { transform: translateY(-2px); background: #22263a; box-shadow: 0 14px 32px rgba(16, 18, 30, 0.34); }
.wa-btn svg { width: 21px; height: 21px; color: #25d366; flex: 0 0 auto; }
.wa-btn__label { line-height: 1; }

/* 从右向左语种：镜像到右下，返回顶部按钮仍在右下角一侧会重叠，故一并让位 */
[dir="rtl"] .wa-btn { left: auto; right: 22px; }
[dir="rtl"] .to-top { right: auto; left: 22px; }

@media (max-width: 700px) {
  /* 手机上只留图标，避免遮挡正文；点击热区仍保持 46px */
  .wa-btn {
    left: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }
  .wa-btn svg { width: 23px; height: 23px; }
  .wa-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  [dir="rtl"] .wa-btn { left: auto; right: 14px; }
}

/* 规格书下载条：给采购/工程一个可以整份转发的文件，比截图或复制网页靠谱 */
.spec-dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.spec-dl__text strong { display: block; font-size: 16px; color: var(--ink); }
.spec-dl__text span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.spec-dl__btn { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 700px) {
  .spec-dl { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 16px 18px; }
  .spec-dl__btn { width: 100%; text-align: center; }
}
