/* ==========================================================================
   伊斐新能源 YIFEI POWER — 官网首页样式
   设计系统（御前会议决议15）：深蓝 #1A3A5C / 橙 #E8732A / 浅灰 #F5F6F8
   基调：克制的工厂感 · 实拍即说服力
   ========================================================================== */

:root {
  --navy: #1A3A5C;
  --navy-deep: #122B45;
  --navy-ink: #0D2136;
  --orange: #E8732A;
  --orange-deep: #C95E1D;
  --gray: #F5F6F8;
  --gray-line: #E5E8ED;
  --ink: #2C3E50;
  --ink-soft: #5A6B7D;
  --link: #2F6FA7;
  --success: #2E8B57;
  --warn: #E6A23C;
  --err: #D9534F;
  --white: #FFFFFF;
  --shadow-card: 0 2px 8px rgba(26, 58, 92, 0.08);
  --shadow-lift: 0 12px 32px rgba(26, 58, 92, 0.14);
  --radius: 6px;
  --radius-btn: 4px;
  --font-cn: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "Inter", "Segoe UI", var(--font-cn);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--orange); color: #fff; }

/* ---------- 顶部滚动进度条 ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange), #F5A05A);
  z-index: 1200; transition: width 0.1s linear;
}

/* ---------- 预加载动画 ---------- */
#preloader {
  position: fixed; top:0;right:0;bottom:0;left:0; z-index: 2000;
  background: var(--navy-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.pre-logo { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #fff; }
.pre-logo em { color: var(--orange); font-style: normal; }
.pre-bar { width: 180px; height: 2px; background: rgba(255,255,255,0.15); overflow: hidden; border-radius: 2px; }
.pre-bar span { display: block; height: 100%; width: 40%; background: var(--orange); animation: prebar 1.1s ease-in-out infinite; }
@keyframes prebar { 0% { transform: translateX(-100%); } 100% { transform: translateX(450%); } }

/* ---------- 导航 ---------- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 18px rgba(26, 58, 92, 0.10);
  height: 62px;
}
.nav-inner {
  width: 92%;max-width: 1280px;width: min(1280px, 92%); margin: 0 auto;
  display: flex; align-items: center; gap: 36px;
}
.logo { display: flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 24px; letter-spacing: 1px; color: #fff; transition: color 0.4s; }
.logo em { color: var(--orange); font-style: normal; }
.logo small { font-size: 11px; font-weight: 500; letter-spacing: 3px; opacity: 0.75; margin-left: 8px; }
#site-header.scrolled .logo { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: 10px 15px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.88); border-radius: var(--radius-btn);
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
#site-header.scrolled .nav-links a { color: var(--ink); }
.nav-trust {
  display: flex; gap: 2px; padding: 3px; margin: 0 8px;
  background: rgba(232, 115, 42, 0.10); border-radius: 8px;
}
#site-header.scrolled .nav-trust { background: rgba(26, 58, 92, 0.06); }

.nav-cta {
  padding: 10px 22px; background: var(--orange); color: #fff !important;
  border-radius: var(--radius-btn); font-weight: 600;
  box-shadow: 0 4px 14px rgba(232, 115, 42, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(232,115,42,0.45); }

/* 汉堡按钮（移动端） */
#hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 0; position: relative; z-index: 1102;
}
#hamburger span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 6px auto;
  transition: transform 0.35s, opacity 0.3s, background 0.3s;
}
#site-header.scrolled #hamburger span { background: var(--navy); }
#hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端抽屉菜单 */
#mobile-drawer {
  position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; z-index: 1101;
  background: var(--navy-deep); padding: 90px 30px 30px;
  transition: right 0.45s var(--ease-out);
  display: flex; flex-direction: column; gap: 6px;
}
#mobile-drawer.open { right: 0; }
#mobile-drawer a { color: rgba(255,255,255,0.9); padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 16px; }
#mobile-drawer .drawer-cta { margin-top: 22px; text-align: center; background: var(--orange); border-radius: var(--radius-btn); padding: 14px; font-weight: 600; border-bottom: 0; }
#drawer-mask { position: fixed; top:0;right:0;bottom:0;left:0; background: rgba(13,33,54,0.55); z-index: 1100; opacity: 0; visibility: hidden; transition: 0.35s; }
#drawer-mask.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero-bg {
  position: absolute; top:-60px;right:0;bottom:-60px;left:0;
  background: url("../img/factory-wide.jpg") center 38% / cover no-repeat;
  opacity: 0.30; filter: saturate(0.85);
  animation: heroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroDrift { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.12) translateY(-18px); } }
