/* ==========================================================
   QuickWebCMS · 全站公用样式 style.css
   主题色：#c7000b   最大宽度：1300px
   ========================================================== */

/* ---------- 基础变量 ---------- */
:root {
  --main: #c7000b;          /* 主色-红 */
  --main-dark: #a8000a;     /* 主色-深 */
  --main-light: #e02432;    /* 主色-亮 */
  --grad-main: linear-gradient(135deg, #c7000b 0%, #e02432 100%);
  --grad-dark: linear-gradient(135deg, #a8000a 0%, #c7000b 100%);
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-gray: #f5f6f8;
  --bg-dark: #1c1f26;
  --border: #e6e8ec;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --shadow-hover: 0 12px 32px rgba(199, 0, 11, .18);
  --maxw: 1300px;
  --font: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 重置与基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
  overflow-x: hidden;
}
img { max-width: 100%; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
ul, ol, li { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.4; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }

/* ---------- 通用工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: block; clear: both; }
.fl { float: left; }
.fr { float: right; }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 28px;
  border: 0;
  border-radius: 30px;
  background: var(--grad-main);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 14px rgba(199, 0, 11, .25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(199, 0, 11, .38); }
.btn-outline {
  background: transparent;
  color: var(--main);
  border: 1px solid var(--main);
  box-shadow: none;
}
.btn-outline:hover { background: var(--main); color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--bg-dark);
  color: #aab;
  font-size: 13px;
  line-height: 38px;
  letter-spacing: .3px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #aab; margin-left: 18px; }
.topbar a:hover { color: var(--main-light); }
.topbar .topbar-welcome { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.topbar .topbar-welcome svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar .topbar-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 560px; }
.topbar .topbar-right { display: flex; align-items: center; gap: 16px; white-space: nowrap; }

/* ---------- 页头 Logo 区 ---------- */
.header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .05);padding: 10px 0;}
.header .header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.header .logo { display: flex; align-items: center; }
.header .logo img { max-height: 66px; width: auto; }
.header .logo-text { padding-left: 14px; border-left: 1px solid var(--border); }
.header .logo-text b { display: block; font-size: 22px; color: var(--main); font-weight: 700; letter-spacing: 1px;line-height: 32px;}
.header .logo-text span { font-size: 14px; color:#777; letter-spacing: 2px; }

/* 头部右侧：搜索 + 电话 */
.header-right { display: flex; align-items: center; gap: 30px; }
.header-search { display: flex; align-items: center; }
.header-search form { display: flex; align-items: center; border: 2px solid var(--main); border-radius: 30px; overflow: hidden; }
.header-search input[type="text"] { border: 0; padding: 8px 16px; width: 210px; font-size: 13px; color: var(--text); }
.header-search button {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 36px; border: 0; background: var(--main); color: #fff;
}
.header-search button svg { width: 16px; height: 16px; }
.header-tel { display: flex; align-items: center; gap: 10px; }
.header-tel .tel-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(199, 0, 11, .3);
}
.header-tel .tel-icon svg { width: 22px; height: 22px; }
.header-tel p { font-size: 13px; color: var(--text-muted); }
.header-tel b { display: block; font-size: 22px; color: var(--main); font-weight: 700; letter-spacing: .5px; }

/* ---------- 主导航 ---------- */
.nav { background: var(--grad-main); position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 16px rgba(199, 0, 11, .25); }
.nav .nav-list { display: flex; align-items: stretch; width: 100%; }
.nav .nav-list > li { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.nav .nav-list > li > a {
  display: block; color: #fff; font-size: 16px; padding: 0 8px; line-height: 52px;
  letter-spacing: 1px; white-space: nowrap; text-align: center;
  position: relative; transition: background .25s;
}
.nav .nav-list > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) scaleX(0);
  width: 60%; height: 3px; background: #fff; border-radius: 2px; transition: transform .3s ease;
}
.nav .nav-list > li:hover > a,
.nav .nav-list > li.cur > a { background:#FFA700; }
.nav .nav-list > li:hover > a::after,
.nav .nav-list > li.cur > a::after { transform: translateX(-50%) scaleX(1); }

/* 二级下拉菜单 */
.nav .nav-list > li .nav-sub {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  border-top: 3px solid var(--main);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease; z-index: 100; border-radius: 0 0 8px 8px; overflow: hidden;
}
.nav .nav-list > li:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .nav-sub a { display: block; padding: 11px 22px; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--border); }
.nav .nav-sub a:hover { background: var(--main); color: #fff; padding-left: 28px; }

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; overflow: hidden; background: var(--bg-gray); }
.banner .banner-list { display: flex; transition: transform .6s ease; }
.banner .banner-item { position: relative; flex: 0 0 100%; }
.banner .banner-item img { width: 100%; object-fit: cover; display: block; }
.banner .banner-item .banner-txt { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; z-index: 2; text-align: center; }
.banner .banner-txt h2 { font-size: 40px; letter-spacing: 3px; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.banner .banner-txt p { font-size: 16px; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.banner-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.banner-dots span { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.5); cursor: pointer; transition: all .3s; }
.banner-dots span.on { background: var(--main-light); width: 40px; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.25); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; transition: all .3s; }
.banner-arrow:hover { background: var(--main); }
.banner-arrow.prev { left: 24px; }
.banner-arrow.next { right: 24px; }
.banner-arrow svg { width: 20px; height: 20px; }

