/* =========================================================
   上海闵浦集团官网 - 主样式
   设计风格：工业科技风 · 闵浦蓝 + 安全橙 + 金属灰
   ========================================================= */

/* 颜色变量由 themes.css 通过 data-theme 属性提供 */
:root {
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(11, 47, 102, .08);
  --shadow-lg: 0 14px 44px rgba(11, 47, 102, .16);
  --maxw: 1200px;
  --font: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hide-sm { }
/* 小屏幕隐藏辅助类 */
@media (max-width: 768px) {
  .hide-sm { display: none !important; }
}

/* ---------------- 顶部信息栏 ---------------- */
.topbar { background: var(--primary-950); color: #c7d6ee; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-item { color: #c7d6ee; }
.topbar-item:hover { color: #fff; }

/* ---------------- 头部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 12px rgba(6,26,58,.08);
  backdrop-filter: blur(6px);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(6,26,58,.14); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { width: 46px; height: 46px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 22px; color: var(--primary-900); letter-spacing: 1px; }
.logo-text small { font-size: 10px; color: var(--gray-500); letter-spacing: .5px; }
.main-nav { display: flex; flex: 1; justify-content: center; gap: 4px; }
.main-nav a {
  padding: 8px 16px; font-size: 15px; color: var(--gray-700);
  border-radius: var(--radius-sm); position: relative;
}
.main-nav a:hover { color: var(--primary-700); background: var(--primary-50); }
.main-nav a.active { color: var(--primary-700); font-weight: 700; background: var(--primary-50); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 3px; background: var(--accent);
}
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--primary-900); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 11px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 700; border: none; text-align: center;
  transition: all .25s; line-height: 1.4;
}
.btn-blue { background: var(--primary-700); color: #fff; }
.btn-blue:hover { background: var(--primary-900); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-orange { background: var(--accent); color: #fff; }
.btn-orange:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242,118,10,.35); }
.btn-outline { border: 2px solid rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-ghost { border: 2px solid var(--primary-300, #9db8e8); color: var(--primary-700); background: transparent; }
.btn-ghost:hover { background: var(--primary-50); border-color: var(--primary-700); }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---------------- 首页 Hero 轮播 ---------------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--primary-950); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center; color: #fff;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .container { position: relative; z-index: 3; width: 100%; }
.hero-bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(6,26,58,.92) 0%, rgba(11,47,102,.68) 45%, rgba(11,47,102,.25) 100%);
}
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px;
  background: rgba(242,118,10,.92); color: #fff; margin-bottom: 18px; letter-spacing: 1px;
}
.hero-title { font-size: 46px; line-height: 1.25; font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-sub { font-size: 17px; color: #d6e2f5; max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 34px; height: 5px; border-radius: 3px; border: none;
  background: rgba(255,255,255,.35); transition: all .3s;
}
.hero-dots button.active { background: var(--accent); width: 46px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 72px 0; }
.section-gray { background: var(--primary-50); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head .sub {
  color: var(--accent); font-size: 13px; letter-spacing: 4px; font-weight: 700;
}
.section-head h2 { font-size: 32px; color: var(--primary-900); margin-top: 8px; font-weight: 800; }
.section-head p { color: var(--gray-500); margin-top: 10px; max-width: 680px; margin-inline: auto; }
.sec-line { width: 56px; height: 4px; background: var(--accent); border-radius: 4px; margin: 14px auto 0; }

/* ---------------- 核心优势 ---------------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary-700);
  transition: all .3s; text-align: center;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-top-color: var(--accent); }
.adv-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px;
  background: var(--primary-50); display: flex; align-items: center; justify-content: center;
}
.adv-icon svg { width: 34px; height: 34px; }
.adv-card h3 { font-size: 17px; color: var(--primary-900); margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: var(--gray-500); }

/* ---------------- 首页横幅(战略三角) ---------------- */
.strategy { background: linear-gradient(120deg, var(--primary-950), var(--primary-800)); color: #fff; }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strategy-item {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 28px; background: rgba(255,255,255,.05);
  transition: all .3s;
}
.strategy-item:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.strategy-item .num { color: var(--accent); font-size: 34px; font-weight: 800; }
.strategy-item h3 { font-size: 18px; margin: 8px 0; }
.strategy-item p { color: #c7d6ee; font-size: 14px; }

/* ---------------- 产品卡片 ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: all .3s; border: 1px solid transparent;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }
.pc-cover {
  height: 150px; display: flex; align-items: center; justify-content: center;
  color: #fff; position: relative; overflow: hidden;
}
.pc-cover svg { width: 60px; height: 60px; opacity: .95; }
.pc-cover .badge {
  position: absolute; top: 12px; left: 12px; font-size: 12px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4);
  padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.pc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.pc-body h3 { font-size: 16px; color: var(--primary-900); line-height: 1.4; }
.pc-body .model { color: var(--accent); font-size: 13px; font-weight: 700; margin: 6px 0 10px; }
.pc-body p { font-size: 13px; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-more { margin-top: auto; padding-top: 12px; color: var(--primary-600); font-size: 13px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.product-card:hover .pc-more { color: var(--accent); }

/* ---------------- 首页双栏（案例+新闻） ---------------- */
.home-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.col-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.col-card h3 { color: var(--primary-900); font-size: 19px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.col-card h3 a { font-size: 13px; color: var(--gray-500); font-weight: 400; }
.home-case-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--gray-100); }
.home-case-item:last-child { border-bottom: none; }
.home-case-item .tag { color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; margin-top: 3px; }
.home-case-item .txt a { font-size: 14px; color: var(--gray-700); display: block; }
.home-case-item .txt a:hover { color: var(--primary-700); }
.home-case-item .txt small { color: var(--gray-500); font-size: 12px; }
.news-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--gray-100); }
.news-line:last-child { border-bottom: none; }
.news-line .date { color: var(--primary-600); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.news-line a { flex: 1; font-size: 14px; color: var(--gray-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line a:hover { color: var(--primary-700); }
.news-line .cat { font-size: 12px; color: var(--accent); background: var(--accent-light); padding: 1px 8px; border-radius: 4px; flex-shrink: 0; }

/* ---------------- CTA 大横幅 ---------------- */
.cta-band { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; padding: 34px 20px; flex-wrap: wrap; gap: 18px; }
.cta-band h3 { font-size: 24px; }
.cta-band p { color: #ffe8d5; font-size: 14px; }

/* ---------------- 面包屑/页头 ---------------- */
.page-hero {
  background: linear-gradient(110deg, var(--primary-950), var(--primary-700));
  color: #fff; padding: 54px 0 46px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.05);
}
.page-hero h1 { font-size: 34px; font-weight: 800; }
.page-hero .crumbs { color: #a9bfe0; font-size: 13px; margin-top: 10px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .cur { color: var(--accent); }

/* ---------------- 关于我们 ---------------- */
.about-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 40px; align-items: center; }
.about-grid h2 { color: var(--primary-900); font-size: 26px; margin-bottom: 14px; }
.about-grid p { color: var(--gray-500); margin-bottom: 14px; text-align: justify; }
.about-pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.stat-box { text-align: center; background: var(--primary-50); border-radius: var(--radius); padding: 24px 10px; }
.stat-box .n { font-size: 34px; font-weight: 800; color: var(--primary-700); }
.stat-box .n small { font-size: 16px; }
.stat-box .t { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* 时间轴 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--primary-700), var(--primary-200)); border-radius: 3px; }
.tl-item { position: relative; padding: 16px 0 16px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 24px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-light);
}
.tl-item .year { color: var(--primary-700); font-weight: 800; font-size: 18px; }
.tl-item .desc { color: var(--gray-500); font-size: 14px; }

/* 价值观卡片 */
.culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.culture-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-left: 4px solid var(--primary-700); }
.culture-card h4 { color: var(--primary-900); font-size: 16px; margin-bottom: 6px; }
.culture-card p { color: var(--gray-500); font-size: 14px; }

/* 荣誉 */
.honor-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.honor-item {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.honor-item .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; color: var(--primary-700); flex-shrink: 0; }
.honor-item span { font-size: 14px; color: var(--gray-700); }

/* ---------------- 产品列表页 ---------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); margin-bottom: 30px;
}
.filter-bar .cat-btn { padding: 7px 18px; border-radius: 999px; font-size: 14px; color: var(--gray-700); background: var(--primary-50); }
.filter-bar .cat-btn:hover { color: var(--primary-700); }
.filter-bar .cat-btn.on { background: var(--primary-700); color: #fff; font-weight: 700; }
.search-box { display: flex; margin-left: auto; }
.search-box input {
  border: 1px solid var(--gray-300); border-radius: 999px 0 0 999px; padding: 8px 16px; outline: none; width: 220px;
}
.search-box input:focus { border-color: var(--primary-500); }
.search-box button {
  border: none; background: var(--primary-700); color: #fff; padding: 8px 20px;
  border-radius: 0 999px 999px 0; font-size: 14px;
}

.empty-tip { text-align: center; color: var(--gray-500); padding: 60px 0; font-size: 15px; }

/* 产品详情 */
.pd-grid { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.pd-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.pd-visual svg { width: 100%; height: 260px; }
.pd-info h1 { color: var(--primary-900); font-size: 28px; }
.pd-info .model { color: var(--accent); font-weight: 700; margin: 8px 0 4px; }
.pd-info .cat-tag { display: inline-block; background: var(--primary-50); color: var(--primary-700); font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.pd-section { margin-top: 26px; }
.pd-section h3 { font-size: 17px; color: var(--primary-900); margin-bottom: 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--gray-100); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--primary-50); color: var(--primary-900); width: 150px; font-weight: 600; }
.spec-table tr { transition: background .2s; }
.spec-table tbody tr:hover { background: var(--primary-50); }
.app-scene { background: var(--primary-50); border-radius: var(--radius); padding: 20px 24px; color: var(--gray-700); font-size: 14px; }
.pkg-box { display: flex; flex-wrap: wrap; gap: 12px; }
.pkg-tag { background: #fff; border: 1px solid var(--primary-200); color: var(--primary-700); padding: 8px 18px; border-radius: 999px; font-size: 13px; }
.dl-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 14px; }
.dl-link:hover { text-decoration: underline; }

/* ---------------- 招商加盟 ---------------- */
.franchise-grid { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: start; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 3px solid var(--primary-700); }
.benefit-card:hover { border-top-color: var(--accent); }
.benefit-card .ic { color: var(--accent); font-size: 28px; font-weight: 800; }
.benefit-card h4 { color: var(--primary-900); margin: 8px 0 6px; font-size: 16px; }
.benefit-card p { color: var(--gray-500); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-item { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow); text-align: center; }
.step-item .n {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--primary-700); color: #fff; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-item h4 { color: var(--primary-900); font-size: 15px; margin-bottom: 6px; }
.step-item p { color: var(--gray-500); font-size: 12px; }

/* 招商表单 */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px; }
.form-card h3 { color: var(--primary-900); font-size: 22px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--gray-500); font-size: 13px; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--gray-700); margin-bottom: 6px; }
.form-group label b { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm); outline: none; transition: all .2s;
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-500); box-shadow: 0 0 0 3px var(--primary-50); }
.form-group input.err, .form-group textarea.err { border-color: #e0344c; }
.form-error { color: #e0344c; font-size: 12px; margin-top: 4px; display: block; }
.form-ok { color: #1f9d55; font-size: 12px; margin-top: 4px; display: block; }
.form-card .btn { width: 100%; }
.form-hint { text-align: center; color: var(--gray-500); font-size: 12px; margin-top: 14px; }

/* ---------------- 工程案例 ---------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-cover { height: 170px; display: flex; align-items: center; justify-content: center; color: #fff; }
.case-cover svg { width: 56px; height: 56px; opacity: .9; }
.case-body { padding: 20px; flex: 1; }
.case-body .cate { color: var(--accent); font-size: 12px; font-weight: 700; }
.case-body h3 { color: var(--primary-900); font-size: 16px; margin: 8px 0; line-height: 1.5; }
.case-body p { color: var(--gray-500); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta { display: flex; gap: 14px; padding: 12px 20px; background: var(--primary-50); font-size: 12px; color: var(--gray-500); }

/* ---------------- 新闻 ---------------- */
.news-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.news-tabs a { padding: 8px 24px; border-radius: 999px; background: #fff; color: var(--gray-700); box-shadow: var(--shadow); font-size: 14px; }
.news-tabs a.on { background: var(--primary-700); color: #fff; font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-cover { height: 150px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; }
.news-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.news-body .meta { font-size: 12px; color: var(--gray-500); display: flex; gap: 10px; margin-bottom: 8px; }
.news-body .meta .cat { color: var(--accent); }
.news-body h3 { font-size: 15px; color: var(--primary-900); line-height: 1.5; }
.news-body h3:hover { color: var(--accent); }
.news-body p { font-size: 13px; color: var(--gray-500); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 新闻详情 */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; max-width: 860px; margin: 0 auto; }
.article h1 { color: var(--primary-900); font-size: 26px; }
.article .meta { color: var(--gray-500); font-size: 13px; padding: 14px 0 20px; border-bottom: 1px solid var(--gray-100); display: flex; gap: 18px; }
.article .content { padding-top: 22px; font-size: 15px; color: var(--gray-700); line-height: 2; }
.article .content p { margin-bottom: 14px; }
.article .content strong { color: var(--primary-900); }
.article .content a { color: var(--primary-600); text-decoration: underline; }
.article .content .content-img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; display: block; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--gray-100); font-size: 14px; }
.article-nav a { color: var(--gray-500); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--primary-700); }

/* ---------------- 联系我们 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--gray-100); align-items: flex-start; }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--primary-50); color: var(--primary-700); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item .t { font-size: 13px; color: var(--gray-500); }
.contact-item .v { font-size: 15px; color: var(--gray-900); font-weight: 600; }
.map-box { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); height: 220px; background: var(--primary-50); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 14px; }

/* ---------------- 表单通用 ---------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------------- Flash 提示 ---------------- */
.flash-area { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 999; width: min(560px, 92vw); }
.flash { padding: 13px 20px; border-radius: var(--radius-sm); margin-bottom: 10px; font-size: 14px; box-shadow: var(--shadow-lg); animation: slideDown .4s ease; }
.flash-success { background: #e6f7ec; color: #166534; border: 1px solid #bbe9cc; }
.flash-error { background: #fdecef; color: #a11d2e; border: 1px solid #f3c6cd; }
.flash-info { background: var(--primary-50); color: var(--primary-800); border: 1px solid var(--primary-200); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------- 错误页 ---------------- */
.error-page { text-align: center; padding: 100px 20px; }
.error-page .code { font-size: 96px; font-weight: 800; color: var(--primary-100); line-height: 1; }
.error-page h2 { color: var(--primary-900); margin: 10px 0; }
.error-page p { color: var(--gray-500); margin-bottom: 26px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--primary-950); color: #a9bfe0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding: 52px 20px 36px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { width: 40px; height: 40px; }
.footer-logo strong { color: #fff; font-size: 20px; }
.footer-about p { font-size: 13px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { padding: 4px 0; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .franchise-grid { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-visual { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header { position: sticky; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 20px;
    box-shadow: 0 16px 30px rgba(6,26,58,.15);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .nav-cta { display: none; }
  .hero { height: 440px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 52px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .home-col-grid { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefit-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .honor-list { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .honor-list { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-box input { width: 150px; }
  .article { padding: 22px; }
  .page-hero h1 { font-size: 26px; }
}

/* ================================================
   ENHANCEMENT CSS — 视觉优化 & 动画系统
   ================================================ */

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--accent), #ff6b35, #ff8f5e);
  width: 0%; transition: width .1s linear; pointer-events: none;
}

/* ---------- 回到顶部按钮 ---------- */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-700); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(6,26,58,.25);
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  font-size: 20px; line-height: 1;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(232,120,44,.35); }

/* ---------- 悬浮联系工具栏 ---------- */
.floating-toolbar {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 800; display: flex; flex-direction: column; gap: 2px;
}
.floating-toolbar a {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary-700); color: #fff; padding: 12px 14px;
  text-decoration: none; font-size: 13px; white-space: nowrap;
  border-radius: 8px 0 0 8px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  width: 48px; overflow: hidden;
}
.floating-toolbar a:hover { width: 160px; background: var(--accent); padding-right: 18px; }
.floating-toolbar a .ft-icon { font-size: 20px; min-width: 20px; text-align: center; }
.floating-toolbar a .ft-label { opacity: 0; transition: opacity .2s .1s; font-size: 13px; }
.floating-toolbar a:hover .ft-label { opacity: 1; }

/* ---------- 滚动入场动画 ---------- */
.anim-fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }

.anim-fade-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.anim-fade-left.visible { opacity: 1; transform: translateX(0); }

.anim-fade-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.anim-fade-right.visible { opacity: 1; transform: translateX(0); }

.anim-scale-in {
  opacity: 0; transform: scale(.85);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.anim-scale-in.visible { opacity: 1; transform: scale(1); }

/* 动画延迟工具类 */
.anim-delay-1 { transition-delay: .1s !important; }
.anim-delay-2 { transition-delay: .2s !important; }
.anim-delay-3 { transition-delay: .3s !important; }
.anim-delay-4 { transition-delay: .4s !important; }
.anim-delay-5 { transition-delay: .5s !important; }

/* ---------- Hero 粒子装饰 ---------- */
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-particles span {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ---------- 卡片 hover 增强 ---------- */
.product-card, .case-card, .news-card {
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(6,26,58,.12); }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6,26,58,.1); }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6,26,58,.1); }

/* ---------- 按钮微交互 ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transform: translate(-50%, -50%);
  transition: width .5s, height .5s;
}
.btn:active::after { width: 300px; height: 300px; }

.btn-primary::before {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left .5s;
}
.btn-primary:hover::before { left: 100%; }

/* ---------- 标题装饰增强 ---------- */
.section-title::after {
  content: ""; display: block; width: 60px; height: 4px; margin: 12px auto 0;
  background: linear-gradient(90deg, var(--accent), #ff8f5e);
  border-radius: 4px;
}

/* ---------- FAQ 折叠面板 ---------- */
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 12px; margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(6,26,58,.05);
  overflow: hidden; border: 1px solid var(--gray-100);
  transition: box-shadow .3s, border-color .3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(6,26,58,.08); border-color: var(--accent); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--primary-700); user-select: none;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .faq-icon {
  font-size: 20px; color: var(--accent);
  transition: transform .3s; min-width: 24px; text-align: center;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; line-height: 1.8; color: var(--gray-600); }

/* ---------- 图片懒加载占位 ---------- */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* ---------- 页面加载动画 ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #fff; display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
  width: 48px; height: 48px; border: 4px solid var(--gray-200);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 数字计数器动画 ---------- */
.counter-value { display: inline-block; }

/* ---------- 移动端抽屉导航 ---------- */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(6,26,58,.5);
  z-index: 998; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  backdrop-filter: blur(4px);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 820px) {
  .main-nav.open {
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
    z-index: 999; padding: 80px 20px 20px;
    animation: slide-in-left .3s ease-out;
    overflow-y: auto;
  }
  @keyframes slide-in-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }
  .main-nav.open a {
    padding: 14px 16px; border-bottom: 1px solid var(--gray-100);
    border-radius: 8px; margin-bottom: 2px;
  }
  .main-nav.open a:hover { background: var(--gray-50); }
  .nav-close {
    position: absolute; top: 20px; right: 16px;
    width: 36px; height: 36px; border: none; background: var(--gray-100);
    border-radius: 50%; font-size: 20px; cursor: pointer; color: var(--primary-700);
    display: flex; align-items: center; justify-content: center;
  }
}

/* 暗色模式已移至 themes.css，通过 data-theme 属性统一管理 */

.theme-toggle {
  background: none; border: none; cursor: pointer; font-size: 18px;
  color: var(--primary-700); padding: 6px; border-radius: 50%;
  transition: background .2s, transform .3s;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { background: var(--gray-100); transform: rotate(30deg); }

/* ---------- 渐变文字 ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 统计数字脉冲动画 ---------- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,120,44,.3); }
  50% { box-shadow: 0 0 20px 5px rgba(232,120,44,.15); }
}
.stat-card:hover { animation: pulse-glow 1.5s ease-in-out infinite; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 820px) {
  .floating-toolbar { display: none; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 18px; }
  .faq-question { padding: 14px 18px; font-size: 14px; }
  .faq-answer { padding: 0 18px; }
  .faq-item.open .faq-answer { padding: 0 18px 16px; }
}

@media (max-width: 560px) {
  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
  .hero-particles { display: none; }
}
