/*
Theme Name: Lixiang Industry
Theme URI: https://lixiang.cn-power.com/
Author: Lixiang Industry
Author URI: https://lixiang.cn-power.com/
Description: A custom WordPress theme for Jiangxi Lixiang Industry Co., Ltd. — source factory for mother & baby and personal care. Industrial dark-teal + safety-orange design with OEM/ODM, franchise and product center.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lixiang
*/

/* ============================================================
   江西理想实业有限公司 — 官网样式 (WordPress Theme)
   专业工厂/工业风 · 品牌+招商+产品 综合站
   主色：深钢蓝绿 · 强调：安全橙 · 辅：中性灰
   ============================================================ */

:root {
  /* 工业深色系 */
  --ink: #0f1b1a;          /* 近黑，主文字/深底 */
  --ink-soft: #1c2b2a;     /* 深色次级底 */
  --steel: #22342f;        /* 钢板深绿 */
  --teal: #2f6f63;         /* 主品牌色（钢蓝绿） */
  --teal-deep: #1f4f46;
  --teal-light: #3f8a7b;
  --mint: #7fb5a6;         /* 高亮辅助 */

  /* 强调安全橙（CTA 按钮） */
  --accent: #e07b39;
  --accent-deep: #c9662a;

  /* 中性 */
  --paper: #f4f5f2;        /* 页面浅底 */
  --paper-warm: #eceee9;
  --line: #d9ddd4;         /* 分割线 */
  --muted: #6b7470;        /* 次要文字 */
  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15,27,26,.06), 0 2px 8px rgba(15,27,26,.05);
  --shadow-md: 0 6px 24px rgba(15,27,26,.10);
  --shadow-lg: 0 16px 48px rgba(15,27,26,.16);

  --maxw: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Outfit", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,27,26,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-img {
  height: 40px; width: auto; display: block; object-fit: contain;
}
.brand-mark {
  height: 40px; width: auto; display: grid; place-items: center;
  flex-shrink: 0; overflow: hidden;
}
.brand-mark img {
  height: 40px; width: auto; object-fit: contain; display: block;
}
.brand-text { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.brand-sub { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .14em; }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,.72); font-size: 14px; font-weight: 500;
  padding: 9px 15px; border-radius: 8px; transition: all .2s var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: rgba(127,181,166,.16); }
.nav-links a.lang-link {
  margin-left: 6px; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
  font-weight: 600; letter-spacing: .5px;
}
.nav-links a.lang-link:hover { border-color: var(--mint); color: var(--mint); background: transparent; }

/* ---------- 主导航下拉菜单（兼容 WP sub-menu 与静态站 dropdown） ---------- */
.nav-links li { position: relative; list-style: none; }
.nav-links li > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-links li.menu-item-has-children > a::after,
.nav-links li.has-sub > a::after {
  content: "\25BE"; font-size: 10px; margin-left: 1px; opacity: .8;
}
.nav-links .dropdown,
.nav-links ul.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  padding: 8px; border-radius: 12px;
  background: #162524; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  display: grid; gap: 2px; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 200;
}
.nav-links li.menu-item-has-children:hover > ul.sub-menu,
.nav-links li.menu-item-has-children:focus-within > ul.sub-menu,
.nav-links li.has-sub:hover .dropdown,
.nav-links li.has-sub:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown a,
.nav-links ul.sub-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500;
}
.nav-links ul.sub-menu li {
  position: static;
}
.nav-links .dropdown a:hover,
.nav-links ul.sub-menu li a:hover { color: #fff; background: rgba(127,181,166,.16); }
.nav-links .dropdown a .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.nav-cta {
  margin-left: 10px; padding: 10px 18px; border-radius: 9px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  transition: background .2s var(--ease); white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-deep); }