/* ---------- 页面标题区（内页顶部小图） ---------- */
.page-banner { position: relative; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: url(/skin/images/page-banner.jpg) center/cover no-repeat; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(28,31,38,.55), rgba(199,0,11,.45)); }
.page-banner .page-banner-in { position: relative; z-index: 2; text-align: center; color: #fff; }
.page-banner h1 { font-size: 32px; letter-spacing: 3px; margin-bottom: 8px; }
.page-banner .page-banner-sub { font-size: 14px; letter-spacing: 4px; opacity: .85; }

/* ---------- 面包屑 ---------- */
.crumb { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.crumb .container { display: flex; align-items: center; gap: 6px; }
.crumb svg { width: 14px; height: 14px; color: var(--main); }
.crumb a:hover { color: var(--main); }
.crumb .crumb-cur { color: var(--main); }

/* ---------- 区块标题 ---------- */
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head .sec-en { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--main); }
.sec-head .sec-tit { font-size: 30px; color: var(--text); font-weight: 700; letter-spacing: 2px; margin: 6px 0 12px; }
.sec-head .sec-tit em { color: var(--main); font-style: normal; }
.sec-head .sec-line { width: 56px; height: 3px; background: var(--grad-main); border-radius: 2px; margin: 0 auto; position: relative; }
.sec-head .sec-line::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--main); }
.sec-head .sec-desc { margin-top: 14px; color: var(--text-muted); font-size: 16px; letter-spacing: 1px; }

