/* ==========================================================================
   优创企业 · 通用企业官网模板样式
   ========================================================================== */
:root {
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --primary-dark: #123a8f;
  --accent: #06b6d4;
  --navy: #0b1c33;
  --navy-2: #12294a;
  --bg: #f5f8fc;
  --bg-gray: #eef2f7;
  --line: #e4ebf4;
  --text: #273142;
  --muted: #67748b;
  --white: #ffffff;
  --success: #16a34a;
  --warning: #f59e0b;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 80, .08), 0 1px 2px rgba(15, 42, 80, .06);
  --shadow: 0 6px 20px rgba(15, 42, 80, .10);
  --shadow-lg: 0 16px 40px rgba(15, 42, 80, .16);
  --grad: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #123a8f 100%);
  --grad-accent: linear-gradient(135deg, #06b6d4, #2563eb);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; }
a { color: var(--primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--primary-deep); }
h1, h2, h3, h4, h5, h6 { line-height: 1.35; font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; }

/* ---------- 基础布局网格（轻量自研，替代 Bootstrap） ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; justify-content: space-between;}
.row > [class*="col-"] { padding: 0 15px; box-sizing: border-box; }
.col-xs-12 { width: 100%; }
.col-xs-6 { width: 50%; }
@media (min-width: 768px) {
  .col-sm-3 { width: 25%; } .col-sm-4 { width: 33.3333%; }
  .col-sm-5 { width: 41.6667%; } .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.3333%; } .col-sm-8 { width: 66.6667%; }
  .col-sm-9 { width: 75%; } .col-sm-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-md-3 { width: 25%; } .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; } .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.3333%; } .col-md-8 { width: 66.6667%; }
  .col-md-9 { width: 75%; } .col-md-12 { width: 100%; }
}

/* ---------- 通用工具 ---------- */
.text-center { text-align: center; }
.clearfix::after { content: ""; display: block; clear: both; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37, 99, 235, .42); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--primary-deep); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }

/* 滚动显现动画 */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

