/* 全局重置 & 基础通用 */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", SimHei, sans-serif;
}
html,body{
    font-size: 14px;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
a{
    text-decoration: none;
    color: inherit;
}
ul,li{list-style: none;}
button{border: none; background: transparent; cursor: pointer;}
img{max-width: 100%; vertical-align: middle;}

/* 容器通用宽度 */
.container{
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
/* 板块通用 */
.section{padding: 60px 0;}
.section-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
.section-title{
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}
.section-title2{
    font-size: 28px;
    font-weight: 600;
    color: #222;
}
.section-sub{
    color: #666;
    margin-top: 8px;
}
.section-more{
    color: #288f47;
    font-size: 14px;
}
.section-label{
    font-size: 13px;
    color: #74d091;
    display: block;
    margin-bottom: 6px;
}

/* 按钮通用 */
.btn{
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-green{
    background: #288f47;
    color: #fff;
}
.btn-green:hover{background: #1f7037;}
.btn-white{
    background: rgba(255,255,255,0.9);
    color: #222;
}
.btn-white:hover{background: #fff;}
.btn-dark{
    background: #1c4d2d;
    color: #fff;
}
.btn-dark:hover{background: #153b22;}

/* 1. 头部导航 */
.header{
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.08);
}
.nav-wrap{
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-wrap .left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:70%;
}
.logo{
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon{
    width: 24px;
    height: 24px;
    background: #288f47;
    border-radius: 2px;
    display: inline-block;
}
.logo-text{
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
/* PC导航 */
.pc-nav{
    display: flex;
    gap: 32px;
}
.pc-nav a{
    font-size: 14px;
    color: #444;
    position: relative;
}
.pc-nav a.active{color: #288f47;}
.pc-nav a.active::after{
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #288f47;
}
/* 移动端汉堡按钮 */
.mobile-menu-btn{
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.mobile-menu-btn span{
    width: 100%;
    height: 2px;
    background: #333;
    display: block;
}
/* 移动端下拉菜单 */
.mobile-nav{
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}
.mobile-nav a{
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
}
.mobile-nav a.active{color: #288f47;}

/* 2. Banner首屏 */
.banner{
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}
.banner-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.banner-bg::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}
.banner-content {
    z-index:10;
}
.banner-tip{
    font-size: 13px;
    margin-bottom: 12px;
    background: rgba(40,143,71,0.7);
    display: inline-block;
    padding: 4px 10px;
}
.banner-title{
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 12px;
}
.banner-desc{
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.banner-btns{
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}
.banner-data{
    display: flex;
    gap: 60px;
}
.data-item .num{
    font-size: 32px;
    font-weight: bold;
    color: #74d091;
    display: block;
}
.data-item .label{
    font-size: 13px;
    opacity: 0.9;
}

/* 3. 产品分类板块 */
.cate-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cate-item{
    background: #f7f7f7;
    overflow: hidden;
}
.cate-img{
    height: 180px;
}
.cate-text{
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* 4. 热销产品 */
.hot-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hot-card{
    border: 1px solid #eee;
}
.hot-img{
    height: 200px;
}
.hot-name{
    padding: 12px 12px 6px;
    font-size: 15px;
    font-weight: 500;
}
.hot-spec{
    padding: 0 12px 12px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.hot-btn{
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: #288f47;
    border-top: 1px solid #eee;
}

/* 5. 企业介绍板块（深绿色背景） */
.company{
    background: #1c4d2d;
    color: #fff;
}
.company-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.company-desc{
    margin: 16px 0;
    opacity: 0.9;
    line-height: 1.8;
}
.company-btns{
    display: flex;
    gap: 16px;
    margin: 30px 0;
}
.company-data{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.data-box{
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
.data-box small{
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}
.company-img{
    height: 360px;

}

/* 6. 新闻资讯 */
.news-wrap{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}
.news-big-img{
    height: 240px;

    margin-bottom: 12px;
}
.news-tag{
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    background: #eee;
    color: #333;
    margin-bottom: 8px;
}
.news-tag.tag-company{background: #ffe9b8; color: #946100;}
.news-tag.tag-project{background: #d8edff; color: #0056a6;}
.news-tag.tag-expo{background: #d4f0dd; color: #1f7037;}
.news-big-title{
    font-size: 18px;
    margin-bottom: 10px;
}
.news-big-desc{
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
}
.news-foot{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}
.news-read{color: #288f47;}
.news-right{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item{
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.news-item-title{
    font-size: 14px;
    margin: 6px 0;
    font-weight: 500;
}
.news-date{
    font-size: 12px;
    color: #999;
}

/* 7. 页脚 */
.footer{
    background: #1a231e;
    color: #ccc;
    padding: 50px 0 30px;
}
.footer-wrap{
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
}
.footer-logo .logo-text{color: #fff;}
.footer-desc{
    margin: 16px 0;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.8;
}
.footer-contact p{
    font-size: 18px;
    color: #fff;
    margin: 6px 0;
}
.footer-right{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.footer-col h4{
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}
.footer-col a{
    display: block;
    font-size: 13px;
    margin: 8px 0;
    opacity: 0.8;
}
.footer-col a:hover{opacity: 1; color: #74d091;}
.copyright{
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2c3830;
    font-size: 12px;
    color: #888;
}

/* ========== 移动端自适应媒体查询 ========== */
@media screen and (max-width: 1200px) {
    .container{width: 100%;}
}
@media screen and (max-width: 992px) {
    /* 导航切换为移动端 */
    .pc-nav{display: none;}
    .mobile-menu-btn{display: flex;}
    /* 板块栅格改为2列 */
    .cate-list, .hot-list{grid-template-columns: repeat(2, 1fr);}
    .company-wrap, .news-wrap{grid-template-columns: 1fr;}
    .footer-wrap{grid-template-columns: 1fr; gap: 30px;}
    .banner-title{font-size: 36px;}
    .banner{height: 450px;}
}
@media screen and (max-width: 576px) {
    /* 手机单列布局 */
    .cate-list, .hot-list{grid-template-columns: 1fr;}
    .company-data{grid-template-columns: 1fr;}
    .footer-right{grid-template-columns: 1fr;}
    .banner-data{gap: 30px;}
    .banner-title{font-size: 28px;}
    .section-title{font-size: 22px;}
    .banner-btns{flex-direction: column; gap: 10px;}
    .company-btns{flex-direction: column;}
    .banner{height: 380px;}
}

.page {
    text-align:center;
    padding-bottom:30px;
}
.pagination {
    margin:0 !important;
    padding: 10px 10px;
}
.pagination li {
    border:1px solid #e6e6e6;
    padding: 3px 8px;
    display: inline-block;
    background:#fff;
}
.pagination li a {
    display:inline-block;
    color:#666;
}
.pagination .active{
    background-color: #288f47;
    border-color:#288f47;
    color: #fff;
}
.pagination .disabled{
    color: #aaa;
}