/* ---------- 通用卡片 ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card .card-pic { position: relative; overflow: hidden; background: var(--bg-gray); }
.card .card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.card:hover .card-pic img { transform: scale(1.08); }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: #9aa1af; padding-top: 60px; }
.footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.footer h3 { color: #fff; font-size: 17px; letter-spacing: 1px; margin-bottom: 22px; position: relative; padding-left: 14px; }
.footer h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--main-light);height: 90%;}
.footer .h3::before { content: ""; position: absolute; left: 35%; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--main-light); }
.footer p, .footer li { font-size: 14px; line-height: 2.1; color: #9aa1af; }
.footer a { color: #9aa1af; }
.footer a:hover { color: var(--main-light); }
.footer .foot-about img { max-height: 46px; margin-bottom: 14px; }
.footer .foot-contact li { display: flex; gap: 8px; align-items: baseline; }
.footer .foot-contact svg { width: 14px; height: 14px; flex-shrink: 0; transform: translateY(2px); color: var(--main-light); }
.footer .foot-tel { font-size: 24px; color: var(--main-light); font-weight: 700; margin-top: 6px; }
.footer .foot-nav li { line-height: 2; }
.footer .foot-nav li a::before { content: "›"; margin-right: 8px; color: var(--main-light); }
.footer .foot-ewm { text-align: center; }
.footer .foot-ewm img { width: 120px; height: 120px; border-radius: 8px; padding: 6px; background: #fff; }
.footer .foot-ewm p { margin-top: 10px; font-size: 12px; letter-spacing: 1px; }

.footer .copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 12px; color: #7d8492; }
.footer .copyright a { color: #9aa1af; margin: 0 6px; }
.footer .copyright a:hover { color: var(--main-light); }

/* ---------- 右侧浮动咨询 ---------- */
.consult-float { position: fixed; right: 16px; bottom: 90px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.consult-float .hide { display: none; }

/* 展开态：咨询卡片 */
.consult-card {
  width: 236px; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  animation: cfIn .35s ease;
}
@keyframes cfIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cf-head { position: relative; padding: 16px 44px 14px 18px; background: var(--grad-main); color: #fff; }
.cf-head b { display: block; font-size: 17px; letter-spacing: 2px; }
.cf-head span { display: block; margin-top: 3px; font-size: 12px; opacity: .85; }
.cf-close {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .3s;
}
.cf-close:hover { background: rgba(255, 255, 255, .4); transform: rotate(90deg); }
.cf-close svg { width: 14px; height: 14px; }

.cf-body { padding: 12px 14px 4px; }
.cf-row {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border-radius: 8px; color: var(--text); text-decoration: none; transition: background .3s;
}
a.cf-row:hover { background: #fff6f6; }
.cf-ic {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cf-ic svg { width: 17px; height: 17px; }
.cf-tel .cf-ic { background: #1dbf62; }
.cf-info { flex: 1; min-width: 0; }
.cf-info em { display: block; font-style: normal; font-size: 11px; color: var(--text-muted); }
.cf-info b { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-ewm { width: 108px; height: 108px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.cf-ewm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-ewm-box { display: flex; align-items: center; gap: 12px; padding: 4px 14px 14px 54px; }
.cf-ewm-box p { font-size: 12px; color: var(--text-muted); line-height: 1.8; }
.cf-arrow { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }

.cf-qq {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 4px 14px 14px; padding: 9px 0; border-radius: 8px;
  background: var(--grad-main); color: #fff; font-size: 13px; text-decoration: none;
  transition: all .3s;
}
.cf-qq:hover { background: var(--grad-dark); box-shadow: 0 6px 16px rgba(199, 0, 11, .35); }
.cf-qq svg { width: 15px; height: 15px; }

/* 折叠态：在线咨询按钮 */
.consult-mini {
  width: 60px; padding: 10px 0 8px; border: 0; border-radius: 30px;
  background: var(--grad-main); color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(199, 0, 11, .35);
  animation: cfPulse 2.4s ease-in-out infinite; transition: transform .3s;
}
.consult-mini:hover { transform: translateY(-3px); }
.consult-mini svg { width: 22px; height: 22px; }
.consult-mini span { font-size: 11px; letter-spacing: 1px; }
@keyframes cfPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(199, 0, 11, .35); }
  50% { box-shadow: 0 8px 28px rgba(199, 0, 11, .6); }
}

/* 返回顶部 */
.consult-gotop {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: #fff; color: var(--main); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all .3s;
}
.consult-gotop:hover { background: var(--main); color: #fff; border-color: var(--main); }
.consult-gotop svg { width: 20px; height: 20px; }

/* ---------- 分页 ---------- */
.pagination { text-align: center; margin-top: 36px; padding-top: 24px; }
.pagination a{ display: inline-block; min-width: 38px; height: 38px; line-height: 38px; padding: 0 12px; margin: 0 3px; border: 1px solid #ddd; border-radius: 4px; color: #555; font-size: 14px; }
.pagination a:hover { background:var(--main); border-color: var(--main); color: #fff; }
.pagination .fcur{ background: var(--main); border-color: var(--main); color: #fff; }

/* ---------- 返回顶部（备用） ---------- */
.back-top { position: fixed; right: 16px; bottom: 30px; z-index: 1000; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--main); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); cursor: pointer; transition: all .3s; }
.back-top:hover { background: var(--main); color: #fff; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1260px) {
.header-search { display:none;}
}

@media (max-width: 1100px) {
  .nav .nav-list > li > a { padding: 0 6px; }
  .header-search input[type="text"] { width: 150px; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner .banner-item img { height: 380px; }
}
@media (max-width: 768px) {
  .header .header-in { height: 72px; }
  .header-search { display: none; }
  .topbar .topbar-msg { display: none; }
  .nav .nav-list > li > a { padding: 0 4px; font-size: 14px; line-height: 46px; }
  .banner .banner-item img { height: 300px; }
  .banner .banner-txt h2 { font-size: 26px; }
  .sec-head .sec-tit { font-size: 24px; }
}

/* ---------- 首页 Banner 下方推荐产品 ---------- */
.home-pro { padding: 60px 0 40px; }
.pro-center { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }

/* 产品分类栏 */
.pro-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.pro-side-head { background: var(--grad-main); color: #fff; padding: 22px 24px; position: relative; }
.pro-side-head .cn { font-size: 20px; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.pro-side-head .cn svg { width: 22px; height: 22px; }
.pro-side-head .en { font-size: 11px; letter-spacing: 3px; opacity: .8; margin-top: 4px; text-transform: uppercase; }
.pro-side-nav li { border-bottom: 1px dashed var(--border); }
.pro-side-nav li:last-child { border-bottom: 0; }
.pro-side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; font-size: 15px; color: var(--text); transition: all .25s; }
.pro-side-nav a::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--main); border-radius: 50%; flex-shrink: 0; }
.pro-side-nav a::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid var(--text-muted); transition: all .25s; }
.pro-side-nav a:hover { background: rgba(199,0,11,.05); color: var(--main); padding-left: 30px; }
.pro-side-nav a:hover::after { border-left-color: var(--main); }

/* 联系方式（首页侧栏） */
.pro-side-contact { border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.psc-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.psc-title svg { width: 18px; height: 18px; color: var(--main); }
.psc-title small { font-size: 11px; font-weight: 400; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }
.psc-tel {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(199, 0, 11, .08), rgba(199, 0, 11, .02));
  border: 1px dashed rgba(199, 0, 11, .35);
  border-radius: 12px;
  padding: 12px 16px;
  transition: box-shadow .3s;
}
.psc-tel:hover { box-shadow: 0 6px 16px rgba(199, 0, 11, .12); }
.psc-tel > svg { width: 36px; height: 36px; color: var(--main); flex-shrink: 0; }
.psc-tel span { display: block; font-size: 12px; color: var(--text-muted); }
.psc-tel a {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--main);
  transition: color .25s;
}
.psc-tel a:hover { color: #b30000; }
.psc-list { margin-top: 14px; display: grid; gap: 10px; }
.psc-list li { display: flex; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.psc-list li span { color: var(--text); white-space: nowrap; flex-shrink: 0; }
.psc-list li span::after { content: "："; }
.psc-list li em { font-style: normal; word-break: break-all; }

/* 推荐产品网格（首页）—— 独立样式 */
.home-pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-pro-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .35s ease; }
.home-pro-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
  z-index: 2;
}
.home-pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.home-pro-card:hover::before { transform: scaleX(1); }
.home-pro-card .hp-pic { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-gray); }
.home-pro-card .hp-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-pro-card:hover .hp-pic img { transform: scale(1.1); }
.home-pro-card .hp-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--grad-main);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(199, 0, 11, .35);
}
.home-pro-card .hp-mask {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 28, .5), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
}
.home-pro-card:hover .hp-mask { opacity: 1; }
.home-pro-card .hp-view {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.6);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--main);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: all .35s;
  z-index: 2;
}
.home-pro-card:hover .hp-view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.home-pro-card .hp-view svg { width: 20px; height: 20px; }
.home-pro-card .hp-info { padding: 16px 18px 18px; }
.home-pro-card .hp-name { font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.home-pro-card:hover .hp-name { color: var(--main); }
.home-pro-card .hp-name::before {
  content: "";
  display: inline-block;
  width: 4px; height: 15px;
  background: var(--grad-main);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -2px;
}
.home-pro-card .hp-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-pro-card .hp-link {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--grad-main);
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  display:none;
  transform: translateY(8px);
  transition: all .3s;
  box-shadow: 0 4px 10px rgba(199, 0, 11, .25);
}
.home-pro-card:hover .hp-link { opacity: 1; transform: translateY(0); }
.home-pro-card .hp-link svg { width: 14px; height: 14px; }

