/* ==========================================================================
   河北欣丰塑料有限公司 · 官网样式
   Xinfeng Plastic Co., Ltd. — Masterbatch Website Styles
   高级感深色主题 · 深石墨蓝 + 品牌青 + 香槟金
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌青色 */
  --primary: #2bc9e0;
  --primary-600: #63dff0;   /* hover 亮青 */
  --primary-700: #18a9be;
  --primary-800: #0b6e80;
  --primary-50: rgba(43, 201, 224, 0.13);
  --primary-100: rgba(43, 201, 224, 0.22);

  --accent: #2bc9e0;
  --accent-600: #63dff0;
  --accent-50: rgba(43, 201, 224, 0.14);

  /* 香槟金（高级感点缀） */
  --gold: #d8b878;
  --gold-600: #e8cf96;
  --gold-soft: rgba(216, 184, 120, 0.14);

  /* 文字 */
  --ink: #e9f1f8;
  --ink-2: #b9cad9;
  --muted: #8498ad;

  /* 面与线 */
  --line: #1f3048;
  --line-soft: rgba(255, 255, 255, 0.06);
  --bg: #0a1220;
  --bg-soft: #0e1728;
  --bg-card: #12203a;
  --bg-input: #0c1524;
  --bg-dark: #070d18;

  --success: #07c160;   /* 微信绿 */
  --success-50: rgba(7, 193, 96, 0.13);

  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.60);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(43, 201, 224, 0.06), transparent 60%),
    radial-gradient(1000px 520px at 88% 0%, rgba(216, 184, 120, 0.05), transparent 55%),
    linear-gradient(180deg, #0c1626 0%, #0a1220 34%, #080e18 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #05222b; }
.btn-primary:hover { background: var(--primary-600); color: #05222b; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #05222b; }
.btn-accent:hover { background: var(--accent-600); color: #05222b; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #05222b; }
.btn-white { background: #fff; color: var(--primary-800); }
.btn-white:hover { background: var(--primary); color: #05222b; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--primary) 50%, var(--gold) 80%, transparent);
  opacity: 0.8;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #05222b;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.brand-text small { font-size: 11px; color: var(--gold); letter-spacing: 0.5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative;
  padding: 8px 16px;
  color: var(--ink-2);
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.16s ease;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-50); }
.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: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel { font-weight: 700; color: var(--ink); font-size: 15px; }
.header-tel:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  border: none;
  background: var(--primary-50);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 620px;
  background: var(--bg-dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 12, 22, 0.94) 0%, rgba(10, 18, 32, 0.84) 45%, rgba(10, 18, 32, 0.48) 100%);
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 96px 0 150px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(216, 184, 120, 0.12);
  border: 1px solid rgba(216, 184, 120, 0.45);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: 46px; letter-spacing: 1px; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero p { color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 560px; }

.hero-bottom {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 44px;
}
.hero-bottom .container { display: flex; flex-direction: column; gap: 22px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 999px;
  border: none; background: rgba(255, 255, 255, 0.35);
  cursor: pointer; transition: all 0.2s ease;
}
.hero-dots button.active { width: 28px; background: var(--accent); }

/* ---------- 数据指标带 ---------- */
.stats-band {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0;
  padding: 0;
}
.stat { background: var(--bg-soft); padding: 34px 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num span { font-size: 22px; color: var(--gold); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; letter-spacing: 0.5px; position: relative; padding-bottom: 18px; }
.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
}
.section-head p { color: var(--muted); }

/* ---------- 产品卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-700); }
.card-media {
  height: 190px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(150deg, rgba(43, 201, 224, 0.08), rgba(216, 184, 120, 0.08));
}
.card-media .card-icon { font-size: 62px; }
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media .card-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #05222b;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 20px; }
.card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.card-body .card-more { margin-top: 16px; font-weight: 600; color: var(--primary); }
.card-body .card-more::after { content: " →"; }

/* ---------- 产品详情区块 ---------- */
.prod-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.prod-subnav-inner { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; }
.prod-subnav a {
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  background: var(--bg-soft);
  white-space: nowrap;
}
.prod-subnav a:hover, .prod-subnav a.active { background: var(--primary); color: #05222b; }

.prod-block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.prod-block:last-child { border-bottom: none; }
.prod-overview { padding-top: 40px; }
.prod-block-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.prod-block-head .num {
  font-size: 30px; font-weight: 800; color: var(--primary-100); letter-spacing: 2px;
}
.prod-block-head h2 { font-size: 28px; margin: 0; }
.prod-desc { color: var(--muted); max-width: 780px; margin-bottom: 32px; }

.prod-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.prod-feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.prod-feature .pf-icon { font-size: 26px; margin-bottom: 8px; }
.prod-feature h4 { font-size: 15px; margin: 0 0 4px; }
.prod-feature p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 15px;
}
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th {
  background: var(--primary);
  color: #05222b;
  font-weight: 600;
  letter-spacing: 0.5px;
}
table.spec tbody tr:nth-child(even) { background: var(--bg-soft); }
table.spec tbody tr:hover { background: var(--primary-50); }
table.spec td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- 资质 / 认证 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cert:hover { box-shadow: var(--shadow-md); border-color: var(--primary-700); }
.cert-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 26px;
  background: var(--primary-50);
  border-radius: 12px;
}
.cert-img {
  height: 180px;
  display: grid;
  place-items: center;
  padding: 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}
.cert-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.cert-img:hover img { transform: scale(1.04); }
.cert .cert-body { padding: 18px 20px; }
.cert h4 { font-size: 16px; margin: 0 0 6px; }
.cert p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 关于我们 ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--primary-800), var(--primary-700));
  min-height: 380px;
  display: grid;
  place-items: center;
  color: #fff;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 12, 22, 0.62), rgba(43, 201, 224, 0.30));
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-visual .av-inner { text-align: center; padding: 40px; position: relative; z-index: 1; }
.about-visual .av-num { font-size: 72px; font-weight: 800; line-height: 1; }
.about-visual .av-label { color: rgba(255,255,255,0.85); margin-top: 8px; }
.about-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.about-list .check {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--success-50);
  color: var(--success);
  border-radius: 50%;
  font-size: 14px;
  margin-top: 2px;
}