/* ---------- Nav search ---------- */
.nav-search { display: flex; align-items: center; gap: 0; padding: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 9px; overflow: hidden; }
.nav-search:hover { background: rgba(255,255,255,.12); border-color: var(--mint); }
.nav-search-input {
  border: 0; background: transparent; color: #fff; padding: 10px 8px 10px 14px;
  font-size: 14px; width: 150px; outline: none;
}
.nav-search-input::placeholder { color: rgba(255,255,255,.55); }
.nav-search-btn {
  border: 0; background: transparent; color: #fff; padding: 10px 14px;
  font-size: 14px; cursor: pointer; display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.nav-search-btn:hover { background: rgba(255,255,255,.12); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #2f6f63 0%, transparent 60%),
              linear-gradient(160deg, #0f1b1a 0%, #1c2b2a 55%, #22342f 100%);
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,15,15,.88) 0%, rgba(8,15,15,.62) 45%, rgba(8,15,15,.35) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .07; z-index: 1;
  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: 48px 48px;
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: 110px 24px 120px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mint); font-weight: 600; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--mint); }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5.2vw, 58px);
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead {
  color: rgba(255,255,255,.78); font-size: 17px; max-width: 54ch; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 11px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 0; transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(224,123,57,.34); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: transparent; color: var(--teal-deep); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 28px; color: #fff; letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.55); }

.hero-visual { position: relative; }
.hero-visual .panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-badge {
  font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: rgba(127,181,166,.16); color: var(--mint); border: 1px solid rgba(127,181,166,.25);
}

/* ---------- 品牌墙 ---------- */
.brand-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .18s var(--ease), box-shadow .18s, border-color .18s;
}
.brand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--teal-light); }
.brand-logo {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0;
  background: linear-gradient(150deg, var(--paper-warm), #e2e9e0); color: var(--teal-deep);
}
.brand-card h4 { font-size: 15px; letter-spacing: .01em; font-weight: 600; }
.brand-card p { display: none; }
.brand-card .brand-en { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); font-weight: 600; }

/* ---------- 通用 section ---------- */
.section { padding: 48px 0; }
.section-head { max-width: 710px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 数字指标 ---------- */
.metrics {
  background: linear-gradient(180deg, var(--white), var(--paper-warm));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.metric b { font-size: 40px; color: var(--teal-deep); letter-spacing: -.02em; display: block; }
.metric span { color: var(--muted); font-size: 14px; }

/* ---------- 产品目录卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--paper-warm); color: var(--teal-deep); font-size: 24px; margin-bottom: 20px;
}
.cat-card h3 { font-size: 20px; margin-bottom: 10px; }
.cat-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.cat-count { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-deep); background: rgba(224,123,57,.1); padding: 4px 10px; border-radius: 999px; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--teal-deep); }

/* 紧凑品类徽章 */
.cat-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s;
}
.cat-chip:hover { transform: translateY(-2px); border-color: var(--teal-light); box-shadow: var(--shadow-sm); }
.cat-chip .chip-ic { font-size: 16px; }
.oem-strip {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 22px;
  font-size: 14px; font-weight: 600;
}
.oem-strip a { color: var(--mint); font-weight: 600; }

/* ---------- 产品网格 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.prod-thumb {
  aspect-ratio: 1/1; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #eef1ec, #dfe6de);
}
.prod-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s var(--ease);
}
.prod-card:hover .prod-thumb img { transform: scale(1.05); }
.prod-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; background: var(--accent); color: #fff;
}
.prod-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { font-size: 15px; line-height: 1.35; font-weight: 600; }
.prod-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.prod-price { color: var(--accent-deep); font-weight: 700; font-size: 18px; }
.prod-more { color: var(--muted); font-size: 12px; font-weight: 500; }

/* ---------- 能力/优势 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .visual { border-radius: var(--radius-lg); }
.cap-list { display: flex; flex-direction: column; gap: 22px; }
.cap-item { display: flex; gap: 16px; }
.cap-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--paper-warm); color: var(--teal-deep); font-weight: 800; display: grid; place-items: center; }
.cap-item h4 { font-size: 17px; margin-bottom: 4px; }
.cap-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- 招商流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 14px; font-weight: 800; color: var(--mint); display: block; margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- 深色 CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--steel));
  color: #fff; border-radius: var(--radius-lg); padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.78); }

/* ---------- 工厂档案 / 关于 ---------- */
.about-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.about-panel h3 { font-size: 22px; margin-bottom: 16px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 12px; font-size: 15px; }
.info-list li strong { color: var(--ink); min-width: 90px; font-weight: 600; }
.info-list li span { color: var(--muted); }
.cert-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.cert {
  font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 9px;
  background: var(--paper-warm); color: var(--teal-deep); border: 1px solid var(--line);
}

/* ---------- 联系/表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.contact-box .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--paper-warm); color: var(--teal-deep); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-box b { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-box span { color: var(--muted); font-size: 14px; word-break: break-all; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,111,99,.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-msg { display: none; font-size: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 9px; }
.form-msg.ok { display: block; background: #e8f3ee; color: var(--teal-deep); }
.form-msg.err { display: block; background: #fdece7; color: #b3401f; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer p { font-size: 14px; }
.footer a { font-size: 14px; color: rgba(255,255,255,.6); display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .brand-text { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- 页面横幅（内页） ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--steel) 100%);
  color: #fff; padding: 72px 0; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 16px; max-width: 56ch; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--mint); }

/* ---------- 筛选标签 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--muted); transition: all .2s;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal-deep); }
.filter-chip.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 24px; }
  .hero-visual { max-width: 560px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-panel, .split, .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); padding: 16px 24px; }
  .nav-links.mobile-open a { padding: 12px 0; }
  .nav-links.mobile-open li { width: 100%; }
  .nav-links.mobile-open li > a { display: block; padding: 12px 0; }
  .nav-links.mobile-open .dropdown,
  .nav-links.mobile-open ul.sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: grid; min-width: 0; box-shadow: none; border: 0;
    padding: 0 0 8px 16px; background: transparent;
  }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}

/* ---- Search results page ---- */
.search-empty {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}
.search-empty .btn { margin-top: 20px; }

/* ---- Brand detail: banner 背景图 + 画廊（补充缺失样式） ---- */
.page-hero.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 260px;
}