/* 查看更多 */
.home-more { text-align: center; margin: 36px 0 0; }
.home-more a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 42px; border: 1px solid var(--main); color: var(--main); border-radius: 30px; font-size: 15px; letter-spacing: 2px; transition: all .3s; }
.home-more a:hover { background: var(--main); color: #fff; }
.home-more a svg { width: 16px; height: 16px; }

/* ---------- 标语展示位 ---------- */
.home-slogan {
  position: relative;
  padding: 46px 0;
  background:linear-gradient(120deg, #212a36 0%, #1a2230 55%, #242f3f 100%);
  overflow: hidden;
}
.home-slogan::before {
  content: ""; position: absolute; right: -140px; top: -180px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 0, 11, .4), transparent 70%);
  pointer-events: none;
}
.home-slogan::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.slogan-in {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.slogan-tag {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255, 255, 255, .5); font-size: 13px;
  letter-spacing: 4px; margin-bottom: 14px;
}
.slogan-tag::before { content: ""; width: 32px; height: 2px; background: var(--main); }
.slogan-text h2 {
  font-size: 32px; font-weight: 700; letter-spacing: 4px;
  color: #fff; line-height: 1.4; margin-bottom: 10px;
}
.slogan-text h2 em { color: var(--main); font-style: normal; }
.slogan-text p { color: rgba(255, 255, 255, .6); font-size: 15px; letter-spacing: 1px; }
.slogan-action { flex-shrink: 0; }
.slogan-btn {
  padding: 15px 34px;
  background: linear-gradient(135deg, #c7000b, #e23a2f);
  border-radius: 40px;
  font-size: 16px;
  box-shadow: 0 8px 26px rgba(199, 0, 11, .45);
}

/* ---------- 公司简介 ---------- */
.home-about { background: var(--bg-gray); padding: 70px 0; }
.home-about .ha-grid { display: grid; grid-template-columns: 520px 1fr; gap: 50px; align-items: center; }
.home-about .ha-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.home-about .ha-img img { width: 100%; height: 100%; object-fit: cover; }
.home-about .ha-img::after { content: ""; position: absolute; left: 16px; bottom: 16px; width: 84px; height: 84px; border-left: 4px solid var(--main); border-bottom: 4px solid var(--main); border-radius: 0 0 0 8px; pointer-events: none; }
.home-about .ha-title { font-size: 28px; font-weight: 700; letter-spacing: 2px; color: var(--text); }
.home-about .ha-title em { color: var(--main); font-style: normal; }
.home-about .ha-sub { font-size: 13px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; margin: 6px 0 20px; }
.home-about .ha-text { color: var(--text-light); font-size: 14px; line-height: 2; text-indent: 2em; }
.home-about .ha-points { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-about .ha-point { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.home-about .ha-point svg { width: 20px; height: 20px; color: var(--main); flex-shrink: 0; }
.home-about .ha-more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.home-about .ha-more flydeltype { display: contents; }
.home-about .ha-tel { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--border); }
.home-about .ha-tel svg { width: 34px; height: 34px; color: var(--main); }
.home-about .ha-tel span { font-size: 12px; color: var(--text-muted); }
.home-about .ha-tel b { display: block; font-size: 22px; color: var(--main); font-weight: 700; white-space: nowrap; }

/* ---------- 案例展示（首页） ---------- */
.home-case { padding: 70px 0 50px; background: #fff; }
.case-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-grid flylist { display: contents; }
.case-card {
  display: block;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: transform .35s, box-shadow .35s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.case-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-media::before {
  content: "CASE";
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--grad-main); color: #fff;
  font-size: 11px; letter-spacing: 3px; padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(199, 0, 11, .4);
}
.case-info { padding: 16px 18px 18px; }
.case-info h3 { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 10px; }
.case-view {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--main); font-weight: 600;
}
.case-view svg { width: 15px; height: 15px; transition: transform .3s; }
.case-card:hover .case-view svg { transform: translateX(4px); }

/* ---------- 原版优势 ---------- */
.home-adv {
  background:linear-gradient(120deg, #212a36 0%, #1a2230 55%, #242f3f 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.home-adv::before {
  content: ""; position: absolute; right: -140px; top: -180px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 0, 11, .4), transparent 70%);
  pointer-events: none;
}
.home-adv::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.home-adv .sec-head .sec-en { color: rgba(255, 255, 255, .45); }
.home-adv .sec-head .sec-tit { color: #fff; }
.home-adv .sec-head .sec-desc { color: rgba(255, 255, 255, .6); }
.af-feat { margin-top: 46px; display: flex; flex-direction: column; gap: 36px; }
.af-row {
  position: relative;
  display: flex; align-items: center; gap: 52px;
  background: #fff; border-radius: 18px;
  padding: 36px 42px; overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .22);
  transition: transform .35s, box-shadow .35s;
}
.af-row::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: var(--grad-main);
}
.af-row:hover { transform: translateY(-6px); box-shadow: 0 22px 56px rgba(0, 0, 0, .3); }
.af-rev { flex-direction: row-reverse; }
.af-media { position: relative; width: 44%; flex-shrink: 0; }
.af-media-main img { width: 100%; display: block; border-radius: 14px; transition: transform .5s; }
.af-row:hover .af-media-main img { transform: scale(1.03); }
.af-media-sub {
  display: inline-block; margin-top: 20px; width:auto;
  background: #fafafa; border: 1px solid #f0f0f0; border-radius: 12px;
  padding: 8px; box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}
