/* 轩益官网样式：令牌见 网站迁移/样式规范.md */
:root{--nav:#FF0000;--brand:#ED2832;--brand-dark:#E43939;--accent:#609EE9;--text:#333;--text-2:#666;--text-3:#999;--line:#E5E5E5;--bg-alt:#F5F5F5;--font:system-ui,"PingFang SC","Microsoft YaHei",Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:14px/1.8 var(--font);color:var(--text-2);background:#fff;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;border:0}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
.container{width:1200px;max-width:100%;margin:0 auto;padding:0 15px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* 页头 */
.site-header{background:var(--nav);height:70px;position:sticky;top:0;z-index:50}
.header-inner{width:1200px;max-width:100%;height:70px;margin:0 auto;padding:0 15px;display:flex;align-items:center;position:relative}
.logo{display:block;background:#fff;height:70px;padding:5px 8px;flex:none}
.logo img{height:60px;width:auto;display:block}
.site-nav{flex:1;display:flex;align-items:center;justify-content:space-between;min-width:0}
.site-nav>ul{display:flex;flex:1;justify-content:center}
.site-nav>ul>li{position:relative}
.site-nav>ul>li>a{display:block;line-height:70px;padding:0 15px;color:#fff;font-size:14px;white-space:nowrap}
.site-nav>ul>li>a:hover,.site-nav>ul>li.current>a{background:rgba(0,0,0,.12)}
.site-nav .sub{display:none;position:absolute;left:0;top:70px;min-width:100%;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.site-nav .has-child:hover .sub,.site-nav .has-child:focus-within .sub{display:block}
.site-nav .sub a{display:block;padding:0 20px;line-height:42px;color:var(--text);white-space:nowrap}
.site-nav .sub a:hover{color:var(--brand);background:var(--bg-alt)}
.hotline{color:#fff;font-size:18px;letter-spacing:1px;white-space:nowrap;flex:none;padding-left:10px}
.hotline .hl-t{margin-right:8px;font-size:16px}
.hotline .hl-ic{display:none}
.nav-toggle{display:none;margin-left:auto;background:none;border:0;width:44px;height:44px;padding:10px;cursor:pointer}
.nav-toggle span{display:block;height:2px;background:#fff;margin:6px 0}

/* 横幅 */
.banner{position:relative;overflow:hidden;background:#fff}
.banner-slide{display:none}
.banner-slide.active{display:block}
.banner-slide img{width:100%;height:420px;object-fit:cover;display:block}
.banner-slide{position:relative;background:#0b1a2b}
.bn-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;padding:0 20px}
.bn-title{font-size:42px;font-weight:600;letter-spacing:2px;line-height:1.4}
.bn-sub{font-size:17px;color:rgba(255,255,255,.85);margin-top:8px}
.bn-btn{margin-top:28px;display:inline-block;min-width:170px;line-height:46px;background:#3a97e0;font-size:14px}
.banner-slide:hover .bn-btn{background:#2f86cc}
.banner-dots{position:absolute;left:0;right:0;bottom:12px;text-align:center}
.banner-dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.6);margin:0 5px;padding:0;cursor:pointer}
.banner-dots button.active{background:var(--brand)}

/* 首页：产品四圈 */
.home-products{padding:130px 0 60px}
.circles{display:flex;justify-content:space-between;max-width:1000px;margin:0 auto;text-align:center}
.circles li{width:250px;padding:0 10px}
.circle{display:flex;align-items:center;justify-content:center;width:150px;height:150px;margin:0 auto 30px;border:1px dashed var(--brand);border-radius:50%;overflow:hidden;background:#fff}
.circle img{width:120px;height:120px;object-fit:contain}
.circles h2{font-size:22px;font-weight:400;color:var(--text);line-height:1.4;margin-bottom:6px}
.circles p{font-size:12px;line-height:24px;color:var(--text);padding:0 5px}

/* 首页：服务案例 */
.home-cases{background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)),url(/uploads/import/901ffa1612c781cc.webp) center/cover no-repeat var(--bg-alt);padding:12px 0 36px;text-align:center}
.sec-title{font-size:30px;font-weight:400;color:var(--brand);line-height:1.6;padding-bottom:14px;position:relative;margin-bottom:26px}
.sec-title:after{content:"";display:block;width:60px;height:2px;background:var(--text-2);margin:12px auto 0}
.sec-desc{color:var(--text-3);font-size:14px;line-height:24px;max-width:920px;margin:-6px auto 28px}
.cards{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.cards li{width:231px;background:#fff;border:1px solid #f0f0f0}
.cards img{display:block;width:100%;height:220px;object-fit:cover}
.cards span{display:block;text-align:center;line-height:42px;color:var(--text);padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cards a:hover span{color:var(--brand)}
.btn-more{display:inline-block;margin-top:32px;width:220px;line-height:36px;border:1px solid var(--brand);border-radius:20px;color:var(--brand);font-size:12px;background:#fff}
.btn-more:hover{background:var(--brand);color:#fff}

/* 资讯列表（首页 / 列表页共用） */
.home-news{padding:12px 0 40px;text-align:center}
.news-list{text-align:left;max-width:990px;margin:0 auto}
.news-list li{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);min-height:140px}
.news-list .thumb{flex:none;width:200px}
.news-list .thumb img{width:200px;height:125px;object-fit:cover;display:block}
.news-list .txt{flex:1;min-width:0;display:flex;flex-direction:column}
.news-list h3{font-size:14px;font-weight:600;color:var(--text);line-height:1.6}
.news-list h3 a:hover{color:var(--brand)}
.news-list .desc{margin-top:6px;color:var(--text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-list .meta{margin-top:auto;display:flex;justify-content:space-between;color:var(--text-3);font-size:12px}
.news-list .no-thumb{min-height:0;padding:12px 0}
.no-thumb .txt{flex-direction:row;align-items:baseline;gap:16px}
.no-thumb h3{flex:1;min-width:0}
.no-thumb .desc{display:none}
.no-thumb .meta{margin:0;flex:none;gap:14px}
.views:before{content:"";display:inline-block;width:12px;height:8px;margin-right:5px;border:1px solid var(--text-3);border-radius:50%;vertical-align:0}
.news-list .empty{display:block;text-align:center;color:var(--text-3);min-height:0;border:0}

/* 面包屑 / 列表 / 详情 */
.crumb{font-size:12px;color:var(--text-3);padding:28px 0 18px}
.crumb a:hover{color:var(--brand)}
.crumb i{font-style:normal;margin:0 8px}
.list-wrap{padding-bottom:50px}
.list-title{font-size:30px;font-weight:400;color:var(--brand);text-align:center;line-height:1.6;margin-bottom:24px}
.list-title:after{content:"";display:block;width:60px;height:2px;background:var(--text-2);margin:10px auto 0}
.cat-intro{max-width:990px;margin:0 auto 20px}
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.prod-grid li{border:1px solid var(--line);background:#fff;padding-bottom:12px;text-align:center}
.prod-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.prod-grid h3{font-size:16px;font-weight:600;color:var(--text);padding:10px 12px 0;line-height:1.5}
.prod-grid h3 a:hover{color:var(--brand)}
.prod-grid p{padding:4px 14px 0;font-size:12px;color:var(--text-3)}
.prod-grid .empty{grid-column:1/-1;border:0;color:var(--text-3)}
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:30px}
.pager a,.pager .current{min-width:36px;padding:0 12px;line-height:34px;text-align:center;border:1px solid var(--line);color:var(--text-2)}
.pager a:hover{border-color:var(--brand);color:var(--brand)}
.pager .current{background:var(--brand);border-color:var(--brand);color:#fff}
.search-form{display:flex;max-width:520px;margin:0 auto 24px}
.search-form input{flex:1;height:38px;border:1px solid var(--line);padding:0 12px;font:inherit}
.search-form button{height:38px;padding:0 20px;border:0;background:var(--brand);color:#fff;cursor:pointer;font:inherit}

.detail{width:1000px;max-width:100%;padding-bottom:30px}
.detail>*{max-width:850px;margin-left:auto;margin-right:auto}
.detail-cover{margin:0 auto 22px;max-width:910px;padding-bottom:22px;position:relative}
.detail-cover:after{content:"";position:absolute;left:50%;bottom:0;width:42px;height:3px;margin-left:-21px;background:var(--text-2)}
.detail-cover img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover}
.detail-title{font-size:24px;font-weight:600;color:var(--text);text-align:center;line-height:1.5;margin:6px auto 12px}
.detail-meta{text-align:center;color:var(--text-3);font-size:12px;margin-bottom:24px}
.detail-meta .views{margin-left:16px}
.detail-desc{color:var(--text-3);margin:20px auto 24px}
.rich{color:var(--text-2);font-size:14px;line-height:1.8;word-break:break-word}
.rich p{margin:0 0 6px}
.rich h1,.rich h2,.rich h3,.rich h4{font-size:17px;font-weight:700;line-height:1.7;color:var(--text);margin:14px 0 4px}
.rich img{max-width:100%;height:auto}
.rich table{border-collapse:collapse;max-width:100%}
.rich td,.rich th{border:1px solid var(--line);padding:6px 10px}
.prenext{margin-top:36px;font-size:12px;color:var(--text-3)}
.prenext p{line-height:30px}
.prenext a{color:var(--text-2)}
.prenext a:hover{color:var(--brand)}
.related{border-top:1px solid var(--line);margin-top:20px;padding:26px 0 40px}
.related h2{font-size:20px;font-weight:400;color:var(--brand);margin-bottom:14px;text-align:center}
.related ul:not(.prod-grid) li{display:flex;justify-content:space-between;gap:12px;line-height:36px;border-bottom:1px dashed var(--line);max-width:850px;margin:0 auto}
.related time{color:var(--text-3);font-size:12px}
.related a:hover{color:var(--brand)}
.err404{text-align:center;padding:100px 15px}
.err404 h1{font-size:72px;color:var(--brand);line-height:1.2}
.err404 p{margin-top:10px}

/* 关于轩益：页内横幅 + 荣誉资质 */
.about-banner{position:relative;height:340px;overflow:hidden;margin:0 -15px 40px;background:#0b1a2b}
.ab-slide{display:none;position:absolute;inset:0;background:center/cover no-repeat;color:#fff;text-align:center;flex-direction:column;align-items:center;justify-content:center;padding:0 20px}
.ab-slide.active{display:flex}
.ab-slide p{margin:0}
.ab-title{font-size:38px;font-weight:600;letter-spacing:2px;line-height:1.4;order:1}
.ab-sub{font-size:16px;color:rgba(255,255,255,.85);order:2;margin-top:6px!important}
.ab-btn{order:3;margin-top:26px;display:inline-block;min-width:170px;line-height:46px;background:#3a97e0;color:#fff;font-size:14px}
.ab-dots{position:absolute;left:0;right:0;bottom:12px;text-align:center;z-index:2}
.ab-dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.5);margin:0 5px;padding:0;cursor:pointer}
.ab-dots button.active{background:#fff}
.rich .honor-title{font-size:30px;font-weight:600;color:var(--text);text-align:center;line-height:1.5;margin:20px 0 26px}
.honor-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.honor-grid li{width:calc(25% - 12px)}
.honor-grid a{display:block;border:1px solid var(--line);background:#fafafa;aspect-ratio:4/3;cursor:zoom-in}
.honor-grid a:hover{border-color:var(--brand)}
.rich .honor-grid img{width:100%;height:100%;object-fit:contain;display:block}
.zoom-mask{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.zoom-mask img{max-width:92vw;max-height:92vh;background:#fff}
/* 联系我们：图标卡 */
.contact-cards{display:flex;justify-content:center;gap:20px;max-width:1000px;margin:10px auto 30px}
.contact-cards li{flex:1;min-width:0;text-align:center;padding:0 6px}
.cc-ic{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:2px solid var(--text);border-radius:50%;color:var(--text)}
.rich .cc-label{font-size:18px;color:var(--text);margin:12px 0 8px}
.rich .cc-val{font-size:13px;line-height:30px;margin:0}
.cc-val a:hover{color:var(--brand)}

/* 联系我们：地图 + 二维码 + 留言 */
.contact-extra{display:flex;gap:20px;max-width:1000px;margin:0 auto 30px}
.contact-extra section{flex:1;border:1px solid var(--line);padding:24px;text-align:center}
.contact-extra .contact-qr{flex:0 0 240px}
.contact-extra h2,.guestbook h2{font-size:18px;font-weight:600;color:var(--text);margin-bottom:12px}
.cm-addr{color:var(--text-2);line-height:1.8}
.cm-links{margin-top:16px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cm-links a{display:inline-block;padding:0 18px;line-height:36px;border:1px solid var(--brand);color:var(--brand);border-radius:18px}
.cm-links a:hover{background:var(--brand);color:#fff}
.contact-qr img{width:160px;height:160px;display:block;margin:0 auto}
.guestbook{max-width:1000px;margin:0 auto}
.gb-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gb-form input,.gb-form textarea{width:100%;border:1px solid #ddd;padding:10px 12px;font:inherit;color:var(--text);background:#fff;border-radius:2px}
.gb-form input:focus,.gb-form textarea:focus{outline:none;border-color:var(--brand)}
.gb-form textarea,.gb-captcha,.gb-form button,.gb-msg{grid-column:1/-1}
.gb-captcha{display:flex;gap:12px;align-items:center}
.gb-captcha input{flex:1}
.gb-captcha img{width:150px;height:50px;cursor:pointer;border:1px solid #ddd;background:#f5f5f5}
.gb-form button{justify-self:center;min-width:200px;line-height:44px;border:0;background:var(--brand);color:#fff;font-size:15px;cursor:pointer;border-radius:22px}
.gb-form button:hover{background:var(--brand-dark)}
.gb-form button:disabled{opacity:.6;cursor:default}
.gb-msg{text-align:center;min-height:24px;color:var(--text-2)}
.gb-msg.ok{color:#2e8b57}.gb-msg.err{color:var(--brand)}

/* 栏目卡片：场景方案 / 产品与服务 / 服务案例（沿用原站卡片版式） */
.cat-intro:has(.scene-grid),.cat-intro:has(.logo-grid),.cat-intro:has(.case-grid){max-width:1100px}
.rich ul.scene-grid,.rich ul.logo-grid,.rich ul.case-grid{list-style:none;padding:0;margin:0 0 30px}
.scene-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.scene-grid li{background:#fff;border-radius:10px;box-shadow:0 2px 14px rgba(0,0,0,.08);padding:10px 12px 18px;text-align:center}
.rich .scene-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.rich .scene-grid h3{font-size:20px;font-weight:600;margin:12px 0 6px}
.rich .scene-grid p{color:var(--text-3);margin:0}
.sec-eyebrow,.rich .sec-h{text-align:center;font-size:24px;font-weight:600;color:var(--text);margin:34px 0 18px}
.rich .sec-eyebrow{font-size:26px;letter-spacing:1px;margin-top:0}
.rich .sec-intro{max-width:880px;margin:0 auto 22px;text-align:center}
.logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.logo-grid.logo-4{grid-template-columns:repeat(4,1fr)}
.logo-grid li{background:#fafafa;padding:24px 16px;text-align:center}
.lg-img{display:flex;align-items:center;justify-content:center;height:80px;margin-bottom:10px}
.rich .lg-img img{max-width:170px;max-height:70px;width:auto;height:auto;object-fit:contain}
.rich .logo-grid h3{font-size:17px;margin:0 0 6px}
.rich .logo-grid p{margin:0 0 2px;color:var(--text-2)}
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.case-grid a{display:block;height:100%;background:var(--brand);padding:10px 10px 14px;color:#fff}
.case-grid a:hover{background:var(--brand-dark)}
.rich .case-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.rich .case-grid h3{font-size:15px;font-weight:400;color:#fff;margin:12px 0 4px}
.rich .case-grid p{color:#fff;font-size:12px;line-height:1.6;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.case-grid time{font-size:12px;color:rgba(255,255,255,.75)}

/* 页脚 */
.site-footer{margin-top:50px;padding-top:30px}
.contact-list{max-width:1000px;margin:0 auto;padding:0 15px}
.contact-list li{line-height:28px;padding-left:30px;position:relative;color:var(--text-2)}
.contact-list .ci{position:absolute;left:4px;top:5px;width:18px;height:18px;color:var(--text-3)}
.contact-list span{color:var(--text-3)}
.contact-list a:hover{color:var(--brand)}
.friend-links{max-width:1000px;margin:8px auto 0;padding:0 15px;line-height:30px}
.friend-links strong{font-weight:400;color:var(--text);margin-right:12px}
.friend-links a{color:var(--accent);margin-right:18px}
.friend-links a:hover{text-decoration:underline}
.beian{text-align:center;color:var(--text-3);font-size:12px;padding:70px 15px 40px}
.beian a:hover{color:var(--brand)}
.beian .sep{margin:0 10px}

/* 悬浮联系栏 */
.float-bar{position:fixed;left:0;top:300px;z-index:60;width:60px}
.fb-item{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background:var(--accent);color:#fff;border-bottom:1px solid rgba(255,255,255,.35);position:relative;cursor:pointer}
.fb-item:hover{background:#4f8fdc}
.fb-tip{display:none;position:absolute;left:60px;top:0;min-width:140px;height:60px;line-height:60px;padding:0 16px;background:var(--accent);color:#fff;white-space:nowrap;font-size:16px}
.fb-item:hover .fb-tip,.fb-item:focus .fb-tip{display:block}
.fb-qr{height:auto;line-height:0;padding:8px;min-width:0;background:#fff;border:1px solid var(--line)}
/* 弹出框宽度随内容收缩，图片若沿用全局 max-width:100% 会被算成 0 宽，所以固定尺寸 */
.fb-qr img{display:block;width:120px;height:120px;max-width:none}

/* 中等宽度：先收紧间距，再把热线缩成图标，避免导航换行 */
@media (max-width:1240px){
  .site-nav>ul>li>a{padding:0 11px}
  .hotline .hl-t,.hotline .hl-n{display:none}
  .hotline .hl-ic{display:block}
}
@media (max-width:1010px){
  .site-nav>ul>li>a{padding:0 8px}
}
/* 手机端 */
@media (max-width:920px){
  .site-header{height:56px}
  .header-inner{height:56px;padding:0 10px 0 0}
  .logo{height:56px;padding:4px 6px}
  .logo img{height:48px}
  .nav-toggle{display:block}
  .site-nav{display:none;position:absolute;left:0;right:0;top:56px;background:var(--nav);flex-direction:column;align-items:stretch;padding-bottom:10px;max-height:calc(100vh - 56px);overflow:auto}
  .site-nav.open{display:flex}
  .site-nav>ul{display:block}
  .site-nav>ul>li>a{line-height:44px;padding:0 20px;border-top:1px solid rgba(255,255,255,.2)}
  .site-nav .sub{display:block;position:static;background:rgba(0,0,0,.12);box-shadow:none}
  .site-nav .sub a{color:#fff;padding-left:36px;line-height:38px}
  .hotline{padding:10px 20px 0;font-size:18px}
  .hotline .hl-t,.hotline .hl-n{display:inline}
  .hotline .hl-ic{display:none}
}
@media (max-width:768px){
  body{padding-bottom:50px}
  .home-products{padding:40px 0 30px}
  .circles{flex-wrap:wrap;row-gap:30px}
  .circles li{width:50%;padding:0 6px}
  .sec-title,.list-title{font-size:24px}
  .cards li{width:calc(50% - 8px)}
  .cards img{height:130px}
  .news-list .thumb,.news-list .thumb img{width:120px}
  .news-list .thumb img{height:80px}
  .news-list li{min-height:0}
  .prod-grid{grid-template-columns:1fr 1fr;gap:12px}
  .detail-title{font-size:20px}
  .contact-list{padding:0 12px}
  .about-banner{height:240px}
  .ab-title{font-size:26px}
  .ab-btn{min-width:130px;line-height:38px;margin-top:18px}
  .honor-grid{gap:10px}
  .honor-grid li{width:calc(50% - 5px)}
  .contact-cards{flex-wrap:wrap;row-gap:26px}
  .contact-cards li{flex:0 0 calc(50% - 10px)}
  .banner-slide img{height:240px}
  .bn-title{font-size:26px}
  .bn-sub{font-size:14px}
  .bn-btn{min-width:130px;line-height:38px;margin-top:18px}
  .contact-extra{flex-direction:column}
  .scene-grid,.case-grid,.logo-grid,.logo-grid.logo-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .logo-grid li{padding:16px 8px}
  .rich .lg-img img{max-width:100%}
  .rich .scene-grid h3{font-size:16px}
  .contact-extra .contact-qr{flex:none}
  .gb-form{grid-template-columns:1fr}
  .no-thumb .txt{flex-direction:column;gap:2px}
  .no-thumb .meta{gap:14px;justify-content:flex-start}
  .float-bar{top:auto;bottom:0;left:0;right:0;width:100%;display:flex}
  .fb-item{flex:1;width:auto;height:50px;border-bottom:0;border-right:1px solid rgba(255,255,255,.35)}
  .fb-tip{display:none!important}
  .fb-item svg{width:22px;height:22px}
}
