/* ============================================================
   昆泰触控官网 样式表（原创实现）
   设计说明：深藏蓝主色企业站，宽容器（80%）布局，
   断点 1440/1200/1024/768/540/430，移动优先适配由 max-width 递减
   ============================================================ */

/* ---------- 1. 变量与基础 ---------- */
:root {
  --primary: #1d276a;
  --primary-grad: linear-gradient(0deg, #1d276a, #1a4e4e);
  --text-main: #333;
  --text-sub: #666;
  --text-light: #999;
  --bg-gray: #f5f5f5;
  --border-light: #eee;
  --header-h: 100px;
  --font: "微软雅黑", "Microsoft YaHei", Arial, Helvetica, sans-serif;
}

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

/* 落地定位期间隐藏页面（防止顶部内容闪现一帧后瞬移） */
html.js-locating body { visibility: hidden; }

html, body {
  font: 14px/1.8 var(--font);
  color: var(--text-main);
  overflow-x: clip; /* clip 代替 hidden：不破坏 position: sticky */
  -webkit-tap-highlight-color: transparent;
}

ul, ol, dl { list-style: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }

a, a:hover, a:active, a:visited, a:focus {
  text-decoration: none;
  outline: none;
  transition: color .3s, background .3s, opacity .3s;
}

input, button, textarea, select { outline: none; font-family: var(--font); }

/* 滚动条 */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #aaa; }
::-webkit-scrollbar-thumb { background: #fff; }

/* 单行/多行省略 */
.ovh { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ovh2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* 版心 */
.inner { width: 80%; max-width: 1900px; margin: 0 auto; }
.wrap { width: 96%; max-width: 1200px; margin: 0 auto; }

/* 滚动出现动画（复刻 animate.css fadeIn 系列 100% 位移 + 参考站 wow 参数） */
.anim { visibility: hidden; }
.anim.up    { animation-name: fadeUp; }
.anim.down  { animation-name: fadeDown; }
.anim.left  { animation-name: fadeLeft; }
.anim.right { animation-name: fadeRight; }
.anim.visible { visibility: visible; animation-fill-mode: both; }
@keyframes fadeUp    { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeDown  { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeLeft  { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fadeRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

/* 首页动画时长/延迟阶梯（对齐参考站 wow 配置） */
/* 板块标题：fadeInDown 1.5s .1s */
.sec-title.anim { animation-duration: 1.5s; animation-delay: .1s; }
/* 查看更多按钮：fadeInUp 1.5s .3s */
.more-bar.anim { animation-duration: 1.5s; animation-delay: .3s; }
/* 关于我们：左文 fadeInLeft 1.5s .2s / 右图 fadeInRight 1.5s .3s */
.home-about .txt.anim { animation-duration: 1.5s; animation-delay: .2s; }
.home-about .pic.anim { animation-duration: 1.5s; animation-delay: .3s; }
/* 产品中心：tab 行 fadeInUp 1s .4s / 内容区 fadeInRight 1s .4s */
.product-tabs .tabs.anim { animation-duration: 1s; animation-delay: .4s; }
.product-panes.anim { animation-duration: 1s; animation-delay: .4s; }
/* 优势卡：fadeInRight 1s，阶梯 0 / .4s / .8s / 1s */
.advantage-list li.anim { animation-duration: 1s; }
.advantage-list li.anim:nth-child(2) { animation-delay: .4s; }
.advantage-list li.anim:nth-child(3) { animation-delay: .8s; }
.advantage-list li.anim:nth-child(4) { animation-delay: 1s; }
/* 新闻卡：fadeInRight 1.5s，阶梯 .2s ~ .7s */
.news-list li.anim { animation-duration: 1.5s; }
.news-list li.anim:nth-child(1) { animation-delay: .2s; }
.news-list li.anim:nth-child(2) { animation-delay: .3s; }
.news-list li.anim:nth-child(3) { animation-delay: .4s; }
.news-list li.anim:nth-child(4) { animation-delay: .5s; }
.news-list li.anim:nth-child(5) { animation-delay: .6s; }
.news-list li.anim:nth-child(6) { animation-delay: .7s; }
/* 案例轮播：fadeInUp 1.5s .2s */
.case-wrap.anim { animation-duration: 1.5s; animation-delay: .2s; }

/* ---------- 2. 页头 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: #fff; z-index: 999;
}
body.on-fixed .site-header { box-shadow: 0 0 5px rgba(0,0,0,.2); }

.site-header .inner { } /* 不加 overflow:hidden：会裁掉二级下拉菜单（下拉需伸出头部区域） */
.site-header .logo { float: left; width: 30%; }
.site-header .logo a { display: block; }
.site-header .logo img { margin-top: 15px; height: 70px; max-width: 100%; }

.site-header .search-btn { float: right; width: 5%; text-align: center; display: none; }

.site-header .nav { float: right; width: 65%; }
.site-header .nav > ul > li {
  float: left; width: 14.28%; height: var(--header-h); line-height: var(--header-h);
  text-align: center; position: relative; cursor: pointer;
}
.site-header .nav > ul > li > a { display: block; width: 100%; color: #222; font-size: 16px; position: relative; z-index: 10; }
.site-header .nav > ul > li::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 5px;
  background: var(--primary); transition: width .3s ease-out; z-index: 9;
}
.site-header .nav > ul > li:hover > a { color: var(--primary); }
.site-header .nav > ul > li.cur::after { width: 100%; }
.site-header .nav > ul > li.cur > a { color: var(--primary); }

/* 二级下拉（对齐参考：容器渐显 + 子项高度逐条展开） */
.site-header .nav ul ul {
  position: absolute; left: 0; top: var(--header-h); width: 100%;
  background: rgba(255,255,255,.94); box-shadow: 0 5px 5px rgba(0,0,0,.1);
  overflow: hidden; opacity: 0; transition: opacity .4s;
}
.site-header .nav li:hover > ul { opacity: 1; }
.site-header .nav ul ul li {
  display: block; width: 100%; height: 0; line-height: 0;
  border-bottom: 1px dashed #e4e4e4;
  transition: height .4s, line-height .4s, background .3s;
}
.site-header .nav li:hover > ul li { height: 40px; line-height: 40px; }
.site-header .nav ul ul li a { display: block; font-size: 14px; color: var(--text-sub) !important; }
.site-header .nav ul ul li:last-child { border-bottom: none; }
.site-header .nav ul ul li:hover { background: var(--primary); }
.site-header .nav ul ul li:hover a { color: #fff !important; }

/* 汉堡按钮（移动端） */
.site-header .mbtn {
  display: none; width: 60px; height: 60px; position: absolute; top: 0; right: 0;
  background: none; border: none; cursor: pointer; z-index: 1001;
}
.site-header .mbtn i,
.site-header .mbtn i::before,
.site-header .mbtn i::after {
  content: ""; display: block; width: 24px; height: 3px; background: var(--primary);
  position: absolute; left: 18px; border-radius: 2px; transition: transform .3s, opacity .3s, top .3s;
}
.site-header .mbtn i { top: 28px; }
.site-header .mbtn i::before { top: -8px; left: 0; width: 24px; }
.site-header .mbtn i::after { top: 8px; left: 0; width: 24px; }
body.on-menu .site-header .mbtn i { background: transparent; }
body.on-menu .site-header .mbtn i::before { transform: rotate(45deg); top: 0; }
body.on-menu .site-header .mbtn i::after { transform: rotate(-45deg); top: 0; }

/* ---------- 3. 首页 Banner ---------- */
.home-banner { width: 100%; position: relative; z-index: 998; }
.home-banner .swiper-slide {
  height: 627px; min-height: 627px;
  background: no-repeat center / cover; position: relative; overflow: hidden;
}
.home-banner .slide-text {
  position: absolute; top: 43%; left: 10%; color: #fff;
}
.home-banner .slide-text b { display: block; font-size: 50px; line-height: 1.2; margin-bottom: 10px; color: var(--primary); font-weight: bold; }
.home-banner .slide-text p { font-size: 40px; color: var(--primary); }
.home-banner .slide-text .btn-more {
  display: block; width: 160px; height: 45px; line-height: 45px; text-align: center;
  background: #fff; color: var(--primary); font-size: 15px; border-radius: 2px; margin-top: 60px;
}
.home-banner .swiper-pagination { bottom: 20px; text-align: center; }
.home-banner .swiper-pagination-bullet {
  width: 100px; height: 6px; border-radius: 0; background: #fff;
  opacity: .6; margin: 0 3px !important;
}
.home-banner .swiper-pagination-bullet-active { opacity: 1; }

/* ---------- 4. 通用标题 / 查看更多 ---------- */
.sec-title { position: relative; margin-bottom: 30px; text-align: center; }
.sec-title .en {
  display: block; font-size: 40px; line-height: 1; text-transform: uppercase;
  font-family: "Times New Roman", serif; font-weight: bold;
  background-image: linear-gradient(to bottom, #1d276a, #1a4e4e);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
}
.sec-title .cn { font-size: 32px; color: var(--text-main); }
.sec-title.white .cn { color: #fff; }
.sec-title.white .en { background-image: linear-gradient(to bottom, #fff, #ddd); }

.more-bar { margin-top: 38px; width: 50%; position: relative; z-index: 99; }
.more-bar a {
  display: inline-flex; align-items: stretch; background: var(--primary); color: #fff;
  font-size: 16px; line-height: 1; box-shadow: 0 5px 20px rgba(41,94,204,.2);
}
.more-bar a span { letter-spacing: 1px; padding: 14px 48px 14px 28px; }
.more-bar a i {
  display: flex; align-items: center; justify-content: center;
  padding: 0 14px; background: #333; border-left: 1px solid rgba(255,255,255,.18);
}
.more-bar a i svg { width: 16px; height: 16px; fill: #fff; }
.more-bar a:hover { opacity: .88; }

/* ---------- 5. 首页·关于我们 ---------- */
.home-about {
  padding: 120px 0; overflow: hidden;
  background: var(--primary) url("../img/bg-about.jpg") no-repeat center / cover;
}
.home-about .cols { overflow: hidden; }
.home-about .txt { width: 50%; float: left; color: #fff; }
.home-about .txt .name { display: block; font-size: 35px; letter-spacing: 2px; margin-bottom: 10px; color: #fff; }
.home-about .txt .slogan { display: block; font-size: 24px; margin-bottom: 30px; }
.home-about .txt p { font-size: 16px; line-height: 35px; letter-spacing: 1px; }
.home-about .pic { width: 42%; float: right; overflow: hidden; }
.home-about .pic img { width: 100%; display: block; }
.home-about .pic video { width: 100%; display: block; background: #000; }
.home-about .more-bar { margin-top: 40px; }

/* ---------- 6. 首页·产品中心（Tab 联动） ---------- */
.home-product { padding: 120px 0; overflow: hidden; background: #fff; }
.product-tabs { width: 100%; overflow: hidden; }
.product-tabs .tabs { display: flex; }
.product-tabs .tab {
  flex: 1; height: 70px; line-height: 70px; text-align: center;
  font-size: 18px; cursor: pointer; background: var(--bg-gray);
  border: 1px solid var(--bg-gray); margin-right: 1px; transition: background .3s, color .3s;
}
.product-tabs .tab:last-child { margin-right: 0; }
.product-tabs .tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.product-panes { margin-top: 20px; }
.product-panes .pane { display: none; overflow: hidden; }
.product-panes .pane.active { display: block; }
.product-panes .pane dl { overflow: hidden; }
.product-card { width: 24%; margin-right: 1.33%; float: left; background: #fff; border: 1px solid var(--border-light); }
.product-card:nth-child(4) { margin-right: 0; }
.product-card .p-img {
  display: block; position: relative; width: 100%; height: 300px; overflow: hidden; background: #fff;
}
.product-card .p-img img {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto;
  max-width: 90%; max-height: 90%; transition: max-width .5s, max-height .5s;
}
.product-card .p-name {
  display: block; position: relative; text-align: center; padding: 10px;
  border-top: 1px solid var(--border-light); background: var(--border-light);
}
.product-card .p-name p { font-size: 16px; color: #111; position: relative; z-index: 10; }
.product-card .p-name::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0;
  background: var(--primary); transition: height .5s; z-index: 9;
}
.product-card:hover .p-name::before { height: 100%; }
.product-card:hover .p-name p { color: #fff; }
.product-card:hover .p-img img { max-width: 100%; max-height: 100%; }

/* ---------- 7. 首页·我们的优势 ---------- */
.home-advantage { padding: 120px 0; overflow: hidden; background: var(--bg-gray); }
.advantage-list { width: 100%; overflow: hidden; padding-top: 20px; }
.advantage-list li {
  float: left; width: 24%; margin-right: 1.33%; text-align: center;
}
.advantage-list li:nth-child(4) { margin-right: 0; float: right; }
.advantage-list .box {
  position: relative; background: #fff; padding: 0 10px 20px;
  border-bottom: 4px solid var(--primary); cursor: pointer;
  transition: transform .5s, background .5s, box-shadow .5s;
}
.advantage-list .box .pic { margin: 0 -10px; overflow: hidden; }
/* 优势卡图片统一 4:3 裁剪填充，卡片等高不参差 */
.advantage-list .box .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.advantage-list .box .ico { display: block; font-size: 50px; line-height: 1.4; color: #ccc; margin-top: 8px; }
.advantage-list .box .ico svg { width: 52px; height: 52px; fill: none; stroke: #ccc; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.advantage-list .box b { display: block; font-size: 18px; color: var(--primary); margin: 6px 0; }
.advantage-list .box p { font-size: 16px; color: var(--text-sub); }
.advantage-list li:hover .box {
  background: var(--primary-grad); transform: translateY(-20px);
  box-shadow: 0 0 5px rgba(0,0,0,.2); z-index: 10;
}
.advantage-list li:hover .box .ico svg { stroke: #fff; }
.advantage-list li:hover .box b, .advantage-list li:hover .box p { color: #fff; }

/* ---------- 8. 首页·新闻资讯 ---------- */
.home-news { padding: 100px 0; overflow: hidden; background: #fff url("../img/bg-news.jpg") no-repeat center left / contain; }
.news-list { width: 100%; overflow: hidden; }
.news-list li {
  float: left; width: 49.5%; margin-right: 1%; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--border-light); transition: background .3s;
}
.news-list li:nth-child(2n) { margin-right: 0; }
.news-list li:nth-child(5), .news-list li:nth-child(6) { margin-bottom: 0; }
.news-list a { display: flex; align-items: center; padding: 17px 0; }
.news-list .date {
  flex: none; width: 100px; text-align: center; color: var(--text-light);
  border-right: 1px solid var(--border-light); padding: 5px;
}
.news-list .date b { display: block; font-size: 38px; color: var(--text-sub); line-height: 1; margin-bottom: 7px; font-weight: normal; }
.news-list .txt { flex: 1; padding: 0 20px 0 20px; min-width: 0; }
.news-list .txt h3 { font-size: 16px; font-weight: normal; color: var(--text-main); height: 30px; line-height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-list .txt p { color: var(--text-light); font-size: 14px; height: 50px; line-height: 25px; overflow: hidden; margin-top: 5px; }
.news-list li:hover { background: var(--primary); }
.news-list li:hover .date, .news-list li:hover .date b,
.news-list li:hover .txt h3, .news-list li:hover .txt p { color: #fff; }

/* ---------- 9. 首页·案例展示 ---------- */
.home-case { padding: 120px 0 150px; overflow: hidden; background: var(--bg-gray); }
.home-case .swiper-slide { background: #f5f5f5; }
.case-card { display: block; background: #fff; }
.case-card .p-img {
  display: block; position: relative; width: 100%; height: 300px; overflow: hidden;
  border: 1px solid var(--border-light); background: #fff;
}
/* 案例图统一裁剪填满，卡片视觉一致 */
.case-card .p-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.case-card .p-name {
  display: block; position: relative; text-align: center; padding: 10px 0;
  border-top: 1px solid var(--border-light); background: var(--border-light);
}
.case-card .p-name p { font-size: 16px; color: #111; position: relative; z-index: 10; }
.case-card .p-name::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0;
  background: var(--primary); transition: height .5s; z-index: 9;
}
.case-card:hover .p-name::before { height: 100%; }
.case-card:hover .p-name p { color: #fff; }

/* ---------- 10. 首页·友情链接 ---------- */
.home-link { padding: 40px 0; overflow: hidden; background: #fff; }
.home-link .lt { margin-bottom: 15px; }
.home-link .lt p { font-size: 18px; color: var(--text-main); font-weight: bold; }
.home-link .lt p span { font-size: 14px; color: var(--text-light); font-weight: normal; }
.home-link .lt em { display: block; width: 50px; height: 3px; background: var(--primary); margin-top: 8px; }
.home-link ul { overflow: hidden; }
.home-link li { display: inline-block; margin: 0 25px 6px 0; }
.home-link a { color: var(--text-sub); font-size: 14px; }
.home-link a:hover { color: var(--primary); }

/* ---------- 11. 页脚 ---------- */
.site-footer { width: 100%; padding: 50px 0; overflow: hidden; background: var(--primary); }
.site-footer .inner { display: flex; flex-direction: column; align-items: center; }
.site-footer .foot-logo img { display: block; height: 60px; }
.site-footer .foot-nav { width: 100%; margin-top: 50px; display: flex; justify-content: center; gap: 100px; }
.site-footer .foot-nav a { font-size: 17px; color: #fff; font-weight: bold; }
.site-footer .foot-nav a:hover { opacity: .8; }
.site-footer .foot-hr { width: 100%; border: none; border-top: 1px solid rgba(255,255,255,.15); margin: 25px 0; }
.site-footer .foot-wx { display: flex; flex-direction: column; align-items: center; }
.site-footer .foot-wx img { width: 120px; height: 120px; border: 6px solid #fff; }
.site-footer .foot-wx p { color: #fff; font-size: 17px; margin-top: 10px; font-weight: bold; letter-spacing: 4px; }
.site-footer .foot-tel { margin-top: 30px; }
.site-footer .foot-tel a { font-size: 64px; color: #fff; font-weight: bold; letter-spacing: 16px; }

.copyright {
  width: 100%; height: 50px; line-height: 50px; text-align: center;
  background: #14171a; color: #939494; font-size: 12px;
}
.copyright a { color: #939494; font-size: 12px; margin-left: 10px; }
.copyright a:hover { color: #fff; }

/* ---------- 12. 右侧漂浮（对齐参考 online_q） ---------- */
.float-bar { position: fixed; right: 0; bottom: 30%; z-index: 999; }
.float-bar .item { position: relative; margin-bottom: 5px; }
.float-bar .item .trigger {
  display: block; width: 73px; height: 73px; background: var(--primary);
  color: #fff; text-align: center; border-radius: 3px; cursor: pointer;
  transition: opacity .3s; box-sizing: border-box;
}
.float-bar .item .trigger:hover { opacity: .85; }
.float-bar .item .trigger svg { width: 30px; height: 30px; fill: #fff; margin-top: 11px; }
.float-bar .item .trigger p { font-size: 12px; margin-top: 2px; }
.float-bar .item-top .trigger { background: #222; }
.float-bar .item-top .trigger p { font-weight: bold; }
/* 微信弹层：深蓝底 + 指向三角 */
.float-bar .item .panel-wx {
  position: absolute; right: 100px; top: 50%; margin-top: -50px;
  width: 100px; height: 100px; background: var(--primary);
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; text-align: right;
}
.float-bar .item:hover .panel-wx { opacity: 1; visibility: visible; }
.float-bar .item .panel-wx::before {
  content: ""; display: block; width: 0; height: 0;
  border: 10px solid transparent; border-left: 10px solid var(--primary);
  position: absolute; right: -15px; top: 50%; margin-top: -10px;
}
.float-bar .item .panel-wx img { width: 80px; height: 80px; margin: 10px 10px 0 0; border: 4px solid #fff; box-sizing: border-box; }
/* 电话弹层：深蓝底白字 */
.float-bar .item .panel-tel {
  position: absolute; right: 100px; top: 0; background: var(--primary);
  color: #fff; padding: 12px 15px; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.float-bar .item:hover .panel-tel { opacity: 1; visibility: visible; }
.float-bar .item .panel-tel::before {
  content: ""; display: block; width: 0; height: 0;
  border: 8px solid transparent; border-left: 8px solid var(--primary);
  position: absolute; right: -16px; top: 50%; margin-top: -8px;
}
.float-bar .item .panel-tel a { display: block; color: #fff; font-size: 15px; }
.float-bar .item .panel-tel a + a { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.25); }
.float-bar .item .panel-tel a em { font-style: normal; font-size: 13px; opacity: .75; margin-right: 6px; }
.float-bar .item-top { display: none; cursor: pointer; }

/* ---------- 13. 内页通用 ---------- */
/* 内页大图 banner */
.ny-banner {
  height: 600px; min-height: 600px;
  background: no-repeat center / cover; margin-top: var(--header-h);
}

/* 内页子导航条：左侧横排 tab + 右侧面包屑；sticky 吸顶便于随时切换 */
/* 高度锁死：防止长面包屑（商品详情页带型号全名）撑高容器导致 tab 色块裸露 */
.sub-nav {
  position: sticky; top: var(--header-h); z-index: 90;
  width: 100%; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border-light);
  height: 70px;
}
.sub-nav .sub-tabs { float: left; width: 60%; }
/* 空 tab 容器（如案例页无子系列）：整条隐藏，仅留面包屑 */
.sub-nav .sub-tabs:not(:has(li)) { display: none; }
.sub-nav .sub-tabs ul { display: flex; }
.sub-nav .sub-tabs li {
  flex: 1; height: 70px; line-height: 70px;
  position: relative; text-align: center; cursor: pointer;
  border-right: 1px solid var(--border-light);
}
.sub-nav .sub-tabs li:last-child { border-right: none; }
.sub-nav .sub-tabs li a {
  display: block; width: 100%; height: 70px; line-height: 70px;
  position: relative; z-index: 10; color: #444; font-size: 16px;
}
.sub-nav .sub-tabs li::after {
  content: ""; position: absolute; left: 0; bottom: -70px;
  width: 100%; height: 70px; background: var(--primary);
  transition: bottom .2s ease-out; z-index: 9;
}
.sub-nav .sub-tabs li:hover::after { bottom: -65px; }
.sub-nav .sub-tabs li:hover a { color: var(--primary); }
.sub-nav .sub-tabs li.active::after { bottom: 0; }
.sub-nav .sub-tabs li.active { border-right-color: var(--primary); }
.sub-nav .sub-tabs li.active a { color: #fff; }
.sub-nav .crumb {
  float: right; margin-right: 10%; height: 70px; line-height: 70px; font-size: 14px; color: var(--text-light);
  max-width: 28%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.sub-nav .crumb a { color: var(--text-light); }
.sub-nav .crumb a:hover { color: var(--primary); }
.sub-nav .crumb span { color: var(--text-main); }

/* 内页内容区 */
.ny-box { width: 100%; overflow: hidden; padding: 120px 0; }
.ny-box .inner { width: 80%; max-width: 1900px; margin: 0 auto; }

/* 公司简介：视频 + 公司风采图集 */
.company-media { margin-top: 45px; }
.company-media .media-title {
  font-size: 24px; color: var(--text-main); text-align: center; margin-bottom: 25px; font-weight: normal;
}
.company-video {
  display: block; width: 100%; max-width: 900px; margin: 0 auto 40px;
  background: #000; aspect-ratio: 16/9;
}
.video-cap { text-align: center; font-size: 14px; color: var(--text-sub); margin: -30px auto 34px; max-width: 900px; }
.env-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.env-gallery li { overflow: hidden; background: #fff; }
.env-gallery img {
  width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .3s ease-out;
}
.env-gallery .env-cap {
  display: block; text-align: center; font-size: 14px; color: var(--text-sub);
  padding: 10px 5px; line-height: 1.5;
}
.env-gallery li:hover img { transform: scale(1.03); }

/* 荣誉资质：证书图 */
.cert-figure { margin: 30px auto 0; text-align: center; }
.cert-figure img { max-width: 680px; width: 100%; border: 1px solid var(--border-light); }
.cert-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--text-light); }

/* 内页列表（产品/案例：3 列 32%，对齐参考 ny_products_box） */
.ny-list { width: 100%; overflow: hidden; list-style: none; }
.ny-list li {
  width: 32%; float: left; margin-right: 1.3%; margin-bottom: 20px;
  position: relative; background: #fff; border: 1px solid var(--border-light);
}
.ny-list li:nth-child(3n) { margin-right: 0; }
.ny-list a { display: block; }
.ny-list .p-img {
  display: block; width: 100%; height: 280px; overflow: hidden;
  position: relative; background: #fff;
}
.ny-list .p-img img {
  display: block; max-width: 90%; max-height: 90%;
  margin: auto; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  transition: max-width .5s, max-height .5s;
}
.ny-list .p-name {
  display: block; position: relative; text-align: center; padding: 10px 5px;
  border-top: 1px solid var(--border-light); background: var(--border-light);
}
.ny-list .p-name p { font-size: 16px; color: #111; position: relative; z-index: 10; }
.ny-list .p-name::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0;
  background: var(--primary); transition: height .5s; z-index: 9;
}
.ny-list li:hover .p-name::before { height: 100%; }
.ny-list li:hover .p-name p { color: #fff; }
.ny-list li:hover .p-img img { max-width: 100%; max-height: 100%; }

/* 完整分页条（对齐参考 pagination：黑底当前项） */
.paging { display: flex; justify-content: center; margin-top: 10px; text-align: center; padding: 30px 0 10px; }
.paging a, .paging span {
  display: inline-block; background: #fff; border: 1px solid #ccc; color: #333;
  font-size: 12px; padding: 8px 10px; margin: 0 2px; border-radius: 3px; line-height: 1.4;
}
.paging .cur { color: #fff; background: #333; border-color: #333; }
.paging a:hover { color: var(--primary); border-color: var(--primary); }

/* 详情页（产品详情 / 文章 / 案例详情，对齐参考 newsdetail） */
.article { background: #fff; }
.article .art-hd { text-align: center; }
.article .art-hd h1 { font-size: 24px; font-weight: bold; color: #222; line-height: 1.5; }
.article .art-meta { overflow: hidden; margin: 10px 0 20px; }
.article .art-meta span { color: #999; margin: 0 10px; font-size: 14px; }
.article .art-bd {
  border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  padding: 20px 0; max-width: 1200px; width: 100%; margin: 0 auto;
  font-size: 15px; line-height: 2; color: var(--text-main);
}
.article .art-bd p { margin-bottom: 14px; }
.article .art-bd img { display: block; max-width: 800px; height: auto; margin: 10px auto; }
.article .art-bd table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article .art-bd table td, .article .art-bd table th { border: 1px solid var(--border-light); padding: 8px 12px; font-size: 14px; }
.article .art-bd table th { background: var(--bg-gray); }
/* 上一篇/下一篇 */
.art-pager { overflow: hidden; padding: 20px 0 45px; color: #999; }
.art-pager .prev { float: left; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-pager .next { float: right; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-pager span { font-size: 14px; }
.art-pager a { color: var(--text-sub); }
.art-pager a:hover { color: var(--primary); }

/* 产品详情（对齐参考 pro_detail_box） */
.pro-detail { width: 100%; overflow: hidden; }
.pro-detail .pic { width: 45%; float: left; }
.pro-detail .pic .main { border: 1px solid var(--border-light); position: relative; height: 400px; background: #fff; }
.pro-detail .pic .main img {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; margin: auto;
  max-width: 90%; max-height: 90%; transition: max-width .5s, max-height .5s;
}
.pro-detail .thumbs { display: flex; height: 100px; margin-top: 20px; }
.pro-detail .thumbs .item {
  flex: 1; height: 100%; margin-right: 10px; border: 2px solid var(--border-light);
  opacity: .4; cursor: pointer; background: no-repeat center / contain; position: relative;
}
.pro-detail .thumbs .item:last-child { margin-right: 0; }
.pro-detail .thumbs .item.active { opacity: 1; border-color: var(--primary); }
.pro-detail .info { width: 52%; float: right; overflow: hidden; }
.pro-detail .info b { display: block; font-size: 38px; line-height: 1.2; color: var(--primary); margin-bottom: 15px; }
.pro-detail .info .desc { margin: 5px 0 20px; overflow: hidden; }
.pro-detail .info .desc p { font-size: 15px; line-height: 40px; }
.pro-detail .btns { overflow: hidden; }
.pro-detail .btn-tel { width: 48%; height: 50px; line-height: 50px; background: #222; color: #fff; display: block; text-align: center; font-size: 18px; float: left; cursor: pointer; }
.pro-detail .btn-order { width: 48%; height: 50px; line-height: 50px; background: var(--primary); color: #fff; display: block; text-align: center; font-size: 18px; float: right; cursor: pointer; }
.pro-detail .btn-tel:hover, .pro-detail .btn-order:hover { opacity: .88; }

/* 产品介绍 tab（对齐 index_product_lb_two） */
.intro-tabs { width: 100%; overflow: hidden; margin-top: 30px; }
.intro-tabs li {
  width: 33.3333%; height: 70px; float: left; text-align: center; cursor: pointer;
  color: #666; background: #fff; border: 1px solid #ccc; border-left: none;
}
.intro-tabs li:first-child { border-left: 1px solid #ccc; }
.intro-tabs li h2 { font-size: 16px; line-height: 70px; letter-spacing: 1px; }
.intro-tabs li:hover { color: var(--primary); border-color: var(--primary); }
.intro-tabs li.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.intro-body { padding: 20px 0; font-size: 15px; line-height: 2; }

/* 推荐产品（对齐 red_pro_box） */
.recommend { width: 100%; overflow: hidden; margin-top: 30px; }
.recommend .bt {
  background: #f4f4f4; height: 60px; line-height: 60px; padding-left: 20px;
  font-size: 20px; margin-bottom: 20px; border-left: 3px solid var(--primary);
  color: var(--primary); font-weight: bold;
}

/* 留言表单 */
.lead-form { background: #fff; padding: 30px; border: 1px solid var(--border-light); }
.lead-form .row { margin-bottom: 18px; }
.lead-form label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-sub); }
.lead-form label em { color: #e04b4b; font-style: normal; margin-left: 4px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd; font-size: 14px;
  transition: border .3s;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--primary); }
.lead-form textarea { height: 120px; resize: vertical; }
.lead-form .hint { font-size: 12px; color: var(--text-light); }
.lead-form .hp { position: absolute; left: -9999px; }
.lead-form button {
  background: var(--primary); color: #fff; border: none; padding: 12px 45px;
  font-size: 15px; cursor: pointer; transition: opacity .3s;
}
.lead-form button:hover { opacity: .88; }
.lead-form button:disabled { opacity: .5; cursor: not-allowed; }
.form-msg { margin-top: 12px; font-size: 14px; }
.form-msg.ok { color: #2e8b57; }
.form-msg.err { color: #e04b4b; }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1780px) {
  .home-banner .swiper-slide { height: 567px; min-height: 567px; }
  .home-banner .slide-text b { font-size: 45px; }
  .home-banner .slide-text p { font-size: 38px; }
}

@media (max-width: 1680px) {
  .home-banner .swiper-slide { height: 607px; min-height: 607px; }
  .home-banner .slide-text b { font-size: 42px; }
  .home-banner .slide-text p { font-size: 34px; }
}

@media (max-width: 1600px) {
  .home-banner .swiper-slide { height: 588px; min-height: 588px; }
}

@media (max-width: 1440px) {
  .home-banner .swiper-slide { height: 513px; min-height: 513px; }
  .ny-banner { height: 550px; min-height: 550px; }
  .home-banner .slide-text { left: 6%; }
  .home-banner .slide-text b { font-size: 45px; }
  .home-banner .slide-text p { font-size: 32px; }
  .home-banner .slide-text .btn-more { margin-top: 40px; }
  .sec-title .en { font-size: 35px; }
  .sec-title .cn { font-size: 28px; }
  .inner { width: 85%; }
}

@media (max-width: 1200px) {
  .inner { width: 90%; }
  .ny-banner { height: 500px; min-height: 500px; }
  .ny-box { padding: 100px 0; }
  .home-about, .home-product, .home-advantage { padding: 100px 0; }
  .home-case { padding: 100px 0; }
  .home-about .txt .name { font-size: 28px; }
  .product-card .p-img { height: 260px; }
  .site-footer .foot-nav { gap: 50px; }
}

@media (max-width: 1024px) {
  .inner { width: 94%; }
  .home-banner .swiper-slide { height: 433px; min-height: 433px; }
  .home-banner .slide-text b { font-size: 32px; }
  .home-banner .slide-text p { font-size: 24px; }
  .sec-title { margin-bottom: 20px; }
  .sec-title .en { font-size: 30px; }
  .sec-title .cn { font-size: 24px; }
  .more-bar a { font-size: 14px; }
  .home-about, .home-product { padding: 60px 0; }
  .home-advantage { padding: 60px 0; }
  .home-news { padding: 60px 0; }
  .home-case { padding: 60px 0; }
  .home-about .txt .name { font-size: 25px; }
  .home-about .txt .slogan { font-size: 18px; }
  .home-about .txt p { font-size: 14px; line-height: 25px; }
  .home-about .pic { width: 46%; }
  .product-card .p-img { height: 200px; }
  .case-card .p-img { height: 200px; }
  .product-tabs .tab { height: 50px; line-height: 50px; font-size: 15px; }
  .site-footer .foot-tel a { font-size: 32px; letter-spacing: 4px; }
  .ny-banner { height: 400px; min-height: 400px; }
  .ny-box { padding: 80px 0; }
  .sub-nav .sub-tabs { width: 70%; }
  .sub-nav .sub-tabs li { height: 60px; line-height: 60px; }
  .sub-nav .sub-tabs li a { height: 60px; line-height: 60px; font-size: 15px; }
  .sub-nav .sub-tabs li::after { height: 60px; bottom: -60px; }
  .sub-nav { height: 60px; }
  .sub-nav .crumb { height: 60px; line-height: 60px; max-width: 18%; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-header { position: fixed; }
  .site-header .logo { float: none; width: 100%; }
  .site-header .logo img { margin-top: 8px; height: 44px; }
  .site-header .mbtn { display: block; }
  .site-header .nav {
    float: none; width: 100%; display: none;
    position: absolute; top: var(--header-h); left: 0;
    background: #fff; box-shadow: 0 5px 10px rgba(0,0,0,.1); max-height: 70vh; overflow-y: auto;
  }
  body.on-menu .site-header .nav { display: block; }
  /* 菜单展开时隐藏吸顶子导航条，避免下拉系列项与页面 tab 重叠 */
  body.on-menu .sub-nav { display: none; }
  .site-header .nav > ul > li {
    float: none; width: 100%; height: 48px; line-height: 48px; text-align: left;
    border-bottom: 1px dashed var(--border-light);
  }
  /* 展开态：高度自适应，让子菜单 ul 在 li 内正常排布，不溢出盖住下一层主菜单项 */
  .site-header .nav > ul > li.open { height: auto; }
  .site-header .nav > ul > li::after { display: none; }
  .site-header .nav > ul > li > a { display: block; padding: 0 20px; font-size: 15px; }
  .site-header .nav ul ul {
    position: static; width: 100%; opacity: 1; overflow: hidden;
    box-shadow: none; background: var(--bg-gray); display: none;
  }
  .site-header .nav ul ul li { height: 40px; line-height: 40px; }
  .site-header .nav li.open > ul { display: block; }
  .site-header .nav > ul > li.has-sub > a::after {
    content: "+"; float: right; color: var(--primary); font-size: 18px; font-weight: bold;
  }
  .site-header .nav > ul > li.open > a::after { content: "-"; }
  .site-header .nav ul ul li { height: 40px; line-height: 40px; }
  .site-header .nav ul ul li a { padding: 0 30px; }

  .home-banner .swiper-slide { height: 400px; min-height: 400px; }
  .home-banner .slide-text {
    top: 0; bottom: 0; left: 0; width: 100%; padding-left: 4%;
    display: flex; flex-direction: column; justify-content: center;
  }
  .home-banner .slide-text b { font-size: 30px; }
  .home-banner .slide-text p { font-size: 20px; }
  .home-banner .slide-text .btn-more { width: 140px; height: 40px; line-height: 40px; font-size: 14px; margin-top: 20px; }
  .home-banner .swiper-pagination-bullet { width: 60px; height: 5px; }

  .home-about .txt, .home-about .pic { width: 100%; float: none; }
  .home-about .pic { margin-bottom: 15px; }
  .home-about .txt .name { font-size: 22px; }

  .product-card { width: 49.2%; margin-right: 1.5%; margin-bottom: 15px; }
  .product-card:nth-child(4) { margin-right: 1.5%; }
  .product-card:nth-child(2n) { margin-right: 0; }
  .product-card .p-img { height: 180px; }
  .case-card .p-img { height: 180px; }

  .advantage-list li { width: 49.2%; margin-right: 1.5%; margin-bottom: 12px; }
  .advantage-list li:nth-child(2n) { margin-right: 0; float: right; }
  .advantage-list li:nth-child(4) { float: left; }
  .advantage-list li:hover .box { transform: none; }
  .advantage-list .box .ico svg { width: 42px; height: 42px; }
  .advantage-list .box b { font-size: 16px; }
  .advantage-list .box p { font-size: 13px; }

  .news-list li { width: 100%; margin-right: 0; margin-bottom: 10px; }

  .site-footer { padding: 35px 0; }
  .site-footer .foot-nav { gap: 20px; flex-wrap: wrap; margin-top: 25px; }
  .site-footer .foot-nav a { font-size: 14px; }
  .site-footer .foot-wx img { width: 100px; height: 100px; border-width: 4px; }
  .site-footer .foot-tel a { font-size: 24px; letter-spacing: 2px; }

  /* 内页：banner 收矮、子导航 tab 可横滑、面包屑换行居右 */
  .ny-banner { height: 250px; min-height: 250px; }
  .ny-box { padding: 50px 0; }
  .sub-nav { border-bottom: none; height: auto; }
  .sub-nav .sub-tabs { float: none; width: 100%; }
  .sub-nav .sub-tabs ul { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
  .sub-nav .sub-tabs ul::-webkit-scrollbar { display: none; }
  .sub-nav .sub-tabs li { flex: none; width: auto; min-width: 90px; height: 50px; line-height: 50px; }
  .sub-nav .sub-tabs li a { height: 50px; line-height: 50px; font-size: 14px; padding: 0 12px; }
  /* 移动端无 hover：隐藏「下滑色块」，仅 active 项显示蓝色填充，避免横滑时色块露在 tab 下方 */
  .sub-nav .sub-tabs li::after { display: none; }
  .sub-nav .sub-tabs li.active::after { display: block; bottom: 0; height: 50px; }
  .sub-nav .crumb { float: none; height: 40px; line-height: 40px; margin-right: 4%; text-align: right; font-size: 12px; max-width: 96%; }
  .article .art-pager .prev, .article .art-pager .next { float: none; max-width: 100%; }

  /* 公司风采移动端：视频全宽、图集 2 列 */
  .company-media { margin-top: 30px; }
  .company-media .media-title { font-size: 20px; margin-bottom: 15px; }
  .company-video { margin-bottom: 25px; }
  .video-cap { margin: -15px auto 26px; }
  .env-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .env-gallery li:hover img { transform: none; }
  .cert-figure img { max-width: 320px; }

  /* 内页列表移动端 */
  .ny-list li { width: 49.2%; margin-right: 1.5%; margin-bottom: 15px; }
  .ny-list li:nth-child(3n) { margin-right: 1.5%; }
  .ny-list li:nth-child(2n) { margin-right: 0; }
  .ny-list .p-img { height: 190px; }

  .more-bar { width: 100%; }
}

@media (max-width: 540px) {
  .home-banner .swiper-slide { height: 300px; min-height: 300px; }
  .ny-banner { height: 200px; min-height: 200px; }
  .ny-box { padding: 40px 0; }
  .home-banner .slide-text b { font-size: 24px; line-height: 1.3; }
  .home-banner .slide-text p { font-size: 16px; }
  .home-banner .slide-text .btn-more { width: 120px; height: 35px; line-height: 35px; font-size: 13px; margin-top: 10px; }
  .home-about, .home-product, .home-advantage, .home-news, .home-case { padding: 40px 0; }
  .sec-title .en { font-size: 28px; }
  .sec-title .cn { font-size: 22px; }
  .advantage-list li { width: 100%; margin-right: 0; }
}

@media (max-width: 430px) {
  .home-banner .swiper-slide { height: 227px; min-height: 227px; }
  .home-banner .slide-text b { font-size: 22px; }
  .home-banner .slide-text .btn-more { width: 100px; height: 30px; line-height: 30px; font-size: 12px; }
  .sec-title .en { font-size: 26px; }
  .sec-title .cn { font-size: 20px; }
  .news-list .txt h3 { font-size: 15px; }
  .news-list .txt p { font-size: 13px; }
}
/* h1 语义升级视觉保持 */
.sec-title h1 { font-weight: normal; margin: 0; }
.slide-text h1 { display: inline; font-size: inherit; font-weight: inherit; margin: 0; }
.info h1 { display: block; font-size: inherit; font-weight: inherit; margin: 0; }