.af-media-sub img { width: 100%; display: block; }
.af-num {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  font-size: 20px; font-weight: 800; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(199, 0, 11, .5);
}
.af-text { flex: 1; }
.af-text h3 {
  font-size: 22px; color: var(--text); line-height: 1.5;
  margin-bottom: 12px; letter-spacing: 1px;
}
.af-text h3::before {
  content: ""; display: inline-block; width: 4px; height: 18px;
  background: var(--grad-main); border-radius: 2px; margin-right: 10px;
  vertical-align: -2px;
}
.af-text i { display: block; font-style: normal; font-size: 12px; color: var(--text-muted); margin-bottom: 14px; letter-spacing: .5px; }
.af-text p { font-size: 13px; color: #667; line-height: 1.9; margin-bottom: 10px; }
.af-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.af-tags span {
  font-size: 12px; letter-spacing: 1px; color: var(--main);
  background: rgba(199, 0, 11, .06);
  border: 1px solid rgba(199, 0, 11, .22);
  border-radius: 20px; padding: 5px 16px;
}

/* ---------- 工厂展示位（首页） ---------- */
.home-factory { padding: 70px 0; background: #fff; }
.factory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.factory-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.factory-pic { width: 100%; height: 100%; }
.factory-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.factory-card:hover .factory-pic img { transform: scale(1.08); }
.factory-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 24px 14px 10px;
  background: linear-gradient(transparent, rgba(10, 14, 20, .78));
  color: #fff; font-size: 13px; letter-spacing: 1px;
}
.factory-name::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--main); }