/* 画廊轮播容器 */
.media-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-page {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.carousel-page.active {
  display: grid;
}
/* 手机端：画廊一行改 2 张 */
@media (max-width: 640px) {
  .carousel-page { grid-template-columns: repeat(2, 1fr); }
}
.about-gallery-item {
  position: relative;
  height: 200px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--muted, #8a9790);
  overflow: hidden;
}
.about-gallery-item .gallery-tag {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(15,27,26,.62); padding: 4px 10px; border-radius: 999px;
}

/* 视频卡片（关于页视频轮播） */
.video-card {
  position: relative; border-radius: 12px; overflow: hidden;
  height: 200px; cursor: pointer;
  background-size: cover; background-position: center;
  background-repeat: no-repeat; background-color: var(--muted, #8a9790);
}
/* 自动截视频第一帧兜底（未填封面图时） */
.video-card .video-card-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; z-index: 0;
}
.video-card .company-play {
  width: 48px; height: 48px; border-radius: 12px; font-size: 20px; z-index: 2;
}
.video-card .company-v-dur {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.5); padding: 3px 9px; border-radius: 6px; z-index: 2;
}
.video-card .company-v-tag {
  position: absolute; left: 10px; top: 10px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(15,27,26,.62); padding: 3px 10px; border-radius: 999px; z-index: 2;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, .18);
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active {
  background: var(--mint, #2f8f6b);
}

/* 画廊 lightbox（点击放大） */
.about-gallery-item { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 27, 26, .9); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(860px, 92vw); max-height: 88vh; border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .28); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; line-height: 1;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .28); }

/* 视频弹窗（关于页 video-card 点击后播放 mp4） */
.video-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 27, 26, .92); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-inner {
  width: min(920px, 94vw);
  background: #000; border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
}
.video-modal video {
  display: block; width: 100%; max-height: 82vh; background: #000;
}
.video-modal .lightbox-close { position: absolute; top: 22px; right: 26px; }

/* ============================================================
   首页新增模块：公司介绍+视频 / 资质证书 / 定制流程 / BLOG
   ============================================================ */