/* 区块标题 */
.sec-head { text-align: center; margin: 0 auto 42px; max-width: 720px; }
.sec-head .sec-tag { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.sec-head h2 { font-size: 32px; color: var(--navy); position: relative; padding-bottom: 16px; }
.sec-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 4px; border-radius: 2px; background: var(--grad); }
.sec-head .sec-en { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
@media (max-width: 768px) {
  .sec-head h2 { font-size: 25px; }
  .sec-head { margin-bottom: 30px; }
}

/* ==========================================================================
   顶部信息条
   ========================================================================== */
.topbar { background: var(--navy); color: #aeb9c9; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-links a { color: #aeb9c9; margin-left: 18px; }
.topbar-links a:hover { color: #fff; }
@media (max-width: 768px) { .topbar-inner { justify-content: center; } .topbar-links { display: none; } }

/* ==========================================================================
   页头（Logo + 搜索 + 电话）
   ========================================================================== */
.header-main { background: #fff; border-bottom: 1px solid var(--line); }
.header-main-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 15px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(37, 99, 235, .35); }
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-size: 22px; color: var(--navy); letter-spacing: 1px; }
.brand-text small { display: block; font-size: 10px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }

.header-search { flex: 1 1 auto; max-width: 420px; }
.header-search form { display: flex; height: 44px; border: 2px solid var(--primary); border-radius: 999px; overflow: hidden; background: #fff; }
.search-input { flex: 1; border: 0; outline: 0; padding: 0 20px; font-size: 14px; background: transparent; color: var(--text); }
.search-btn { width: 56px; border: 0; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.search-btn:hover { background: var(--primary-deep); }
.search-btn i { font-size: 18px; }

.header-tel { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.tel-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.tel-info span { display: block; font-size: 12px; color: var(--muted); }
.tel-info a { font-size: 22px; font-weight: 700; color: var(--primary-deep); letter-spacing: .5px; }
.tel-info a:hover { color: var(--accent); }

@media (max-width: 992px) {
  .header-main-inner { flex-wrap: wrap; padding: 14px 15px; }
  .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .header-tel { margin-left: auto; }
  .row{gap:30px}
  .footer-main .row{margin:0}
  .footer-main .footer-col{width:calc(50% - 30px)}
}
@media (max-width: 640px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 18px; }
  .tel-info span, .tel-info a { font-size: 16px; }
  .tel-icon { width: 38px; height: 38px; }
}

/* ==========================================================================
   主导航
   ========================================================================== */
.main-nav { background: var(--grad); box-shadow: 0 4px 14px rgba(18, 58, 143, .25); position: relative; z-index: 900; }
.nav-inner { position: relative; }
.nav-menu { display: flex; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 5px; padding: 0 22px; height: 56px;
  color: rgba(255,255,255,.92); font-size: 16px; font-weight: 600; letter-spacing: 1px;
  transition: background .25s ease, color .25s ease;
}
.nav-item > a:hover, .nav-item > a.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-item.has-sub > a { padding-right: 44px; }
.caret {
  position: absolute; top: 0; right: 0; width: 44px; height: 100%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92);
}
.caret::after {
  content: ''; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid currentColor; opacity: .85;
}

.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease; z-index: 999;
}
.sub-menu li { border-bottom: 1px solid var(--bg-gray); }
.sub-menu li:last-child { border-bottom: 0; }
.sub-menu a { display: block; padding: 11px 20px; color: var(--text); font-size: 14px; }
.sub-menu a:hover { background: var(--bg); color: var(--primary); padding-left: 26px; }
.nav-item:hover > .sub-menu, .nav-item.open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* 滚动固定导航 */
.main-nav.is-fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 999; box-shadow: 0 6px 18px rgba(18, 58, 143, .3); }
body.nav-fixed-pad { padding-top: 56px; }

/* 移动端导航 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-brand-m { display: none; color: #fff; font-size: 16px; font-weight: 600; }

@media (max-width: 768px) {
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; }
  .nav-toggle { display: flex; }
  .nav-brand-m { display: inline-block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .4s ease;
    box-shadow: var(--shadow); z-index: 998;
  }
  .nav-menu.open { max-height: 78vh; overflow-y: auto; }
  .nav-item > a { height: auto; padding: 13px 20px; color: var(--navy); border-bottom: 1px solid var(--bg-gray); justify-content: space-between; }
  .nav-item > a:hover, .nav-item > a.active { background: var(--bg); color: var(--primary); }
  .nav-item.has-sub > a { display: flex; padding-right: 44px; }
  .nav-item > .caret { color: var(--navy); height: 52px;}
  .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height .35s ease; background: var(--bg); border-radius: 0; }
  .nav-item.open > .sub-menu { max-height: 320px; }
  .sub-menu a { padding-left: 38px; }
  .sub-menu a:hover { padding-left: 44px; }
}

/* ==========================================================================
   首页轮播
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-slider { position: relative; height: 520px; }
.hero-slide {
  display: flex; align-items: center;
}
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,28,51,.82) 0%, rgba(11,28,51,.45) 50%, rgba(11,28,51,.15) 100%); }
.hero-content { position: relative; z-index: 3; max-width: 720px; color: #fff; }
.hero-content .hero-kicker { display: inline-block; font-size: 13px; letter-spacing: 3px; color: #8fd0ff; border: 1px solid rgba(143,208,255,.5); border-radius: 999px; padding: 5px 16px; margin-bottom: 20px; text-transform: uppercase; }
.hero-content h2 { font-size: 44px; line-height: 1.25; margin-bottom: 18px; }
.hero-content p { font-size: 17px; color: #d7e2f5; margin-bottom: 30px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.hero-arrow:hover { background: #fff; color: var(--primary-deep); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
@media (max-width: 992px) { .hero-slider { height: 420px; } .hero-content h2 { font-size: 34px; } }
@media (max-width: 640px) {
  .hero-slider { height: 320px; }
  .hero-content h2 { font-size: 25px; }
  .hero-content p { font-size: 14px; margin-bottom: 20px; }
  .hero-arrow { display: none; }
  .hero-content .btn { padding: 8px 18px; font-size: 14px; }
}

/* ==========================================================================
   首页区块通用
   ========================================================================== */
.section { padding: 70px 0; }
.section-gray { background: var(--bg); }
@media (max-width: 768px) { .section { padding: 45px 0; } }

/* 服务亮点（首页顶部三栏） */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: -64px; position: relative; z-index: 6; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--grad-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 992px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -30px; } .feature-card { padding: 18px 14px; } }

/* 产品分类页签 */
.cat-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.cat-tab { padding: 9px 26px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14.5px; font-weight: 600; transition: all .25s ease; }
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(37,99,235,.3); }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: all .35s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-gray); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--primary); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 17px; margin-bottom: 8px; }
.product-body h3 a { color: var(--navy); }
.product-body h3 a:hover { color: var(--primary); }
.product-body p { font-size: 13.5px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.product-more { font-size: 13.5px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; }
.product-more::after { content: "→"; transition: transform .25s ease; }
.product-card:hover .product-more::after { transform: translateX(4px); }
@media (max-width: 992px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* 关于我们 */
.about-wrap { display: flex; gap: 48px; align-items: center; }
.about-media { flex: 1 1 46%; position: relative; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border: 2px solid var(--primary); border-radius: var(--radius); opacity: .25; z-index: -1; }
.about-exp { position: absolute; right: -16px; bottom: -18px; background: var(--grad); color: #fff; border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-lg); text-align: center; }
.about-exp strong { display: block; font-size: 32px; line-height: 1.1; }
.about-exp span { font-size: 12.5px; opacity: .9; }
.about-text { flex: 1 1 54%; }
.about-text .sec-head { text-align: left; margin: 0 0 20px; }
.about-text .sec-head h2::after { left: 0; transform: none; }
.about-text > p { color: var(--muted); margin-bottom: 16px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 22px 0 28px; }
.about-feats li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.about-feats li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-accent); flex: 0 0 auto; }
@media (max-width: 992px) {
  .about-wrap { flex-direction: column; gap: 40px; }
  .about-media, .about-text { flex: 1 1 100%; }
}

/* 数据条 */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--grad); border-radius: var(--radius); padding: 34px 20px; margin-top: 60px; color: #fff; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 34px; line-height: 1.2; }
.stat-item span { font-size: 13.5px; opacity: .85; }
@media (max-width: 768px) { .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; margin-top: 40px; } }

