/* ============================================================
   漳州农智数控科技有限公司 - 全局样式
   设计系统：Industrial grey + safety orange（工业灰蓝 + 安全橙）
   主色 #64748B / 辅助 #94A3B8 / CTA #F97316 / 背景 #F8FAFC / 文字 #334155
   布局基调：1440px 宽幅通栏 + 大字号 + 大留白，营造大气工业品牌感
   ============================================================ */

:root {
  --primary: #64748B;
  --primary-600: #475569;
  --primary-700: #334155;
  --secondary: #94A3B8;
  --cta: #F97316;
  --cta-600: #EA580C;
  --cta-100: #FFEDD5;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --surface: #FFFFFF;
  --text: #334155;
  --text-strong: #0F172A;
  --text-muted: #64748B;
  --line: #E2E8F0;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, .16);
  --container: 1440px;
  --nav-h: 88px;
  --font-en: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-zh: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

button { background: none; border: none; cursor: pointer; }

::selection { background: rgba(249, 115, 22, .25); }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 4px; }

/* ---------- 布局工具类 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px) { .container { padding-inline: 40px; } }
@media (min-width: 1280px) { .container { padding-inline: 56px; } }

.section { padding-block: 104px; }
@media (min-width: 1024px) { .section { padding-block: 128px; } }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #CBD5E1; }

/* 节标题 */
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cta);
  margin-bottom: 16px;
}
.section-kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--cta); border-radius: 2px;
}
.section-head--center .section-kicker::after {
  content: ""; width: 26px; height: 2px; background: var(--cta); border-radius: 2px;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.28;
  color: var(--text-strong); letter-spacing: .01em;
}
.section-dark-title { color: #F1F5F9; }
.section-desc { margin-top: 18px; color: var(--text-muted); font-size: 16.5px; line-height: 1.85; }
.section--dark .section-desc { color: #94A3B8; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 12px;
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  transition: all .25s ease; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, .35); }
.btn--primary:hover { background: var(--cta-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(249, 115, 22, .42); }
.btn--ghost { background: transparent; color: var(--primary-700); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--primary); background: var(--surface); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .12); color: #F1F5F9; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn--lg { padding: 18px 44px; font-size: 17px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- 徽标 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  background: var(--cta-100); color: var(--cta-600);
}
.tag--blue { background: #DBEAFE; color: #1D4ED8; }
.tag--green { background: #DCFCE7; color: #15803D; }
.tag--slate { background: var(--bg-soft); color: var(--primary-600); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo {
  height: 56px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.brand-logo img { height: 100%; width: auto; }
/* 页脚 logo 与导航栏一致，透明显示；若 logo 图案为深色，在深色页脚上可能不明显，可换用浅色版 logo */
.site-footer .brand-logo { height: 62px; }
.brand-text { display: none; }

.main-nav { display: flex; align-items: center; gap: 12px; }
.main-nav a {
  position: relative; padding: 11px 18px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--primary-700);
  transition: color .2s ease, background-color .2s ease; cursor: pointer;
}
.main-nav a:hover { color: var(--cta-600); background: var(--cta-100); }
.main-nav a.is-active { color: var(--cta-600); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px;
  height: 2px; border-radius: 2px; background: var(--cta);
}
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); }
.nav-toggle svg { width: 24px; height: 24px; margin-inline: auto; color: var(--primary-700); }

/* 移动端导航 */
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 16px; font-size: 16px; }
  .main-nav a.is-active::after { display: none; }
}