/* ---------- 公司宣传片 ---------- */
.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  flex: 0 0 auto;
  width: 72px;
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  line-height: 1.2;
}
.news-date .d { font-size: 26px; font-weight: 800; color: var(--primary); }
.news-date .m { font-size: 13px; color: var(--muted); }
.news-item h3 { font-size: 18px; margin: 0 0 6px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 文章详情页 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article { padding: 8px 0 8px; }
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.article-back:hover { color: var(--primary-600); }
.article-title { font-size: 32px; line-height: 1.42; margin: 0 0 30px; letter-spacing: 0.5px; }
.article-body { color: var(--ink-2); font-size: 16px; line-height: 1.9; }
.article-body h2 {
  font-size: 22px;
  color: var(--ink);
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}
.article-body h3 { font-size: 18px; color: var(--ink); margin: 28px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--primary); border-bottom: 1px solid var(--primary-700); }
.article-body a:hover { color: var(--primary-600); border-bottom-color: var(--primary-600); }
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; overflow-x: auto; display: block; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; white-space: nowrap; }
.article-body th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.article-body blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-2);
}
.article-footer-note {
  margin-top: 42px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.article-footer-note strong { color: var(--ink); }
@media (max-width: 760px) {
  .article-title { font-size: 24px; }
  .article-body { font-size: 15px; }
}

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.contact-card .cc-icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--primary-50);
  border-radius: 12px;
}
.contact-card h4 { font-size: 15px; color: var(--muted); margin: 0 0 4px; }
.contact-card .cc-val { font-size: 18px; font-weight: 700; color: var(--ink); }
.contact-card .cc-val a { color: var(--ink); }
.contact-card .cc-val a:hover { color: var(--primary); }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-field label .req { color: #fb7185; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-input);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.form-field input.field-error,
.form-field select.field-error,
.form-field textarea.field-error {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.15);
}
.field-error-msg { color: #fb7185; font-size: 13px; margin: 6px 0 0; }
.form-success {
  background: var(--success-50);
  border: 1px solid rgba(7, 193, 96, 0.35);
  color: #7ee2a8;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: #b9cad9; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: #b9cad9; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: var(--gold); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: #8498ad;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 页面顶部横幅（内页） ---------- */
.page-hero {
  background: linear-gradient(140deg, #0c1626 0%, #0e1a2e 55%, #13243d 100%);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 620px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-600));
  color: #05222b;
  padding: 60px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #05222b; margin: 0 0 6px; font-size: 26px; }
.cta-band p { color: rgba(5, 34, 43, 0.82); margin: 0; }
.cta-band .btn { background: #05222b; color: #fff; }
.cta-band .btn:hover { background: #0a2e3a; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- 图片占位 ---------- */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
}
.ph .ph-icon { font-size: 40px; margin-bottom: 8px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #05222b;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--primary-600); }

/* ---------- 微信悬浮按钮 + 弹层 ---------- */
.wx-fab {
  position: fixed;
  left: 24px; bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 95;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wx-fab:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.wx-fab svg { width: 30px; height: 30px; fill: #fff; }

.wx-pop {
  position: fixed;
  left: 24px; bottom: 92px;
  width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  text-align: center;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.wx-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wx-pop .wx-qr {
  width: 160px; height: 160px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background:
    linear-gradient(45deg, var(--line) 25%, transparent 25%),
    linear-gradient(-45deg, var(--line) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--line) 75%),
    linear-gradient(-45deg, transparent 75%, var(--line) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  display: grid; place-items: center;
  overflow: hidden;
}
.wx-pop .wx-qr img { width: 100%; height: 100%; object-fit: cover; }
.wx-pop .wx-qr .wx-qr-placeholder { font-size: 13px; color: var(--muted); padding: 16px; line-height: 1.6; }
.wx-pop strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.wx-pop .wx-num { color: var(--success); font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.wx-pop .wx-tip { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* ---------- 图片灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 8, 15, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox .lb-caption {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
  max-width: 80vw;
}
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ---------- 产品信息弹窗 ---------- */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(4, 8, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pmodal.open { opacity: 1; visibility: visible; }
.pmodal .pm-card {
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pmodal .pm-media { position: relative; background: var(--bg-soft); min-height: 280px; }
.pmodal .pm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pmodal .pm-body { padding: 34px; }
.pmodal .pm-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pmodal .pm-body h3 { font-size: 24px; margin-bottom: 12px; }
.pmodal .pm-body p { color: var(--muted); font-size: 15px; }
.pmodal .pm-specs { margin: 18px 0; border-top: 1px solid var(--line); }
.pmodal .pm-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.pmodal .pm-specs li span:first-child { color: var(--muted); flex: 0 0 auto; }
.pmodal .pm-specs li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.pmodal .pm-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

/* ---------- 图片画廊 / 色卡 ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(6, 12, 22, 0.85));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.swatch { text-align: center; }
.swatch .sw-img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  display: grid;
  place-items: center;
  cursor: zoom-in;
}
.swatch .sw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.swatch .sw-img:hover img { transform: scale(1.06); }
.swatch .sw-name { font-size: 13px; color: var(--ink-2); margin-top: 8px; }

.prod-media {
  margin: 28px 0 4px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.prod-media img { width: 100%; height: 320px; object-fit: cover; display: block; }

.prod-sub-title { font-size: 18px; margin: 32px 0 16px; color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .card-grid, .cert-grid, .prod-features { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .pmodal .pm-card { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--primary-50); }
  .header-tel { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .hero { min-height: 500px; }
  .hero-inner { padding: 56px 0 120px; }
  .hero h1 { font-size: 30px; }
  .hero-bottom { bottom: 28px; }

  .card-grid, .cert-grid, .prod-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lightbox { padding: 20px; }
  .wx-pop { left: 16px; right: 16px; width: auto; }
}

/* ---------- 通用辅助 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------- Product catalog ---------- */
.catalog-wrap { padding-top: 8px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.catalog-filters .filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.catalog-filters .filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.catalog-filters .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #05222b; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-700); }
.product-card .pc-media { aspect-ratio: 4 / 3; background: var(--bg-soft); display: grid; place-items: center; }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.product-card .pc-body { padding: 14px 16px 16px; }
.product-card .pc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card h3 { font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.product-card p { font-size: 13px; color: var(--muted); margin: 0; }
.catalog-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 380px) {
  .catalog-grid { grid-template-columns: 1fr; }
}

/* ---------- Video switcher ---------- */
.video-wrap { position: relative; max-width: 1008px; margin: 0 auto; }
.video-frame { position: relative; }
.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.video-nav svg { width: 22px; height: 22px; }
.video-prev { left: -24px; }
.video-next { right: -24px; }
.video-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}
.video-count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 26, 42, 0.72);
  color: #ffffff;
  font-size: 12px;
  pointer-events: none;
}
@media (max-width: 900px) {
  .video-prev { left: 8px; }
  .video-next { right: 8px; }
  .video-nav { width: 40px; height: 40px; }
  .video-nav svg { width: 18px; height: 18px; }
}
