:root{
  --brand:#00c0e2;
  --brand-2:#00a4c2;
  --ink:#3e4f59;
  --ink-2:#5a5a5a;
  --muted:#999999;
  --line:#e2e2e2;
  --bg-soft:#f5f5f5;
  --footer:#1b2026;
  --w:1200px;
}
*{margin:0;padding:0;box-sizing:border-box}
li{list-style:none}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
body{
  font-family:"Microsoft YaHei","微软雅黑",Arial,Helvetica,sans-serif;
  font-size:14px;color:var(--ink-2);background:#fff;line-height:1.6;
}
.wrap{width:var(--w);margin:0 auto;position:relative}
.clearfix::after{content:"";display:table;clear:both}
.topbar{height:36px;border-bottom:1px solid #eee}
.topbar .wrap{display:flex;align-items:center;height:36px}
.topbar .welcome{font-size:13px;color:#9f9f9f}
.topbar .socials{margin-left:auto;display:flex;gap:32px;align-items:center}
.topbar .socials img{width:25px;height:25px;opacity:.75;transition:.3s}
.topbar .socials img:hover{opacity:1}


/* ===== 头部 ===== */
.header{background:#fff;border-bottom:1px solid var(--line);padding:20px 0}
.header .wrap{display:flex;align-items:center;height:90px}
.logo{display:flex;align-items:center;gap:10px}
/* 图片型 logo：加高一点更清晰；vertical-align:0 去掉行内基线下方那道缝隙 */
/* Logo 图片：高度按需可调，这里定 62px；display:block 去掉行内基线缝隙 */
.logo img{height:62px;width:auto;display:block;flex:0 0 auto}
/* Logo 文字：下面三个值是「配置项留空时」的兜底，
   正常情况下会被 header.html 里的 inline style 覆盖。
   max-width 是保护：字号调很大、文字又长时不至于把右侧咨询热线/地址挤出容器。 */
.logo span{display:block;max-width:360px;overflow:hidden;text-overflow:ellipsis;
  font-size:26px;font-weight:bold;color:#222;letter-spacing:1px;line-height:1.2;white-space:nowrap}
.header-info{margin-left:auto;display:flex;align-items:center;gap:46px}
.header-info .item{display:flex;align-items:center;gap:12px}
.header-info .ico{width:38px;height:38px;flex:0 0 38px}
.header-info .t1,.header-info .t2{font-size:14px;color:#333;line-height:1.3}
.header-info .label{font-size:12px;color:#929292;line-height:1.4}
/* 公司地址通常最长：限宽并最多折两行，超出显示省略号；
   电话/工作时间保持单行不变。max-width 让长地址不再把 Logo 往左挤。 */
.header-info .item.addr{max-width:250px}
/* flex 子项默认 min-width:auto，不置 0 的话内容会撑开、下面两行截断不会生效 */
.header-info .item.addr>div{min-width:0}
.header-info .item.addr .t1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden;line-height:1.5}
.nav{background:#000;height:55px;position:relative;z-index:80}
.nav .wrap{display:flex;align-items:center;height:55px}
.nav ul{list-style:none;margin:0;padding:0}
.nav .wrap>ul{display:flex;height:55px}
.nav .wrap>ul>li{position:relative}
.nav .wrap>ul>li>a{display:block;height:55px;line-height:55px;padding:0 30px;color:#fff;font-size:14px;transition:color .25s}
/* 当前栏目 / 悬停：青色文字 */
.nav .wrap>ul>li.active>a,.nav .wrap>ul>li>a:hover{color:var(--brand)}
/* 菜单之间的竖线分隔 */
.nav .wrap>ul>li+li::after{content:"";position:absolute;left:0;top:50%;width:1px;height:16px;margin-top:-8px;background:rgba(255,255,255,.25);pointer-events:none}

/* ===== 下拉菜单：二级向下、三级向右；品牌色顶线 + 箭头 + 左侧高亮竖条 ===== */
.nav ul ul{position:absolute;top:-10px;left:100%;min-width:156px;padding:5px 0;background:#fff;border-top:2px solid var(--brand);box-shadow:0 14px 34px rgba(0,0,0,.16);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .28s cubic-bezier(.22,.61,.36,1),transform .28s cubic-bezier(.22,.61,.36,1),visibility .28s;z-index:90}
.nav .wrap>ul>li>ul{top:100%;left:0}
.nav li:hover>ul,.nav li:focus-within>ul{opacity:1;visibility:visible;transform:translateY(0)}
.nav ul ul li{position:relative;border-bottom:1px solid #f2f4f5}
.nav ul ul li:last-child{border-bottom:0}
.nav ul ul a{position:relative;display:flex;align-items:center;min-height:44px;padding:0 30px 0 18px;color:var(--ink-2);font-size:14px;line-height:1.5;white-space:nowrap;transition:color .25s,background-color .25s,padding-left .25s}
/* 悬停：浅底 + 品牌色文字 + 左侧竖条展开 + 轻微右移 */
.nav ul ul a::before{content:"";position:absolute;left:0;top:50%;width:3px;height:0;background:var(--brand);transition:height .25s,margin-top .25s}
.nav ul ul a:hover{color:var(--brand);background:var(--bg-soft);padding-left:24px}
.nav ul ul a:hover::before{height:22px;margin-top:-11px}
.nav ul ul li>ul{top:-8px;left:100%;border-top:0}
/* 面板顶部箭头（二级向上） */
.nav ul ul::before{content:"";position:absolute;top:-7px;left:22px;width:10px;height:10px;background:#fff;border-left:2px solid var(--brand);border-top:2px solid var(--brand);transform:rotate(45deg)}
/* 三级及更深：箭头改到左侧朝右 */
.nav ul ul ul::before{top:50%;left:-7px;margin-top:-5px;border:0;border-right:2px solid var(--brand);border-bottom:2px solid var(--brand)}
/* 有下级的子项右侧加 › 提示 */
.nav ul ul a .caret{position:absolute;right:18px;top:50%;margin-top:-5px;width:0;height:0;border:5px solid transparent;border-left-color:#c6ced4;transition:border-color .25s,transform .25s}
.nav ul ul a:hover .caret{border-left-color:var(--brand);transform:translateX(2px)}
.nav .consult{margin-left:auto;width:140px;height:31px;line-height:31px;text-align:center;background:var(--brand);color:#fff;border-radius:16px;font-size:14px;transition:.25s}
.nav .consult:hover{background:var(--brand-2)}

/* ===== 首屏轮播 ===== */
.hero{position:relative;height:745px;overflow:hidden;background:#0b1a24}
/* 所有幻灯片叠在同一位置：opacity:0 只是看不见，仍会吃掉鼠标事件。
   不加这句的话，点按钮实际点到的是 DOM 里最后那张（透明的）幻灯片，
   链接永远点不动。*/
.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity 1s ease;background-position:center;background-size:cover;background-color:#0b1a24}
.hero-slide.on{opacity:1;pointer-events:auto}
/* ---- 背景切换动画：每次切换轮换一种（还原原版 html5zoo 的 easing:"all"）----
   animation 优先级高于 transition，所以带 fx-* 时由动画接管；
   切走时 JS 移除 fx-*，transition 接管淡出，不会出现生硬跳变。 */
@keyframes fxFade{from{opacity:0}to{opacity:1}}
@keyframes fxZoom{from{opacity:0;transform:scale(1.09)}to{opacity:1;transform:scale(1)}}
@keyframes fxPush{from{opacity:0;transform:translateX(7%)}to{opacity:1;transform:none}}
@keyframes fxPull{from{opacity:0;transform:translateX(-7%)}to{opacity:1;transform:none}}
@keyframes fxRise{from{opacity:0;transform:translateY(6%)}to{opacity:1;transform:none}}
.hero-slide.on.fx-fade{animation:fxFade 1s ease both}
.hero-slide.on.fx-zoom{animation:fxZoom 7.5s cubic-bezier(.16,.68,.32,1) both}
.hero-slide.on.fx-push{animation:fxPush 1.15s cubic-bezier(.22,.61,.36,1) both}
.hero-slide.on.fx-pull{animation:fxPull 1.15s cubic-bezier(.22,.61,.36,1) both}
.hero-slide.on.fx-rise{animation:fxRise 1.15s cubic-bezier(.22,.61,.36,1) both}
.hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.28)}
.hero-caption{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:0 20px;text-decoration:none}
.hero-caption h1 a{color:inherit;transition:opacity .25s}
.hero-caption h1 a:hover{opacity:.82}
.hero-caption h1{font-size:66px;letter-spacing:1px;font-weight:bold;line-height:1.4}
.hero-caption p{font-size:14px;margin-top:20px;line-height:2;max-width:900px}
.hero-btns{display:flex;gap:14px;margin-top:34px}
.hero-btns a{width:143px;height:50px;line-height:50px;text-align:center;font-size:14px;border:1px solid transparent;transition:.3s}
.hero-btns a.solid{background:var(--brand);color:#fff}
.hero-btns a.solid:hover{background:var(--brand-2)}
.hero-btns a.ghost{background:#fff;color:#888}
.hero-btns a.ghost:hover{background:var(--brand);color:#fff}

/* ===== 服务项目 ===== */
.services{display:grid;grid-template-columns:repeat(4,1fr);margin-top:-1px}
.svc{padding:60px 30px 70px;text-align:center;background:#fff;border:1px solid #f0f0f0;transition:.3s}
.svc .ico{display:block;width:95px;height:90px;margin:0 auto 40px;background-position:center;background-repeat:no-repeat;background-size:contain}
.svc .ico-i1{background-image:url(../images/icon014.png)}
.svc .ico-i2{background-image:url(../images/icon015.png)}
.svc .ico-i3{background-image:url(../images/icon012.png)}
.svc .ico-i4{background-image:url(../images/icon013.png)}
.svc h3{font-size:22px;color:var(--ink);font-weight:bold;margin-bottom:34px}
.svc p{font-size:14px;color:var(--ink-2);line-height:2;min-height:96px;text-align:left}
.svc .more{display:inline-block;width:116px;height:50px;line-height:48px;margin-top:34px;border:1px solid var(--ink);color:var(--ink);font-size:14px;transition:.3s;background:transparent}
.svc .more:hover{background:var(--ink);color:#fff}
.svc.active{background:var(--brand);border-color:var(--brand)}
.svc.active h3,.svc.active p{color:#fff}
.svc.active .more{border-color:transparent;background:#fff;color:var(--ink)}
.svc.active .more:hover{background:var(--ink);color:#fff}

/* ===== 通用区块标题 ===== */
.sec-title{text-align:center;padding:70px 0 50px}
.sec-title h2{font-size:26px;color:var(--ink);font-weight:bold;line-height:1.96}
.sec-title span{font-size:14px;color:var(--ink);letter-spacing:1px;line-height:1.96;display:block}
.sec-title .bar{display:inline-block;width:12px;height:12px;background:var(--brand);margin-right:12px;vertical-align:middle}

/* ===== 关于我们 ===== */
.about{display:grid;grid-template-columns:1fr 1fr;background:#fff}
.about .txt{padding:80px 60px;display:flex;flex-direction:column;justify-content:center}
.about .txt .hd{margin-bottom:30px}
.about .txt .hd h2{font-size:26px;color:var(--ink);font-weight:bold}
.about .txt .hd em{font-style:normal;font-size:14px;color:var(--ink)}
.about .txt .hd i{display:inline-block;width:12px;height:12px;background:var(--brand);margin-right:12px}
.about .txt p{font-size:14px;color:var(--ink-2);line-height:2.2;margin-bottom:26px}
.about .txt .more{display:inline-block;width:116px;height:50px;line-height:50px;text-align:center;background:var(--brand);color:#fff;font-size:14px;transition:.3s;margin-top:10px}
.about .txt .more:hover{background:var(--brand-2)}
/* nbg010.jpg 是 1920×602 的超宽幅图（左侧大片留白、主体在右侧）。
   原来用 center + cover：缩放比 0.86 会放大后居中裁切，只剩画面中间的灰白路面，
   右侧的卡车被裁没——所以必须 right 对齐，让主体落在右栏里。
   background-color 写在简写之后：图片 404 时兜底显示浅灰，而不是空白一块。 */
.about .pic{min-height:560px;background:url(../images/nbg010.jpg) right center/cover no-repeat;background-color:#f5f5f5}
.team{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;padding-bottom:90px}
.member{background:#fff;border:1px solid #eee;text-align:center;transition:.3s}
.member:hover{box-shadow:0 8px 26px rgba(0,0,0,.1);transform:translateY(-4px)}
.member .ph{height:266px;overflow:hidden;background:#f2f2f2}
.member .ph img{width:100%;height:100%;object-fit:cover;transition:.4s}
.member:hover .ph img{transform:scale(1.05)}
.member .info{padding:22px 0 26px}
.member .info h4{font-size:15px;color:#333;font-weight:bold}
.member .info span{font-size:13px;color:#929292}
.stats{background:#0d1419 url("../images/nbg011.jpg") center/cover fixed no-repeat;position:relative}
.stats::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35)}
.stats .wrap{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);padding:70px 0}
.stats .it{text-align:center;color:#fff}
.stats .it .ico{display:block;width:76px;height:76px;margin:0 auto 26px;background-position:center;background-repeat:no-repeat;background-size:contain}
.stats .it .ico-i1{background-image:url(../images/nicon010.png)}
.stats .it .ico-i2{background-image:url(../images/nicon011.png)}
.stats .it .ico-i3{background-image:url(../images/nicon012.png)}
.stats .it .ico-i4{background-image:url(../images/nicon013.png)}
.stats .it .num{font-size:40px;font-weight:bold;line-height:1.2}
.stats .it .lb{font-size:14px;margin-top:8px}

/* ===== 新闻中心 ===== */
.news{padding-bottom:80px}
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.news-card{display:grid;grid-template-columns:286px 1fr;background:var(--bg-soft);min-height:245px;transition:.3s}
.news-card:hover,.news-card.on{background:var(--brand)}
.news-card .nc-img{background:url(../images/news010.jpg) center/cover no-repeat;background-color:#ddd}
.news-card .nc-body{padding:34px 28px;display:flex;flex-direction:column}
.news-card .nc-body h3{font-size:15px;font-weight:bold;margin-bottom:14px;line-height:1.5}
.news-card .nc-body h3 a{color:#333;transition:.3s}
.news-card .nc-body .time{font-size:14px;color:#333;margin-bottom:14px}
.news-card .nc-body .sum{font-size:14px;color:#5a5a5a;line-height:2;transition:.3s}
.news-card:hover .nc-body h3 a,.news-card.on .nc-body h3 a{color:#fff}
.news-card:hover .nc-body .time,.news-card.on .nc-body .time{color:rgba(255,255,255,.9)}
.news-card:hover .nc-body .sum,.news-card.on .nc-body .sum{color:rgba(255,255,255,.95)}

/* ===== 合作伙伴 ===== */
.partners{background:#fff;padding-bottom:80px}
.partners .desc{text-align:center;font-size:14px;color:#5a5a5a;margin-bottom:44px;line-height:2;padding:0 60px}
.partner-track{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.partner-track .p{height:110px;border:1px solid #eee;display:flex;align-items:center;justify-content:center;background:#fff;transition:.3s}
.partner-track .p:hover{box-shadow:0 6px 20px rgba(0,0,0,.1);border-color:var(--brand)}
.partner-track .p img{max-height:64px;filter:grayscale(1);opacity:.75;transition:.3s}
.partner-track .p:hover img{filter:none;opacity:1}

/* ===== 页脚 ===== */
.footer{background:var(--footer);color:#aaa;padding:70px 0 0}
.footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;gap:40px;padding-bottom:50px}
.footer .f-logo{display:flex;align-items:center;gap:10px;margin-bottom:22px;color:#fff;font-size:30px;font-weight:bold;letter-spacing:1px}
.footer .f-logo img{height:21px}
.footer .f-desc{font-size:13px;line-height:2;color:#aaa;margin-bottom:26px}
.footer .f-search{display:flex;max-width:330px}
.footer .f-search input{flex:1;height:48px;border:1px solid #3a4148;background:transparent;color:#fff;padding:0 14px;font-size:13px;outline:none}
.footer .f-search button{width:78px;height:48px;background:var(--brand);color:#fff;border:none;font-size:14px;cursor:pointer}
.footer h4{color:#fff;font-size:18px;margin-bottom:26px;font-weight:bold}
.footer .links li{margin-bottom:14px}
.footer .links a{color:#aaa;font-size:14px;transition:.3s;display:inline-flex;align-items:center;gap:8px}
.footer .links a:hover{color:var(--brand)}
.footer .links a::before{content:"\27A4";color:var(--brand);font-size:11px;line-height:1}
.footer .contact p{color:#aaa;font-size:14px;line-height:2;margin-bottom:8px}
.footer .qr{text-align:center}
.footer .qr img{width:150px;height:150px;background:#fff;padding:6px;margin:0 auto 12px;border-radius:4px}
.footer .qr span{color:#aaa;font-size:14px}
.footer .bottom{border-top:1px solid #2b3239;padding:24px 0;text-align:center;color:#8a8a8a;font-size:13px}
.footer .bottom a{color:#8a8a8a}
.footer .bottom a:hover{color:var(--brand)}

/* ===== 右侧悬浮客服（青色图标，与参考站一致） ===== */
.side-service{position:fixed;right:0;top:200px;z-index:999}
.side-service .ss-item{display:flex;align-items:flex-end;justify-content:center;width:53px;height:90px;padding-bottom:19px;background:url(../images/kficon.png) center/contain no-repeat;transition:transform .3s}
.side-service .ss-item:hover{transform:translateX(-3px)}
.side-service .ss-txt{font-size:12px;color:#fff;line-height:1}

/* ===== 内页横幅（300px，中英双标题，与参考站一致） ===== */
.page-banner{position:relative;height:300px;background:#0b1a24 url(../images/banner012.jpg) center/cover no-repeat}
.page-banner::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.38)}
.page-banner .inner{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center}
.page-banner h1{font-size:32px;font-weight:bold;letter-spacing:1px}
.page-banner .en{font-size:20px;margin-top:6px;letter-spacing:.5px}
/* 兼容兜底：万一横幅内还有旧版面包屑标记，也保证看得见 */
.page-banner .crumb{font-size:13px;color:rgba(255,255,255,.85);margin-top:10px}
.page-banner .crumb a{color:rgba(255,255,255,.85)}
.page-banner.fx .inner h1{animation:bannerUp .9s cubic-bezier(.22,.61,.36,1) both}
.page-banner.fx .inner .en{animation:bannerUp .9s .12s cubic-bezier(.22,.61,.36,1) both}
@keyframes bannerUp{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
/* 面包屑条 */
.crumb-bar{background:#f7f7f7;border-bottom:1px solid #ececec}
.crumb-bar .wrap{padding:17px 0;font-size:12px;color:#5a5a5a}
.crumb-bar a{color:#5a5a5a;transition:.3s}
.crumb-bar a:hover{color:var(--brand)}
.crumb-bar .sep{margin:0 8px;color:#5a5a5a}
.container{padding:60px 0 90px}

/* ===== 进场动画（滚动到视口时淡入上移） ===== */
.reveal{opacity:0;transform:translateY(38px);transition:opacity .75s cubic-bezier(.22,.61,.36,1),transform .75s cubic-bezier(.22,.61,.36,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .page-banner.fx .inner h1,.page-banner.fx .inner .en{animation:none}
}

/* ===== 页面正文区（后台页面里写的内容） ===== */
.page-intro{font-size:15px;line-height:2.1;color:#444;margin-bottom:50px}
.page-intro p{margin-bottom:18px}

/* ===== 居中标题（带青色下划线，用于内页段落标题） ===== */
.intro-head{text-align:center;margin-bottom:26px}
.intro-head h2{font-size:26px;color:var(--ink);font-weight:bold;display:inline-block;position:relative;padding-bottom:16px}
.intro-head h2::after{content:"";position:absolute;left:50%;bottom:0;width:46px;height:3px;margin-left:-23px;background:var(--brand);border-radius:2px}
.intro-text{font-size:14px;color:#333;line-height:2;text-align:left;max-width:1080px;margin:0 auto}
.intro-text p{margin-bottom:14px}

/* ===== 内页大图 ===== */
.page-figure{margin-bottom:50px}
.page-figure img{display:block;width:100%;height:auto}

/* ===== 左右图文（内页用，图片在左） ===== */
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#fff}
.split .pic{min-height:420px;background-position:center;background-size:cover}
.split .txt{padding:70px 60px}
.split .txt h2{font-size:24px;color:var(--ink);font-weight:bold;margin-bottom:26px;position:relative;padding-bottom:16px}
.split .txt h2::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:3px;background:var(--brand);border-radius:2px}
.split .txt p{font-size:14px;color:#5a5a5a;line-height:2.2;margin-bottom:18px}

/* ===== 服务项目卡片（3 列） ===== */
.svc-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.svc-card{text-align:center}
.svc-card .ph{display:block;overflow:hidden;margin-bottom:26px;background:#f2f2f2;min-height:180px}
.svc-card .ph img{display:block;width:100%;height:auto;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.svc-card:hover .ph img{transform:scale(1.06)}
.svc-card h3{font-size:20px;font-weight:bold;margin-bottom:16px}
.svc-card h3 a{color:#333;transition:color .3s}
.svc-card:hover h3 a{color:var(--brand)}
.svc-card p{font-size:14px;color:#5a5a5a;line-height:2;margin-bottom:26px;text-align:left}
.svc-card .more{display:inline-block;min-width:112px;height:40px;line-height:38px;padding:0 20px;border:1px solid #dcdcdc;color:#5a5a5a;font-size:13px;transition:.3s}
.svc-card .more:hover{background:var(--brand);border-color:var(--brand);color:#fff}

/* ===== 服务项目详情页：左侧同类服务列表（当前项高亮） ===== */
.svc-side li{padding:18px 0;border-bottom:1px solid #ededed}
.svc-side li:first-child{padding-top:0}
.svc-side li:last-child{border-bottom:0;padding-bottom:0}
.svc-side h4{font-size:16px;font-weight:bold;line-height:1.6;margin-bottom:8px}
.svc-side h4 a{color:#333;transition:.3s}
.svc-side li:hover h4 a,.svc-side li.active h4 a{color:var(--brand)}
.svc-side p{font-size:13px;color:#8a8a8a;line-height:1.95;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 文章摘要（详情页顶部，就是列表卡片上那段"简短描述"） ===== */
.post-excerpt{font-size:15px;color:#5a5a5a;line-height:2;background:#f7f8f9;border-left:3px solid var(--brand);padding:20px 24px;margin-bottom:34px}

/* ===== 空状态 / 引导提示 ===== */
.cat-empty,.cat-not-found{text-align:center;color:#929292;font-size:14px;line-height:2.1;padding:56px 0 20px}
.cat-empty b,.cat-not-found b{color:#5a5a5a;font-weight:bold}
/* 页面标题与顶级分类对不上时的引导：一旦真的渲染出内容，就自动隐藏
   （旧浏览器不支持 :has 时会一直显示，只是多一句提示，不影响使用） */
.prod-catalog:has(.prod-item) .cat-not-found,
.prod-catalog:has(.cat-empty) .cat-not-found,
.svc-catalog:has(.svc-card) .cat-not-found{display:none}

/* ===== 左侧分类栏 + 右侧内容（供应产品 / 新闻中心） ===== */
.with-side{display:grid;grid-template-columns:250px 1fr;gap:40px;align-items:start}
.cat-list li{margin-bottom:2px}
.cat-list a{display:block;height:52px;line-height:52px;padding:0 24px;font-size:15px;color:#5a5a5a;background:#f5f5f5;transition:.3s}
.cat-list a:hover{background:var(--brand);color:#fff}
.cat-list li.active a{background:var(--brand);color:#fff}

/* ===== 分类集合页 ===== */
.cat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.cat-card{background:#f5f5f5;padding:32px 24px;text-align:center;transition:.3s}
.cat-card h3{font-size:18px;font-weight:bold;color:var(--ink);margin-bottom:10px;transition:.3s}
.cat-card span{font-size:13px;color:#8a8a8a;transition:.3s}
.cat-card:hover{background:var(--brand)}
.cat-card:hover h3,.cat-card:hover span{color:#fff}

/* ===== 标签集合页 ===== */
.tag-cloud{display:flex;flex-wrap:wrap;gap:14px}
.tag-item{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;background:#f5f5f5;font-size:14px;color:#5a5a5a;transition:.3s}
.tag-item em{font-style:normal;font-size:12px;color:#9a9a9a;transition:.3s}
.tag-item:hover{background:var(--brand);color:#fff}
.tag-item:hover em{color:rgba(255,255,255,.9)}

/* ===== 产品网格 ===== */
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.prod-item{background:#fff;border:1px solid #eaeaea;transition:.35s;overflow:hidden}
.prod-item:hover{box-shadow:0 10px 26px rgba(0,0,0,.1);border-color:var(--brand)}
.prod-item .ph{display:block;overflow:hidden;background:#f2f2f2;min-height:230px}
.prod-item .ph img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.prod-item:hover .ph img{transform:scale(1.07)}
.prod-item .nm{display:block;padding:16px 14px 6px;text-align:center;font-size:15px;color:#333;transition:.3s}
.prod-item:hover .nm{color:var(--brand)}
.prod-item .ds{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0 14px 16px;text-align:center;font-size:13px;color:#8a8a8a;line-height:1.9}

/* ===== 新闻列表行（日期方块 + 标题 + 摘要） ===== */
.news-rows li{display:grid;grid-template-columns:86px 1fr;gap:26px;padding:26px 0;border-bottom:1px solid #ededed;transition:.3s}
.news-rows li:first-child{padding-top:0}
.news-rows .date{background:#f5f5f5;text-align:center;padding:14px 0;transition:.3s}
.news-rows li:hover .date{background:var(--brand)}
.news-rows .date .d{display:block;font-size:26px;font-weight:bold;color:#333;line-height:1.1;transition:.3s}
.news-rows .date .m{display:block;font-size:12px;color:#8a8a8a;margin-top:4px;transition:.3s}
.news-rows li:hover .date .d,.news-rows li:hover .date .m{color:#fff}
.news-rows .body h3{font-size:17px;font-weight:bold;line-height:1.6;margin-bottom:12px}
.news-rows .body h3 a{color:#333;transition:.3s}
.news-rows li:hover .body h3 a{color:var(--brand)}
.news-rows .body p{font-size:14px;color:#8a8a8a;line-height:2}
.news-rows .body p a{color:#8a8a8a}
.news-rows .body p a:hover{color:var(--brand)}

/* ===== 联系我们 ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.contact-grid .left h2{font-size:24px;color:#333;font-weight:bold;position:relative;padding-bottom:16px;margin-bottom:26px}
.contact-grid .left h2::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:3px;background:var(--brand);border-radius:2px}
.contact-grid .left>p{font-size:14px;color:#5a5a5a;line-height:2.2;margin-bottom:30px}
.info-list li{display:flex;align-items:flex-start;gap:14px;padding:14px 0;font-size:14px;color:#5a5a5a;line-height:1.8}
.info-list li img{width:20px;height:20px;flex:0 0 20px;margin-top:3px}
/* 联系方式卡片 */
.c-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:4px}
.c-card{background:#f7f7f7;padding:26px 24px 24px;transition:.3s}
.c-card:hover{background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.c-card .ico{width:46px;height:46px;border-radius:50%;background:var(--brand);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
/* cinfo-*.png 本身是蓝色系图标，放在品牌色圆底/品牌色按钮上会同色隐形，
   用滤镜统一转成纯白；白底的按钮保持原色不动 */
.c-card .ico img{width:20px;height:20px;filter:brightness(0) invert(1)}
.c-card h4{font-size:13px;color:#999;font-weight:400;letter-spacing:1px;margin-bottom:9px}
.c-card .val{display:block;font-size:17px;color:#333;line-height:1.65;word-break:break-word}
a.c-card .val:hover{color:var(--brand)}
/* 快捷入口按钮 */
.c-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:34px}
.c-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:158px;height:53px;padding:0 30px;font-size:15px;border-radius:27px;transition:.3s}
.c-actions a img{width:17px;height:17px;flex:0 0 17px}
.c-actions .btn-primary{background:var(--brand);color:#fff}
.c-actions .btn-primary img{filter:brightness(0) invert(1)}
.c-actions .btn-primary:hover{background:var(--brand-2)}
.c-actions .btn-line{border:1px solid #ddd;color:#333}
.c-actions .btn-line:hover{border-color:var(--brand);color:var(--brand)}
/* 微信二维码 */
.c-qr{margin-top:26px;background:#f7f7f7;padding:34px 28px;text-align:center}
.c-qr img{width:190px;max-width:100%;display:block;margin:0 auto;background:#fff}
.c-qr p{margin-top:16px;font-size:14px;color:#666}
/* 地图：只在「社交与留言 → 地图地址」填了 iframe 才渲染，
   所以不再需要原来那套网格底纹占位（就是它让页面看起来像"地图坏了"） */
.map-box{min-height:420px;position:relative;border:1px solid #e4e8ea;background:#eef1f3}
.map-box iframe{display:block;width:100%;height:100%;min-height:420px;border:0}
/* 地图和二维码都不显示时，左栏内容占满整宽 */
.contact-grid.solo{grid-template-columns:1fr}
.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.post-item{background:#fff;border:1px solid #eee;transition:.3s;overflow:hidden}
.post-item:hover{box-shadow:0 10px 28px rgba(0,0,0,.1);transform:translateY(-4px)}
.post-item .cover{height:200px;background:#f0f0f0 url(../images/news010.jpg) center/cover no-repeat}
.post-item .pbody{padding:22px 22px 26px}
.post-item .pbody h3{font-size:17px;color:#333;font-weight:bold;margin-bottom:12px;line-height:1.5}
.post-item .pbody h3 a{color:#333;transition:.3s}
.post-item:hover .pbody h3 a{color:var(--brand)}
.post-item .pbody .meta{font-size:13px;color:#929292;margin-bottom:12px}
.post-detail{display:grid;grid-template-columns:1fr 320px;gap:40px}
.post-main{background:#fff;padding:40px;border:1px solid #eee}
.post-main h1{font-size:28px;color:#333;font-weight:bold;line-height:1.5;margin-bottom:18px}
.post-main .pmeta{font-size:13px;color:#929292;padding-bottom:20px;border-bottom:1px solid #eee;margin-bottom:26px}
.post-item .pbody .excerpt{font-size:14px;color:#5a5a5a;line-height:2}
.post-content{font-size:15px;line-height:2.1;color:#444}
.post-content p{margin-bottom:18px}
.post-content img{max-width:100%;height:auto;margin:16px 0;border-radius:4px}
.post-content h2,.post-content h3{margin:26px 0 14px;color:#333}
.post-content a{color:var(--brand)}
.sidebar .widget{background:#fff;border:1px solid #eee;margin-bottom:24px}
.sidebar .widget h3{background:var(--bg-soft);padding:14px 18px;font-size:16px;color:#333;border-left:3px solid var(--brand)}
.sidebar .widget ul{padding:14px 18px}
.sidebar .widget li{padding:9px 0;border-bottom:1px dashed #eee;font-size:14px}
.sidebar .widget li:last-child{border-bottom:none}
.sidebar .widget a{color:#5a5a5a;transition:.3s}
.sidebar .widget a:hover{color:var(--brand)}

/* ===== 分页 ===== */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:50px}
.pagination a,.pagination span{min-width:40px;height:40px;line-height:40px;text-align:center;padding:0 12px;border:1px solid #e2e2e2;color:#5a5a5a;font-size:14px;background:#fff;transition:.3s}
.pagination a:hover,.pagination .active{background:var(--brand);color:#fff;border-color:var(--brand)}

/* ===== 响应式 ===== */
@media (max-width:1220px){ .wrap{width:100%;padding:0 16px} }
@media (max-width:1100px){
  .services{grid-template-columns:repeat(2,1fr)}
  .team{grid-template-columns:repeat(2,1fr)}
  .stats .wrap{grid-template-columns:repeat(2,1fr);gap:40px}
  .news-grid{grid-template-columns:1fr}
  .partner-track{grid-template-columns:repeat(3,1fr)}
  .footer .cols{grid-template-columns:1fr 1fr;gap:30px}
  .about{grid-template-columns:1fr}
  .about .pic{min-height:320px}
  .post-detail{grid-template-columns:1fr}
  .header-info{gap:20px}
}

/* =========================================================
   动画增强
   ========================================================= */

/* ---- 1. 首屏轮播：箭头 / 圆点 / 文案进场 ---- */
.hero-arrow{position:absolute;top:50%;z-index:6;width:52px;height:52px;margin-top:-26px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(0,0,0,.32);color:#fff;font-size:28px;line-height:50px;text-align:center;cursor:pointer;opacity:0;transition:opacity .35s,background .3s,border-color .3s}
.hero:hover .hero-arrow{opacity:1}
.hero-arrow:hover{background:var(--brand);border-color:var(--brand)}
.hero-arrow.prev{left:30px}
.hero-arrow.next{right:30px}
.hero-dots{position:absolute;left:0;right:0;bottom:34px;z-index:6;display:flex;justify-content:center;gap:10px}
.hero-dots button{position:relative;overflow:hidden;width:34px;height:4px;padding:0;border:0;background:rgba(255,255,255,.45);cursor:pointer;transition:width .3s,background .3s}
.hero-dots button.on{width:50px;background:rgba(255,255,255,.26)}
/* 当前圆点跑进度条：宽度按 --hero-dur（= JS 里的 DURATION）铺满，走完正好切换 */
.hero-dots button.prog::after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background:var(--brand);transform:scaleX(0);transform-origin:left;animation:dotRun var(--hero-dur,5600ms) linear forwards}
@keyframes dotRun{to{transform:scaleX(1)}}
/* 悬停/触摸暂停时，进度条跟着一起停 */
.hero-dots.paused button.prog::after{animation-play-state:paused}
/* ---- 文字进场：4 种方向随背景动画一起轮换 ---- */
.hero-caption .an{opacity:0}
@keyframes anUp{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
@keyframes anLeft{from{opacity:0;transform:translateX(-44px)}to{opacity:1;transform:none}}
@keyframes anRight{from{opacity:0;transform:translateX(44px)}to{opacity:1;transform:none}}
@keyframes anClip{from{opacity:0;clip-path:inset(0 0 0 100%)}to{opacity:1;clip-path:inset(0 0 0 0)}}
.hero-caption.dir-up .an{animation:anUp .9s cubic-bezier(.22,.61,.36,1) forwards}
.hero-caption.dir-left .an{animation:anLeft .9s cubic-bezier(.22,.61,.36,1) forwards}
.hero-caption.dir-right .an{animation:anRight .9s cubic-bezier(.22,.61,.36,1) forwards}
.hero-caption.dir-clip .an{animation:anClip .95s cubic-bezier(.65,0,.35,1) forwards}
.hero-caption .an:nth-child(1){animation-delay:.15s}
.hero-caption .an:nth-child(2){animation-delay:.35s}
.hero-caption .an:nth-child(3){animation-delay:.55s}

/* ---- 2. 吸顶导航：滚动后加阴影 ---- */
.nav{position:sticky;top:0;transition:box-shadow .3s}
body.nav-fixed .nav{box-shadow:0 6px 20px rgba(0,0,0,.22)}

/* ---- 3. 返回顶部 ---- */
.to-top{position:fixed;right:26px;bottom:34px;z-index:998;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:var(--brand);color:#fff;font-size:20px;line-height:46px;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .3s,visibility .3s,transform .3s,background .3s;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--brand-2)}

/* ---- 4. 数字滚动：等宽数字，避免跳动 ---- */
.stats .it .num{font-variant-numeric:tabular-nums}

/* ---- 5. 合作伙伴无缝跑马灯 ---- */
.partners .wrap{overflow:hidden}
.partner-track{display:flex;gap:20px;width:max-content;animation:pmove 32s linear infinite}
.partners:hover .partner-track{animation-play-state:paused}
.partner-track .p{width:200px;flex:0 0 200px}
@keyframes pmove{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---- 6. 悬浮客服上移，给返回顶部让位 ---- */
@media (min-width:761px){
  .to-top{bottom:150px}
}

@media (max-width:760px){
  .hero{height:520px}
  .hero-caption h1{font-size:34px;line-height:1.5}
  .hero-arrow{width:42px;height:42px;line-height:40px;font-size:22px;opacity:.85}
  .hero-arrow.prev{left:10px}
  .hero-arrow.next{right:10px}
  .hero-dots{bottom:22px;gap:8px}
  .hero-dots button{width:24px}
  .hero-dots button.on{width:34px}
  .to-top{right:14px;bottom:20px;width:40px;height:40px;line-height:40px;font-size:18px}
  .partner-track .p{width:150px;flex:0 0 150px}
}

@media (prefers-reduced-motion:reduce){
  .hero-caption .an{animation:none;opacity:1;transform:none}
  .hero-slide.on[class*="fx-"]{animation:none}
  .hero-dots button.prog::after{animation:none;transform:scaleX(1)}
  .partner-track{animation:none;width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .partner-track .p{width:auto;flex:none}
  .hero-arrow{opacity:1}
}

@media (max-width:760px){
  /* ===== 原有移动端规则 ===== */
  .topbar .socials{gap:14px}
  .header .wrap{height:auto;flex-wrap:wrap;gap:16px}
  .header-info{margin-left:0;flex-wrap:wrap;gap:16px}
  /* 移动端：导航换行，子菜单改为内联展开，避免被 overflow 裁切 */
  .nav{height:auto;padding-bottom:10px}
  .nav .wrap{height:auto;flex-wrap:wrap;overflow:visible}
  .nav .wrap>ul{height:auto;flex-wrap:wrap}
  .nav .wrap>ul>li>a{height:46px;line-height:46px;padding:0 16px}
  .nav .consult{margin:10px 16px 0}
  .nav ul ul{position:static;top:auto;left:auto;min-width:0;opacity:1;visibility:visible;transform:none;box-shadow:none;background:rgba(255,255,255,.08);padding:0;display:none}
  .nav .wrap>ul>li>ul::before{display:none}
  .nav li:hover>ul,.nav li:focus-within>ul{display:block}
  .nav ul ul a{padding:10px 30px;color:rgba(255,255,255,.8)}
  /* 移动端子菜单为内联展开：去掉顶线、箭头、竖条，改为缩进 + 浅底 */
  .nav ul ul{border-top:0}
  .nav ul ul::before,.nav ul ul li>ul::before{display:none}
  .nav ul ul li{border-bottom:0}
  .nav ul ul a{min-height:0;padding:10px 20px 10px 42px}
  .nav ul ul a::before,.nav ul ul a .caret{display:none}
  .nav ul ul a:hover{color:#fff;background:rgba(255,255,255,.08);padding-left:42px}
  .nav ul ul a:hover{color:#fff}
  .hero{height:480px}
  .hero-caption h1{font-size:34px}
  .services,.team,.post-list{grid-template-columns:1fr}
  .stats .wrap{grid-template-columns:1fr}
  .partner-track{grid-template-columns:repeat(2,1fr)}
  .footer .cols{grid-template-columns:1fr}
  .news-card{grid-template-columns:1fr}
  .page-banner{height:200px}
  .page-banner h1{font-size:24px}
  .page-banner .en{font-size:15px}
  .side-service{top:120px}
  .side-service .ss-item{width:46px;height:76px;padding-bottom:15px}
  /* 内页组件移动端 */
  .svc-cards,.prod-grid{grid-template-columns:1fr}
  .cat-cards{grid-template-columns:1fr 1fr}
  .with-side{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .split .pic{min-height:260px}
  .split .txt{padding:40px 20px}
  .contact-grid{grid-template-columns:1fr;gap:36px}
  .c-cards{grid-template-columns:1fr;gap:14px}
  .c-actions a{width:100%}
  .map-box{min-height:280px}
  .map-box iframe{min-height:280px}
  .news-rows li{grid-template-columns:70px 1fr;gap:16px}
  .news-rows .date .d{font-size:20px}
  .container{padding:40px 0 60px}
}

@media (max-width:1100px){
  .svc-cards{grid-template-columns:repeat(2,1fr)}
  .prod-grid{grid-template-columns:repeat(2,1fr)}
  .cat-cards{grid-template-columns:repeat(3,1fr)}
  .with-side{grid-template-columns:210px 1fr}
  .contact-grid{gap:30px}
  .c-card{padding:22px 18px}
}
