*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:14px;color:#333;background:var(--page-bg);line-height:1.5;min-width:320px}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
ul{list-style:none}
button{font:inherit;cursor:pointer;border:0;background:none}

/* ---------- 页头 ---------- */
.site-header{background:#fff;position:relative;z-index:20}
.header-inner{display:flex;align-items:center;height:108px;padding:0 0 0 5.76%}
.brand{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-right:5.9%}
.brand-logo{height:var(--logo-size);width:auto;max-width:280px;object-fit:contain}
.brand-name{font-size:var(--name-size);font-weight:700;color:var(--primary);white-space:nowrap;letter-spacing:.5px}
.site-nav ul{display:flex;align-items:center;height:108px}
.nav-item{height:98px;align-self:flex-start;margin-top:5px}
.nav-item a{display:flex;align-items:center;justify-content:center;min-width:114px;height:100%;padding:0 16px;font-size:17px;font-weight:700;color:var(--nav-text);transition:background .2s,color .2s}
.nav-item a:hover{color:var(--primary)}
.nav-item.active a{background:var(--primary);color:#fff}
.nav-sep{color:#d9d9d9;font-size:16px;padding:0 4px;margin-top:4px}
.nav-toggle{display:none;margin-left:auto;width:44px;height:44px;padding:12px 10px;flex-direction:column;justify-content:space-between}
.nav-toggle span{display:block;height:2px;background:var(--primary);border-radius:2px;transition:.25s}

/* ---------- 首页第一行：轮播 + 焦点资讯 ---------- */
.site-main{padding-top:6px}
.top-row{display:grid;grid-template-columns:minmax(0,831fr) minmax(0,600fr);gap:6px;align-items:start}
.top-row.single{grid-template-columns:minmax(0,1fr)}
.slider{position:relative;overflow:hidden;background:#ddd}
.hero{aspect-ratio:831/442}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto;z-index:1}
.slide a{display:block;height:100%}
.slide img{width:100%;height:100%;object-fit:cover}
.hero-caption{position:absolute;left:0;right:0;bottom:0;height:42px;padding:0 90px 0 12px;display:flex;align-items:center;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.5));color:#fff;font-size:15px}
.hero-caption span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.sl-dots{position:absolute;right:16px;bottom:16px;z-index:3;display:flex;gap:6px}
.sl-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;transition:.2s}
.sl-dots i.active{background:#fff}

.focus{background:#fff}
.focus-head{height:76px;background:#9aa3ad center/cover no-repeat;padding:8px 0 0 4px}
.focus-tab{display:inline-flex;align-items:center;justify-content:center;min-width:136px;height:56px;padding:0 20px;background:var(--tab-bg);color:#fff;font-size:24px;font-weight:700}
.focus-list li a{display:flex;align-items:center;gap:24px;height:62px;padding:19px 30px;border-bottom:1px solid #eee}
.focus-list li:last-child a{border-bottom:0}
.focus-list h4{flex:1;min-width:0;font-size:16px;font-weight:400;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
.focus-list a:hover h4{color:var(--primary)}
.focus-list .date{flex-shrink:0;color:#999;font-size:14px}

/* ---------- 案例展示 ---------- */
.case-title{margin-top:13px;background:#fff;text-align:center;color:var(--primary);font-weight:700;line-height:33px}
.blocks{display:flex;flex-wrap:wrap;gap:7px 13px;margin-top:5px}
.block{background:#fff;min-width:0}
.block-full{flex:1 1 100%}
.block-half{flex:1 1 calc(50% - 7px)}
.block-head{height:55px;display:flex;align-items:center;padding-left:6px;color:var(--primary);font-size:20px;font-weight:700}
.gallery{height:0}
.sl-arrow{position:absolute;top:50%;z-index:3;width:46px;height:46px;margin-top:-23px;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;transition:background .2s}
.sl-arrow:hover{background:rgba(0,0,0,.6)}
.sl-arrow svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sl-prev{left:16px}.sl-next{right:16px}
.video-box{position:relative;height:0;background:#000}
.video-box video{position:absolute;inset:0;width:100%;height:100%;background:#000}
.single-image img{width:100%}
.block .rich{padding:16px 20px}

/* ---------- 页脚 ---------- */
.site-footer{margin-top:5px;background:var(--footer-bg);color:var(--footer-text);font-size:12px;text-align:center;padding:16px 15px;line-height:26px;min-height:84px}
.site-footer a:hover{color:#fff}
.foot-sep{margin:0 6px}
.i-support{display:inline-block;width:10px;height:10px;margin-right:4px;vertical-align:-1px;background:currentColor;clip-path:polygon(0 100%,30% 30%,55% 60%,100% 0,70% 100%)}
.back-top{position:fixed;right:42px;bottom:110px;z-index:30;width:46px;height:46px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.2);opacity:0;visibility:hidden;transition:.3s}
.back-top.show{opacity:1;visibility:visible}

/* ---------- 内页 ---------- */
.article-wrap{max-width:1200px;margin:0 auto;padding:20px 15px 40px}
.crumb{color:#666;margin-bottom:14px}
.crumb a:hover{color:var(--primary)}
.article{background:#fff;padding:36px 48px;min-height:420px}
.article h1{font-size:24px;color:#222;text-align:center;line-height:1.4}
.article-meta{text-align:center;color:#999;margin:12px 0 24px;padding-bottom:18px;border-bottom:1px solid #eee}
.rich{font-size:15px;line-height:1.9;color:#333;word-break:break-word}
.rich p{margin:0 0 1em}
.rich img{max-width:100%;height:auto;margin:10px auto}
.rich h2,.rich h3{margin:1em 0 .6em;color:#222}
.pager{margin-top:36px;padding-top:18px;border-top:1px solid #eee;display:grid;gap:8px;color:#666;font-size:14px}
.pager a:hover{color:var(--primary)}
.not-found{text-align:center;padding-top:80px}
.not-found a{color:var(--primary)}

.msg-form{display:grid;gap:14px;max-width:640px;margin:20px 0 30px}
.msg-form label{display:grid;gap:6px;font-size:14px;color:#333}
.msg-form em{color:#e33;font-style:normal;margin-left:2px}
.msg-form input,.msg-form textarea{font:inherit;padding:9px 12px;border:1px solid #ddd;border-radius:4px;outline:none}
.msg-form input:focus,.msg-form textarea:focus{border-color:var(--primary)}
.msg-form button{justify-self:start;padding:10px 32px;background:var(--primary);color:#fff;border-radius:4px}
.msg-form .hp{position:absolute;left:-9999px}
.msg-ok{padding:10px 14px;background:#eef8ee;color:#2a7a2a;border-radius:4px}
.msg-list li{padding:16px 0;border-top:1px solid #eee}
.msg-top{display:flex;justify-content:space-between;color:#666;margin-bottom:6px}
.msg-top time{color:#999;font-size:13px}
.msg-reply{margin-top:8px;padding:8px 12px;background:#f5f7fb;color:var(--nav-text);border-radius:4px}

/* ---------- 响应式 ---------- */
@media (max-width:1100px){
  .header-inner{padding-left:24px}
  .brand{margin-right:24px}
  .nav-item a{min-width:96px}
}
@media (max-width:820px){
  .header-inner{height:64px;padding:0 12px 0 16px}
  :root{--logo-size:44px!important}
  .brand-name{font-size:18px}
  .nav-toggle{display:flex}
  .site-nav{position:absolute;left:0;right:0;top:64px;background:#fff;box-shadow:0 8px 16px rgba(0,0,0,.08);max-height:0;overflow:hidden;transition:max-height .3s}
  .site-nav.open{max-height:400px}
  .site-nav ul{flex-direction:column;align-items:stretch;height:auto}
  .nav-sep{display:none}
  .nav-item{height:48px;margin:0;border-top:1px solid #f0f0f0}
  .nav-item a{justify-content:flex-start;padding:0 20px}
  .nav-toggle.open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .nav-toggle.open span:nth-child(2){opacity:0}
  .nav-toggle.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .top-row{grid-template-columns:minmax(0,1fr)}
  .focus-head{height:60px;padding:6px 0 0 4px}
  .focus-tab{height:48px;font-size:20px;min-width:110px}
  .focus-list li a{height:52px;padding:14px 16px;gap:12px}
  .focus-list h4{font-size:15px}
  .focus-list .date{font-size:12px}
  .block-half{flex-basis:100%}
  .block-head{height:46px;font-size:18px}
  .sl-arrow{width:36px;height:36px;margin-top:-18px}
  .sl-prev{left:8px}.sl-next{right:8px}
  .hero-caption{font-size:13px;padding-right:70px}
  .back-top{right:16px;bottom:24px}
  .article{padding:24px 16px}
  .article h1{font-size:20px}
}