/* ---------- 公司介绍 + 生产线视频 ---------- */
.company-section { position: relative; }
.company-banner {
  position: relative;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  padding: 88px 0 140px; color: #fff; overflow: hidden;
}
.company-banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,26,.92) 0%, rgba(10,22,26,.72) 50%, rgba(10,22,26,.45) 100%);
}
.company-quote {
  position: absolute; right: 6%; top: 30px;
  font-size: 120px; line-height: 1; color: rgba(255,255,255,.18);
  font-family: Georgia, serif;
}
.company-name {
  position: relative; color: #fff;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 18px;
}
.company-banner-tag {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--mint); backdrop-filter: blur(4px);
}
.company-banner-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.company-banner-sub {
  position: relative; color: rgba(255,255,255,.82);
  font-size: 14px; margin-top: 16px; max-width: 64ch;
}
.company-read-more { position: relative; margin-top: 24px; }
.company-block {
  position: relative; margin-top: -72px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-lg);
}
.company-video { padding: 48px 52px; position: relative; }
.company-video-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.company-video-head h3 { font-size: 22px; margin-bottom: 2px; color: var(--ink); }
.company-video-row { display: flex; gap: 16px; margin-top: 22px; }
.company-video-main {
  position: relative; flex: 1; min-width: 0;
  height: 400px; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center;
}
.company-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; border-radius: 18px;
  background: rgba(255,255,255,.94); border: 0; cursor: pointer;
  color: var(--teal); font-size: 24px; line-height: 1;
  display: grid; place-items: center; padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.company-video-dur {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.45); padding: 3px 10px; border-radius: 6px;
}
.company-video-list {
  display: flex; flex-direction: column; gap: 12px; width: 160px; flex: 0 0 160px;
}
.company-v-thumb {
  position: relative; flex: 1; min-height: 0; border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center;
  border: 2px solid transparent;
}
.company-v-thumb.active { border-color: var(--teal-light); }
/* 首页视频缩略图/主播放器的自动截帧兜底 */
.company-v-thumb .video-card-thumb,
.company-video-main .video-card-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; z-index: 0;
}
.company-v-thumb .cv-poster {
  position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0;
}
.company-v-thumb .company-v-tag,
.company-v-thumb .company-v-dur,
.company-video-main .company-v-tag,
.company-video-main .company-v-dur,
.company-video-main .company-play { z-index: 2; }
.company-v-thumb .company-v-tag,
.company-v-thumb .company-v-dur { pointer-events: none; }
.company-v-tag {
  position: absolute; left: 8px; top: 8px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(15,27,26,.62); padding: 3px 9px; border-radius: 999px;
  white-space: nowrap; letter-spacing: .02em;
}
.company-v-dur {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 5px;
}
.company-v-icon {
  position: absolute; left: 40px; bottom: 26px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(47,111,99,.12); display: grid; place-items: center; font-size: 18px;
}
.company-v-page {
  margin-top: 16px; text-align: right; font-size: 14px; color: var(--muted);
}
.company-v-page b { font-size: 22px; color: var(--teal-deep); font-weight: 800; }

/* ---------- 资质证书 / Certifications ---------- */
.cert-section { background: var(--paper); }
.cert-section .section-head h2 { color: var(--ink); }
.cert-section .section-head p { color: var(--muted); }
.cert-section .kicker { color: var(--accent); }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.certs-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.certs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.certs-thumb {
  aspect-ratio: 3 / 4; background-size: cover; background-position: center;
  background-color: rgba(47,111,99,.06);
}
.certs-body { padding: 14px 14px 16px; text-align: center; border-top: 1px solid var(--line); }
.certs-name { font-size: 13px; font-weight: 700; color: var(--teal-deep); letter-spacing: .01em; }
.certs-more { text-align: center; margin-top: 32px; }

/* ---------- 定制流程（手风琴 + 滑块） ---------- */
.process-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.process-intro h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 8px; }
.process-cta-arrow {
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; background: var(--accent);
  border: 0; cursor: pointer; flex: 0 0 auto;
  transition: transform .18s var(--ease), background .2s var(--ease);
}
.process-cta-arrow:hover { background: var(--accent-deep); }
.process-list { border-top: 1px solid var(--line); }
.process-item { border-bottom: 1px solid var(--line); }
.process-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: none; border: 0; cursor: pointer;
  padding: 22px 4px; text-align: left;
}
.process-title { font-size: 18px; font-weight: 700; color: var(--ink); }
.process-arrow {
  flex: 0 0 auto; font-size: 18px; line-height: 1;
  color: #b9c0bc; transition: transform .3s var(--ease), color .2s var(--ease);
}
.process-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.process-body p {
  color: var(--muted); font-size: 15px; line-height: 1.7;
  padding: 0 4px 22px; max-width: 60ch;
}
.process-item.open .process-body { max-height: 200px; }
.process-item.open .process-arrow { color: var(--accent); transform: rotate(45deg); }
.process-slider {
  margin-top: 28px; background: #eef1f0;
  border-radius: 20px; overflow: hidden; position: relative;
  padding: 14px 14px 18px;
}
.process-slide-track { position: relative; height: 300px; }
.process-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.process-slide.active { opacity: 1; }
.process-slide-img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  border-radius: 14px;
}
.process-dots { display: flex; gap: 8px; margin-top: 14px; justify-content: center; }
.process-dots .dot {
  width: 26px; height: 4px; border-radius: 2px; background: #c8cfcb;
  cursor: pointer; transition: background .3s var(--ease);
}
.process-dots .dot.active { background: var(--teal); }