/* ---------- 新闻资讯（首页） ---------- */
.home-news { padding: 70px 0; background: var(--bg-gray); }
.news-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-home-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all .35s; }
.news-home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-home-card .nh-pic { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.news-home-card .nh-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-home-card:hover .nh-pic img { transform: scale(1.08); }
.news-home-card .nh-body { padding: 18px; }
.news-home-card .nh-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--main); background: rgba(199,0,11,.08); padding: 2px 10px; border-radius: 12px; }
.news-home-card .nh-date svg { width: 12px; height: 12px; }
.news-home-card .nh-title { font-size: 15px; font-weight: 600; margin: 10px 0 8px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.news-home-card:hover .nh-title { color: var(--main); }
.news-home-card .nh-txt { font-size: 13px; color: var(--text-muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 友情链接 ---------- */
.home-link { padding: 34px 0; background: var(--bg-gray); border-top: 1px solid var(--border); }
.home-link .link-in {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.home-link .link-tit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--main);
  white-space: nowrap;
  padding: 4px 0;
}
.home-link .link-tit::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--grad-main);
  margin-right: 2px;
}
.home-link .link-tit svg { width: 20px; height: 20px; }
.home-link .link-list {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.home-link .link-list a {
  color: var(--text-muted);
  background: var(--bg-gray);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  transition: all .3s;
}
.home-link .link-list a:hover {
  color: #fff;
  background: var(--grad-main);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(199, 0, 11, .25);
}

/* ---------- 服务流程（首页） ---------- */
.home-flow {
  padding: 70px 0;
  background:
    radial-gradient(820px 320px at 50% 0%, rgba(199, 0, 11, .05), transparent 70%),
    #fff;
}
.flow-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.flow-item {
  position: relative;
  background: #f7f8fa;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 24px 16px 20px;
  text-align: center;
  transition: transform .35s, box-shadow .35s, background .35s;
}
.flow-item:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
}
.flow-item:not(:last-child)::after {
  content: ""; position: absolute; top: 64px; right: -18px;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--main), rgba(199, 0, 11, .1));
}
.flow-item:not(:last-child)::before {
  content: ""; position: absolute; top: 61px; right: -22px;
  border: 5px solid transparent; border-left-color: var(--main);
}
.flow-step {
  position: absolute; top: 8px; left: 14px;
  font-size: 30px; font-weight: 800; font-style: italic; line-height: 1;
  color: rgba(199, 0, 11, .1); user-select: none; pointer-events: none;
}
.flow-icon {
  width: 60px; height: 60px; margin: 4px auto 14px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(199, 0, 11, .3);
  transition: transform .4s;
}
.flow-icon svg { width: 26px; height: 26px; color: #fff; }
.flow-item:hover .flow-icon { transform: rotate(-8deg) scale(1.08); }
.flow-item h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.flow-item p { font-size: 12px; color: var(--text-muted); line-height: 1.8; }
.flow-cta {
  margin-top: 44px;
  display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap;
  background: linear-gradient(100deg, #b4000a 0%, #d81b26 55%, #f04b2e 100%);
  border-radius: 60px;
  padding: 22px 34px;
  box-shadow: 0 14px 34px rgba(199, 0, 11, .28);
}
.flow-cta p { color: #fff; font-size: 16px; letter-spacing: 1px; }
.flow-cta a {
  background: #fff; color: var(--main);
  font-size: 14px; font-weight: 600; padding: 10px 26px;
  border-radius: 30px; transition: transform .3s, box-shadow .3s;
}
.flow-cta a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .pro-center { grid-template-columns: 240px 1fr; }
  .home-about .ha-grid { grid-template-columns: 1fr; }
  .home-pro-grid, .news-home-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-item:nth-child(3n)::before,
  .flow-item:nth-child(3n)::after { display: none; }
}
@media (max-width: 768px) {
  .slogan-in { flex-direction: column; text-align: center; gap: 24px; }
  .slogan-tag { justify-content: center; }
  .slogan-tag::before { display: none; }
  .slogan-text h2 { font-size: 24px; letter-spacing: 2px; }
  .slogan-action { width: 100%; }
  .slogan-btn { width: 100%; justify-content: center; }
  .pro-center { grid-template-columns: 1fr; }
  .home-pro-grid, .news-home-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-about .ha-points { grid-template-columns: 1fr; }
  .af-row, .af-rev { flex-direction: column; align-items: stretch; padding: 24px; gap: 30px; }
  .af-media { width: 100%; }
  .af-media-sub { width: 200px; margin-top: 16px; }
  .af-num { width: 44px; height: 44px; font-size: 17px; }
  .af-text h3 { font-size: 18px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-item::before, .flow-item::after { display: none; }
  .flow-cta { padding: 18px 22px; border-radius: 24px; text-align: center; }
  .flow-cta p { font-size: 14px; }
  .home-about .ha-more { gap: 14px; }
  .home-about .ha-tel { padding-left: 0; border-left: none; }
}

/* ---------- 内页通用布局（与 left.htm 搭配） ---------- */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 40px 0; align-items: start; }

/* 侧边栏 */
.sidebar { position: sticky; top: 70px; }
.side-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.side-box .side-head { background: var(--grad-main); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 10px; }
.side-box .side-head svg { width: 20px; height: 20px; }
.side-box .side-head .cn { font-size: 17px; font-weight: 700; }
.side-box .side-head .en { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: 2px; }
.side-box .side-nav li { border-bottom: 1px dashed var(--border); }
.side-box .side-nav li:last-child { border-bottom: 0; }
.side-box .side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; font-size: 14px; color: var(--text); }
.side-box .side-nav a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: all .25s; }
.side-box .side-nav a::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid var(--border); transition: all .25s; }
.side-box .side-nav a:hover, .side-box .side-nav a.cur { color: var(--main); }
.side-box .side-nav a:hover::before, .side-box .side-nav a.cur::before { background: var(--main); }
.side-box .side-nav a:hover::after, .side-box .side-nav a.cur::after { border-left-color: var(--main); }