/* 案例卡片 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; display: block; }
.case-card:hover img { transform: scale(1.08); }
.case-cover { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,28,51,.92) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.case-cover h3 { font-size: 18px; margin-bottom: 6px; }
.case-cover h3 a { color: #fff; }
.case-cover p { font-size: 13px; opacity: .8; }
.case-tag { position: absolute; top: 14px; right: 14px; background: var(--grad-accent); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; z-index: 2; }
@media (max-width: 992px) { .case-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 9; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-media img { transform: scale(1.07); }
.news-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-body h3 { font-size: 16.5px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body h3 a { color: var(--navy); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 13.5px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; }
.news-meta a { color: var(--primary); font-weight: 600; }
@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   内页横幅 + 面包屑
   ========================================================================== */
.page-banner {
  position: relative; background: url("images/banner.jpg") center / cover no-repeat;
  min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,28,51,.86), rgba(18,58,143,.6)); }
.page-banner .pb-inner { position: relative; z-index: 2; padding: 60px 15px; }
.page-banner h1 { font-size: 36px; letter-spacing: 2px; margin-bottom: 10px; }
.page-banner p { font-size: 14px; letter-spacing: 2px; opacity: .85; }
.breadcrumb { background: var(--bg-gray); border-bottom: 1px solid var(--line); }
.breadcrumb .crumb-inner { padding: 11px 0; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: #b6c2d2; }
@media (max-width: 768px) { .page-banner { min-height: 180px; } .page-banner h1 { font-size: 25px; } }

/* ==========================================================================
   列表页布局（侧栏 + 内容）
   ========================================================================== */
.layout { padding: 44px 0 60px; }
.main-col { flex: 0 0 75%; max-width: 75%; padding: 0 15px; }
.side-col { flex: 0 0 25%; max-width: 25%; padding: 0 15px; position: sticky; top: 70px; align-self: flex-start; }
@media (max-width: 992px) { .main-col, .side-col { flex: 0 0 100%; max-width: 100%;width: 100%; } .side-col { position: static; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 26px; overflow: hidden; }
.panel-title { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 700; color: var(--navy); }
.panel-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--grad); }

