﻿@charset "utf-8";
/* ==========================================================
   Main.css — 某某建材 主样式
   设计令牌集中在 :root，换配色只改这一处
   ========================================================== */
:root {
    --primary: #1a1a2e;
    --primary-2: #252545;
    --accent: #e8913a;
    --accent-hover: #d4802f;
    --text: #333;
    --text2: #666;
    --text3: #999;
    --bg: #f8f9fa;
    --line: #e8e8e8;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, .07);
    --shadow-hover: 0 14px 40px rgba(0, 0, 0, .14);
    --radius: 12px;
    --radius-sm: 8px;
    --head-h: 84px;
}

/* ---------- 容器 / 板块 ---------- */
.centerbox { width: 100%; }
.centerbox .centerin { width: 92%; max-width: 1280px; margin: 0 auto; }

.section { padding: 78px 0; }
.section.gray { background: var(--bg); }
.section.dark { background: var(--primary); color: #fff; }
.section.dark .hometit h2 { color: #fff; }
.section.dark .hometit .en { color: rgba(255, 255, 255, .55); }

/* 标题三件套 */
.hometit { text-align: center; margin-bottom: 48px; }
.hometit .en {
    font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--text3); margin-bottom: 10px;
}
.hometit h2 { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.4; }
.hometit .dotline { margin: 14px auto 0; width: 46px; height: 3px; background: var(--accent); position: relative; }
.hometit .dotline:before, .hometit .dotline:after {
    content: ""; position: absolute; top: 50%; width: 6px; height: 6px;
    margin-top: -3px; border-radius: 50%; background: var(--accent);
}
.hometit .dotline:before { left: -14px; }
.hometit .dotline:after { right: -14px; }
.hometit.left { text-align: left; }
.hometit.left .dotline { margin-left: 0; }

/* 更多按钮 */
.morebtn {
    display: inline-block; padding: 12px 30px; background: var(--primary); color: #fff;
    border-radius: 30px; font-size: 15px; transition: all .3s;
}
.morebtn:after { content: " →"; transition: all .3s; color: #fff; }
.morebtn:hover, .morebtn:hover:after { background: var(--accent); color: #fff; }
.morebtn:hover:after { padding-left: 4px; }
.morebtn.line { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.morebtn.line:after { color: var(--primary); }
.morebtn.line:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.morebtn.line:hover:after { color: #fff; }
.moreline { text-align: center; margin-top: 44px; }

/* =========================================================
   头部
   ========================================================= */
.basebox { width: 100%; }
.headboxkong { height: var(--head-h); }
.headbox {
    /* z-index 必须高于抽屉菜单(#fixmenu=1000)：否则打开菜单后汉堡按钮被遮住，无法二次点击关闭 */
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1010;
    background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .06); transition: all .3s;
}
.headbox .box {
    width: 92%; max-width: 1360px; margin: 0 auto; height: var(--head-h);
    display: flex; align-items: center; transition: height .3s;
}
.headbox.on { box-shadow: 0 4px 24px rgba(0, 0, 0, .12); }
.headbox.on .box { height: 66px; }
.headbox.on .logo img { max-height: 40px; }

.headbox .logo { flex: 0 0 auto; }
.headbox .logo img { max-height: 48px; width: auto; transition: max-height .3s; }
/* 无 LOGO 图片时的文字 LOGO 兜底 */
.logotxt { display: inline-block; font-size: 24px; font-weight: 700; color: var(--primary); line-height: 1.1; white-space: nowrap; }
.logotxt em { display: block; font-size: 10px; font-weight: 400; font-style: normal; letter-spacing: 2px; color: var(--text3); }
.logotxt.white { color: #fff; }
.logotxt.white em { color: rgba(255, 255, 255, .55); }

.headbox .menu { flex: 1 1 auto; margin-left: 36px; }
.headbox .menu > ul { display: flex; align-items: center; }
.headbox .menu > ul > li { position: relative; }
.headbox .menu > ul > li > a {
    display: block; padding: 0 18px; height: var(--head-h); line-height: var(--head-h);
    font-size: 18px; color: #333; position: relative; transition: height .3s, line-height .3s, color .3s;
}
.headbox.on .menu > ul > li > a { height: 66px; line-height: 66px; }
.headbox .menu > ul > li > a:after {
    content: ""; position: absolute; left: 50%; bottom: 22px; width: 0; height: 2px;
    background: var(--accent); transition: all .3s; transform: translateX(-50%);
}
.headbox .menu > ul > li:hover > a, .headbox .menu > ul > li.onfocus > a { color: var(--accent); }
.headbox .menu > ul > li:hover > a:after, .headbox .menu > ul > li.onfocus > a:after { width: 26px; }

.headbox .menu .list { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 168px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); border-radius: 0 0 10px 10px;
    padding: 8px 0; z-index: 10; }
.headbox .menu .list li a {
    display: block; padding: 10px 22px; font-size: 15px; color: #555; white-space: nowrap; transition: all .25s;
}
.headbox .menu .list li a:hover, .headbox .menu .list li.onfocus a {
    background: var(--primary); color: #fff;
}

.headbox .tel {
    flex: 0 0 auto; margin-left: 18px; height: 44px; line-height: 44px; padding: 0 24px;
    background: linear-gradient(90deg, #e8913a, #d4802f); color: #fff; border-radius: 22px;
    font-size: 20px; font-weight: 700; letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(232, 145, 58, .35);
}
.headbox .tel .glyphicon { margin-right: 8px; font-size: 17px; }
.headbox .searchbtn {
    flex: 0 0 auto; margin-left: 14px; width: 40px; height: 40px; line-height: 40px; text-align: center;
    border-radius: 50%; background: #f4f5f7; color: #555; cursor: pointer; transition: all .3s;
}
.headbox .searchbtn:hover { background: var(--primary); color: #fff; }
.headbox .menubtn {
    display: none; flex: 0 0 auto; margin-left: auto;   /* margin-left:auto → 手机上靠右 */
    width: 42px; height: 42px; padding: 10px 9px; cursor: pointer;
    border-radius: 10px; background: #f4f5f7; transition: background .3s;
}
.headbox .menubtn:hover { background: #eceff3; }
.headbox .menubtn i { display: block; height: 2px; background: #333; margin: 4px 0; transition: all .3s; border-radius: 2px; }
/* 展开态：三横线变 × */
.headbox .menubtn.on { background: var(--accent); }
.headbox .menubtn.on i { background: #fff; }
.headbox .menubtn.on i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.headbox .menubtn.on i:nth-child(2) { opacity: 0; }
.headbox .menubtn.on i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉菜单 */
#fixmenu { display: none; position: fixed; inset: 0; z-index: 1000; }
#fixmenu .closebox { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
#fixmenu .boxmenu {
    /* padding-top 让出固定头部高度，避免菜单内容被头部压住 */
    position: absolute; top: 0; right: 0; width: 78%; max-width: 340px; height: 100%;
    background: #fff; overflow-y: auto; padding: 72px 0 40px;
}
/* 抽屉顶部标题栏 + 关闭按钮 */
#fixmenu .menuhd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 20px; background: var(--primary); color: #fff; font-size: 15px;
}
#fixmenu .menuhd .menucross { color: #fff; font-size: 28px; line-height: 1; padding: 0 4px; }
#fixmenu .menuhd .menucross:hover { color: var(--accent); }
#fixmenu .themenu ul li { border-bottom: 1px solid #f0f0f0; }
#fixmenu .themenu ul li .tit {
    padding: 15px 22px; font-size: 16px; color: #333; cursor: pointer; position: relative;
}
#fixmenu .themenu ul li.onfocus > .tit { color: var(--accent); background: #fdf6ef; }
#fixmenu .themenu ul li .tit:after {
    content: "+"; position: absolute; right: 20px; top: 12px; color: #bbb; font-size: 20px;
    width: 26px; height: 26px; line-height: 24px; text-align: center;
}
#fixmenu .themenu ul li.onfocus .tit:after { content: "−"; color: var(--accent); }
/* 右侧跳转区：点它进入栏目页，点标题只展开/收起 */
#fixmenu .themenu ul li .arrow {
    position: absolute; right: 0; top: 0; width: 64px; height: 100%;
    display: flex; align-items: center; justify-content: flex-end; padding-right: 26px; z-index: 3;
}
#fixmenu .themenu ul li .arrow:after {
    content: ""; width: 8px; height: 8px; border-top: 2px solid #bbb; border-right: 2px solid #bbb;
    transform: rotate(45deg);
}
#fixmenu .themenu ul li .list { display: none; background: #fafafa; }
#fixmenu .themenu ul li .list li { border-bottom: 1px solid #f0f0f0; }
#fixmenu .themenu ul li .list a { display: block; padding: 12px 22px 12px 38px; font-size: 14px; color: #666; }
#fixmenu .themenu ul li .list li.all a { color: var(--accent); font-weight: 700; }

/* =========================================================
   二级页顶部 banner
   ========================================================= */
.ertop { position: relative; width: 100%; overflow: hidden; background: var(--primary); }
.erSlide { position: relative; width: 100%; overflow: hidden; }
.erSlide .swiper-slide { position: relative; }
.erSlide .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.erSlide .erword {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; color: #fff;
    background: rgba(26, 26, 46, .42);
}
.erSlide .erword .cn { font-size: 38px; font-weight: 700; letter-spacing: 3px; }
.erSlide .erword .en { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-top: 10px; }
.erSlide .swiper-pagination-bullet { background: #fff; opacity: .5; }
.erSlide .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* 面包屑 */
.erlocation { background: var(--bg); border-bottom: 1px solid var(--line); }
.erlocation .centerin { padding: 14px 0; font-size: 14px; color: var(--text3); }
.erlocation a { color: var(--text2); }
.erlocation a:hover { color: var(--accent); }
.erlocation span { margin: 0 8px; color: #ccc; }
.erlocation .cur { color: var(--accent); }

/* =========================================================
   首页 — 幻灯
   ========================================================= */
.homeSlide { position: relative; width: 100%; overflow: hidden; background: var(--primary); }
.homeSlide .swiper-slide { position: relative; overflow: hidden; }
.homeSlide .swiper-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.homeSlide .mask {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15, 15, 32, .82) 0%, rgba(15, 15, 32, .45) 55%, rgba(15, 15, 32, .12) 100%);
}
.homeSlide .wordbox {
    position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%);
    padding: 0 8%; box-sizing: border-box;
}
.homeSlide .wordbox .inbox { width: 92%; max-width: 1280px; margin: 0 auto; }
.homeSlide .wordbox .en {
    font-size: 13px; letter-spacing: 6px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
.homeSlide .wordbox .cn {
    font-size: 48px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.homeSlide .wordbox .sub { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.homeSlide .wordbox .btnline a {
    display: inline-block; padding: 13px 36px; background: var(--accent); color: #fff;
    border-radius: 30px; font-size: 16px; transition: all .3s;
}
.homeSlide .wordbox .btnline a:hover { background: #fff; color: var(--primary); }
.homeSlide .swiper-slide-active .wordbox .en { animation: upIn .7s .15s both; }
.homeSlide .swiper-slide-active .wordbox .cn { animation: upIn .7s .35s both; }
.homeSlide .swiper-slide-active .wordbox .sub { animation: upIn .7s .55s both; }
.homeSlide .swiper-slide-active .wordbox .btnline { animation: upIn .7s .75s both; }
@keyframes upIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.homeSlide .swiper-pagination { bottom: 28px !important; }
.homeSlide .swiper-pagination-bullet { width: 26px; height: 3px; border-radius: 2px; background: #fff; opacity: .45; }
.homeSlide .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }
.homeSlide .leftarr, .homeSlide .rightarr {
    position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; line-height: 52px;
    text-align: center; background: rgba(255, 255, 255, .16); color: #fff; border-radius: 50%;
    cursor: pointer; z-index: 10; transition: all .3s; font-size: 20px;
}
.homeSlide .leftarr:hover, .homeSlide .rightarr:hover { background: var(--accent); }
.homeSlide .leftarr { left: 24px; }
.homeSlide .rightarr { right: 24px; }

/* =========================================================
   首页 — 产品分类 8 宫格
   ========================================================= */
.categrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.categrid .item {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .35s, box-shadow .35s; position: relative;
}
.categrid .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.categrid .item .pic { position: relative; height: 190px; overflow: hidden; }
.categrid .item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.categrid .item:hover .pic img { transform: scale(1.08); }
.categrid .item .pic:after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 46, 0), rgba(26, 26, 46, .78));
}
.categrid .item .pic .name {
    position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff; font-size: 19px; font-weight: 700;
}
.categrid .item .intro { padding: 16px 20px 20px; font-size: 14px; color: var(--text2); min-height: 62px; }
.categrid .item .go {
    display: block; padding: 0 20px 18px; font-size: 14px; color: var(--accent);
}
.categrid .item .go:after { content: " →"; transition: padding .3s; }
.categrid .item:hover .go:after { padding-left: 5px; }

/* =========================================================
   首页 — 关于我们 + 数字
   ========================================================= */
.aboutrow { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.aboutrow .aboutword .hometit { text-align: left; margin-bottom: 24px; }
.aboutrow .aboutword .hometit .dotline { margin-left: 0; }
.aboutrow .aboutword .desc { color: var(--text2); line-height: 2; margin-bottom: 26px; }
.aboutrow .aboutpic { position: relative; border-radius: var(--radius); overflow: hidden; }
.aboutrow .aboutpic img { width: 100%; display: block; }
.aboutrow .aboutpic .exp {
    position: absolute; left: 0; bottom: 0; background: var(--accent); color: #fff;
    padding: 22px 28px; border-radius: 0 var(--radius) 0 0;
}
.aboutrow .aboutpic .exp b { display: block; font-size: 34px; line-height: 1; }
.aboutrow .aboutpic .exp span { font-size: 13px; }

.numlist { margin-top: 46px; }
/* 首页企业数据：同样按条数均分列宽 */
.numlist ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.numlist ul li { text-align: center; padding: 6px 10px; position: relative; }
.numlist ul li:after {
    content: ""; position: absolute; right: 0; top: 50%; margin-top: -18px; height: 36px; width: 1px;
    background: rgba(255, 255, 255, .16);
}
.numlist ul li:last-child:after { display: none; }
.numlist ul li b { display: block; font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1.2; }
/* 数字本身：与 b 同号，避免被下方 span 规则缩小 */
.numlist ul li b .counter { font-size: inherit; font-weight: inherit; color: inherit; }
/* 单位符号：明显小于数字 */
.numlist ul li b i { font-size: 16px; font-style: normal; font-weight: 400; margin-left: 2px; opacity: .9; }
/* 说明文字：只作用于直接子级 span */
.numlist ul li > span { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); }

/* =========================================================
   首页 — 解决方案
   ========================================================= */
.solgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.solgrid .item:first-child { grid-column: span 2; }
.solgrid .item {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 260px;
    box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s;
}
.solgrid .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.solgrid .item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.solgrid .item:hover img { transform: scale(1.06); }
.solgrid .item .mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, .1), rgba(26, 26, 46, .85));
}
.solgrid .item .word { position: absolute; left: 26px; right: 26px; bottom: 22px; color: #fff; }
.solgrid .item .word .tag {
    display: inline-block; padding: 3px 12px; background: var(--accent); border-radius: 20px;
    font-size: 12px; margin-bottom: 10px;
}
.solgrid .item .word h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.solgrid .item .word p { font-size: 14px; color: rgba(255, 255, 255, .82); }

/* =========================================================
   首页 — 工程案例 Tab
   ========================================================= */
.casetabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.casetabs a {
    display: inline-block; padding: 9px 26px; border-radius: 30px; background: #fff;
    border: 1px solid var(--line); color: var(--text2); font-size: 15px; transition: all .3s;
}
.casetabs a:hover { border-color: var(--accent); color: var(--accent); }
.casetabs a.onfocus { background: var(--primary); border-color: var(--primary); color: #fff; }

.casegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.casegrid .item {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .35s, box-shadow .35s;
}
.casegrid .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.casegrid .item .pic { position: relative; height: 210px; overflow: hidden; }
.casegrid .item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.casegrid .item:hover .pic img { transform: scale(1.07); }
.casegrid .item .pic .year {
    position: absolute; left: 0; top: 16px; background: var(--accent); color: #fff;
    padding: 4px 14px; font-size: 13px; border-radius: 0 20px 20px 0;
}
.casegrid .item .word { padding: 18px 20px 22px; }
.casegrid .item .word h3 {
    font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.casegrid .item .word p {
    font-size: 14px; color: var(--text2); height: 48px; overflow: hidden; line-height: 1.7;
}

/* =========================================================
   首页 — 新闻
   ========================================================= */
.newsrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.newsrow .item { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all .35s; }
.newsrow .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.newsrow .item .pic { height: 200px; overflow: hidden; }
.newsrow .item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.newsrow .item:hover .pic img { transform: scale(1.07); }
.newsrow .item .word { padding: 20px 22px 24px; }
.newsrow .item .word .time { font-size: 13px; color: var(--text3); margin-bottom: 8px; }
.newsrow .item .word h3 {
    font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.6;
    height: 54px; overflow: hidden;
}
.newsrow .item .word p { font-size: 14px; color: var(--text2); height: 48px; overflow: hidden; line-height: 1.7; }

/* =========================================================
   首页 — 合作伙伴
   ========================================================= */
.logolist { position: relative; padding: 0 46px; }
.logolist .listbox { overflow: hidden; }
.logolist .listbox li { background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.logolist .listbox li .box {
    height: 84px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: all .3s;
}
.logolist .listbox li .box:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.logolist .listbox li img { max-height: 46px; width: auto; filter: grayscale(100%); opacity: .72; transition: all .3s; }
.logolist .listbox li .box:hover img { filter: none; opacity: 1; }
.logolist .leftarr, .logolist .rightarr {
    position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; line-height: 40px;
    text-align: center; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
    background: #fff; transition: all .3s; z-index: 5;
}
.logolist .leftarr:hover, .logolist .rightarr:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.logolist .leftarr { left: 0; }
.logolist .rightarr { right: 0; }

/* =========================================================
   首页 — 底部号召条
   ========================================================= */
.ctabar {
    background: var(--primary); color: #fff; padding: 54px 0;
    background-image: url(../Images/homepart3bg.jpg); background-size: cover; background-attachment: fixed;
    position: relative;
}
.ctabar:before { content: ""; position: absolute; inset: 0; background: rgba(26, 26, 46, .88); }
.ctabar .centerin { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ctabar .word h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.ctabar .word p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.ctabar .btns a {
    display: inline-block; padding: 14px 38px; border-radius: 30px; font-size: 16px;
    background: var(--accent); color: #fff; margin-left: 12px; transition: all .3s;
}
.ctabar .btns a:hover { background: #fff; color: var(--primary); }

/* =========================================================
   产品中心 — 列表
   ========================================================= */
.prowrap { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.proleft { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.proleft .ltit { background: var(--primary); color: #fff; padding: 18px 22px; font-size: 17px; font-weight: 700; }
.proleft ul { padding: 10px 0; }
.proleft ul li a {
    display: block; padding: 12px 22px; font-size: 15px; color: #555; border-left: 3px solid transparent;
    transition: all .3s;
}
.proleft ul li a:hover { background: #fdf6ef; color: var(--accent); }
.proleft ul li.onfocus a { background: #fdf6ef; color: var(--accent); border-left-color: var(--accent); font-weight: 700; }

.progrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.progrid .item {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .35s, box-shadow .35s;
}
.progrid .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.progrid .item .pic { position: relative; height: 220px; overflow: hidden; background: #f4f4f4; }
.progrid .item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.progrid .item:hover .pic img { transform: scale(1.07); }
.progrid .item .pic .model {
    position: absolute; left: 0; top: 14px; background: rgba(232, 145, 58, .94); color: #fff;
    padding: 3px 12px; font-size: 12px; border-radius: 0 18px 18px 0;
}
.progrid .item .word { padding: 18px 20px 22px; }
.progrid .item .word h3 {
    font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 8px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.progrid .item .word .tag { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.progrid .item .word p { font-size: 13px; color: var(--text2); height: 44px; overflow: hidden; line-height: 1.7; }
.progrid .item .word .more {
    display: inline-block; margin-top: 12px; font-size: 14px; color: var(--primary); border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
}
.progrid .item:hover .word .more { color: var(--accent); }

/* =========================================================
   产品引用详情（solutionshow）
   ========================================================= */
.solhero { position: relative; height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.solhero > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.solhero .mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 46, .12), rgba(26, 26, 46, .88)); }
.solhero .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 44px; color: #fff; }
.solhero .in .tag {
    display: inline-block; padding: 4px 14px; background: var(--accent); border-radius: 20px;
    font-size: 13px; margin-bottom: 12px;
}
.solhero .in h1 { font-size: 34px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.solhero .in .sub { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .82); max-width: 780px; }

.solwrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin-top: 34px; }
.solmeta {
    display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 20px; margin-bottom: 26px;
    border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text3);
}
.solmeta b { color: var(--text2); font-weight: 400; }
.sollead {
    background: #fffaf5; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0;
    padding: 18px 22px; font-size: 15px; line-height: 1.9; color: var(--text2); margin-bottom: 26px;
}
.solmain .thecontent { font-size: 15px; }

.solside .card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 8px; margin-bottom: 20px;
}
.solside .card .t {
    font-size: 16px; font-weight: 700; color: var(--primary); padding-bottom: 8px; margin-bottom: 6px;
    border-bottom: 2px solid var(--accent); display: inline-block;
}
.solside .card ul li a {
    display: block; position: relative; padding: 10px 0 10px 16px; font-size: 14px;
    color: var(--text2); border-bottom: 1px dashed #f0f0f0; transition: color .25s;
}
.solside .card ul li a:before {
    content: ""; position: absolute; left: 0; top: 50%; margin-top: -2.5px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.solside .card ul li a:hover { color: var(--accent); }
.solside .card ul li.onfocus a { color: var(--accent); font-weight: 700; }

.solside .ctabox {
    background: var(--primary); color: #fff; border-radius: var(--radius); padding: 22px 20px; text-align: center;
}
.solside .ctabox .t2 { font-size: 15px; color: rgba(255, 255, 255, .75); margin-bottom: 8px; }
.solside .ctabox .tel { font-size: 23px; font-weight: 700; color: var(--accent); letter-spacing: .5px; }
.solside .ctabox .btn {
    display: block; margin-top: 14px; padding: 11px 0; border-radius: 30px;
    background: var(--accent); color: #fff; font-weight: 700; transition: all .3s;
}
.solside .ctabox .btn:hover { background: #fff; color: var(--primary); }

.relsol { margin-top: 56px; }
.prevnextbox .backbtn { color: var(--accent); font-size: 14px; margin-top: 14px; display: inline-block; }

/* =========================================================
   产品详情（多图）
   ========================================================= */
.pdetail { display: grid; grid-template-columns: 52% 48%; gap: 44px; align-items: start; }

.gallery { position: sticky; top: 100px; }
.gallery .bigbox {
    position: relative; border-radius: var(--radius); overflow: hidden; background: #f5f5f5;
    aspect-ratio: 1 / 1;
}
.gallery .bigbox img { width: 100%; height: 100%; object-fit: cover; }
.gallery .bigbox .zoom {
    position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; line-height: 42px;
    text-align: center; background: rgba(26, 26, 46, .6); color: #fff; border-radius: 50%; cursor: pointer;
}
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.gallery .thumbs a {
    display: block; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
    aspect-ratio: 1 / 1; background: #f5f5f5; transition: border-color .3s;
}
.gallery .thumbs a.onfocus { border-color: var(--accent); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pinfo h1 { font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1.4; margin-bottom: 10px; }
.pinfo .pmodel { font-size: 14px; color: var(--text3); margin-bottom: 18px; }
.pinfo .pmodel span { display: inline-block; margin-right: 18px; }
.pinfo .pmodel span b { color: var(--accent); font-weight: 700; }
.pinfo .pdesc { font-size: 15px; color: var(--text2); line-height: 1.9; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }

.ptable { margin: 22px 0; }
.ptable table { width: 100%; }
.ptable tr:nth-child(odd) { background: #fafbfc; }
.ptable td { padding: 12px 16px; font-size: 14px; border: 1px solid var(--line); }
.ptable td.k { width: 30%; color: var(--text3); background: #f4f5f7; }
.ptable td.v { color: #333; }

.pbtns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pbtns a {
    display: inline-block; padding: 13px 32px; border-radius: 30px; font-size: 15px; transition: all .3s;
}
.pbtns a.ask { background: var(--accent); color: #fff; }
.pbtns a.ask:hover { background: var(--accent-hover); color: #fff; }
.pbtns a.tel { background: var(--primary); color: #fff; }
.pbtns a.tel:hover { background: #000; color: #fff; }

.ptabbox { margin-top: 46px; }
.ptabbox .ptabs { display: flex; border-bottom: 2px solid var(--line); }
.ptabbox .ptabs a {
    padding: 14px 32px; font-size: 16px; color: var(--text2); border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all .3s;
}
.ptabbox .ptabs a.onfocus { color: var(--accent); border-bottom-color: var(--accent); font-weight: 700; }
.ptabbox .pane { display: none; padding: 30px 0 10px; }
.ptabbox .pane.on { display: block; }

.relpro { margin-top: 50px; }
.relpro .hometit { text-align: left; margin-bottom: 26px; }
.relpro .hometit .dotline { margin-left: 0; }

/* =========================================================
   解决方案 / 案例 / 新闻 列表
   ========================================================= */
.listwrap { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }

/* 新闻横排条目 */
.newslist .nlitem {
    display: grid; grid-template-columns: 88px 1fr 200px; gap: 24px; align-items: center;
    background: #fff; border-radius: var(--radius); padding: 22px 26px; margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05); transition: all .3s;
}
.newslist .nlitem:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.newslist .nlitem .date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.newslist .nlitem .date b { display: block; font-size: 34px; font-weight: 700; color: var(--accent); line-height: 1; }
.newslist .nlitem .date span { display: block; font-size: 12px; color: var(--text3); margin-top: 6px; }
.newslist .nlitem .txt h3 {
    font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.newslist .nlitem:hover .txt h3 { color: var(--accent); }
.newslist .nlitem .txt p { font-size: 14px; color: var(--text2); height: 48px; overflow: hidden; line-height: 1.7; }
.newslist .nlitem .pic { height: 116px; border-radius: var(--radius-sm); overflow: hidden; }
.newslist .nlitem .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.newslist .nlitem:hover .pic img { transform: scale(1.07); }

/* =========================================================
   详情页
   ========================================================= */
.theTit { font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1.45; text-align: center; }
.theauthor {
    text-align: center; font-size: 13px; color: var(--text3); padding: 16px 0 26px;
    border-bottom: 1px dashed var(--line); margin-bottom: 30px;
}
.theauthor span { margin: 0 12px; }
.theauthor .glyphicon { margin-right: 4px; }

/* =========================================================
   关于我们 / 单页
   ========================================================= */
/* 公司简介：标题整行居中 + 下方「左图右文」，整体限宽居中 */
.aboutbox1 {  margin: 0 auto; }
.aboutbox1 .hometit { text-align: center; margin-bottom: 42px; }
.aboutbox1 .hometit .dotline { margin-left: auto; }
/* 图文绕排：图片左浮动，正文围绕排版 */
.aboutflow { max-width: 1080px; margin: 0 auto; }
.aboutflow:after { content: ""; display: block; clear: both; }
.aboutflow .pic {
    float: left; width: 44%; margin: 6px 34px 16px 0;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover);
}
.aboutflow .pic img { width: 100%; display: block; }
.aboutflow .thecontent { font-size: 15px; line-height: 2.05; color: var(--text2); text-align: justify; }
.aboutflow .thecontent p { margin-bottom: 14px; }

/* 企业数据：后台传几条就均分几列（5 条各 20%，4 条各 25%） */
.aboutnum { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 20px; }
.aboutnum li { text-align: center; padding: 10px; }
.aboutnum li b { display: block; font-size: 36px; color: var(--accent); font-weight: 700; line-height: 1.3; }
.aboutnum li b i { font-size: 14px; font-style: normal; font-weight: 400; margin-left: 2px; }
.aboutnum li > span { display: block; font-size: 13px; color: var(--text2); }

.honorwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honorwall .item {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: all .35s;
}
.honorwall .item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.honorwall .item .pic { height: 230px; overflow: hidden; background: #fafafa; }
.honorwall .item .pic img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.honorwall .item .name { padding: 12px 16px; text-align: center; font-size: 15px; color: var(--text2); }

.basegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.basegrid .item { position: relative; border-radius: var(--radius); overflow: hidden; height: 280px; box-shadow: var(--shadow); }
.basegrid .item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.basegrid .item:hover img { transform: scale(1.06); }
.basegrid .item .word {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0), rgba(26, 26, 46, .88));
}
.basegrid .item .word h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.basegrid .item .word p { font-size: 14px; color: rgba(255, 255, 255, .8); }

/* 服务流程 */
.flowgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.flowgrid .step { text-align: center; position: relative; }
.flowgrid .step .n {
    width: 54px; height: 54px; line-height: 54px; margin: 0 auto 12px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 18px; font-weight: 700;
}
.flowgrid .step:hover .n { background: var(--accent); }
.flowgrid .step p { font-size: 14px; color: var(--text2); }

/* FAQ 手风琴 */
.faqlist .qitem { background: #fff; border-radius: var(--radius); margin-bottom: 14px; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); overflow: hidden; }
.faqlist .qitem .q {
    padding: 18px 56px 18px 24px; font-size: 16px; font-weight: 700; color: var(--primary);
    cursor: pointer; position: relative; transition: color .3s;
}
.faqlist .qitem .q:hover { color: var(--accent); }
.faqlist .qitem .q:after {
    content: "+"; position: absolute; right: 24px; top: 16px; font-size: 22px; color: var(--accent); transition: all .3s;
}
.faqlist .qitem.on .q { color: var(--accent); }
.faqlist .qitem.on .q:after { content: "−"; }
.faqlist .qitem .a { display: none; padding: 0 24px 22px; font-size: 15px; color: var(--text2); line-height: 1.9; border-top: 1px dashed var(--line); padding-top: 16px; }

/* =========================================================
   联系我们
   ========================================================= */
.contactbox { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contactinfo .ci { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contactinfo .ci .one {
    background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
    border-left: 3px solid var(--accent);
}
.contactinfo .ci .one .t { font-size: 14px; color: var(--text3); margin-bottom: 6px; }
.contactinfo .ci .one .v { font-size: 17px; font-weight: 700; color: var(--primary); }
.contactinfo .map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: #eef1f5; height: 260px; }

/* =========================================================
   页脚
   ========================================================= */
/* 底部固定联系条：置于版权之下、一直悬浮页面底部（移动端隐藏，由 fixbottom 承担） */
.contactbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
    background: linear-gradient(90deg, #e8913a, #d4802f); color: #fff; padding: 10px 0;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
}
body { padding-bottom: 58px; }
.contactbar .centerin { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contactbar .telbox { font-size: 28px; font-weight: 700; letter-spacing: .5px; }
.contactbar .telbox .glyphicon { font-size: 22px; margin-right: 10px; }
.contactbar .telbox .stip { display: inline; font-size: 13px; font-weight: 400; opacity: .92; letter-spacing: 2px; margin-left: 16px; }
.contactbar .btnline a {
    display: inline-block; padding: 7px 24px; background: #fff; color: var(--accent);
    border-radius: 30px; font-size: 14px; font-weight: 700; transition: all .3s;
}
.contactbar .btnline a:hover { background: var(--primary); color: #fff; }

.footmenu { background: var(--primary); color: rgba(255, 255, 255, .7); padding: 56px 0 0; }
.footmenu .centerin { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 70px; padding-bottom: 40px; align-items: start; }
.footmenu .part1 .flogo img { max-height: 52px; margin-bottom: 18px; }
.footmenu .part1 .intro {
    font-size: 15px; line-height: 2.1; color: rgba(255, 255, 255, .62);
    max-width: 620px; padding-right: 20px;
}
.footmenu .part2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.footmenu .part2 .one .tit {
    font-size: 18px; color: #fff; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 12px;
}
.footmenu .part2 .one .tit:after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent);
}
.footmenu .part2 .one .list li { font-size: 15px; line-height: 2.2; }
.footmenu .part2 .one .list a:hover { color: var(--accent); }
/* 关于我们栏目：一行两个（li 占 50%） */
.footmenu .part2 .one.aboutnav .list ul { display: flex; flex-wrap: wrap; }
.footmenu .part2 .one.aboutnav .list ul li { width: 50%; }
/* 联系我们栏目：扩容 + 文字放大 */
.footmenu .part2 .one.ct .list li { font-size: 17px; line-height: 2.3; }
.footmenu .part2 .one.ct .list li .ctem { color: #fff; font-weight: 700; }

.footmenu .fbox { border-top: 1px solid rgba(255, 255, 255, .1); }
.footmenu .fbox .copyright {
    width: 92%; max-width: 1280px; margin: 0 auto; padding: 20px 0; font-size: 13px;
    display: flex; justify-content: space-between; gap: 16px;
}
.footmenu .fbox .copyright a:hover { color: var(--accent); }

/* =========================================================
   悬浮工具 / 移动底栏
   ========================================================= */
.gotop { position: fixed; right: 22px; bottom: 90px; z-index: 800; display: none; }
.gotop ul li { margin-bottom: 10px; position: relative; }
.gotop ul li a, .gotop ul li p {
    display: block; width: 56px; height: 56px; background: #fff; border: 1px solid var(--line);
    border-radius: 10px; text-align: center; cursor: pointer; transition: all .3s; position: relative;
}
.gotop ul li a:hover, .gotop ul li p:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gotop ul li .glyphicon { display: block; font-size: 20px; padding-top: 10px; }
.gotop ul li p { font-size: 12px; color: var(--text2); }
.gotop ul li p .glyphicon { padding-top: 12px; }

/* 悬浮浮层：二维码 / 电话号码（向左弹出，垂直居中于图标） */
.gotop ul li .ercode, .gotop ul li .teltip {
    display: none; position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
    background: #fff; padding: 8px; border-radius: 10px; box-shadow: var(--shadow-hover);
    white-space: nowrap; z-index: 810;
}
.gotop ul li .ercode{ width: 150px; height: 150px; padding: 0;;}
.gotop ul li .ercode img { width: 150px; height: 150px; display: block; }
.gotop ul li .teltip {
    font-size: 18px; font-weight: 700; color: var(--accent); padding: 12px 18px;
}
.gotop ul li.t2:hover .ercode { display: block; }
.gotop ul li.t5:hover .teltip { display: block; }

.fixbottomkong { display: none; height: 60px; }
.fixbottom { display: none; position: fixed; left: 0; bottom: 0; width: 100%; z-index: 900; background: #fff; box-shadow: 0 -3px 16px rgba(0, 0, 0, .1); }
.fixbottom ul { display: flex; }
.fixbottom ul li { flex: 1; }
.fixbottom ul li a { display: block; text-align: center; padding: 8px 0 7px; font-size: 12px; color: var(--primary); }
.fixbottom ul li a .glyphicon { display: block; font-size: 20px; margin-bottom: 3px; color: var(--accent); }

/* =========================================================
   显隐辅助
   ========================================================= */
.pcshow { display: block; }
.mbshow { display: none; }
.pshow { display: block; }

/* 注意：不要用 CSS 隐藏 .wow！
   手机宽度下不初始化 WOW，若 CSS 隐藏会导致「手机切电脑」后元素永久不可见。
   隐藏工作交给 WOW.js 自己在 init 时处理（见 public/foot.html 的 setupWow）。 */
