/* ============================================================
   湖南海思特 · 官网样式表
   结构：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: 188px; 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__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 {
  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; border-radius: 8px;
  background: var(--brand-050); border: 1px solid rgba(22, 24, 35, 0.10);
  font-size: 12.6px; line-height: 1.7; color: var(--brand); letter-spacing: 0.01em; text-wrap: pretty;
}
.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-placeholder {
  margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--radius);
  border: 1px dashed var(--line-2); background: #f7f9fc;
  display: grid; place-items: center; text-align: center; gap: 8px; padding: 20px;
  color: var(--muted); font-size: 13px;
}
.map-placeholder svg { width: 30px; height: 30px; color: var(--line-2); }

.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-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; }
.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; }
