/* ============================================================
   山东盛乾包装科技有限公司 品牌官网
   设计规范实现：深蓝主色 + 橙色行动点 + 工业稳重调性
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --primary: #0F52A5;
  --primary-dark: #0A3C7A;
  --primary-soft: #E8F0FA;
  --accent: #F5820D;
  --accent-dark: #D96F06;
  --ink: #1F2A37;
  --muted: #5B6B7C;
  --surface: #F5F7FA;
  --card: #FFFFFF;
  --dark: #1F2A37;
  --dark-soft: #2C3B4D;
  --on-dark: #F5F7FA;
  --on-dark-muted: #A9B6C4;
  --line: #DDE4EC;
  --success: #1E9E6A;
  --error: #D93A3A;

  --font-cn: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;

  --shadow-card: 0 1px 2px rgba(15, 82, 165, .06);
  --shadow-hover: 0 12px 28px rgba(31, 42, 55, .14);

  --radius-card: 10px;
  --radius-btn: 6px;
  --radius-pill: 999px;
  --radius-input: 6px;

  --container: 1200px;
  --gutter: 24px;
  --section-pad: 96px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 240ms;
  --t-in: 500ms;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
body.lang-en { font-family: var(--font-en), var(--font-cn); }
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en .stat-num { font-weight: 700; letter-spacing: .01em; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; }
h1 { font-size: 56px; line-height: 1.2; font-weight: 700; }
h2 { font-size: 36px; line-height: 1.3; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.4; font-weight: 600; }

/* ---------- 布局工具 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }
.section-surface { background: var(--surface); }
.section-card { background: var(--card); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-title-bar {
  display: inline-block; width: 44px; height: 4px; border-radius: 2px;
  background: var(--accent); margin-bottom: 16px;
}
.section-title-bar.center { margin-left: auto; margin-right: auto; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 640px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; line-height: 1.2; border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 8px 20px rgba(245, 130, 13, .32); }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 8px 20px rgba(15, 82, 165, .3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: var(--on-dark); border-color: rgba(245, 247, 250, .7); }
.btn-outline-white:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- 徽章 / 标签 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  background: var(--primary-soft); color: var(--primary);
}
.badge-accent { background: rgba(245, 130, 13, .12); color: var(--accent-dark); }
.badge-line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- 图标 ---------- */
.icon-stroke {
  width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.icon-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--card); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-fast) var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(31, 42, 55, .08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; font-size: 15px; color: var(--ink); border-radius: var(--radius-btn);
  position: relative; font-weight: 500;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-pill); overflow: hidden; background: var(--card);
}
.lang-switch button {
  border: 0; background: transparent; padding: 6px 14px; font-size: 13px; color: var(--muted);
  transition: all var(--t-fast) var(--ease); line-height: 1.2;
}
.lang-switch button.active { background: var(--primary); color: #fff; font-weight: 600; }

/* 移动端抽屉 */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--card); border-radius: var(--radius-btn);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-mask {
  position: fixed; inset: 0; background: rgba(31, 42, 55, .5);
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 300ms;
  z-index: 110;
}
.drawer-mask.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
  background: var(--card); z-index: 120; padding: 24px;
  transform: translateX(100%); transition: transform 300ms var(--ease);
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.drawer.show { transform: translateX(0); }
.drawer a {
  padding: 14px 16px; border-radius: var(--radius-btn); color: var(--ink);
  font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--surface);
}
.drawer a.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.drawer .btn { margin-top: 16px; }
.drawer .lang-switch { align-self: flex-start; margin-top: 12px; }

/* ============================================================
   Hero（全屏品牌视觉）
   ============================================================ */