/* 侧栏菜单 */
.side-menu a { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--bg-gray); color: var(--text); font-size: 14.5px; }
.side-menu a:hover, .side-menu a.active { background: var(--bg); color: var(--primary); padding-left: 26px; }
.side-menu a.active { font-weight: 700; }
.side-menu a::after { content: "›"; color: #b6c2d2; font-size: 18px; }
.side-menu a:hover::after { color: var(--primary); }

/* 侧栏新闻 */
.side-news li { border-bottom: 1px dashed var(--line); }
.side-news a { display: block; padding: 11px 20px; font-size: 13.5px; color: var(--text); position: relative; padding-left: 34px; }
.side-news a::before { content: ""; position: absolute; left: 20px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.side-news a:hover { color: var(--primary); }
.side-news a:hover::before { background: var(--primary); }

/* 侧栏联系 */
.side-contact { padding: 24px 20px 26px; text-align: center; font-size: 14px; line-height: 1.9; color: var(--text); }
.side-contact::before { content: "\f2a0"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 26px; display: block; width: 60px; height: 60px; line-height: 60px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .30); }
.side-contact em { display: block; font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 2px; margin-bottom: 6px; }
.side-contact .num { display: block; font-size: 25px; font-weight: 700; font-family: Georgia, "Times New Roman", serif; color: var(--primary-deep); letter-spacing: 1px; line-height: 1.4; }
.side-contact p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* 分组标题（列表页/详情页） */
.group-title { font-size: 20px; color: var(--navy); margin: 34px 0 8px; padding-left: 12px; border-left: 4px solid var(--primary); }
.group-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.btn-lg { padding: 12px 34px; font-size: 16px; }

/* 首页：解决方案（案例卡片结构 + 深色区域背景） */
.sol-dark { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.sol-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 88% -5%, rgba(37,99,235,.30), transparent 60%), radial-gradient(760px 400px at -5% 105%, rgba(6,182,212,.20), transparent 60%); pointer-events: none; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .sec-tag { color: #8fd0ff; }
.sec-head.light .sec-en { color: #8fa2bd; }
.sol-dark .container { position: relative; z-index: 2; }
.sol-dark .case-card { box-shadow: 0 18px 44px rgba(0,0,0,.36); }
.sol-dark .case-cover { background: linear-gradient(180deg, transparent 32%, rgba(8,22,42,.96) 100%); }
.sol-dark .case-cover p { opacity: .82; }
@media (max-width: 992px) {
  .sol-dark .case-cover { background: linear-gradient(180deg, transparent 26%, rgba(8,22,42,.96) 100%); }
}

/* 首页：新闻资讯（非对称：焦点卡 + 日期列表） */
.news-tabs { margin-bottom: 34px; }
.news-groups { min-height: 300px; }
.news-group { display: grid; grid-template-columns: 1.02fr 1.28fr; gap: 36px; align-items: start; }
.news-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-feature .nf-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.news-feature .nf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-feature:hover .nf-media img { transform: scale(1.06); }
.nf-cat { position: absolute; top: 14px; left: 14px; background: var(--grad-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.nf-body { padding: 20px 24px 24px; }
.nf-body h3 { font-size: 20px; line-height: 1.45; margin-bottom: 10px; }
.nf-body h3 a { color: var(--navy); }
.nf-body h3 a:hover { color: var(--primary); }
.nf-body p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.nf-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 14px; }
.nf-meta .date { font-size: 13px; color: var(--muted); }
.nf-meta .btn { padding: 7px 18px; font-size: 13.5px; }
.news-asym-list li { display: flex; gap: 20px; align-items: flex-start; padding: 16px 18px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.news-asym-list li:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.n-date { flex: 0 0 92px; font-size: 13px; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--accent); line-height: 1.5; padding-top: 2px; }
.n-body { flex: 1 1 auto; min-width: 0; }
.n-body h4 { font-size: 15.5px; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.n-body h4 a { color: var(--navy); }
.n-body h4 a:hover { color: var(--primary); }
.n-body p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { text-align: center; margin-top: 34px; }
.news-more a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); padding: 9px 30px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .25s ease; }
.news-more a:hover { background: var(--grad); color: #fff; border-color: transparent; }
@media (max-width: 992px) {
  .news-group { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .news-asym-list li { flex-direction: column; gap: 10px; }
  .n-date { flex: none; border-left: 0; padding-left: 0; border-top: 2px solid var(--accent); padding-top: 8px; }
}

/* 内容区 */
.content-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.content-head h2 { font-size: 22px; color: var(--navy); padding-left: 12px; border-left: 4px solid var(--primary); }
.content-head .desc { font-size: 13px; color: var(--muted); }

/* 资讯列表 */
.news-list-ul li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px dashed var(--line); }
.news-list-ul li a { color: var(--text); font-size: 15.5px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list-ul li a::before { content: "▍"; color: var(--primary); margin-right: 8px; }
.news-list-ul li a:hover { color: var(--primary); }
.news-list-ul .date { flex: 0 0 auto; font-size: 13px; color: var(--muted); }

/* 文章正文 */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 38px; }
.article h1 { font-size: 26px; text-align: center; color: var(--navy); margin-bottom: 14px; }
.article-meta { text-align: center; font-size: 13px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 24px; }
.article-meta span { margin: 0 10px; }
/* 文章正文（参考主题 .news_content 完整正文样式，覆盖 article-body / desc-body） */
.article-body, .desc-body { font-size: 15.5px; line-height: 2; color: #333d4d; word-break: break-word; }
.article-body p, .desc-body p { margin-bottom: 16px; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6,
.desc-body h1, .desc-body h2, .desc-body h3, .desc-body h4, .desc-body h5, .desc-body h6 { margin: 26px 0 12px; line-height: 1.5; color: var(--navy); }
.article-body h2, .desc-body h2 { font-size: 22px; }
.article-body h3, .desc-body h3 { font-size: 20px; }
.article-body h4, .desc-body h4 { font-size: 18px; }
.article-body h5, .desc-body h5 { font-size: 17px; }
.article-body h6, .desc-body h6 { font-size: 16px; }
.article-body a, .desc-body a { color: var(--primary); }
.article-body a:hover, .desc-body a:hover { text-decoration: underline; }
.article-body img, .desc-body img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: var(--radius-sm); }
.article-body table, .desc-body table { margin: 16px 0; border-collapse: collapse; border: 1px solid var(--line); width: 100%; }
.article-body table th, .desc-body table th { vertical-align: baseline; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; color: var(--navy); }
.article-body table td, .desc-body table td { padding: 8px 10px; border: 1px solid var(--line); font-size: 15px; }
.article-body blockquote, .desc-body blockquote { border-left: 4px solid var(--primary); background: var(--bg); padding: 14px 18px 14px 20px; margin: 16px 0; color: var(--muted); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-body ul, .article-body ol, .desc-body ul, .desc-body ol { padding-left: 24px; margin: 8px 0 16px; }
.article-body ul, .desc-body ul { list-style: disc; }
.article-body ol, .desc-body ol { list-style: decimal; }
.article-body ul li, .article-body ol li, .desc-body ul li, .desc-body ol li { margin-top: 4px; line-height: 2; }
.article-body hr, .desc-body hr { width: 100%; height: 1px; border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article-body code, .desc-body code { background: var(--bg); color: #c0345a; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.article-body pre, .desc-body pre { background: #1e293b; color: #e2e8f0; padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto; margin: 16px 0; font-size: 13.5px; line-height: 1.7; }
.article-body pre code, .desc-body pre code { background: none; color: inherit; padding: 0; }
.article-body iframe, .article-body video, .article-body embed, .desc-body iframe, .desc-body video, .desc-body embed { max-width: 100%; }
@media (max-width: 768px) { .article { padding: 20px 18px; } .article h1 { font-size: 21px; } }

/* 上一篇/下一篇 */
.article-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.article-pager a { color: var(--text); }
.article-pager a:hover { color: var(--primary); }
.article-pager .none { color: #b6c2d2; }

/* 相关产品/资讯 */
.related { margin-top: 40px; }
.related .product-grid, .related .news-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .related .product-grid, .related .news-grid { grid-template-columns: 1fr 1fr; } }

/* 产品详情页 */
.pro-detail { display: flex; gap: 36px; align-items: flex-start; }
.gallery { flex: none; width: 400px; max-width: 100%; margin:auto}
.pro-info { flex: 1 1 56%; }
.pro-info h1 { font-size: 26px; color: var(--navy); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pro-meta-list li { display: flex; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.pro-meta-list .k { flex: 0 0 96px; color: var(--muted); }
.pro-meta-list .v { color: var(--text); }
.pro-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.pro-desc { margin-top: 34px; }
.pro-desc h2 { font-size: 20px; color: var(--navy); padding: 12px 18px; background: var(--bg); border-radius: var(--radius-sm) var(--radius-sm) 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-sm);}
.pro-desc .desc-body { border: 1px solid var(--line); border-top: 0; padding: 24px; line-height: 2; color: #333d4d; border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-sm);}
@media (max-width: 992px) { .pro-detail { flex-direction: column; gap: 28px; } }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(8,18,35,.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: all .25s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: #fff; color: var(--navy); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #c9d6ea; font-size: 14px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; background: #fff; transition: all .25s ease; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }
.pagination .info { border: 0; background: transparent; color: var(--muted); }

/* 留言表单 */
.feedback { max-width: 860px; margin: 40px auto 0; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group label .req { color: #e03e2d; margin-left: 2px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 15px;
  outline: 0; background: #fff; transition: border-color .25s ease, box-shadow .25s ease; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .err-msg { display: none; color: #e03e2d; font-size: 12.5px; margin-top: 6px; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #e03e2d; }
.form-group.has-error .err-msg { display: block; }
.form-submit { margin-top: 22px; text-align: center; }
.form-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } .form-panel { padding: 22px 18px; } }

/* 联系信息块 */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; box-shadow: var(--shadow-sm); transition: all .3s ease; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .c-ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--bg); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); }
.contact-card a { color: var(--primary-deep); font-weight: 700; font-size: 16px; }
@media (max-width: 992px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* Toast */
.toast { position: fixed; top: 20px; left: 50%; transform: translate(-50%, -80px); z-index: 4000; background: var(--navy); color: #fff; padding: 12px 26px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transition: all .4s ease; pointer-events: none; max-width: 88vw; text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* 返回顶部 */

/* 分享 */
.share-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-box .lbl { font-size: 13px; color: var(--muted); }
.share-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; transition: all .25s ease; }
.share-btn:hover { transform: translateY(-2px); }
.share-weibo { background: #e6432b; }
.share-qq { background: #1a9af7; }
.share-wechat { background: #16a34a; }
.share-copy { background: var(--navy); width: auto; padding: 0 14px; border-radius: 999px; font-size: 13px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--navy); color: #aeb9c9; margin-top: 20px; }
.footer-main .footer-contact-list { margin-top:20px }
.footer-main { padding: 56px 0 40px; }
.footer-brand p { font-size: 13.5px; margin-top: 14px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 2px; background: var(--accent); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aeb9c9; font-size: 14px; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; font-size: 14px; }
.footer-contact-list .ico { color: var(--accent); flex: 0 0 auto; }
.footer-contact-list a { color: #fff; font-size: 21px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: #7e8ba0; }
.footer-bottom a { color: #aeb9c9; }
.footer-links { margin-top: 18px; display: flex;flex-wrap: wrap;justify-content: center;}
.footer-links ul { display: flex;flex-wrap: wrap; gap:10px}
.footer-links a { color: #7e8ba0; font-size: 12.5px; }
.footer-links a:hover { color: #fff; }
@media (max-width: 768px) { .footer-main { padding: 40px 20px 90px; } .footer-col { margin-bottom: 26px; } }

/* 移动端底部快捷导航 */

/* 广告位/分割横幅（首页） */
.cta-band { background: var(--grad); color: #fff; padding: 46px 0; }
.cta-band .cb-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { opacity: .9; }

/* ==========================================================================
   打印/降级
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   问答中心（分类列表页 / 详情页）
   ========================================================================== */
/* 问答列表（Q 标记 + 问题 + 摘要 + 日期/浏览） */
.qa-list-ul li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 4px; border-bottom: 1px dashed var(--line); }
.qa-list-ul li:last-child { border-bottom: 0; }
.qa-q { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.qa-main { flex: 1; min-width: 0; }
.qa-main a { display: block; color: var(--text); font-size: 15.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-main a:hover { color: var(--primary); }
.qa-brief { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-side { flex: 0 0 auto; text-align: right; font-size: 13px; color: var(--muted); line-height: 1.9; }
.qa-side .views { color: #b6c2d2; }

/* 问答详情：问题框 */
.qa-question { background: var(--bg); border-left: 4px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin-bottom: 26px; }
.qa-question .q-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--primary); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.qa-question h2 { font-size: 20px; color: var(--navy); line-height: 1.6; }
.qa-answer-h { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-size: 18px; color: var(--navy); }
.qa-answer-h::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--grad); }

/* 侧栏：热门问答 / 相关问题 */
.qa-hot-list li { display: flex; gap: 10px; padding: 10px 20px; border-bottom: 1px solid var(--bg-gray); font-size: 14px; }
.qa-hot-list li:last-child { border-bottom: 0; }
.qa-hot-list .qa-q { flex: 0 0 20px; width: 20px; height: 20px; font-size: 11px; margin-top: 3px; }
.qa-hot-list a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qa-hot-list a:hover { color: var(--primary); }
.qa-link-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.qa-link-list li:last-child { border-bottom: 0; }
.qa-link-list a { color: var(--text); }
.qa-link-list a::before { content: "Q "; color: var(--primary); font-weight: 700; }
.qa-link-list a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .qa-brief { display: none; }
  .qa-side { display: none; }
}

/* 首页：常见问题（居中折叠手风琴） */
.faq-acc { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item.open { border-color: rgba(37,99,235,.4); box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 22px; background: none; border: 0; text-align: left; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.faq-q:hover { color: var(--primary); }
.faq-ico { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.faq-title { flex: 1; }
.fold-ico { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); color: var(--primary); font-size: 16px; line-height: 22px; text-align: center; transition: all .3s ease; }
.faq-item.open .fold-ico { background: var(--grad); color: #fff; border-color: transparent; }
.faq-a { display: none; padding: 0 22px 20px 62px; font-size: 14.5px; line-height: 1.9; color: var(--muted); }
.faq-a p { margin-bottom: 0; }
.faq-a a { color: var(--primary); }
.faq-more { text-align: center; margin-top: 36px; }
.faq-more p { margin-bottom: 16px; color: var(--muted); }
.faq-more .btn { margin: 0 6px; }
@media (max-width: 640px) {
  .faq-q { padding: 14px 16px; font-size: 14.5px; gap: 10px; }
  .faq-a { padding: 0 16px 16px 42px; }
}

/* ==========================================================================
   评论与留言（Z-Blog 标准结构适配）
   ========================================================================== */
.comment-box { margin-top: 44px; }
.comment-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.comment-head h3 { font-size: 20px; color: var(--navy); }
.comment_count { font-size: 13px; color: var(--muted); }
.comment_list { margin: 0; padding: 0; list-style: none; }
.comment_list .comment_list { margin-left: 44px; margin-top: 14px; padding-left: 18px; border-left: 2px solid var(--bg-gray); }
.comment_item { margin-bottom: 18px; }
.comment_main { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.comment_avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.comment_body { flex: 1; }
.comment_meta { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment_name { color: var(--primary); font-weight: 700; font-size: 14px; }
.comment_time { font-size: 12.5px; color: var(--muted); }
.comment_text { font-size: 14px; color: var(--text); line-height: 1.7; word-break: break-all; }
.comment_ops { margin-top: 8px; }
.cmt_reply { font-size: 13px; color: var(--primary); }
.comment_form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 26px; }
.comment_form h4 { font-size: 18px; color: var(--navy); margin-bottom: 16px; }
.cf_rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cf_row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cf_row_area { grid-column: 1 / -1; }
.cf_row label { font-size: 13px; color: var(--navy); font-weight: 600; }
.cf_row label i { color: #e03e2d; font-style: normal; }
.cf_row .text, .cf_row textarea { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; outline: none; background: var(--bg); transition: border .25s ease; width: 100%; box-sizing: border-box; }
.cf_row .text:focus, .cf_row textarea:focus { border-color: var(--primary); background: #fff; }
.cf_row textarea { min-height: 120px; resize: vertical; }
.jz-code { height: 38px; margin-top: 6px; cursor: pointer; border-radius: var(--radius-sm); }
.cf_submit { background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: 11px 36px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .25s ease; }
.cf_submit:hover { opacity: .88; }
@media (max-width: 768px) { .cf_rows { grid-template-columns: 1fr; } }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.article-tags a { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; }
.article-tags a:hover { color: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   导航数据兼容（后台"模块管理"或 LinksManage 保存的通用导航结构）
   —— 兼容无 nav-item 类的 li、ul.sub 子菜单及历史导航类名
   ========================================================================== */
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 0 22px; height: 56px;
  color: rgba(255,255,255,.92); font-size: 16px; font-weight: 600; letter-spacing: 1px;
  transition: background .25s ease, color .25s ease;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-menu > li.has-sub > a { display: flex; }
.nav-menu .sub {
  position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease; z-index: 999;
}
.nav-menu .sub li { border-bottom: 1px solid var(--bg-gray); }
.nav-menu .sub li:last-child { border-bottom: 0; }
.nav-menu .sub a { display: block; padding: 11px 20px; color: var(--text); font-size: 14px; }
.nav-menu .sub a:hover { background: var(--bg); color: var(--primary); padding-left: 26px; }
.nav-menu > li:hover > .sub, .nav-menu > li.open > .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .dropdown, .nav-menu .m-nav, .nav-menu .jt { display: none; }

@media (max-width: 768px) {
  .nav-menu > li > a { height: auto; padding: 13px 20px; color: var(--navy); border-bottom: 1px solid var(--bg-gray); justify-content: space-between; }
  .nav-menu > li > a:hover, .nav-menu > li > a.active { background: var(--bg); color: var(--primary); }
  .nav-menu .sub {
    position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; padding: 0; transition: max-height .35s ease;
    background: var(--bg); border-radius: 0;
  }
  .nav-menu > li.open > .sub { max-height: 320px; }
  .nav-menu .sub a { padding-left: 38px; }
  .nav-menu .sub a:hover { padding-left: 44px; }
}

.brand-logo { display: block; max-height: 48px; width: auto; }
@media (max-width: 768px) { .brand-logo { max-height: 38px; } }

.site-footer .footer-logo { display: block; max-height: 50px; width: auto; }


/* ========== Swiper 适配（首页轮播 / 产品图集） ========== */
/* 首页 hero 轮播 */
.hero-slider .swiper-slide { height: 100%; }
.hero-slider .swiper-button-prev, .hero-slider .swiper-button-next { margin-top: 0; }
.hero-slider .swiper-button-prev::after, .hero-slider .swiper-button-next::after { display: none; }
.hero-slider .swiper-pagination { bottom: 26px; }
.hero-slider .swiper-pagination-bullet { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); opacity: 1; margin: 0 5px; }
.hero-slider .swiper-pagination-bullet-active { background: #fff; width: 46px; }
/* 产品详情图集 */
.gallery .main-swiper { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; min-width: 0; }
.gallery .main-swiper .swiper-slide { aspect-ratio: 1 / 1; position: relative; overflow: hidden; display: block; text-align: center; }
.gallery .main-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; display: block; }
.gallery .swthumbbox { position: relative; margin-top: 12px; }
.gallery .thumb-swiper { margin: 0 30px; min-width: 0; }
.gallery .thumb-swiper .swiper-slide { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; opacity: .5; cursor: pointer; border: 2px solid var(--line); box-sizing: border-box; }
.gallery .thumb-swiper .swiper-slide-thumb-active { opacity: 1; border-color: var(--primary); }
.gallery .thumb-swiper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .swthumbbox .swiper-button-prev, .gallery .swthumbbox .swiper-button-next { border-radius: 4px; border: 1px solid var(--line); height: calc(100% - 4px); top: 10px; --swiper-navigation-sides-offset: 0; --swiper-navigation-size: 18px; background: var(--bg-gray); color: #333; width: 28px; }

/* ========== Font Awesome 图标尺寸 ========== */
.brand-mark i { font-size: 24px; }
.tel-icon i { font-size: 20px; }
.feature-ico i { font-size: 24px; }
.c-ico i { font-size: 22px; }


/* ============ 侧边/吸底快捷导航（参考主题 side_nav 自适应：PC 右侧悬浮 / 手机吸底）============ */
.side_nav { position: fixed; right: 12px; bottom: 20%; z-index: 999; }
.side_nav ul li { width: 66px; height: 70px; text-align: center; position: relative; cursor: pointer; background: #fff; margin-bottom: 8px; border-radius: 12px; box-shadow: 0 6px 18px rgba(14, 27, 44, .1); transition: .35s; }
.side_nav ul li:hover { background: var(--grad); transform: translateX(-4px); }
.side_nav ul li a { display: block; position: relative; height: 100%; }
.side_nav li i { display: block; margin: auto; height: 40px; line-height: 48px; font-size: 22px; color: var(--primary); }
.side_nav ul li:hover i { color: #fff; }
.side_nav li p { position: absolute; bottom: 10px; display: block; text-align: center; width: 100%; line-height: 17px; font-size: 12px; color: var(--muted); }
.side_nav ul li:hover p { color: #fff; }
/* 电话 hover 提示 */
.side_nav ul li:nth-child(3) span { position: absolute; top: 0; right: 76px; display: none; align-items: center; width: 220px; background: var(--grad); color: #fff; border-radius: 10px; text-align: left; text-indent: 20px; padding: 14px 0; box-shadow: 0 10px 26px rgba(14, 27, 44, .25); font-size: 14px; font-weight: 700; z-index: 2; }
.side_nav ul li:nth-child(3):hover span { display: flex; }
.side_nav ul li:nth-child(3) span font { display: block; }
/* 微信二维码 hover */
.side_nav ul li:nth-child(2) span { position: absolute; top: auto; bottom: 0; right: 10px; transform: translateX(-50%); display: none; width: 130px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; box-shadow: var(--shadow); z-index: 2; }
.side_nav ul li:nth-child(2):hover span { display: block; }
.side_nav ul li span img { width: 100%; display: block; }
/* 移动端吸底 */
@media (max-width: 768px) {
  .side_nav { right: 0; bottom: 0; width: 100%; height: 60px; background: #fff; border-top: 1px solid var(--line); border-radius: 0; box-shadow: 0 -4px 16px rgba(15, 42, 80, .08); }
  .side_nav ul { display: flex; }
  .side_nav ul li { flex: 1; width: auto; height: 60px; margin-bottom: 0; border-radius: 0; box-shadow: none; background: none; }
  .side_nav ul li:hover { background: none; transform: none; }
  .side_nav li i { height: 30px; line-height: 38px; font-size: 20px; }
  .side_nav ul li:hover i { color: var(--primary); }
  .side_nav li p { position: initial; bottom: auto; line-height: 1.2; }
  .side_nav ul li:hover p { color: var(--primary); }
  .side_nav ul li:nth-child(3) span { right: auto; left: 50%; transform: translateX(-50%); bottom: 70px; }
  .side_nav ul li:nth-child(2) span { bottom: 70px; right: -80px;}
  body { padding-bottom: 54px; }
}

/* ============ 系统侧栏模块（后台"模块管理"添加，经 template/sidebar.php 输出）============ */
/* 列表型模块内容（分类/最新文章/最新评论/归档/标签/统计/作者/收藏/链接/杂项等 ul 型模块） */
.side-menu li { list-style: none; }
.side-menu li a span { color: var(--muted); font-size: 12px; margin-left: 8px; }
.side-menu li a:hover span { color: var(--primary); }
.side-menu li a em { font-style: normal; color: var(--muted); }
/* 最新评论内容 */
.side-news li a { display: block; padding: 11px 20px; font-size: 13.5px; color: var(--text); line-height: 1.6; }
.side-news li a:hover { color: var(--primary); }
/* 日历模块（divCalendar：table） */
.side-news table { width: 100%; border-collapse: collapse; font-size: 13px; }
.side-news table th, .side-news table td { padding: 6px 2px; text-align: center; border: 1px solid var(--line); }
.side-news table th { background: var(--bg); color: var(--muted); font-weight: 600; }
.side-news table td { color: var(--text); }
.side-news table td a { color: var(--primary); }
.side-news table td.today { background: var(--primary); color: #fff; font-weight: 700; border-radius: 3px; }
/* 搜索模块（divSearch：form） */
.side-news form { padding: 15px 20px; }
.side-news form input[type="text"] { width: 100%; box-sizing: border-box; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; background: #fff; color: var(--text); outline: none; }
.side-news form input[type="text"]:focus { border-color: var(--primary); }
.side-news form input[type="submit"] { margin-top: 10px; width: 100%; box-sizing: border-box; padding: 9px 12px; border: none; border-radius: 5px; background: var(--grad); color: #fff; font-size: 14px; cursor: pointer; }
.side-news form input[type="submit"]:hover { opacity: .9; }
/* 标签云模块（divTags：横向胶囊排列） */
#divTags .side-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 12px; }
#divTags .side-menu li { display: block; margin: 0; border: none; }
#divTags .side-menu li a { display: block; height: 30px; line-height: 30px; padding: 0 12px; font-size: 12.5px; background: var(--bg); color: var(--text); border: none; border-radius: 100px; justify-content: initial; }
#divTags .side-menu li a:hover { background: var(--primary); color: #fff; padding-left: 12px; }
#divTags .side-menu li a::after { content: none; }
#divTags .side-menu li a .tag-count { display: none; }
/* 轮播移动端独立图（未设置时自动使用电脑端图） */
.bg-mobile { display: none; }
@media (max-width: 768px) {
  .hero-slide .bg.bg-pc { display: none; }
  .hero-slide .bg.bg-mobile { display: block; }
}