/* common.css 公共样式：首页+全部子页面共用 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background: #fff;
    color: #333;
}
.container {
    width: 1400px;
    margin: 0 auto;
}
.mt40{margin-top:40px;}
.mt60{margin-top:60px;}
.mt70{margin-top:70px;}

/* ===================== 头部悬浮逻辑【已修复滚动固定】 ===================== */
.header-wrap {
    width: 100%;
    position: absolute;
    top:0;
    left:0;
    z-index: 100;
    transition: background 0.3s,color 0.3s;
}
.header-wrap.scrolled {
    position: fixed !important;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-wrap.scrolled .logo-img{
    background:url(../img/logo1.png) 0 0 no-repeat;
    background-size:contain;
}
.header-wrap .logo-img{
	background:url(../img/logo.png) 0 0 no-repeat ;
    background-size:contain;
}
.header-wrap.scrolled .logo-text {
    color:#222;
}
.header-wrap.scrolled .nav-item {
    color:#222;
}
.header-wrap.scrolled .nav-item.active {
    color:#5d9e3b;
}
.header-wrap.scrolled .lang-select{
    color:#222;
}
.header-wrap.scrolled .lang-select svg path{
    stroke:#222;
}
.header-wrap.scrolled .nav-dropdown-panel{
    top:100px;
}
body.header-pad{
    padding-top:100px;
}
@media screen and (max-width:992px){
    body.header-pad{
        padding-top:70px;
    }
}
.header-container {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor:pointer;
}
.logo-img {
    width: 72px;
    height: 72px;
	background:url(../img/logo.png) 0 0 no-repeat ;
    background-size:contain;
}
.logo-text {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
	padding-top:10px;
}
.main-nav {
    display: flex;
    gap: 30px;
}
.nav-item {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}
.nav-item.active {
    color:#5d9e3b;
}
.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #5d9e3b;
}
.nav-dropdown-panel {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: #f6f8fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 0;
    display: none;
    z-index: 9999;
}
.dropdown-inner-wrap{
    width:1400px;
    margin:0 auto;
    padding:0 40px;
    box-sizing:border-box;
}
.nav-item:hover .nav-dropdown-panel {
    display: block;
}
.dropdown-three-col {
    display: flex;
    align-items: center;
}
.col-slogan {
    flex-shrink: 0;
}
.col-links {
    flex-shrink: 0;
    margin-left: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.col-img {
    flex-shrink: 0;
    margin-left: 220px;
    width: 440px;
    height: 260px;
    border-radius:6px;
    overflow:hidden;
}
.col-slogan .title-line1 {
    font-size:26px;
    font-weight:bold;
    color:#222;
    line-height:1.4;
    margin-bottom:12px;
}
.col-slogan .title-line2 {
    font-size:18px;
    color:#333;
    line-height:1.4;
    margin-bottom:6px;
}
.title-line2 a {
    font-size:18px;
    color:#424142;
    text-decoration:none;
    transition:color 0.2s;
}
.title-line2 a:hover {
    color:#70aa52;
}
/* active选中样式，和hover同色保持一致 */
.title-line2.active a {
    color:#70aa52;
}

.gradient-line {
    width:100%;
    height:3px;
    background:linear-gradient(90deg,#73ce50,#007cb9);
}

.col-links a {
    font-size:16px;
    color:#424142;
    text-decoration:none;
    transition:color 0.2s;
    display: block;  /* 单独一行 */
    line-height: 1.6;/* 行间距，按需微调 */
    margin-bottom: 4px; /* 链接之间上下空隙，不想要就删掉 */
}
.col-links a:hover {
    color:#70aa52;
}

.col-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.header-right {
    display:flex;
    align-items:center;
    gap:32px;
}

.lang-select {
    position: relative;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    /* 删掉之前的 padding-bottom:10px; 不再用这个 */
}

/* 核心：伪元素填补中间空隙，看不见，但是可以捕获鼠标hover事件 */
.lang-select::after {
    content: '';
    position: absolute;
    left:0;
    right:0;
    top:100%;
    height:12px; /* 这个高度就是下拉和父之间空隙大小 */
    background: transparent;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px); /* 和伪元素高度对应，拉开距离 */
    left: 0;
    display: none;
    background: #ffffff;
    min-width: 60px;
}

.lang-dropdown div {
    padding: 6px 12px;
    white-space: nowrap;
    color: #222;
}

/* hover状态：文字箭头变黑色，显示下拉 */
.lang-select:hover {
    color: #222;
}
.lang-select:hover .lang-dropdown {
    display: block;
}

.search-icon{
    cursor:pointer;
}
.search-icon img{
    width:22px;
}
.btn-contact {
    padding:14px 36px;
    background:linear-gradient(90deg,#70c850,#3498f0);
    color:#fff;
    border-radius:99px;
    border:none;
    font-size:16px;
    cursor:pointer;
    white-space:nowrap;
}
.btn-contact a{
    color:#fff;
	text-decoration:none;
}

/* 汉堡 移动端菜单 */
.mobile-hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}
.mobile-hamburger span{
    width:26px;
    height:3px;
    background:#fff;
    border-radius:2px;
}
.mobile-menu-mask{
    display:none;
    position:fixed;
    z-index:900;
    left:0;top:0;
    width:100%;height:100%;
    background:rgba(0,0,0,0.5);
}
.mobile-menu-mask.active{
    display:block;
}
.mobile-menu-panel{
    position:fixed;
    z-index:901;
    right:-280px;
    top:0;
    width:280px;
    height:100%;
    background:#fff;
    transition:right 0.3s ease;
    padding:20px;
    box-sizing:border-box;
}
.mobile-menu-panel.active{
    right:0;
}
.mobile-menu-close{
    text-align:right;
    font-size:32px;
    cursor:pointer;
    color:#333;
    line-height:1;
    margin-bottom:20px;
}
.mobile-nav a{
    display:block;
    line-height:46px;
    font-size:17px;
    color:#333;
    text-decoration:none;
    border-bottom:1px solid #f3f3f3;
    padding:0 8px;
}
.mobile-nav a.active{
    color:#5d9e3b;
}
.mobile-divider{
    height:12px;
}
.mobile-contact-btn{
    margin-top:10px;
    text-align:center;
    background:linear-gradient(90deg,#70c850,#3498f0);
    color:#fff !important;
    border-radius:999px;
    border:none;
}
.mobile-search-link{}

/* 搜索弹窗 */
.search-modal-mask{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    z-index: 999;
    display:none;
    align-items:center;
    justify-content:center;
}
.search-modal-box{
    background:#ffffff;
    padding:30px;
    border-radius:8px;
    width:620px;
}
.search-form{
    display:flex;
    gap:12px;
}
.search-input{
    flex:1;
    height:44px;
    padding:0 16px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:4px;
    outline:none;
}
.search-submit{
    height:44px;
    padding:0 26px;
    border:none;
    background:#5d9e3b;
    color:#fff;
    border-radius:4px;
    cursor:pointer;
    font-size:16px;
}

/* ==========子页面公共内页banner========== */
.page-banner{
    width:100%;
    height:420px;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding-left:calc(50% - 700px);
    padding-top:100px;
    color:#fff;
}
.page-banner h1{
    font-size:40px;
    margin-bottom:12px;
}
.page-banner p{
    font-size:17px;
    opacity:0.9;
}
/* 板块头部标题 */
.sec-case-head{
    text-align:center;
    margin-bottom:40px;
}
.sec-case-head h2{
    font-size:32px;
    color:#222;
    margin-bottom:12px;
}
.sec-case-head p{
    font-size:16px;
    color:#666;
    max-width:800px;
    margin:0 auto;
}

/* ==========解决方案tab组件（子页面用）========== */
.sec2-tab-wrap{
    display:flex;
    gap:12px;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:10px;
    margin-bottom:32px;
}
.sec2-tab-wrap::-webkit-scrollbar{height:3px;}
.sec2-tab-item-new{
    padding:8px 20px;
    background:#f6f6f6;
    border-radius:24px;
    font-size:16px;
    cursor:pointer;
    white-space:nowrap;
    transition:0.3s;
}
.sec2-tab-item-new a:link {
    color:#111;
	text-decoration:none;
}
.sec2-tab-item-new a:hover {
  
    color: #fff;
}
.sec2-tab-item-new a:visited {
    color:#111;
	text-decoration:none;
}
.detail-news-tab-item a:link {
    color:#111;
	text-decoration:none;
}
.detail-news-tab-item a:hover {
  background: linear-gradient(90deg, #74ce55, #3583f6);
    color: #fff;
}
.detail-news-tab-item a:visited {
    color:#111;
	text-decoration:none;
}

.sec2-tab-item-new.active,.sec2-tab-item-new:hover{
    background: linear-gradient(90deg,#74ce55,#3583f6);
    color:#fff;
}
.sec2-tab-item-new.active a{ color:#FFFFFF;}

.sec2-content-row{
    display:grid;
    grid-template-columns:500px 1fr;
    gap:50px;
    align-items:center;
}
.sec2-text-block .tag{
    font-size:14px;
    color:#5d9e3b;
    letter-spacing:2px;
}
.sec2-text-block h3{
    font-size:28px;
    margin:10px 0 16px;
    color:#111;
}
.sec2-text-block p{
    font-size:16px;
    color:#555;
    line-height:1.7;
    margin-bottom:24px;
}
.sec2-text-block .num-index{
    font-size:42px;
    font-weight:bold;
    color:#74ce55;
    opacity:0.6;
}
.sec2-img-wrap{
    border-radius:16px;
    overflow:hidden;
}
.sec2-img-wrap img{
    width:100%;
    display:block;
}
.tab-content-item{
    display:none;
}
.tab-content-item.show{
    display:block;
}

/* ==========底部footer公共========== */
.footer-wrap {
    width: 100%;
    background-color: #2e2e2e;
    color: #fff;
    padding: 50px 0 30px;
    margin: 0 auto;
}
.footer-container {
    width: 1400px;
    margin: 0 auto;
}
.footer-row1 {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
}
.footer-logo-box {
    display: flex;
    align-items: center;
    gap:12px;
}
.logo-placeholder {
    width: 72px;
    height:72px;
	background:url(../img/logo11.png) center no-repeat;
}
.logo-textfoot {
    font-size: 24px;
    font-weight: bold;
	color:#FFFFFF;
}
.slogan-text {
    font-size:28px;
    color:#ffffff;
}
.footer-row2 {
    display: flex;
}
.col-menu {
    width:800px;
    display:flex;
    gap: 60px;
}
.col-gap {
    width:5px;
}
.col-contact {
    width:490px;
}
.menu-item h4 {
    font-size:18px;
    margin-bottom:14px;
    font-weight:600;
    color:#fff;
}
.menu-item ul {
    list-style:none;
}
.menu-item li {
    font-size:16px;
    color:#cccccc;
    line-height:2.1;
}
.menu-item ul li a:link {
    color:#eee;
	text-decoration:none;
}
.menu-item ul li a:hover {
    color:#00CC33;
	text-decoration:none;
}
.menu-item ul li a:visited {
    color:#eee;
	text-decoration:none;
}
.contact-line {
    font-size:16px;
    color:#cccccc;
    margin-bottom:10px;
    line-height:1.6;
}
.qrcode-wrap {
    display:flex;
    gap:18px;
    margin-top:32px;
}
.qrcode-item {
    text-align:center;
}
.qrcode-placeholder {
    width:90px;
    height:90px;
    background:url(../img/pp2.jpg) center no-repeat #fff;
}
.qrcode-desc {
    margin-top:6px;
    font-size:13px;
    color:#cccccc;
}
.footer-divider {
    margin-top:42px;
    border-top: 1px solid #4a4a4a;
}
.footer-row4 {
    margin-top:20px;
    display:flex;
    justify-content: space-between;
    color:#bbbbbb;
}

.footer-row4 a:link {
    color:#bbb;
	text-decoration:none;
}
.footer-row4 li a:hover {
    color:#00CC33;
	text-decoration:none;
}


.tab-content-item img{
    max-width:100%;
    height:auto !important;
    display:block;
}
.tab-content-item p {
padding:5px 10px;
line-height:22px;
}
.tab-content-item p img{
    max-width:100%;
    height:auto !important;
    display:block;
}
.detail-text {
 width:100%;
 padding:10px;
}
.detail-text img{
    max-width:100%;
    height:auto !important;
    display:block;
}
.detail-text p {
padding:5px 10px;
line-height:22px;
}
.detail-text p img{
    max-width:100%;
    height:auto !important;
    display:block;
}

/* ==========媒体查询公共========== */
@media screen and (max-width: 1440px) {
    .dropdown-three-col {
        flex-wrap: nowrap;
    }
    .col-links {
        margin-left: 150px;
        margin-top: 0;
    }
    .col-img {
        margin-left: 200px;
        margin-top: 0;
    }
}
@media screen and (max-width: 1200px) {
    .dropdown-three-col {
        flex-wrap: wrap;
    }
    .col-links {
        margin-left: 0;
        margin-top: 20px;
    }
    .col-img {
        margin-left: 0;
        margin-top: 20px;
    }
}
@media screen and (max-width: 992px){
    html,body{
        overflow-x:hidden;
    }
    .main-nav {
        display: none !important;
    }
    .header-right{
        display:none !important;
    }
    .nav-dropdown-panel {
        display: none !important;
        visibility:hidden !important;
    }
    .mobile-hamburger{
        display:flex;
    }
    .header-container{
        height:70px;
        width: calc(100% - 24px);
    }
    .logo-img{
        width:48px;
        height:48px;
    }
    .logo-text{
        font-size:20px;
    }
    .container{
        width: calc(100% - 24px);
    }
    /*子页面banner手机 */
    .page-banner{
        height:280px;
        padding-left:24px;
        padding-right:24px;
        padding-top:120px;
    }
    .page-banner h1{
        font-size:28px;
    }
    /*解决方案内容行 上下堆叠 */
    .sec2-content-row{
        grid-template-columns:1fr;
        gap:24px;
    }
    .sec2-text-block{order:1;}
    .sec2-img-wrap{order:2;}

    /*搜索弹窗 */
    .search-modal-box{
        width: calc(100% - 30px);
        padding:20px;
    }
    .search-form{
        flex-wrap:wrap;
    }
    .search-input{
        width:100%;
    }
    .search-submit{
        width:100%;
    }
    /*footer移动端 */
    .footer-container {
        width: calc(100% - 40px);
    }
    .footer-row2 {
        flex-wrap: wrap;
    }
    .col-menu {
        flex-wrap: wrap;
        gap:24px;
    }
    .col-gap {
        display:none;
    }
    .col-contact {
        margin-top:30px;
    }
    .qrcode-wrap {
        justify-content:flex-start;
    }
    .footer-row1 {
        flex-direction: column;
        align-items:flex-start;
        gap:12px;
    }
    .slogan-text {
        font-size:22px;
    }
    .footer-row4 {
        flex-direction:column;
        gap:8px;
    }
	.footer-row4 a {
    color:#bbb;
	text-decoration:none;
}
}