.hero-veil {
  position: absolute; top:0;right:0;bottom:0;left:0;
  background:
    radial-gradient(1100px 520px at 78% 30%, rgba(232,115,42,0.16), transparent 62%),
    radial-gradient(900px 600px at 12% 82%, rgba(47,111,167,0.30), transparent 60%),
    linear-gradient(180deg, rgba(13,33,54,0.86) 0%, rgba(18,43,69,0.62) 46%, var(--navy-deep) 100%);
}
.hero-grid {
  position: absolute; top:0;right:0;bottom:0;left:0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero-sweep {
  position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.05) 45%, transparent);
  animation: sweep 7.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep { 0% { left: -50%; } 55%, 100% { left: 110%; } }

.hero-inner {
  position: relative; z-index: 2;
  width: 92%;max-width: 1280px;width: min(1280px, 92%); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  color: #F5A05A; font-size: 13.5px; letter-spacing: 2px;
  background: rgba(232,115,42,0.10);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,115,42,0.55);} 55% { box-shadow: 0 0 0 7px rgba(232,115,42,0);} }

.hero h1 {
  margin: 26px 0 14px; color: #fff;
  font-size: 58px;font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1.22; letter-spacing: 1px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, #F5A05A, var(--orange) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: rgba(255,255,255,0.82); font-size: 18px;font-size: clamp(15px, 1.35vw, 18px); letter-spacing: 1.5px; }
.hero-sub b { color: #fff; font-family: var(--font-num); font-weight: 700; }

/* 搜索框 */
.hero-search { margin-top: 34px; max-width: 620px; }
.search-box {
  display: flex; align-items: center; background: rgba(255,255,255,0.97);
  border-radius: var(--radius-btn); padding: 5px 6px 5px 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.28);
  transition: box-shadow 0.3s, transform 0.3s;
}
.search-box:focus-within { box-shadow: 0 14px 44px rgba(232,115,42,0.35); transform: translateY(-2px); }
.search-box svg { flex: 0 0 auto; margin-right: 10px; }
.search-box input {
  flex: 1; border: 0; outline: 0; background: none;
  font-size: 15px; font-family: inherit; color: var(--ink); height: 44px;
}
.search-box input::placeholder { color: #9AA7B4; }
.search-box button {
  border: 0; background: var(--orange); color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: var(--radius-btn); transition: background 0.25s;
}
.search-box button:hover { background: var(--orange-deep); }
.hot-words { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hot-words span { color: rgba(255,255,255,0.55); font-size: 13px; }
.hot-words a {
  color: rgba(255,255,255,0.8); font-size: 13px; padding: 4px 13px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  transition: 0.3s;
}
.hot-words a:hover { background: rgba(232,115,42,0.2); border-color: var(--orange); color: #F5A05A; }

.hero-ctas { display: flex; align-items: center; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff; font-size: 17px; font-weight: 700;
  padding: 17px 42px; border-radius: var(--radius-btn); border: 0;
  box-shadow: 0 8px 26px rgba(232,115,42,0.42);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s, background 0.28s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232,115,42,0.5); }
.btn-primary:hover::before { left: 130%; }
.btn-ghost {
  color: rgba(255,255,255,0.88); font-size: 16px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-ghost svg { transition: transform 0.3s; }
.btn-ghost:hover { color: #F5A05A; }
.btn-ghost:hover svg { transform: translateX(5px); }

/* Hero 右侧悬浮产品 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-product {
  width: 78%;max-width: 360px;width: min(360px, 78%);
  filter: drop-shadow(0 34px 44px rgba(0,0,0,0.42));
  animation: floaty 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-18px); } }
.hero-halo {
  position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,115,42,0.22) 0%, transparent 58%);
  animation: halo 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo { 0%,100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1);} 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1);} }
.hero-chip {
  position: absolute; background: rgba(255,255,255,0.96); color: var(--navy);
  padding: 10px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 8px;
  animation: floaty 6.5s ease-in-out infinite;
}
.hero-chip b { font-family: var(--font-num); color: var(--orange); font-size: 16px; }
.chip-1 { top: 8%; left: -2%; animation-delay: 0.8s; }
.chip-2 { bottom: 12%; right: -3%; animation-delay: 1.6s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.55); font-size: 12px; letter-spacing: 3px; z-index: 3;
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px;
  background: var(--orange); border-radius: 3px; transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 1; top: 7px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--gray); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block; color: var(--orange); font-size: 14px; font-weight: 700;
  letter-spacing: 4px; margin-bottom: 14px;
}
.section-head h2 { font-size: 36px;font-size: clamp(26px, 3vw, 36px); color: var(--navy); font-weight: 800; letter-spacing: 1px; line-height: 1.3; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.section-head .rule {
  width: 52px; height: 4px; background: var(--orange); border-radius: 2px;
  margin: 20px auto 0;
}

.wrap { width: 92%;max-width: 1280px;width: min(1280px, 92%); margin: 0 auto; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--navy-deep); position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; top:0;right:0;bottom:0;left:0;
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(232,115,42,0.12), transparent 60%),
    radial-gradient(600px 300px at 8% 100%, rgba(47,111,167,0.2), transparent 60%);
}
.stats-grid {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  width: 92%;max-width: 1280px;width: min(1280px, 92%); margin: 0 auto; padding: 64px 0;
}
.stat-item {
  text-align: center; padding: 10px 18px; position: relative; cursor: pointer;
  transition: transform 0.3s;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
}
.stat-num {
  font-family: var(--font-num); font-size: 46px;font-size: clamp(30px, 3.4vw, 46px); font-weight: 800;
  color: var(--orange); line-height: 1.15; letter-spacing: -1px;
}
.stat-num small { font-size: 0.5em; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.stat-label { color: rgba(255,255,255,0.85); font-size: 15px; margin-top: 8px; }
.stat-proof {
  display: inline-block; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.45);
  opacity: 0; transform: translateY(4px); transition: 0.3s;
}
.stat-item:hover .stat-proof { opacity: 1; transform: translateY(0); color: #F5A05A; }

/* ---------- 产品系列 ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.series-card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  transform-style: preserve-3d; will-change: transform;
}
.series-card:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.series-card .shine {
  position: absolute; top:0;right:0;bottom:0;left:0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.5) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: opacity 0.3s;
}
.series-card:hover .shine { opacity: 1; animation: shineMove 0.9s ease forwards; }
@keyframes shineMove { to { transform: translateX(120%); } }
.series-fig {
  height: 250px; background: linear-gradient(180deg, #FAFBFC, #EFF2F6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  overflow: hidden; position: relative;
}
.series-fig img { max-height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.series-card:hover .series-fig img { transform: scale(1.07) translateY(-4px); }
.series-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--navy); color: #fff; font-size: 12px; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 3px;
}
.series-body { padding: 22px 24px 24px; }
.series-body h3 { font-size: 19px; color: var(--navy); font-weight: 700; }
.series-body .pos { color: var(--ink-soft); font-size: 14px; margin-top: 6px; min-height: 44px; }
.series-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.series-specs span {
  font-size: 12px; color: var(--navy); background: var(--gray);
  padding: 3px 10px; border-radius: 3px; font-family: var(--font-num);
}
.series-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--orange); font-weight: 600; font-size: 14.5px;
}
.series-link svg { transition: transform 0.3s; }
.series-card:hover .series-link svg { transform: translateX(5px); }
.card-note { text-align: center; margin-top: 34px; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  background: var(--navy); cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.sol-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.sol-bg {
  position: absolute; top:0;right:0;bottom:0;left:0; transition: transform 0.65s var(--ease-out), filter 0.4s;
  background-size: cover; background-position: center;
}
.sol-card:hover .sol-bg { transform: scale(1.09); }
.sol-veil {
  position: absolute; top:0;right:0;bottom:0;left:0;
  background: linear-gradient(185deg, rgba(13,33,54,0.06) 30%, rgba(13,33,54,0.92) 88%);
  transition: background 0.4s;
}
.sol-body { position: relative; z-index: 2; padding: 26px 24px; color: #fff; }
.sol-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: rgba(232,115,42,0.92); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; box-shadow: 0 6px 16px rgba(232,115,42,0.4);
}
.sol-body h3 { font-size: 19px; font-weight: 700; }
.sol-body .pain { font-size: 13.5px; color: rgba(255,255,255,0.78); margin-top: 8px; line-height: 1.6; }
.sol-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 13.5px; color: #F5A05A; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: 0.35s var(--ease-out);
}
.sol-card:hover .sol-more { opacity: 1; transform: translateY(0); }

/* ---------- 品牌兼容带 ---------- */
.compat-band { background: #fff; border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); padding: 56px 0; overflow: hidden; }
.compat-head { text-align: center; margin-bottom: 38px; }
.compat-head h3 { color: var(--navy); font-size: 22px; font-weight: 700; }
.compat-head p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-chip {
  display: flex; align-items: center; justify-content: center;
  min-width: 150px; padding: 16px 28px;
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  font-family: var(--font-num); font-weight: 700; font-size: 17px; color: #A6B1BD;
  letter-spacing: 0.5px; filter: grayscale(1); transition: 0.35s;
}
.brand-chip:hover { color: var(--navy); border-color: var(--orange); filter: grayscale(0); box-shadow: var(--shadow-card); transform: translateY(-3px); }

/* ---------- 认证徽章 ---------- */
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.cert-badge {
  width: 128px; padding: 20px 10px 16px; text-align: center;
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
  cursor: pointer;
}
.cert-badge:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--orange); }
.cert-badge .seal {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: 12px; color: #fff;
  background: radial-gradient(circle at 32% 28%, #3E6A96, var(--navy) 70%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.28), 0 4px 12px rgba(26,58,92,0.3);
}
.cert-badge.warm .seal { background: radial-gradient(circle at 32% 28%, #F09A5E, var(--orange) 70%); }
.cert-badge b { display: block; font-size: 13.5px; color: var(--navy); letter-spacing: 0.5px; }
.cert-badge i { display: block; font-style: normal; font-size: 11px; color: var(--ink-soft); margin-top: 4px; }
.cert-note { text-align: center; margin-top: 30px; font-size: 13px; color: var(--ink-soft); }
.cert-note a { color: var(--link); }

/* ---------- 工厂实拍 ---------- */
.factory-band { position: relative; }
.factory-top {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-bottom: 24px;
}
.factory-hero-img {
  border-radius: var(--radius); overflow: hidden; position: relative; min-height: 380px;
  box-shadow: var(--shadow-card);
}
.factory-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.factory-hero-img:hover img { transform: scale(1.05); }
.factory-side { display: grid; gap: 24px; }
.factory-stat-card {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 32px;
  position: relative; overflow: hidden;
}
.factory-stat-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,115,42,0.25), transparent 70%);
}
.factory-stat-card .big { font-family: var(--font-num); font-size: 44px; font-weight: 800; color: var(--orange); line-height: 1.1; }
.factory-stat-card p { color: rgba(255,255,255,0.82); font-size: 14.5px; margin-top: 10px; }
.factory-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.factory-cell {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer; box-shadow: var(--shadow-card);
}
.factory-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.factory-cell:hover img { transform: scale(1.1); }
.factory-cell .step {
  position: absolute; top:auto;right:0;bottom:0;left:0; padding: 22px 12px 9px; color: #fff; font-size: 12.5px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(13,33,54,0.85));
  transform: translateY(calc(100% - 30px)); transition: transform 0.4s var(--ease-out);
  white-space: nowrap;
}
.factory-cell:hover .step { transform: translateY(0); }
.photo-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 28px 28px 24px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.news-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.news-card:hover::before { transform: scaleX(1); }
.news-meta { display: flex; align-items: center; gap: 12px; }
.news-date {
  font-family: var(--font-num); font-size: 13px; color: var(--orange); font-weight: 700;
  background: rgba(232,115,42,0.1); padding: 3px 10px; border-radius: 3px;
}
.news-type { font-size: 12.5px; color: var(--ink-soft); }
.news-card h3 { font-size: 17px; color: var(--navy); margin-top: 16px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; color: var(--link); font-weight: 500; }
.news-more svg { transition: transform 0.3s; }
.news-card:hover .news-more svg { transform: translateX(4px); }

/* ---------- 询盘表单 ---------- */
.inquiry { position: relative; background: var(--navy-deep); overflow: hidden; }
.inquiry::before {
  content: ""; position: absolute; top:0;right:0;bottom:0;left:0; opacity: 0.35;
  background: url("../img/factory-3.jpg") center/cover;
}
.inquiry::after {
  content: ""; position: absolute; top:0;right:0;bottom:0;left:0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(18,43,69,0.88) 50%, var(--navy-deep) 100%);
}
.inquiry .wrap { position: relative; z-index: 2; }
.inquiry-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.inquiry-copy .kicker { color: #F5A05A; letter-spacing: 4px; font-size: 14px; font-weight: 700; }
.inquiry-copy h2 { color: #fff; font-size: 38px;font-size: 38px;font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.35; margin-top: 14px; }
.inquiry-copy .promise { color: rgba(255,255,255,0.75); margin-top: 18px; font-size: 15px; }
.inquiry-copy .promise b { color: var(--orange); }
.contact-rows { margin-top: 34px; display: grid; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.88); font-size: 15px; }
.contact-row .ic {
  width: 40px; height: 40px; border-radius: var(--radius); flex: 0 0 auto;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
}
.inquiry-form {
  background: rgba(255,255,255,0.98); border-radius: 10px; padding: 40px 38px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--gray-line); border-radius: var(--radius-btn);
  padding: 22px 14px 8px; font-size: 15px; font-family: inherit; color: var(--ink);
  outline: none; background: #fff; transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}
.field textarea { min-height: 96px; padding-top: 24px; }
.field label {
  position: absolute; left: 15px; top: 16px; font-size: 14.5px; color: #8B98A6;
  pointer-events: none; transition: 0.22s var(--ease-out); background: #fff; padding: 0 4px;
}
.field input:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,115,42,0.13); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -8px; font-size: 12px; color: var(--orange); font-weight: 600;
}
.field.error input, .field.error textarea { border-color: var(--err); }
.field .err-msg { display: none; font-size: 12px; color: var(--err); margin-top: 5px; }
.field.error .err-msg { display: block; }
.form-foot { grid-column: 1 / -1; }
.privacy { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.submit-btn {
  width: 100%; margin-top: 18px; border: 0; background: var(--orange); color: #fff;
  font-size: 16.5px; font-weight: 700; letter-spacing: 2px; padding: 16px;
  border-radius: var(--radius-btn); transition: 0.3s; position: relative; overflow: hidden;
}
.submit-btn:hover { background: var(--orange-deep); box-shadow: 0 10px 26px rgba(232,115,42,0.4); }
.submit-btn:disabled { opacity: 0.7; cursor: wait; }
.inquiry-aux { display: flex; justify-content: center; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.inquiry-aux a { color: rgba(255,255,255,0.85); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; transition: 0.3s; }
.inquiry-aux a:hover { color: #F5A05A; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 30px);
  background: var(--success); color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: var(--radius); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transition: 0.4s var(--ease-out); z-index: 1500;
  display: flex; align-items: center; gap: 10px;
}
#toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 页脚 ---------- */
footer { background: var(--navy-ink); color: rgba(255,255,255,0.72); padding: 72px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.foot-brand .logo { color: #fff; }
.foot-brand p { font-size: 14px; margin-top: 18px; line-height: 1.8; }
.foot-col h4 { color: #fff; font-size: 15.5px; letter-spacing: 2px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.foot-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--orange); }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 14px; transition: 0.25s; position: relative; }
.foot-col a:hover { color: #F5A05A; padding-left: 6px; }
.foot-contact li { display: flex; gap: 10px; font-size: 14px; line-height: 1.7; }
.foot-bottom a { color: inherit; text-decoration: none; transition: color .25s; }
.foot-bottom a:hover { color: rgba(255,255,255,0.75); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.4);
}

/* ---------- 悬浮组件 ---------- */
#float-inquiry {
  position: fixed; right: 26px; bottom: 96px; z-index: 1300;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(232,115,42,0.45);
  transition: transform 0.3s;
}
#float-inquiry::after {
  content: ""; position: absolute; top:-4px;right:-4px;bottom:-4px;left:-4px; border-radius: 50%;
  border: 2px solid rgba(232,115,42,0.55); animation: ring 2.2s infinite;
}
@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
#float-inquiry:hover { transform: scale(1.1); }
#float-inquiry .tip {
  position: absolute; right: 64px; white-space: nowrap; background: var(--navy); color: #fff;
  font-size: 13px; padding: 7px 14px; border-radius: var(--radius-btn);
  opacity: 0; transform: translateX(8px); transition: 0.3s; pointer-events: none;
}
#float-inquiry:hover .tip { opacity: 1; transform: translateX(0); }

#back-top {
  position: fixed; right: 26px; bottom: 28px; z-index: 1300;
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: 0.35s;
}
#back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top:hover { background: var(--navy); }
#back-top:hover svg path { stroke: #fff; }
#back-top svg circle { transition: stroke-dashoffset 0.2s linear; }

/* ---------- 滚动进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .series-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(5, 1fr); padding: 48px 0; }
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  /* ≤1199px 桌面导航放不下会逐字换行,改用汉堡抽屉菜单(≥1200px 不受影响) */
  .nav-links, .nav-cta { display: none; }
  #hamburger { display: block; }
}

@media (max-width: 767px) {
  :root { --nav-h: 62px; }
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  #hamburger { display: block; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero-visual { order: -1; }
  .hero-product { width: 60%;max-width: 240px;width: min(240px, 60%); }
  .hero-chip { display: none; }
  .scroll-hint { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat-item:nth-child(5) { grid-column: 1 / -1; }
  .stat-item + .stat-item::before { display: none; }
  .series-grid { grid-template-columns: 1fr; }
  .series-body .pos { min-height: 0; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-card { min-height: 300px; }
  .sol-more { opacity: 1; transform: none; }
  .factory-top { grid-template-columns: 1fr; }
  .factory-hero-img { min-height: 240px; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-cell .step { transform: none; background: linear-gradient(180deg, transparent, rgba(13,33,54,0.85)); }
  .news-grid { grid-template-columns: 1fr; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 40px; }
  .inquiry-form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  #float-inquiry { right: 16px; bottom: 84px; }
  #back-top { right: 16px; }
  .mobile-fix-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1290;
    background: var(--orange); color: #fff; text-align: center;
    padding: 14px; font-size: 16px; font-weight: 700; letter-spacing: 2px;
    box-shadow: 0 -6px 24px rgba(232,115,42,0.4);
  }
}

@media (min-width: 768px) { .mobile-fix-bar { display: none; } }

/* ---------- 降级偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, [data-stagger] > * { opacity: 1; transform: none; }
}


/* ===== Chrome 72 老内核回退(仅 html.no-flex-gap 时生效,现代浏览器零影响) =====
/* flex 容器 gap(<84 不生效)→ 相邻兄弟 margin 回退 */
html.no-flex-gap #preloader>*+*{margin-top:22px}
html.no-flex-gap .nav-inner>*+*{margin-left:36px}
html.no-flex-gap .logo>*+*{margin-left:2px}
html.no-flex-gap .nav-links>*+*{margin-left:4px}
html.no-flex-gap .nav-trust>*+*{margin-left:2px}
html.no-flex-gap #mobile-drawer>*+*{margin-top:6px}
html.no-flex-gap .hero-badge>*+*{margin-left:8px}
html.no-flex-gap .hot-words>*+*{margin-left:10px}
html.no-flex-gap .hero-ctas>*+*{margin-left:26px}
html.no-flex-gap .btn-primary>*+*{margin-left:10px}
html.no-flex-gap .btn-ghost>*+*{margin-left:8px}
html.no-flex-gap .hero-chip>*+*{margin-left:8px}
html.no-flex-gap .scroll-hint>*+*{margin-top:8px}
html.no-flex-gap .series-specs>*+*{margin-left:8px}
html.no-flex-gap .series-link>*+*{margin-left:6px}
html.no-flex-gap .sol-more>*+*{margin-left:6px}
html.no-flex-gap .marquee-track>*+*{margin-left:20px}
html.no-flex-gap .cert-row>*+*{margin-left:18px}
html.no-flex-gap .news-meta>*+*{margin-left:12px}
html.no-flex-gap .news-more>*+*{margin-left:6px}
html.no-flex-gap .contact-row>*+*{margin-left:14px}
html.no-flex-gap .privacy>*+*{margin-left:8px}
html.no-flex-gap .inquiry-aux>*+*{margin-left:30px}
html.no-flex-gap .inquiry-aux a>*+*{margin-left:8px}
html.no-flex-gap #toast>*+*{margin-left:10px}
html.no-flex-gap .foot-contact li>*+*{margin-left:10px}
html.no-flex-gap .foot-bottom>*+*{margin-left:14px}
/* aspect-ratio(<88)→ 关键图片容器固定高度回退 */
@supports not (aspect-ratio: 4/3) {
  .factory-cell { height: 150px; }
}