.hero {
  position: relative; height: calc(100vh - 72px); height: calc(100svh - 72px); min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-bg, url('../images/hero-yard.jpg?v=20261020'));
  background-size: cover; background-position: center;
  animation: kenburns 18s linear infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 60, 122, .72) 0%, rgba(10, 60, 122, .55) 45%, rgba(10, 60, 122, .88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 40px 0; animation: heroIn 800ms var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .04em; font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.hero h1 { color: var(--on-dark); margin-bottom: 20px; }
.hero p.lead { color: rgba(245, 247, 250, .85); font-size: 18px; line-height: 1.8; max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(245, 247, 250, .7); font-size: 13px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: floatY 2s var(--ease) infinite;
}
.hero-scroll .chevron { width: 20px; height: 20px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
@keyframes floatY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================================================
   信任背书摘要条
   ============================================================ */
.stats-strip {
  margin-top: -44px; position: relative; z-index: 5;
  background: var(--card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.stat-item { padding: 28px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; }
.stat-num { font-size: 44px; line-height: 1.1; font-weight: 700; color: var(--primary); font-family: var(--font-en); }
.cd-col { display: inline-flex; flex-direction: column; height: 1em; line-height: 1; overflow: hidden; vertical-align: -0.06em; will-change: transform; }
.cd-cell { display: block; height: 1em; line-height: 1; text-align: center; }
.stat-unit { font-size: 16px; font-weight: 600; color: var(--primary); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--muted); }
.stat-icon { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }

/* ============================================================
   通用卡片
   ============================================================ */
.card {
  background: var(--card); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* 产品/案例卡片网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.media-card { overflow: hidden; background: var(--card); }
.media-card .media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; position: relative; }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-fast) var(--ease); }
.media-card:hover .media img { transform: scale(1.04); }
.media-card .body { padding: 28px; }
.media-card .body h3 { margin-bottom: 8px; }
.media-card .body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.media-card .link-more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.media-card .link-more svg { transition: transform var(--t-fast) var(--ease); }
.media-card .link-more:hover svg { transform: translateX(4px); }
.media-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* 行业标签墙 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud .badge { padding: 8px 20px; font-size: 14px; }

/* ============================================================
   案例
   ============================================================ */
.case-grid .media-card .media { aspect-ratio: 16 / 10; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar button {
  padding: 8px 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  transition: all var(--t-fast) var(--ease);
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.case-item { animation: fadeIn 240ms var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   信任墙 / 证照
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-grid.cert-3 { grid-template-columns: repeat(3, 1fr); }
.cert-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 12px; cursor: zoom-in;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.cert-card .cert-cap { padding: 10px 4px 4px; font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 27, 36, .82);
  display: flex; align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease), visibility 240ms;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.lightbox .lb-close {
  position: absolute; top: 24px; right: 28px; color: #fff; font-size: 34px; line-height: 1;
  background: none; border: 0; opacity: .8;
}
.lightbox .lb-close:hover { opacity: 1; }

/* ============================================================
   公司简介摘要
   ============================================================ */
.split-66 { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
.split-66 .text-col p { color: var(--muted); margin-bottom: 16px; }
.about-media { position: relative; }
.about-media .img-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); }
.about-media .img-corner {
  position: absolute; right: -18px; bottom: -24px; width: 46%;
  border-radius: var(--radius-card); border: 4px solid var(--card);
  box-shadow: var(--shadow-hover); cursor: zoom-in;
}
.key-data-row { display: flex; gap: 40px; margin-top: 28px; }
.key-data .num { font-size: 28px; font-weight: 700; color: var(--primary); font-family: var(--font-en); }
.key-data .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   联系转化区（深色）
   ============================================================ */
.cta-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.cta-panel h2 { color: var(--on-dark); margin-bottom: 16px; }
.cta-panel .cta-desc { color: var(--on-dark-muted); margin-bottom: 24px; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }
.cta-phone .icon-circle { background: rgba(245, 130, 13, .15); color: var(--accent); }
.cta-phone .phone-num { font-size: 22px; font-weight: 700; color: var(--on-dark); font-family: var(--font-en); }
.cta-phone .phone-lbl { font-size: 13px; color: var(--on-dark-muted); }

/* ============================================================
   表单
   ============================================================ */
.form-card { background: var(--dark-soft); border-radius: var(--radius-card); padding: 32px; }
.form-card.on-light { background: var(--card); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
/* 深色卡片表单（暗底卡片）：浅色文字；on-light 白色卡片表单单独高对比，见下 */
.form-card:not(.on-light) label { color: var(--on-dark-muted); }
.form-control {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-input);
  background: #fff; color: var(--ink); outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea.form-control { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(15, 82, 165, .18); }
/* 深色卡片表单（暗底卡片） */
.form-card:not(.on-light) .form-control { background: rgba(245, 247, 250, .06); border-color: rgba(245, 247, 250, .22); color: var(--on-dark); }
.form-card:not(.on-light) .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(245, 130, 13, .22); }
.form-card:not(.on-light) .form-control::placeholder { color: rgba(169, 182, 196, .7); }
/* 白色卡片表单（on-light）：深色文字 + 白底，保证对比度 */
.form-card.on-light label { color: var(--muted); }
.form-card.on-light .form-control { background: #fff; color: var(--ink); border-color: var(--line); }
.form-card.on-light .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(15, 82, 165, .18); }
.form-card.on-light .form-control::placeholder { color: #8A98A8; }
.form-control.is-error { border-color: var(--error); }
.form-msg { font-size: 13px; margin-top: 6px; min-height: 18px; color: var(--error); }
.form-card:not(.on-light) .form-msg { color: #ffb4b4; }
.form-success {
  padding: 12px 16px; border-radius: var(--radius-input); font-size: 14px; font-weight: 500;
  background: rgba(30, 158, 106, .12); color: var(--success); display: none; margin-top: 4px;
}
.form-card:not(.on-light) .form-success { background: rgba(30, 158, 106, .16); color: #7BE0B4; }
.form-success.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-grid .brand img { height: 40px; }
.footer-grid .brand-name { color: var(--on-dark); }
.footer-grid .brand-name small { color: var(--on-dark-muted); }
.footer-col h4 { color: var(--on-dark); font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 10px; line-height: 1.7; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--dark-soft); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--on-dark-muted);
}

/* ============================================================
   内页页头 Banner
   ============================================================ */
.page-banner {
  background: var(--dark); padding: 72px 0 64px; position: relative;
  color: var(--on-dark); overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
}
.page-banner h1 { color: var(--on-dark); margin-bottom: 12px; }
.page-banner p { color: var(--on-dark-muted); max-width: 640px; font-size: 16px; }

/* ============================================================
   产品页
   ============================================================ */
.cat-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-nav a {
  padding: 10px 22px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--card); color: var(--muted); font-size: 14px; font-weight: 500;
}
.cat-nav a:hover, .cat-nav a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.detail-block { margin-bottom: 80px; scroll-margin-top: 96px; }
.detail-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.detail-head h2 { margin-bottom: 0; }
.detail-head .en-tag { color: var(--muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.spec-table thead th {
  background: var(--primary); color: var(--on-dark); font-weight: 600;
  text-align: left; padding: 0 20px; height: 52px; font-size: 15px;
}
.spec-table tbody td { padding: 0 20px; height: 52px; border-top: 1px solid var(--line); font-size: 15px; }
.spec-table tbody tr:nth-child(even) { background: var(--primary-soft); }
.spec-table .num { text-align: right; font-weight: 700; font-family: var(--font-en); }
.spec-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.industry-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.industry-app { display: flex; gap: 14px; align-items: flex-start; }
.industry-app .icon-circle { width: 40px; height: 40px; }
.industry-app h4 { font-size: 16px; margin-bottom: 4px; }
.industry-app p { font-size: 14px; color: var(--muted); }

/* 定制流程步骤条 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 0; }
.step::before {
  content: ""; position: absolute; top: 26px; left: 44px; right: -40px; height: 2px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step-node {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary);
  color: #fff; font-size: 20px; font-weight: 700; font-family: var(--font-en);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--surface);
}
.step.accent .step-node { background: var(--accent); }
.step h3 { margin: 18px 0 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; }

/* 下载中心 */
.doc-list { display: flex; flex-direction: column; gap: 16px; }
.doc-item {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card);
  transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.doc-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.doc-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.doc-info { flex: 1; min-width: 0; }
.doc-info .doc-name { font-weight: 600; font-size: 16px; }
.doc-info .doc-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 10px 22px; border: 1px solid var(--accent); color: var(--accent);
  border-radius: var(--radius-btn); font-size: 14px; font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.btn-download:hover { background: var(--accent); color: #fff; }

/* 底部询盘 CTA 通栏 */
.cta-bar { background: var(--primary); padding: 56px 0; }
.cta-bar h2 { color: var(--on-dark); margin-bottom: 8px; }
.cta-bar p { color: rgba(245, 247, 250, .85); margin-bottom: 24px; }

/* ============================================================
   关于页
   ============================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line);
}
.tl-item { position: relative; margin-bottom: 40px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--primary); border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--primary-soft);
}
.tl-year { font-size: 24px; font-weight: 700; color: var(--primary); font-family: var(--font-en); }
.tl-card { background: var(--card); border-radius: var(--radius-card); padding: 24px 28px; box-shadow: var(--shadow-card); margin-top: 10px; }
.tl-card h3 { margin-bottom: 6px; }
.tl-card p { color: var(--muted); font-size: 15px; }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card { text-align: center; padding: 36px 28px; }
.mission-card .icon-circle { margin: 0 auto 18px; width: 56px; height: 56px; }
.mission-card h3 { margin-bottom: 8px; }
.mission-card p { color: var(--muted); font-size: 15px; }

/* ============================================================
   联系页
   ============================================================ */
.contact-layout { display: block; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.contact-card .icon-circle { width: 46px; height: 46px; }
.contact-card h4 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.contact-card .val { font-size: 15px; color: var(--ink); line-height: 1.6; }
.contact-card .val.phone { font-size: 22px; font-weight: 700; color: var(--primary); font-family: var(--font-en); }
.contact-card img.contact-qr { width: 84px; height: 84px; margin-top: 10px; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; }
@media (max-width: 1100px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

/* 询盘表单：位于电话/邮箱/地址下方，限宽居中 */
.contact-form-wrap { max-width: 960px; margin: 0 auto; }

/* ============================================================
   动效
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-in) var(--ease), transform var(--t-in) var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 80ms; }
.d2 { transition-delay: 160ms; }
.d3 { transition-delay: 240ms; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-pad: 72px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-66 { gap: 40px; }
  .cta-panel { gap: 40px; }
}

@media (max-width: 767px) {
  :root { --section-pad: 56px; --gutter: 16px; }
  body { font-size: 15px; line-height: 1.75; }
  h1 { font-size: 34px; line-height: 1.25; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }

  .main-nav, .header-actions .btn, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 10px; }

  .hero { height: calc(100vh - 72px); height: calc(100svh - 72px); }
  .hero p.lead { font-size: 16px; }
  .hero .eyebrow { font-size: 18px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .stat-item { border-left: 0; border-top: 1px solid var(--line); padding: 20px 12px; }
  .stat-item:nth-child(-n+2) { border-top: 0; }
  .stat-num { font-size: 32px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .media-card .body { padding: 20px; }
  .split-66 { grid-template-columns: 1fr; }
  .about-media .img-corner { right: 0; bottom: -14px; }
  .cta-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cert-grid.cert-3 { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 48px 0 44px; }

  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .step { display: flex; gap: 18px; align-items: flex-start; }
  .step-node { width: 44px; height: 44px; font-size: 17px; }
  .step h3 { margin: 6px 0 2px; }
  .industry-apps { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .timeline { padding-left: 24px; }
  .tl-item::before { left: -21px; }
  .mission-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .reveal { transform: translateY(12px); }
  .footer-bottom { flex-direction: column; }
}

@media (min-width: 1280px) {
  .hero-content { max-width: 780px; }
}

/* 无障碍：减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   二期新增组件：悬浮客服 / 回到顶部 / 工厂实景 / 产品目录与详情模态 / 证书占位 / 附件上传
   ============================================================ */

/* ---------- 悬浮客服球 ---------- */
.fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 960; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-main {
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(245, 130, 13, .4);
  display: flex; align-items: center; justify-content: center; transition: transform var(--t-fast) var(--ease);
}
.fab-main:hover { transform: scale(1.06); }
.fab-main svg { width: 28px; height: 28px; }
.fab-panel {
  background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(31, 42, 55, .2);
  padding: 20px 22px; width: 260px; display: none; border: 1px solid var(--line);
}
.fab-panel.show { display: block; animation: fabIn .28s var(--ease); }
@keyframes fabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fab-panel .fp-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.fab-panel .qr-grid { display: flex; gap: 10px; justify-content: center; margin-bottom: 12px; }
.fab-panel .qr-item { flex: 1; text-align: center; }
.fab-panel .qr-item img.qr { width: 100%; max-width: 108px; height: auto; margin: 0 auto 4px; border-radius: 8px; border: 1px solid var(--line); }
.fab-panel .qr-item span { font-size: 11px; color: var(--muted); }
.fab-panel .fp-sub { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }
.fab-panel .fp-actions { display: grid; gap: 8px; margin-top: 14px; }
.fab-panel .fp-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.fab-panel .fp-actions svg { width: 16px; height: 16px; }
.fab-mask { position: fixed; inset: 0; background: rgba(15, 20, 28, .35); z-index: 950; display: none; }
.fab-mask.show { display: block; }
@media (max-width: 768px) {
  .fab-wrap { right: 14px; bottom: 14px; }
  .fab-main { width: 52px; height: 52px; }
  .fab-main svg { width: 24px; height: 24px; }
  .fab-panel { width: 236px; }
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 950;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(31, 42, 55, .12);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--accent); border-color: var(--accent); }
.back-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) { .back-top { right: 14px; bottom: 76px; width: 42px; height: 42px; } }

/* ---------- 工厂实景视频区 ---------- */
.video-grid { display: grid; grid-template-columns: 0.72fr 1fr; gap: 24px; align-items: start; }
.video-main { position: relative; border-radius: var(--radius-card); overflow: hidden; background: var(--dark); }
.video-main video { width: 100%; height: auto; max-height: 640px; display: block; background: #000; }
.video-main .video-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(15, 82, 165, .9); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: var(--radius-pill);
}
.video-main .video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.video-main .video-play .play-circle {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(255, 255, 255, .9); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: transform var(--t-fast) var(--ease);
}
.video-main .video-play:hover .play-circle { transform: scale(1.1); }
.video-main .video-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-side .vs-item { display: flex; gap: 16px; align-items: flex-start; }
.video-side .vs-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.video-side .vs-icon svg { width: 22px; height: 22px; }
.video-side h4 { font-size: 17px; margin-bottom: 4px; }
.video-side p { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-side { grid-template-columns: 1fr; }
}

/* ---------- 产品目录（分类 Tab + 卡片 + 详情模态） ---------- */
.catalog-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.catalog-tabs button {
  padding: 10px 22px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-size: 15px; transition: all var(--t-fast) var(--ease);
}
.catalog-tabs button:hover { border-color: var(--primary); color: var(--primary); }
.catalog-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .pc-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.product-card .pc-actions .btn { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; }
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
.product-modal {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(15, 20, 28, .55); align-items: center; justify-content: center; padding: 20px;
}
.product-modal.show { display: flex; animation: fabIn .24s var(--ease); }
.product-modal .pm-dialog {
  background: #fff; border-radius: 14px; max-width: 760px; width: 100%; max-height: 88vh; overflow: auto;
  box-shadow: 0 24px 60px rgba(15, 20, 28, .35); position: relative; padding: 34px;
}
.product-modal .pm-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--muted); font-size: 20px; line-height: 1; transition: all var(--t-fast);
}
.product-modal .pm-close:hover { background: var(--primary-soft); color: var(--primary); }
.product-modal .pm-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.product-modal .pm-head h3 { font-size: 24px; }
.product-modal .pm-head .en-tag { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.product-modal .pm-desc { color: var(--muted); font-size: 15px; max-width: 640px; margin-bottom: 22px; }
.product-modal .pm-apps { margin: 22px 0 4px; font-size: 16px; font-weight: 600; }
.product-modal .pm-apps-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-modal .pm-app { font-size: 13px; background: var(--primary-soft); color: var(--primary); padding: 6px 14px; border-radius: var(--radius-pill); }
.product-modal .pm-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.product-modal .pm-cta .btn { padding: 12px 26px; }
@media (max-width: 600px) {
  .product-modal .pm-dialog { padding: 24px 18px; }
}

/* ---------- 资质证书占位卡 ---------- */
.cert-info { display: flex; gap: 24px; margin-top: 24px; }
.cert-info .cert-card { flex: 1; }
@media (max-width: 900px) {
  .cert-info { flex-direction: column; }
}
.cert-placeholder {
  border: 1.5px dashed #B9C6D6; border-radius: var(--radius-card); background: #FAFCFE;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 30px 22px; text-align: center; min-height: 220px;
}
.cert-placeholder .cp-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.cert-placeholder .cp-icon svg { width: 22px; height: 22px; }
.cert-placeholder h3 { font-size: 16px; }
.cert-placeholder p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 表单附件上传 ---------- */
.form-file { padding: 11px 12px; }
.form-file::file-selector-button {
  margin-right: 12px; padding: 7px 16px; border-radius: var(--radius-btn); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 13px; cursor: pointer;
}
.form-file::file-selector-button:hover { border-color: var(--primary); color: var(--primary); }
.upload-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- 轻提示 Toast ---------- */
.sq-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 1100;
  background: rgba(31, 42, 55, .94); color: #fff; font-size: 14px; padding: 11px 22px;
  border-radius: var(--radius-pill); box-shadow: 0 10px 28px rgba(15, 20, 28, .25);
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  max-width: 86vw; text-align: center;
}
.sq-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-6px); }

/* 留言表单锚点滚动偏移（避免被固定导航遮挡） */
#inquiry { scroll-margin-top: 96px; }

/* 首页 hero：移动端自动切换竖版厂区图（进阶适配） */
@media (max-width: 900px) {
  .hero-bg { background-image: var(--hero-bg-v, url('../images/hero-yard-v.jpg?v=20261020')); }
}
