/* =========================================================
   guanjian 模板 · 营销型大气风格
   仅改动模板与样式，不涉及程序文件
   ========================================================= */

/* ---------- 基础变量 ---------- */
:root {
  --primary: #e07a1a;
  --primary-dark: #c25e0a;
  --primary-light: #ffb454;
  --navy: #0e1b2c;
  --navy-2: #16263b;
  --ink: #1f2933;
  --muted: #6b7280;
  --line: #e8ebf0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --gold: #f5a623;
  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(14, 27, 44, .08);
  --shadow-md: 0 16px 40px rgba(14, 27, 44, .14);
  --container: 1200px;
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- 标题 ---------- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 800; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 34px; border-radius: 40px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: all .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 10px 24px rgba(224,122,26,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(224,122,26,.45); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--navy); color: #fff; }

/* =========================================================
   头部
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 2px 16px rgba(14,27,44,.06); }
.header-top { background: var(--navy); color: #c7d0db; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.header-top .welcome-text { color: #9fb0c3; }
.header-top .tel-link { color: var(--primary-light); font-weight: 700; }
.header-top .tel-link:hover { color: #fff; }

.header-main .container { display: flex; flex-direction: column; padding: 12px 0 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 0 0 12px; }
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 68px; width: auto; flex-shrink: 0; }
.logo-title { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-size: 23px; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: var(--muted); letter-spacing: 2px; }

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 8px 18px; font-size: 14px; gap: 6px; border-radius: 20px; }
.header-cta .btn-primary { box-shadow: 0 4px 12px rgba(224,122,26,.3); }
.header-cta .btn-primary:hover { box-shadow: 0 6px 16px rgba(224,122,26,.4); }

/* 导航 */
.main-nav { border-top: 1px solid var(--line); display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 12px 22px; font-size: 15px; font-weight: 600; color: var(--navy);
  position: relative; border-radius: 10px; letter-spacing: .5px; transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 3px;
  background: var(--primary); border-radius: 3px; transform: translateX(-50%); transition: width .25s;
}
.nav-item:hover .nav-link, .nav-item.active .nav-link { background: rgba(224,122,26,.08); color: var(--primary); }
.nav-item:hover .nav-link::after, .nav-item.active .nav-link::after { width: 22px; }
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 160px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 8px 0; opacity: 0; visibility: hidden; transition: all .25s; z-index: 50;
}
.nav-item:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub li a { display: block; padding: 9px 22px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.nav-sub li a:hover { background: var(--bg-soft); color: var(--primary); }

/* 移动端菜单按钮 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle-bar { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* =========================================================
   Hero 轮播
   ========================================================= */
.hero-banner { position: relative; }
.banner-slider { position: relative; height: 660px; overflow: hidden; }
.banner-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transition: opacity .9s ease; z-index: 0;
}
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,35,.88) 0%, rgba(10,20,35,.55) 45%, rgba(10,20,35,.25) 100%);
}
.banner-bg-1 { background-image: url(../images/01.jpg); }
.banner-bg-2 { background-image: url(../images/02.jpg); }
.banner-content { position: relative; z-index: 2; max-width: 760px; padding: 0 8%; color: #fff; }
.banner-tag {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,.45);
  border-radius: 30px; font-size: 14px; letter-spacing: 2px; margin-bottom: 22px; color: #ffe6c9;
}
.banner-title { font-size: 3.4rem; font-weight: 800; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.banner-desc { font-size: 1.25rem; margin: 18px 0 32px; color: #e6edf5; max-width: 560px; }
.banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 38px; border-radius: 40px;
  font-size: 17px; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 12px 30px rgba(224,122,26,.4); transition: all .25s;
}
.banner-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(224,122,26,.5); color: #fff; }
.banner-btn.ghost { background: transparent; border: 2px solid #fff; box-shadow: none; }
.banner-btn.ghost:hover { background: #fff; color: var(--navy); }

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 22px; backdrop-filter: blur(4px);
  transition: all .25s; display: flex; align-items: center; justify-content: center;
}
.banner-arrow:hover { background: var(--primary); }
.banner-prev { left: 28px; }
.banner-next { right: 28px; }
.banner-dots { position: absolute; bottom: 26px; left: 8%; z-index: 5; display: flex; gap: 10px; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; }
.banner-dot.active { width: 34px; border-radius: 6px; background: var(--primary); }

/* =========================================================
   数据背书条
   ========================================================= */
.stats { background: linear-gradient(135deg, var(--navy) 0%, #1b3a5c 100%); color: #fff; padding: 60px 0; position: relative; }
.stats::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { position: relative; padding: 10px 0; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 46px; width: 1px; background: rgba(255,255,255,.12); }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--primary-light); line-height: 1; }
.stat-num span { font-size: 1.6rem; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 15px; color: #c7d0db; letter-spacing: 1px; }

/* =========================================================
   通用区块
   ========================================================= */
.section { padding: 84px 0; }
.section.bg-soft { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-title { font-size: 2.3rem; position: relative; display: inline-block; padding-bottom: 16px; }
.section-title::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 58px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.section-desc { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-more { text-align: center; margin-top: 44px; }

/* =========================================================
   核心优势
   ========================================================= */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.adv-card {
  background: #fff; border-radius: var(--radius); padding: 40px 26px; text-align: center;
  border-top: 4px solid var(--primary); box-shadow: var(--shadow-sm); transition: all .3s ease;
}
.adv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.adv-icon {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(224,122,26,.12), rgba(255,180,84,.18)); color: var(--primary);
}
.adv-icon svg { width: 38px; height: 38px; }
.adv-title { font-size: 19px; margin-bottom: 10px; }
.adv-text { color: var(--muted); font-size: 14px; }

/* =========================================================
   产品分类
   ========================================================= */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card {
  display: flex; align-items: center; gap: 18px; padding: 26px 28px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all .25s;
}
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.category-name { font-size: 18px; }

/* =========================================================
   公司简介
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.about-image img { width: 100%; height: 420px; object-fit: cover; transition: transform .6s; }
.about-image:hover img { transform: scale(1.06); }
.about-image::after { content: ''; position: absolute; inset: 0; border: 6px solid rgba(255,255,255,.25); border-radius: var(--radius); pointer-events: none; }
.about-text .section-title { display: block; text-align: left; padding-bottom: 16px; margin-bottom: 20px; }
.about-text .section-title::after { left: 0; transform: none; }
.about-content { color: #4a5563; font-size: 15px; max-height: 220px; overflow: hidden; }
.about-text .btn { margin-top: 28px; }

/* =========================================================
   产品展示
   ========================================================= */
.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-sm); transition: all .3s; border: 1px solid var(--line); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-image { height: 210px; overflow: hidden; background: var(--bg-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-info { padding: 18px 20px 22px; }
.product-title { font-size: 16px; margin-bottom: 6px; transition: color .2s; }
.product-card:hover .product-title { color: var(--primary); }
.product-desc { color: var(--muted); font-size: 13px; }

/* =========================================================
   新闻资讯
   ========================================================= */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.news-column-header { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.news-column-header .section-title { font-size: 1.6rem; padding-bottom: 0; }
.news-column-header .section-title::after { display: none; }
.more-link { color: var(--primary); font-size: 14px; font-weight: 600; }
.more-link:hover { text-decoration: underline; }
.news-list { display: flex; flex-direction: column; }
.news-item { border-bottom: 1px dashed var(--line); }
.news-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; transition: all .2s; }
.news-link:hover { padding-left: 12px; }
.news-title { color: var(--ink); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-link:hover .news-title { color: var(--primary); }
.news-date { flex: 0 0 auto; color: #aab2bd; font-size: 13px; }

/* =========================================================
   成功案例
   ========================================================= */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; transition: all .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-image { height: 200px; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .case-image img { transform: scale(1.1); }
.case-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; color: #fff; font-size: 16px;
  background: linear-gradient(transparent, rgba(10,20,35,.85)); transition: all .3s;
}
.case-card:hover .case-title { padding-bottom: 22px; }

/* =========================================================
   CTA 行动号召
   ========================================================= */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, #f59423 100%); color: #fff; text-align: center; padding: 70px 0; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band::before { width: 280px; height: 280px; top: -120px; left: -60px; }
.cta-band::after { width: 220px; height: 220px; bottom: -100px; right: -40px; }
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: 2.2rem; color: #fff; margin-bottom: 14px; }
.cta-desc { font-size: 17px; color: #fff5e8; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-light { background: #fff; color: var(--primary); }
.cta-band .btn-light:hover { background: var(--navy); color: #fff; }
.cta-band .btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--primary); }

/* =========================================================
   全站浮动联系栏
   ========================================================= */
.float-bar { position: fixed; right: 18px; bottom: 96px; z-index: 998; display: flex; flex-direction: column; gap: 12px; }
.float-item {
  width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--primary);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  font-size: 20px; position: relative; transition: all .25s;
}
.float-item:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.float-item svg { width: 22px; height: 22px; }
.float-item .float-tip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--navy); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px;
  opacity: 0; visibility: hidden; transition: all .25s; pointer-events: none;
}
.float-item:hover .float-tip { opacity: 1; visibility: visible; right: 58px; }
.float-item.phone .float-tip b { color: var(--primary-light); }

/* =========================================================
   页脚
   ========================================================= */
.site-footer { background: var(--navy); color: #aeb9c6; margin-top: 0; }
.footer-main { padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-title { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-left: 12px; }
.footer-title::before { content: ''; position: absolute; left: 0; top: 4px; width: 4px; height: 16px; background: var(--primary); border-radius: 2px; }
.footer-desc { font-size: 14px; line-height: 1.9; }
.footer-wechat-list { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-qr { margin: 0; flex: 1 1 auto; max-width: 88px; text-align: center; }
.footer-qr img { display: block; width: 100%; max-width: 80px; height: auto; aspect-ratio: 1/1; object-fit: cover; background: #fff; border: 3px solid rgba(255,255,255,.16); border-radius: 8px; transition: border-color .25s, transform .25s; }
.footer-qr:hover img { border-color: var(--primary); transform: translateY(-3px); }
.footer-qr figcaption { margin-top: 7px; font-size: 12px; color: #aeb9c6; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { color: #aeb9c6; font-size: 14px; }
.footer-nav-list a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact-info .contact-item { margin-bottom: 10px; font-size: 14px; }
.footer-contact-info a { color: var(--primary-light); font-weight: 600; }
.footer-bottom { background: #0a1422; text-align: center; padding: 18px 0; font-size: 13px; color: #7c8794; }

/* =========================================================
   内页页头 banner
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1b3a5c);
  color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: url(../images/02.jpg) center/cover; opacity: .12; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 12px; }
.page-hero .breadcrumb { color: #b9c4d1; font-size: 14px; }
.page-hero .breadcrumb a { color: var(--primary-light); }
.page-hero .breadcrumb span { margin: 0 8px; color: #6f7c8c; }

/* 内页通用列表/详情微调 */
.inner-section { padding: 64px 0; }
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.list-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all .3s; }
.list-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.list-card .list-img { height: 200px; overflow: hidden; background: var(--bg-soft); }
.list-card .list-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.list-card:hover .list-img img { transform: scale(1.08); }
.list-card .list-body { padding: 18px 20px; }
.list-card .list-body h3 { font-size: 17px; margin-bottom: 8px; }
.list-card .list-body p { color: var(--muted); font-size: 14px; }
.detail-content { max-width: 860px; margin: 0 auto; line-height: 2; font-size: 16px; color: #3a4452; }
.detail-content img { margin: 20px auto; border-radius: 8px; }
.detail-title { text-align: center; font-size: 1.9rem; margin-bottom: 14px; }
.detail-meta { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }

/* 文章列表（行式，整齐横排） */
.article-list { display: flex; flex-direction: column; }
.article-item { border-bottom: 1px solid var(--line); }
.article-item:last-child { border-bottom: none; }
.article-link { display: flex; gap: 22px; padding: 22px 4px; align-items: stretch; }
.article-thumb { flex: 0 0 220px; width: 220px; height: 150px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-link:hover .article-thumb img { transform: scale(1.06); }
.article-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-title { font-size: 1.18rem; line-height: 1.45; color: var(--navy); margin-bottom: 10px; transition: color .2s; }
.article-link:hover .article-title { color: var(--primary); }
.article-desc { font-size: 14px; line-height: 1.8; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: #9aa4b1; }
.article-meta .article-views { color: var(--primary); }

/* 产品列表（卡片网格，统一比例） */
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: all .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.product-card-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.product-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card-thumb img { transform: scale(1.07); }
.product-card-body { padding: 16px 18px 18px; }
.product-card-title { font-size: 1.05rem; line-height: 1.4; color: var(--navy); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-card:hover .product-card-title { color: var(--primary); }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 13px; color: #9aa4b1; }
.product-card-views { color: var(--primary); }
.product-card-more { color: var(--muted); transition: color .2s; }
.product-card:hover .product-card-more { color: var(--primary); }

/* =========================================================
   内页布局（栏目/详情/单页）
   ========================================================= */
.page-container { padding: 56px 0; }
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.page-main { min-width: 0; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span, .breadcrumb .breadcrumb-sep { margin: 0 8px; color: #b3bcc8; }

/* 侧边栏 */
.page-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.sidebar-title { font-size: 18px; padding-left: 12px; position: relative; margin-bottom: 16px; }
.sidebar-title::before { content: ''; position: absolute; left: 0; top: 3px; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.sidebar-nav li a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; transition: all .2s; }
.sidebar-nav li a:hover, .sidebar-nav li.active a { background: var(--bg-soft); color: var(--primary); }
.sidebar-contact { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.sidebar-contact b { color: var(--primary); font-size: 18px; }

/* 侧边栏：产品推荐（栏目页） */
.sidebar-products { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.product-rec-list { display: flex; flex-direction: column; gap: 12px; }
.product-rec-link { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; transition: all .2s; }
.product-rec-link:hover { background: var(--bg-soft); }
.product-rec-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.product-rec-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-rec-info { display: flex; flex-direction: column; min-width: 0; }
.product-rec-name { font-size: 14px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.product-rec-link:hover .product-rec-name { color: var(--primary); }
.product-rec-views { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 侧边栏：父栏目最新（内容页） */
.sidebar-latest { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.latest-list { display: flex; flex-direction: column; }
.latest-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.latest-item:last-child { border-bottom: none; }
.latest-link { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.latest-link:hover { color: var(--primary); }
.latest-date { flex: 0 0 auto; font-size: 12px; color: var(--muted); }

/* 栏目标题装饰（右侧主区） */
.list-header { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--line); position: relative; }
.list-header::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--primary); }
.list-title { font-size: 1.7rem; color: var(--navy); letter-spacing: 1px; }
.list-title-deco { display: block; margin-top: 12px; width: 42px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }

/* 内容详情：标题与属性间距美化 */
.content-title { font-size: 1.9rem; line-height: 1.35; color: var(--navy); margin-bottom: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.content-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 20px 0 30px; padding: 14px 18px; background: var(--bg-soft); border-radius: 10px; font-size: 13.5px; color: var(--muted); }
.content-meta span { position: relative; padding: 0 18px; }
.content-meta span:first-child { padding-left: 2px; }
.content-meta span:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 13px; background: #d8dee7; }

/* 上一篇 / 下一篇：单行美化 */
.content-nav { display: flex; gap: 16px; margin-top: 36px; }
.content-nav-item {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 15px 20px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; color: var(--muted); transition: all .25s;
}
.content-nav-item:hover { border-color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
.content-nav .nav-tag { flex: 0 0 auto; font-weight: 700; color: var(--primary); }
.content-nav .nav-body {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.content-nav .nav-body a { color: var(--ink); transition: color .2s; }
.content-nav .nav-body a:hover { color: var(--primary); }
.content-nav .nav-right { flex-direction: row-reverse; text-align: right; }

/* 栏目列表 */
.content-detail { font-size: 15px; }
.news-detail { font-size: 15px; }
.content-detail .list-grid, .news-detail .list-grid { margin-top: 10px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.pagination a:hover, .pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .banner-title { font-size: 2.6rem; }
  .banner-slider { height: 540px; }
  .header-main .container { padding: 8px 0 0; }
  .header-row { padding: 0 0 8px; }
  .nav-link { padding: 11px 15px; font-size: 14px; }
  .logo-img { height: 52px; }
  .logo-text { font-size: 21px; }
  .header-cta .btn { padding: 6px 14px; font-size: 12px; }
  .stats-grid, .adv-grid, .product-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .category-grid, .news-grid, .list-grid, .product-list-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .header-main .container { padding: 8px 0 0; }
  .header-row { padding: 0 0 8px; }
  .logo-img { height: 42px; }
  .logo-text { font-size: 18px; }
  .logo-sub { font-size: 10px; }
  .header-cta { display: none; }
  .main-nav { border-top: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.15); flex-direction: column;
    padding: 80px 20px 30px; transform: translateX(100%); transition: transform .3s ease; z-index: 950; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 14px 8px; }
  .nav-link::after { display: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; box-shadow: none; transform: none; padding: 0 0 10px 16px; display: none; }
  .nav-item.open-sub .nav-sub { display: block; }
  .banner-slider { height: 460px; }
  .banner-title { font-size: 2rem; }
  .banner-content { padding: 0 24px; }
  .banner-desc { font-size: 1.05rem; }
  .stats-grid, .adv-grid, .product-grid, .case-grid, .category-grid, .news-grid, .list-grid, .product-list-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-item::after { display: none; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-bar { bottom: 80px; right: 12px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .article-link { flex-direction: column; gap: 14px; }
  .article-thumb { width: 100%; flex: none; height: 200px; }
  .msg-form-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   留言板
   ========================================================= */

/* 留言列表 */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.msg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.msg-card:hover {
  box-shadow: var(--shadow-md);
}

/* 留言头部 */
.msg-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--bg-soft);
}
.msg-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.msg-nickname {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.msg-info {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* 留言内容 */
.msg-card-body {
  margin-bottom: 4px;
}
.msg-content {
  line-height: 1.9;
  color: var(--ink);
  font-size: 15px;
}

/* 管理员回复 */
.msg-reply {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}
.msg-reply-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.msg-reply-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}
.msg-reply-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.msg-reply-body p {
  font-size: 14px;
  color: #4a5563;
  line-height: 1.8;
}

/* =========================================================
   留言表单
   ========================================================= */
.msg-form-section {
  margin-bottom: 48px;
}
.msg-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.msg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.msg-form-group {
  margin-bottom: 20px;
}
.msg-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.msg-form-group .required {
  color: #e53e3e;
}
.msg-form-input,
.msg-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
}
.msg-form-input:focus,
.msg-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224, 122, 26, .12);
}
.msg-form-input::placeholder,
.msg-form-textarea::placeholder {
  color: #b3bcc8;
}
.msg-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* 验证码 */
.msg-form-captcha {
  display: flex;
  align-items: center;
  gap: 14px;
}
.msg-captcha-input {
  flex: 1;
  max-width: 200px;
}
.captcha-img {
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--line);
}

/* 表单按钮 */
.msg-form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}