/* ---------- BLOG & NEWS ---------- */
.blog-section {
  background: var(--paper);
}
.blog-section .section-head h2 { color: var(--ink); }
.blog-section .section-head p { color: var(--muted); }
.blog-section .kicker { color: var(--accent); }
.blog-tabs {
  display: inline-flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px;
  padding: 6px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
}
.blog-tab {
  font-size: 14px; font-weight: 600; padding: 9px 22px;
  border-radius: 999px; cursor: pointer;
  border: 0; background: transparent; color: var(--muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.blog-tab.active { background: var(--accent); color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-panel { display: none; }
.blog-panel.active { display: grid; }
.blog-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(20,40,36,.10); }
.blog-thumb { height: 180px; background-size: cover; background-position: center; }
.blog-body { padding: 20px 22px 22px; }
.blog-date {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--accent); margin-bottom: 10px; letter-spacing: .02em;
}
.blog-body h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.35; color: var(--ink); }
.blog-body p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.blog-more { font-size: 14px; font-weight: 600; color: var(--accent); }
.blog-more:hover { color: #f0955c; }

/* ---------- 新增模块响应式 ---------- */
@media (max-width: 1024px) {
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .company-video-row { flex-direction: column; }
  .company-video-main { height: 280px; }
  .company-video-list { flex-direction: row; width: 100%; flex: 0 0 auto; height: 80px; }
  .company-v-thumb { width: 25%; }
}
@media (max-width: 640px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 新闻详情页 (single-news) ---------- */
.news-article-section { background: var(--paper); }
.news-article { max-width: 820px; margin: 0 auto; }
.news-cover {
  margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.news-cover img { display: block; width: 100%; height: auto; }
.news-body-content {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 44px;
  box-shadow: 0 6px 24px rgba(20,40,36,.06);
}
.news-body-content p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.news-body-content h2, .news-body-content h3 { color: var(--ink); margin: 28px 0 14px; }
.news-body-content img { max-width: 100%; height: auto; border-radius: 12px; }
.news-back { margin-top: 32px; }
.news-back .btn-ghost {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
}
.news-back .btn-ghost:hover { background: var(--paper-warm); }

/* 新闻详情页 banner（图片轮播） */
.news-banner {
  height: 360px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; overflow: hidden;
}
.news-banner .hero-bg-slide {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .6s ease;
}
.news-banner .hero-bg-slide.active { opacity: 1; }
.news-banner .hero-bg-dots {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.news-banner .hero-bg-dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35);
  transition: background .25s ease, transform .25s ease;
}
.news-banner .hero-bg-dot.active { background: var(--accent); transform: scale(1.25); }
@media (max-width: 640px) { .news-banner { height: 220px; } }

/* 正文头部（标题/面包屑/元信息） */
.news-header { margin-bottom: 28px; }
.breadcrumb-dark, .breadcrumb-dark a { color: var(--muted); }
.breadcrumb-dark a:hover { color: var(--accent); }
.news-title {
  color: var(--ink); font-size: clamp(26px, 3.4vw, 40px);
  margin: 10px 0 14px; line-height: 1.25;
}
.news-meta { display: flex; align-items: center; gap: 14px; margin: 0; }
.news-meta .news-cat-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
}
.news-meta .news-date { font-size: 14px; color: var(--muted); }

/* 更多新闻列表 */
.news-more { margin-top: 48px; }
.news-more-title {
  font-size: 24px; color: var(--ink); margin-bottom: 24px;
  position: relative; padding-left: 16px;
}
.news-more-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px; background: var(--accent);
}
.news-more .blog-grid { margin-bottom: 0; }