/* 侧边栏联系卡 */
.side-contact { background: var(--grad-main); color: #fff; border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.side-contact svg { width: 40px; height: 40px; opacity: .9; }
.side-contact p { font-size: 13px; opacity: .9; margin-top: 6px; letter-spacing: 1px; }
.side-contact b { display: block; font-size: 22px; font-weight: 700; margin-top: 8px; letter-spacing: 1px; }

/* ---------- 内容主体头部 ---------- */
.main-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 24px; }
.main-head .mh-title { font-size: 18px; font-weight: 700; color: var(--text); position: relative; padding-left: 14px; }
.main-head .mh-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--main); }
.main-head .mh-crumb { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.main-head .mh-crumb svg { width: 13px; height: 13px; color: var(--main); }
.main-head .mh-crumb a:hover { color: var(--main); }

/* ==========================================================
   产品列表页样式（独立）
   ========================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .35s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.prod-card .pc-pic { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-gray); }
.prod-card .pc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prod-card:hover .pc-pic img { transform: scale(1.1); }
.prod-card .pc-info { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.prod-card .pc-name { font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-card .pc-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-main); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prod-card .pc-btn svg { width: 14px; height: 14px; }

/* ==========================================================
   新闻列表页样式（独立）
   ========================================================== */
.news-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.news-item { display: flex; gap: 20px; padding: 20px 24px; border-bottom: 1px dashed var(--border); transition: background .25s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: rgba(199,0,11,.04); }
.news-item .ni-pic { flex-shrink: 0; width: 180px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.news-item .ni-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .ni-pic img { transform: scale(1.08); }
.news-item .ni-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.news-item .ni-title { font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.news-item:hover .ni-title { color: var(--main); }
.news-item .ni-txt { margin-top: 8px; font-size: 13px; color: var(--text-muted); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .ni-meta { margin-top: 10px; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 14px; }
.news-item .ni-meta svg { width: 13px; height: 13px; color: var(--main); }
.news-item .ni-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* 新闻列表左侧日期块（独立样式） */
.news-date-item { display: flex; gap: 20px; padding: 22px 24px; border-bottom: 1px dashed var(--border); transition: background .25s; }
.news-date-item:last-child { border-bottom: 0; }
.news-date-item:hover { background: rgba(199,0,11,.04); }
.news-date-item .nd-date { flex-shrink: 0; width: 92px; text-align: center; background: var(--bg-gray); border-radius: 8px; padding: 10px 0; border-bottom: 3px solid var(--main); }
.news-date-item .nd-date b { display: block; font-size: 26px; color: var(--main); line-height: 1.2; }
.news-date-item .nd-date span { font-size: 12px; color: var(--text-muted); }
.news-date-item .nd-body { flex: 1; min-width: 0; }
.news-date-item .nd-title { font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.news-date-item:hover .nd-title { color: var(--main); }
.news-date-item .nd-txt { margin-top: 8px; font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 分页 ---------- */
.pagination { padding: 30px 0 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 220px 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-item { flex-direction: column; }
  .news-item .ni-pic { width: 100%; }
  .news-date-item .nd-date { width: 72px; }
}

/* ---------- 单页内容 ---------- */
.single-page { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 40px; }
.single-title { font-size: 24px; font-weight: 700; text-align: center; letter-spacing: 2px; color: var(--text); margin-bottom: 24px; position: relative; padding-bottom: 16px; }
.single-title::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: var(--grad-main); }
.single-body { font-size: 15px; color: var(--text-light); line-height: 2.1; }
.single-body p { margin-bottom: 12px; text-indent: 2em; }
.single-body img { max-width: 100%; border-radius: 8px; margin: 12px auto; display: block; }

/* ---------- 关于我们：企业核心板块 ---------- */
.about-cores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.about-core { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; transition: all .3s; }
.about-core:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-core .ac-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--grad-main); color: #fff; display: flex; align-items: center; justify-content: center; }
.about-core .ac-icon svg { width: 26px; height: 26px; }
.about-core h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.about-core p { font-size: 13px; color: var(--text-muted); line-height: 1.8; text-indent: 0; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-top: 26px; }
.contact-box { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 26px; }
.contact-box h3 { font-size: 17px; margin-bottom: 16px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.contact-box h3 svg { width: 20px; height: 20px; color: var(--main); }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--text-light); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list li svg { width: 18px; height: 18px; color: var(--main); flex-shrink: 0; margin-top: 3px; }
.contact-list li b { color: var(--text); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 360px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .single-page { padding: 20px 16px; }
  .about-cores { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

.detail-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }

/* ---------- 详情页通用头部 ---------- */
.detail-title { font-size: 22px; font-weight: 700; color: var(--text); text-align: center; letter-spacing: 1px; }
.detail-meta { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 16px 0 22px; padding: 12px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta svg { width: 14px; height: 14px; color: var(--main); }

/* ---------- 详情内容 ---------- */
.detail-bar {
  display: flex; align-items: center; gap: 14px;
  margin: 4px 0 20px;
}
.detail-bar-txt {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 1px;
}
.detail-bar-txt::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: var(--grad-main);
}
.detail-bar-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.detail-body { font-size: 14px; color: var(--text-light); line-height: 2; }
.detail-body img { border-radius: 8px; margin: 8px auto; display: block; max-width: 100%; }
.detail-body p { margin-bottom: 12px; }
.detail-body h3, .detail-body h4 { margin: 18px 0 8px; color: var(--text); }

/* ==========================================================
   产品详情页（独立）
   ========================================================== */
.prod-detail .pd-head { display: grid; grid-template-columns: 350px 1fr; gap: 36px; margin-bottom: 34px; align-items: start; }
.prod-detail .pd-pic { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--border); background: var(--bg-gray); }
.prod-detail .pd-pic img { width: 100%; height: 100%; object-fit: cover; }
.prod-detail .pd-info .pd-name { font-size: 24px; font-weight: 700; color: var(--text); padding-bottom: 14px; border-bottom: 2px solid var(--main); display: inline-block; }
.prod-detail .pd-desc { margin-top: 10px; font-size: 14px; color: var(--text-light); line-height: 2; }
.prod-detail .pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; margin-bottom:20px; }
.prod-detail .pd-tags a { font-size: 12px; color: var(--main); background: rgba(199,0,11,.08); border: 1px solid rgba(199,0,11,.2); border-radius: 14px; padding: 4px 14px; }
.prod-detail .pd-tags a:hover { font-weight:bold;}
.prod-detail .pd-consult-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
  padding: 12px 34px;
  background: var(--grad-main);
  color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  border-radius: 40px;
  box-shadow: 0 6px 18px rgba(199, 0, 11, .35);
  transition: transform .3s, box-shadow .3s, filter .3s;
}
.prod-detail .pd-consult-btn svg { width: 17px; height: 17px; }
.prod-detail .pd-consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 0, 11, .45);
  filter: brightness(1.06);
  color: #fff;
}
.prod-detail .pd-contact { margin-top: 26px; background: var(--bg-gray); border-radius: var(--radius); padding: 18px 22px; }
.prod-detail .pd-contact p { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.prod-detail .pd-contact p svg { width: 15px; height: 15px; color: var(--main); }
.prod-detail .pd-contact b { font-size: 22px; color: var(--main); }

/* 上下篇 */
.detail-pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.pn-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.pn-item:hover {
  border-color: rgba(199, 0, 11, .35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}
.pn-icon {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(199, 0, 11, .35);
  transition: transform .3s;
}
.pn-icon svg { width: 18px; height: 18px; }
.pn-item:hover .pn-icon { transform: translateX(3px); }
.pn-item.pn-next:hover .pn-icon { transform: translateX(-3px); }
.pn-txt { flex: 1; min-width: 0; }
.pn-label {
  display: block; font-size: 12px; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 4px;
}
.pn-txt a {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 14px; color: var(--text);
}
.pn-txt a:hover { color: var(--main); }

/* 相关推荐（产品） */
.rel-block { margin-top: 40px;background: #fff;border: 1px solid var(--border);border-radius: var(--radius-lg);padding: 20px;}
.rel-block .rel-tit { font-size: 18px; font-weight: 700; position: relative; padding-left: 14px; margin-bottom: 20px; }
.rel-block .rel-tit::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--main); }
.rel-pro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rel-pro-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .3s; background: #fff; }
.rel-pro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.rel-pro-card .rp-pic { aspect-ratio: 3 / 4; overflow: hidden; }
.rel-pro-card .rp-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rel-pro-card:hover .rp-pic img { transform: scale(1.1); }
.rel-pro-card .rp-name { padding: 12px 14px; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-pro-card:hover .rp-name { color: var(--main); }

/* ==========================================================
   新闻详情页（独立）
   ========================================================== */
.news-detail .detail-title { font-size: 24px; }
.news-detail .nd-author { color: var(--text-muted); text-align: center; font-size: 13px; margin-bottom: 6px; }
.rel-news-list { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rel-news-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 14px; transition: all .3s ease; }
.rel-news-item:hover { border-color: var(--main); box-shadow: var(--shadow); }
.rel-news-item a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-news-item a::before { content: "▪"; color: var(--main); margin-right: 8px; }
.rel-news-item a:hover { color: var(--main); }
.rel-news-item .rn-date { font-size: 12px; color: var(--text-muted); flex-shrink: 0; margin-left: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .prod-detail .pd-head { grid-template-columns: 1fr; }
  .rel-pro-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .detail-wrap { padding: 18px 16px; }
  .detail-title { font-size: 18px; }
  .prod-detail .pd-name { font-size: 20px; }
  .detail-pn { grid-template-columns: 1fr; gap: 12px; }
  .rel-news-list { grid-template-columns: 1fr; }
  .consult-float { right: 12px; bottom: 76px; }
  .consult-card { width: 232px; }
  .cf-ewm { width: 96px; height: 96px; }
  .cf-ewm-box { padding-left: 44px; gap: 10px; }
  .cf-ewm-box p { font-size: 11px; }
}