/* ---------- 面包屑（内页） ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 96px) 0 96px;
  background: var(--dark); color: #E2E8F0; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 80% -20%, rgba(249, 115, 22, .22), transparent 60%),
    radial-gradient(ellipse 60% 100% at 10% 120%, rgba(100, 116, 139, .35), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: #F8FAFC; letter-spacing: .02em; }
.page-hero p { margin-top: 14px; max-width: 680px; color: #94A3B8; font-size: 17px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: #94A3B8; }
.breadcrumb a { transition: color .2s; cursor: pointer; }
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: #E2E8F0; }

/* ---------- 占位图 ---------- */
.ph {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, var(--bg-soft) 0 14px, #EDF1F6 14px 28px);
  color: var(--text-muted);
}
.ph::after {
  content: attr(data-label);
  font-size: 14px; font-weight: 600; letter-spacing: .06em;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1.5px dashed var(--secondary);
  white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis;
}
.ph--dark { background: repeating-linear-gradient(45deg, #1E293B 0 14px, #243349 14px 28px); color: #94A3B8; }
.ph--dark::after { background: rgba(15, 23, 42, .8); border-color: #475569; }
.ph img, .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img::after { display: none; }

/* ---------- 首页 Hero：全屏沉浸式大图 ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, #0B1220 0%, #16233B 55%, #1E2C47 100%);
  color: #E2E8F0; overflow: hidden;
}
/* 背景大图：铺满全屏，加载失败时自动退化为上方深蓝渐变 */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 22, .94) 0%, rgba(7, 12, 22, .78) 42%, rgba(7, 12, 22, .38) 78%, rgba(7, 12, 22, .18) 100%),
    linear-gradient(180deg, rgba(7, 12, 22, .55) 0%, rgba(7, 12, 22, 0) 28%, rgba(7, 12, 22, 0) 55%, rgba(7, 12, 22, .82) 100%);
}
/* 网格底纹 + 光斑氛围 */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 45% 60% at 82% 35%, rgba(249, 115, 22, .14), transparent 65%);
}
.hero .container { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 64px); padding-bottom: 220px; }
@media (max-width: 767px) { .hero .container { padding-bottom: 300px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 999px;
  background: rgba(249, 115, 22, .14); border: 1px solid rgba(249, 115, 22, .4);
  color: #FDBA74; font-size: 14px; font-weight: 600; letter-spacing: .06em;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); animation: pulse 2s infinite; }
.hero-title {
  margin-top: 26px;
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800; line-height: 1.18;
  color: #F8FAFC; letter-spacing: .01em;
  text-shadow: 0 4px 32px rgba(7, 12, 22, .5);
}
.hero-title .hl { color: var(--cta); position: relative; white-space: nowrap; }
.hero-sub {
  margin-top: 24px; max-width: 640px;
  font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.9; color: #B8C4D4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 52px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #CBD5E1; }
.hero-points svg { width: 19px; height: 19px; color: #4ADE80; flex: none; }

/* Hero 底部悬浮统计条（磨砂玻璃） */
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(10, 16, 30, .58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats .container { padding-top: 0; padding-bottom: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-block: 40px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); padding-block: 48px; } }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-en); font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1.15;
  color: #F8FAFC; letter-spacing: -.01em;
}
.stat-num .unit { font-size: .52em; font-weight: 700; color: var(--cta); margin-left: 2px; }
.stat-lbl { margin-top: 8px; font-size: 14px; color: #94A3B8; letter-spacing: .04em; }

/* ---------- 产品卡片 ---------- */
.card-grid { display: grid; gap: 28px; }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.product-card .ph { height: 270px; flex: none; }
.product-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card-name { font-size: 20px; font-weight: 800; color: var(--text-strong); }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card-desc { font-size: 14.5px; color: var(--text-muted); }
.product-card-more {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 700; color: var(--cta-600); transition: gap .25s ease;
}
.product-card:hover .product-card-more { gap: 12px; }
.product-card-more svg { width: 16px; height: 16px; }

/* ---------- Bento 特性网格 ---------- */
.bento { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.bento-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.bento-card .icon-badge {
  width: 54px; height: 54px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--cta-100); color: var(--cta-600); margin-bottom: 18px;
}
.bento-card .icon-badge svg { width: 26px; height: 26px; }
.bento-card h3 { font-size: 18px; font-weight: 800; color: var(--text-strong); }
.bento-card p { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); }
.bento-card--wide { grid-column: span 2; }
.bento-card--accent { background: linear-gradient(150deg, #0F172A, #1E2B47); border-color: transparent; }
.bento-card--accent h3 { color: #F1F5F9; }
.bento-card--accent p { color: #94A3B8; }
.bento-card--accent .icon-badge { background: rgba(249, 115, 22, .18); color: #FDBA74; }

/* ---------- 特性列表（对勾） ---------- */
.check-list { display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--primary-700); }
.check-list svg { width: 20px; height: 20px; color: #16A34A; flex: none; margin-top: 3px; }
.check-list strong { color: var(--text-strong); }

/* ---------- 新闻卡片 ---------- */
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; cursor: pointer;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .ph { height: 220px; }
.news-card-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.news-title { font-size: 17px; font-weight: 700; color: var(--text-strong); line-height: 1.5; transition: color .2s; }
.news-card:hover .news-title { color: var(--cta-600); }
.news-excerpt { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { font-family: var(--font-en); font-size: 13px; color: var(--text-muted); }

/* ---------- 步骤流程 ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s ease, transform .3s ease; cursor: default; }
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-en); font-size: 42px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--cta); margin-bottom: 16px;
}
.step h3 { font-size: 17.5px; font-weight: 800; color: var(--text-strong); }
.step p { margin-top: 8px; font-size: 14px; color: var(--text-muted); }

/* ---------- 图片+文字布局 ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split .ph { border-radius: var(--radius-lg); height: 340px; box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .split .ph { height: 440px; } }
.split-rev .split-media { order: 2; }
@media (min-width: 1024px) { .split-rev .split-media { order: 2; } }
.split-body .section-title { font-size: clamp(24px, 2.6vw, 32px); }
.split-body p { margin-top: 16px; color: var(--text-muted); font-size: 15.5px; }
.split-body .check-list { margin-top: 24px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 4px solid var(--cta);
}
.tl-year { font-family: var(--font-en); font-weight: 800; color: var(--cta-600); font-size: 15px; }
.tl-title { font-size: 17px; font-weight: 700; color: var(--text-strong); margin-top: 4px; }
.tl-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 联系表单 ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .form-card { padding: 44px; } }
.form-row { display: grid; gap: 20px; }
.form-row--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.field label .req { color: var(--cta); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px rgba(249, 115, 22, .15); background: #fff;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-hint { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.form-hint.is-ok { color: #16a34a; font-weight: 600; }
.form-hint.is-error { color: #dc2626; font-weight: 600; }
button:disabled { opacity: .6; cursor: not-allowed; }

/* 联系信息 */
.contact-card { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s ease, transform .3s ease; cursor: default; }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card .icon-badge { width: 50px; height: 50px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--cta-100); color: var(--cta-600); }
.contact-card .icon-badge svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.contact-card p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- CTA 横幅 ---------- */
.cta-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #33240F 100%); padding: 88px 36px; text-align: center; color: #E2E8F0; }
@media (min-width: 768px) { .cta-banner { padding: 112px 64px; } }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 10%, rgba(249, 115, 22, .25), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: #F8FAFC; }
.cta-banner p { margin-top: 16px; color: #94A3B8; max-width: 820px; margin-inline: auto; font-size: 16.5px; }
.cta-banner .hero-actions { justify-content: center; margin-top: 36px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #94A3B8; padding-top: 84px; font-size: 14.5px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 52px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-about { margin-top: 20px; font-size: 14px; line-height: 1.8; }
.footer-h { font-size: 16px; font-weight: 800; color: #F1F5F9; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: color .2s, padding-left .2s; cursor: pointer; }
.footer-links a:hover { color: var(--cta); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--cta); }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .18); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: #64748B; }
.footer-bottom a:hover { color: var(--cta); }

/* ---------- 动画 ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 列表页通用 ---------- */
.list-page-section { padding-block: 64px; }
@media (min-width: 1024px) { .list-page-section { padding-block: 88px; } }

/* 产品详情（products 页内锚点卡片） */
.prod-detail {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; scroll-margin-top: calc(var(--nav-h) + 24px);
}
@media (min-width: 768px) { .prod-detail { padding: 52px; } }
.prod-detail + .prod-detail { margin-top: 44px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--bg-soft); color: var(--text-strong); font-weight: 700; width: 180px; }
.spec-table td { color: var(--primary-700); }

/* 宽规格表（多通道选配）：横向滚动容器 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table--wide { min-width: 760px; }
.spec-table--wide th, .spec-table--wide td { text-align: center; }
.spec-table--wide th:first-child, .spec-table--wide td:first-child { text-align: left; }
.spec-table--wide .row-head th, .spec-table--wide .row-head td { background: var(--cta-100); color: var(--cta-600); font-weight: 700; }
.spec-table--wide .col-hl { color: var(--cta-600); font-weight: 700; }

/* 四大硬件机构卡片 */
.hw-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hw-grid { grid-template-columns: repeat(2, 1fr); } }
.hw-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; cursor: default;
}
.hw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hw-card .ph { height: 220px; }
.hw-body { padding: 22px 26px 26px; }
.hw-head { display: flex; align-items: center; gap: 14px; }
.hw-num {
  font-family: var(--font-en); font-size: 34px; font-weight: 800; line-height: 1; flex: none;
  color: transparent; -webkit-text-stroke: 1.5px var(--cta);
}
.hw-body h3 { font-size: 17.5px; font-weight: 800; color: var(--text-strong); }
.hw-body p { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.hw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hw-tags .tag { font-size: 12px; }

/* 荣誉资质 */
.honor-card { text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s ease, transform .3s ease; cursor: default; }
.honor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.honor-card .ph { height: 160px; border-radius: 10px; margin-bottom: 18px; }
.honor-card h3 { font-size: 15.5px; font-weight: 700; color: var(--text-strong); }
.honor-card p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* 新闻详情样式（占位） */
.article-body { max-width: 800px; }
.article-body p { margin-top: 16px; color: var(--primary-700); }
.article-body .ph { height: 340px; border-radius: var(--radius); margin-block: 26px; }

/* 回到顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 45;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--cta); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(249, 115, 22, .4);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease; cursor: pointer;
}
.back-top.is-show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--cta-600); }
.back-top svg { width: 22px; height: 22px; }

/* ============================================================
   移动端体验优化
   ============================================================ */

/* 平板及以下：压缩导航高度，缩小 logo */
@media (max-width: 991px) {
  :root { --nav-h: 64px; }
  .brand-logo { height: 44px; }
  .main-nav a { padding: 14px 16px; }
}

/* 手机端 */
@media (max-width: 767px) {
  .container { padding-inline: 16px; }

  .section { padding-block: 64px; }

  .section-title { font-size: 24px; }
  .section-desc { font-size: 15px; }
  .section-head { margin-bottom: 36px; }

  /* 触摸优化：消除 300ms 点按延迟 */
  a, button { touch-action: manipulation; }

  /* Hero：更紧凑、更易读的手机端首屏 */
  .hero {
    min-height: auto;
    min-height: 100svh;
    padding-top: var(--nav-h);
    display: flex;
    flex-direction: column;
  }
  .hero .container { padding-top: 34px; padding-bottom: 0; flex: 1 0 auto; }
  .hero-bg-img { object-position: 66% center; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 12, 22, .96) 0%, rgba(7, 12, 22, .88) 60%, rgba(7, 12, 22, .55) 100%),
      linear-gradient(180deg, rgba(7, 12, 22, .72) 0%, rgba(7, 12, 22, .35) 45%, rgba(7, 12, 22, .92) 100%);
  }
  .hero-badge { font-size: 12px; padding: 6px 14px; gap: 8px; }
  .hero-badge .dot { width: 6px; height: 6px; }
  .hero-title { font-size: clamp(24px, 7.2vw, 28px); line-height: 1.24; margin-top: 16px; }
  .hero-title .hl { white-space: normal; }
  .hero-sub { font-size: 14.5px; line-height: 1.75; margin-top: 14px; max-width: 100%; color: #CBD5E1; }
  .hero-actions { flex-direction: column; margin-top: 24px; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .btn--lg { padding: 14px 24px; font-size: 15px; }
  .hero-points { flex-direction: column; margin-top: 22px; gap: 8px 0; font-size: 13.5px; }
  .hero-points li { width: 100%; }

  /* 统计条：改为底部卡片式网格 */
  .hero-stats {
    position: static;
    margin-top: auto;
    padding-top: 28px;
    padding-bottom: 28px;
    background: transparent;
    border-top: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-block: 0; }
  .stat {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 14px 8px;
  }
  .stat-num { font-size: 24px; }
  .stat-num .unit { font-size: .55em; }
  .stat-lbl { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: #CBD5E1; }

  /* 按钮与卡片 */
  .btn--lg { padding: 14px 24px; font-size: 15px; }
  .split { gap: 28px; }
  .split .ph { height: 260px; }
  .product-card .ph { height: 220px; }
  .news-card .ph { height: 190px; }

  /* CTA 横幅 */
  .cta-banner { padding: 56px 22px; border-radius: 20px; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 15px; }

  /* 表单：输入字号 ≥16px 防止 iOS 聚焦自动缩放 */
  .field input, .field textarea, .field select { font-size: 16px; }
  .form-card { padding: 22px 18px; }
  .form-card .section-title { font-size: 21px; }

  /* 表格 */
  .spec-table { font-size: 13.5px; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .spec-table th { width: 108px; }

  /* 产品详情与硬件卡 */
  .prod-detail { padding: 22px 18px; border-radius: 20px; }
  .prod-detail h3 { font-size: 17.5px; }
  .hw-card .ph { height: 180px; }

  /* 页脚 */
  .site-footer { padding-top: 56px; }
  .footer-grid { gap: 32px; }

  /* 回到顶部避开 iOS 底部安全区 */
  .back-top {
    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* 超小屏（≤380px） */
@media (max-width: 380px) {
  .hero-title { font-size: 24px; }
  .stat { padding: 12px 6px; }
  .stat-num { font-size: 22px; }
  .stat-lbl { font-size: 11px; }
  .hero-points li { font-size: 13px; }
}

/* 电话链接（移动端一键拨打） */
a[href^="tel:"] { white-space: nowrap; }
