/* ============================================================
   巨森建材 前台样式（参照 jusen 1:1 视觉复刻）
   主色：#369A42 / #048741
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; color: #333; font-size: 15px; line-height: 1.7; background: #fff; }
a { color: #333; text-decoration: none; transition: all .25s ease; }
a:hover { color: #369A42; }
img { max-width: 100%; border: 0; }
ul, ol { list-style: none; }
/* 容器：近全宽（对齐参考站 max-width:1800px，铺满视口） */
.container { max-width: 1800px; width: 100%; margin: 0 auto; padding: 0 19px; position: relative; box-sizing: border-box; }
.clearfix:after { content: ""; display: block; clear: both; }

/* ---------- 头部导航：半透明白底，固定悬浮于顶部 ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(255,255,255,.72); box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.header .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 65px; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; margin-right: 12px; }
.logo .logo-text { font-size: 24px; font-weight: 700; color: #000; }
.logo .logo-text span { color: #369A42; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; white-space: nowrap; }
.nav > li { position: relative; }
.nav > li > a { display: block; padding: 0 20px; height: 65px; line-height: 65px; font-size: 16px; color: #000; font-weight: 500; }
.nav > li:hover > a, .nav > li.active > a { color: #369A42; }
.nav > li > a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: #369A42; transform: translateX(-50%); transition: width .25s; }
.nav > li:hover > a::after, .nav > li.active > a::after { width: 60%; }
.nav .subnav { position: absolute; top: 65px; left: 50%; transform: translateX(-50%); min-width: 160px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); border-radius: 6px; opacity: 0; visibility: hidden; transition: all .25s; z-index: 99; }
.nav > li:hover .subnav { opacity: 1; visibility: visible; }
.nav .subnav li a { display: block; padding: 12px 22px; font-size: 14px; color: #555; white-space: nowrap; text-align: center; }
.nav .subnav li a:hover { color: #369A42; background: #f6fbf7; }
.nav .subnav li + li { border-top: 1px solid #f0f0f0; }
/* 咨询热线：最右侧 */
.header-phone { display: flex; align-items: center; }
.header-phone .hp-icon { width: 36px; height: 36px; margin-right: 10px; }
.header-phone .hp-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.header-phone .hp-label { font-size: 12px; color: #666; }
.header-phone .hp-num { color: #369A42; font-size: 20px; font-weight: 700; }

/* 移动端汉堡按钮（默认隐藏，移动端显示） */
.nav-toggle { display: none; }
.nav-mask { display: none; }

/* ---------- 轮播 ---------- */
.banner { position: relative; overflow: hidden; height: 100vh; min-height: 520px; max-height: 900px; }
.swiper { position: relative; height: 100%; }
.swiper-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transform: scale(1.06); transition: opacity .9s ease, transform .9s ease, visibility .9s ease; z-index: 0; }
.swiper-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
/* 中部加深衬托白色标题（顶部由头部半透明白底覆盖） */
.swiper-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.5) 100%); }
.banner .slide-content { position: relative; z-index: 2; color: #fff; }
.banner .slide-title { font-size: 50px; font-weight: 700; letter-spacing: 5px; margin-bottom: 34px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.banner .slide-btn { display: inline-block; height: 50px; line-height: 48px; padding: 0 40px; background: #369A42; color: #fff; border-radius: 50px; font-size: 22px; border: 1px solid #369A42; }
.banner .slide-btn:hover { background: #2c7d37; color: #fff; }
.banner .swiper-pagination { position: absolute; bottom: 28px; width: 100%; text-align: center; z-index: 5; }
.banner .swiper-pagination span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); margin: 0 6px; cursor: pointer; }
.banner .swiper-pagination span.active { background: #369A42; }

/* ---------- 滚动入场动画 + 图片淡入（仅 JS 生效，无 JS 时内容正常显示） ---------- */
html.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html.js img.img-fade { opacity: 0; transition: opacity .6s ease; }
html.js img.img-fade.loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    html.js img.img-fade { opacity: 1; }
}

/* ---------- 绿色标语条 ---------- */
.slogan-band { background: #049548; padding: 46px 0; }
.slogan-wrap { display: flex; align-items: center; justify-content: space-between; }
.slogan-zh { font-size: 24px; color: #fff; font-weight: 700; }
.slogan-en { font-size: 16px; color: #fff; opacity: .9; margin-top: 8px; letter-spacing: 1px; }
.slogan-qr { display: flex; align-items: center; }
.slogan-qr img { width: 120px; height: 120px; background: #fff; padding: 5px; margin-right: 18px; }
.slogan-qr .qr-txt { color: #fff; font-size: 16px; text-align: center; }
.slogan-qr .qr-txt .qr-label { display: block; }
.slogan-qr .qr-btn { display: inline-block; margin-top: 10px; padding: 9px 30px; background: #369A42; color: #fff; border-radius: 50px; font-size: 18px; border: 1px solid #369A42; }
.slogan-qr .qr-btn:hover { background: #2c7d37; color: #fff; }

/* ---------- 查看更多按钮 ---------- */
.sec-more { text-align: center; margin-top: 30px; }
.more-btn { display: inline-block; padding: 11px 44px; background: #369A42; color: #fff; border-radius: 50px; border: 1px solid #369A42; font-size: 16px; }
.more-btn:hover { background: #2c7d37; color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 70px 0; }
.section-gray { background: #f5f5f5; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 { font-size: 34px; font-weight: 700; color: #333; font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
.section-head .desc { color: #666; margin-top: 10px; font-size: 16px; }
/* 深色背景上的标题 */
.section-head.white h2 { color: #fff; }
.section-head.white .desc { color: rgba(255,255,255,.85); }

/* ---------- 产品中心：横向滑动轮播（无箭头，悬停分类自动滚动/拖动/触摸） ---------- */
.prod-carousel { position: relative; overflow: hidden; cursor: grab; }
.prod-carousel:active { cursor: grabbing; }
.prod-track { display: flex; transition: transform .45s ease; will-change: transform; }
.prod-slide { flex: 0 0 33.3333%; padding: 0 12px; box-sizing: border-box; }
.prod-slide a.thumb { display: block; }
.prod-slide .card { cursor: pointer; }

/* ---------- 产品中心 ---------- */
.tab-nav { text-align: center; margin-bottom: 36px; }
.tab-nav a { display: inline-block; padding: 9px 26px; margin: 0 6px 8px; border: 1px solid #e0e0e0; border-radius: 50px; color: #555; font-size: 15px; }
.tab-nav a:hover, .tab-nav a.active { background: #369A42; color: #fff; border-color: #369A42; }
.grid3 { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.grid3 .col { width: 33.3333%; padding: 0 15px; margin-bottom: 30px; }
.grid4 { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.grid4 .col { width: 25%; padding: 0 12px; margin-bottom: 24px; }
.card { background: #fff; border: 1px solid #eee; overflow: hidden; box-shadow: 0 0 2px rgba(204,204,204,1); transition: box-shadow .3s, border-color .3s; }
.card:hover { border-color: #369A42; box-shadow: 0 0 2px rgba(204,204,204,1); }
.card .thumb { display: block; overflow: hidden; position: relative; padding-top: 65.9%; background: #f0f0f0; }
.card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .card-body { padding: 14px 10px; text-align: center; }
.card .card-title { font-size: 16px; font-weight: 400; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
.card .card-desc { font-size: 13px; color: #999; margin-top: 8px; height: 40px; overflow: hidden; }
.card .card-more { margin-top: 8px; font-size: 14px; color: #369A42; }
.card .card-more a { color: #369A42; }
.card .card-more a:hover { text-decoration: underline; }
.card:hover .card-title { color: #369A42; }

/* ---------- 应用场景无缝滚动 ---------- */
.scene-strip { overflow: hidden; }
.scene-track {
    display: flex;
    width: max-content;
    animation: sceneScroll 36s linear infinite;
}
.scene-strip:hover .scene-track { animation-play-state: paused; }
.scene-track.case-track { animation-duration: 48s; }
.scene-item {
    flex: 0 0 400px;
    margin-right: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}
.scene-item img {
    display: block;
    width: 400px;
    height: 264px;
    object-fit: cover;
}
.scene-name {
    text-align: center;
    padding: 12px 6px;
    font-size: 15px;
    color: #333;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
@keyframes sceneScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- 应用场景 ---------- */
.help-tab { text-align: center; margin-bottom: 30px; }
.help-tab a { display: inline-block; padding: 10px 34px; margin: 0 4px; border-radius: 50px; background: #fff; color: #555; border: 1px solid #e0e0e0; font-size: 16px; }
.help-tab a.active, .help-tab a:hover { background: #369A42; color: #fff; border-color: #369A42; }

/* ---------- 装配式内装墙面和墙体材料（优势） ---------- */
.feature-section { background: #f5f5f5; }
.feature-grid { display: flex; margin: 0 -12px; }
.feature-grid .fcol { flex: 1; margin: 0 12px; border: 1px solid #dadada; background: #fff; padding: 0 0 24px; }
.feature-grid .f-icon { text-align: center; padding-top: 20px; }
.feature-grid .f-icon img { width: 70px; }
.feature-grid .fcol h3 { text-align: center; font-size: 24px; color: #333; font-weight: 700; padding: 0 20px; }
.feature-grid .f-line { width: 35px; height: 2px; background: #048741; margin: 15px auto; }
.feature-grid .fcol p { text-align: center; font-size: 16px; color: #666; padding: 0 20px; line-height: 1.8; }

/* ---------- 关于巨森建材（绿标题带 + 灰内容） ---------- */
.about-band { background: #049548; padding: 60px 0 56px; }
.about-content { background: #f5f5f5; padding-bottom: 100px; }
.about-wrap-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.about-left { flex: 0 0 55%; }
.about-left .about-intro { margin: 0; }
.about-right { flex: 0 0 40%; }
.about-right img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 8px; display: block; }
.about-intro { color: #666; line-height: 2; font-size: 15px; text-indent: 2em; text-align: justify; }
.about-lines { margin-top: 34px; }
.about-lines .line-item { border-left: 2px solid #049548; padding: 0 0 24px 26px; position: relative; }
.about-lines .line-item:last-child { padding-bottom: 0; }
.about-lines .line-item .dot { position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #049548; }
.about-lines .line-title { font-size: 20px; color: #333; font-weight: 700; margin-bottom: 6px; }
.about-lines .line-title .tag { font-size: 14px; color: #049548; font-weight: 400; margin-left: 10px; }
.about-lines .line-desc { font-size: 14px; color: #666; line-height: 1.9; }
.about-more { display: inline-block; margin-top: 26px; padding: 12px 46px; background: #369A42; color: #fff; border-radius: 50px; border: 1px solid #369A42; }
.about-more:hover { background: #2c7d37; color: #fff; }
/* 统计卡：白底 + 阴影，居中上移 */
.stats { background: #fff; box-shadow: 0 0 8px #ccc; display: flex; flex-wrap: wrap; max-width: 1800px; margin: -70px auto 0; position: relative; z-index: 2; padding: 10px 0; }
.stats .stat { width: 25%; padding: 14px 2%; }
.stats .stat .label { text-align: center; font-size: 16px; color: #333; margin-top: 8px; }
.stats .stat .num { text-align: center; font-size: 40px; color: #333; font-weight: 700; line-height: 1.2; }
.stats .stat .num sup { font-size: 16px; font-weight: 400; }
.stats .stat .num span { font-size: 20px; font-weight: 400; margin-left: 2px; color: #369A42; }

/* ---------- 案例 ---------- */
.case-card .thumb { padding-top: 75%; }

/* ---------- 新闻 ---------- */
.news-list { margin: 0 -15px; }
.news-item { display: flex; padding: 22px 0; border-bottom: 1px dashed #e5e5e5; }
.news-item .news-date { width: 100px; text-align: center; border-right: 1px solid #eee; margin-right: 24px; flex-shrink: 0; }
.news-item .news-date .day { font-size: 34px; font-weight: 700; color: #369A42; line-height: 1.2; }
.news-item .news-date .ym { font-size: 13px; color: #999; }
.news-item .news-main { flex: 1; min-width: 0; }
.news-item .news-thumb { flex-shrink: 0; margin-left: 22px; width: 190px; height: 128px; overflow: hidden; border-radius: 8px; }
.news-item .news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.news-item .news-thumb:hover img { transform: scale(1.05); }
.news-item .news-title { font-size: 18px; font-weight: 600; color: #222; margin-bottom: 8px; }
.news-item .news-title:hover { color: #369A42; }
.news-item .news-desc { color: #888; font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 新闻中心：左右布局（左 1 条重点 + 右 5 条） */
.news-layout { display: flex; align-items: stretch; gap: 50px; }
.news-featured { flex: 0 0 40%; min-width: 0; }
.news-featured .nf-thumb { display: block; position: relative; border-radius: 10px; overflow: hidden; }
.news-featured .nf-thumb img { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.news-featured .nf-thumb:hover img { transform: scale(1.03); }
.news-featured .nf-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 16px;
    background: rgba(0, 0, 0, .5);
    color: #fff; font-size: 20px; font-weight: 400; line-height: 1.5;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-featured .nf-title:hover { color: #369A42; }
.news-side { flex: 1; list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; }
.news-side li { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0; border-bottom: 1px dashed #e5e5e5; }
.news-side li:last-child { border-bottom: none; }
.news-side .ns-title { flex: 1; min-width: 0; font-size: 16px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-side .ns-title:hover { color: #369A42; }
.news-side .ns-date { flex-shrink: 0; margin-left: 18px; font-size: 13px; color: #aaa; }

/* ---------- 页脚 ---------- */
.footer-links { background: #111; padding: 32px 0; }
.footer-links .f-grid { display: flex; margin: 0 -15px; }
.footer-links .f-col { flex: 1; padding: 0 15px; text-align: center; }
.footer-links a h4 { color: #fff; font-size: 16px; font-weight: 500; }
.footer-links a:hover h4 { color: #369A42; }
.footer-contact { background: #222; padding: 34px 0; }
.footer-contact .fc-wrap { display: flex; align-items: center; justify-content: space-between; }
.footer-contact .fc-info { color: #999; font-size: 14px; }
.footer-contact .fc-info .fc-row { padding: 4px 0; }
.footer-contact .fc-info .fc-row strong { color: #fff; font-size: 18px; margin-left: 6px; }
.footer-contact .fc-qr { text-align: center; }
.footer-contact .fc-qr img { width: 110px; height: 110px; background: #fff; padding: 4px; }
.footer-contact .fc-qr p { color: #999; font-size: 13px; margin-top: 6px; }
.footer-copyright { background: #111; padding: 18px 0; text-align: center; color: #666; font-size: 13px; }
.footer-copyright a { color: #7fc98a; }

/* ---------- 内页 banner ---------- */
.page-banner { height: 480px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: flex-start; position: relative; }
/* 中部加深衬托白色标题（顶部由头部半透明白底覆盖） */
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,.45) 100%); }
.page-banner .container { position: relative; z-index: 2; padding-top: 30px; }
.page-banner .pb-inner { display: inline-block; text-align: center; margin-left: 250px; max-width: 100%; }
.page-banner .pb-title { color: #fff; font-size: 40px; font-weight: 700; letter-spacing: 4px; }
.page-banner .pb-sub { color: rgba(255,255,255,.85); margin-top: 10px; letter-spacing: 2px; }

/* 荣誉资质 swiper（默认显示 4 个，每次左移 1 个） */
.zizhi-swiper { margin-top: 40px; position: relative; overflow: hidden; }
.zizhi-track { display: flex; transition: transform .6s ease; }
.zizhi-item { flex: 0 0 25%; padding: 0 12px; box-sizing: border-box; }
.zizhi-item img { width: 100%; height: 460px; object-fit: contain; background: #fafafa; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.zizhi-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: #369A42;
    border: 1px solid #e0e0e0; font-size: 26px; line-height: 1;
    cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.zizhi-btn:hover { background: #369A42; color: #fff; border-color: #369A42; }
.zizhi-prev { left: 4px; }
.zizhi-next { right: 4px; }

/* 相关新闻（与产品相关产品同款背景区分） */
.detail-related { margin: 8px 0 40px; padding: 40px 24px 28px; background: #f7f8fa; border-radius: 12px; }
.detail-related h3 { font-size: 22px; font-weight: 700; color: #222; border-left: 4px solid #369A42; padding-left: 14px; margin: 0 0 22px; font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
/* 隐藏复刻正文中的原站页脚与分享组件（含 www.jusen.com 来源区） */
.news_detail_divice_line,
.my-news-footer,
.news-footer-1,
.news_content_footer,
.news_info_footer_line,
.news_info_soruece_detail,
.g-share-render-box,
.j-share-render-box,
.news_share_info,
.jz_share_info,
.news_share_text,
.jz_share_wrap {
    display: none !important;
}

/* 产品详情页：左图右信息 + 详情 + 相关产品 */
.pdetail-top { display: flex; gap: 44px; margin-bottom: 44px; align-items: flex-start; }
.pdetail-img { flex: 0 0 40%; }
.pdetail-img img { width: 100%; display: block; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.pdetail-info { flex: 1; min-width: 0; padding-top: 8px; }
.pdetail-name { font-size: 28px; font-weight: 700; color: #222; margin: 0 0 16px; font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
.pdetail-desc { font-size: 15px; color: #666; line-height: 1.9; text-align: justify; }
.pdetail-subtitle { font-size: 22px; font-weight: 700; color: #222; border-left: 4px solid #369A42; padding-left: 14px; margin: 0 0 22px; font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; }
.pdetail-content { margin-bottom: 46px; }
.pdetail-related { margin: 8px 0 40px; padding: 40px 24px 28px; background: #f7f8fa; border-radius: 12px; }

/* 图片网格列表（应用场景/案例，一行 3 个，无外框 + 点击弹窗） */
.g-list { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.g-item { width: 33.3333%; padding: 0 15px; margin-bottom: 34px; }
.g-item .g-img { width: 100%; display: block; border-radius: 10px; cursor: zoom-in; transition: transform .3s; box-shadow: 0 3px 10px rgba(0, 0, 0, .06); }
.g-item .g-img:hover { transform: scale(1.02); }
.g-item .g-name { text-align: center; margin-top: 12px; font-size: 16px; color: #333; }
.lightbox {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .88);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
    cursor: zoom-out; opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 92%; max-height: 92%; border-radius: 6px;
    transform: scale(.9); opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}
.lightbox.show img { transform: scale(1); opacity: 1; }

/* ---------- 面包屑 ---------- */
.crumb { background: #f6f8f6; padding: 14px 0; font-size: 13px; color: #999; }
.crumb a { color: #666; }
.crumb a:hover { color: #369A42; }
.crumb .sep { margin: 0 8px; color: #ccc; }
.crumb .current { color: #369A42; }

/* ---------- 内页布局 ---------- */
.page-wrap { padding: 50px 0 60px; }
.inner-layout { display: flex; }
.sidebar { width: 250px; margin-right: 40px; flex-shrink: 0; }
.sidebar .side-title { background: #369A42; color: #fff; padding: 16px 22px; font-size: 19px; font-weight: 600; border-radius: 6px 6px 0 0; }
.sidebar .side-nav { border: 1px solid #e5e5e5; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; }
.sidebar .side-nav li a { display: block; padding: 13px 22px; font-size: 14px; color: #555; border-bottom: 1px solid #f0f0f0; position: relative; }
.sidebar .side-nav li a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #369A42; opacity: 0; }
.sidebar .side-nav li a:hover, .sidebar .side-nav li.active a { color: #369A42; background: #f6fbf7; padding-left: 28px; }
.sidebar .side-nav li a:hover::before, .sidebar .side-nav li.active a::before { opacity: 1; }
.sidebar .side-contact { margin-top: 26px; background: #f6f8f6; border-radius: 6px; padding: 24px; }
.sidebar .side-contact h4 { font-size: 16px; color: #222; margin-bottom: 12px; }
.sidebar .side-contact p { color: #666; font-size: 13px; line-height: 2; }
.main { flex: 1; min-width: 0; }
.main-title { font-size: 24px; color: #222; border-left: 4px solid #369A42; padding-left: 16px; margin-bottom: 26px; }

/* ---------- 列表页（内页） ---------- */
.list-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.list-grid .col { width: 33.3333%; padding: 0 12px; margin-bottom: 24px; }

/* 列表页分类按钮（面包屑下方一行） */
.cat-btns { margin: 30px 0 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.cat-btn {
    padding: 9px 24px; border: 1px solid #e0e0e0; border-radius: 50px;
    color: #555; font-size: 15px; background: #fff; transition: all .3s;
}
.cat-btn:hover, .cat-btn.active { background: #369A42; color: #fff; border-color: #369A42; }

/* 新闻列表内页 */
.news-inner-list .news-item { margin: 0; }

/* ---------- 详情页 ---------- */
.detail-title { font-size: 28px; color: #222; text-align: center; font-weight: 700; margin-bottom: 16px; }
.detail-meta { text-align: center; color: #999; font-size: 13px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px dashed #e0e0e0; }
.detail-meta span { margin: 0 12px; }
.detail-content { line-height: 2; color: #444; font-size: 15px; }
.detail-content img { display: block; margin: 16px auto; max-width: 100%; }
.detail-content h2 { font-size: 20px; color: #222; margin: 22px 0 12px; border-left: 3px solid #369A42; padding-left: 12px; }
.detail-content h3 { font-size: 18px; color: #333; margin: 18px 0 10px; }
.detail-content p { margin-bottom: 14px; }
.detail-pager { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 22px; border-top: 1px solid #eee; font-size: 14px; color: #666; }
.detail-pager a { color: #555; }
.detail-pager a:hover { color: #369A42; }
.detail-pager .next { text-align: right; }
.detail-related { margin-top: 40px; }
.detail-related h3 { font-size: 18px; color: #222; margin-bottom: 18px; border-left: 4px solid #369A42; padding-left: 12px; }
.detail-related .grid4 .card .card-title { font-size: 14px; }

/* ---------- 联系我们 ---------- */
.contact-cards { display: flex; margin-bottom: 40px; }
.contact-cards .c-card { flex: 1; text-align: center; padding: 30px 10px; border: 1px solid #eee; border-radius: 8px; margin: 0 10px; transition: all .3s; }
.contact-cards .c-card:hover { border-color: #369A42; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.contact-cards .c-icon { width: 56px; height: 56px; margin: 0 auto 14px; background: #f0f7f1; color: #369A42; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.contact-cards .c-label { color: #999; font-size: 13px; margin-bottom: 6px; }
.contact-cards .c-value { font-size: 18px; font-weight: 600; color: #222; }
.contact-form { border: 1px solid #eee; border-radius: 10px; padding: 40px; }
.contact-form h3 { font-size: 20px; color: #222; margin-bottom: 24px; }
.form-row { display: flex; margin-bottom: 18px; }
.form-row .form-item { flex: 1; margin-right: 18px; }
.form-row .form-item:last-child { margin-right: 0; }
.form-item input, .form-item textarea { width: 100%; border: 1px solid #e0e0e0; border-radius: 6px; padding: 12px 16px; font-size: 14px; color: #333; outline: none; transition: border .25s; font-family: inherit; }
.form-item input:focus, .form-item textarea:focus { border-color: #369A42; }
.form-item textarea { height: 130px; resize: vertical; }
.form-item label { display: block; margin-bottom: 8px; font-size: 13px; color: #666; }
.form-submit { display: inline-block; padding: 13px 50px; background: #369A42; color: #fff; border: none; border-radius: 50px; font-size: 15px; cursor: pointer; }
.form-submit:hover { background: #2c7d37; }

/* ---------- 分页 ---------- */
.pagination { text-align: center; margin-top: 30px; }
.pagination li { display: inline-block; margin: 0 4px; }
.pagination a, .pagination span, .pagination li > a, .pagination li > span { display: inline-block; min-width: 36px; height: 36px; line-height: 36px; padding: 0 10px; border: 1px solid #e0e0e0; border-radius: 4px; color: #666; font-size: 14px; background: #fff; }
.pagination .current, .pagination .active, .pagination a:hover, .pagination li.active > a, .pagination li > a:hover { background: #369A42; color: #fff; border-color: #369A42; }
.pagination .disabled, .pagination li.disabled > a, .pagination li.disabled > span { opacity: .5; pointer-events: none; }

/* ---------- 弹窗/提示 ---------- */
.msg-tip { position: fixed; top: 20%; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.8); color: #fff; padding: 14px 30px; border-radius: 6px; z-index: 9999; font-size: 14px; display: none; }

/* ============================================================
   响应式：移动端自适应
   ============================================================ */
@media (max-width: 767px) {
    .container { padding: 0 12px; }
}

@media (max-width: 991px) {
    /* 平板 */
    .grid4 .col { width: 50%; }
    .about-wrap, .about-wrap-flex { flex-direction: column; }
    .about-text { padding-right: 0; }
    .about-img { width: 100%; margin-top: 30px; }
    .about-wrap-flex .about-left, .about-wrap-flex .about-right { flex: 1 1 100%; }
    .about-wrap-flex .about-right { margin-top: 26px; }
    .feature-grid { flex-wrap: wrap; }
    .feature-grid .fcol { flex: 1 1 45%; margin-bottom: 16px; }
    .footer .f-grid { flex-wrap: wrap; }
    .footer .f-col { flex: 1 1 33%; margin-bottom: 24px; }
}

@media (max-width: 1023px) {
    /* 头部：半透明白底固定悬浮（断点提到 1023 覆盖横屏手机/小平板/内置浏览器宽虚拟视口） */
    .header { position: fixed; top: 0; z-index: 300; }
    .header .container { height: 56px; }
    .header-phone { display: none; }
    .logo img { height: 34px; }
    .logo .logo-text { font-size: 18px; }
    .nav-toggle { display: block; margin-left: auto; width: 42px; height: 42px; cursor: pointer; padding: 12px 8px; z-index: 320; }
    .nav-toggle span { display: block; width: 26px; height: 2px; background: #333; margin: 5px 0; transition: all .3s; border-radius: 2px; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav { position: fixed; top: 0; left: auto; right: -280px; width: 270px; height: 100%; background: #fff; flex-direction: column; box-shadow: -4px 0 20px rgba(0,0,0,.15); transition: right .3s ease; overflow-y: auto; z-index: 310; padding-top: 56px; transform: none; }
    .nav.open { right: 0; }
    .nav > li { width: 100%; }
    .nav > li > a { height: 48px; line-height: 48px; padding: 0 22px; font-size: 15px; border-bottom: 1px solid #f4f4f4; }
    .nav > li > a::after { display: none; }
    .nav .subnav { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; display: none; background: #f7faf8; border-radius: 0; }
    .nav > li.open > .subnav { display: block; }
    .nav .subnav li a { text-align: left; padding: 11px 34px; font-size: 14px; }
    .nav .subnav li + li { border-top: none; }
    .nav-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 305; display: none; }
    .nav-mask.show { display: block; }

    /* 轮播 */
    .banner { height: 230px; min-height: 0; max-height: none; }
    .banner .slide-title { font-size: 24px; letter-spacing: 2px; margin-bottom: 10px; }
    .banner .slide-subtitle { font-size: 13px; margin-bottom: 18px; letter-spacing: 1px; }
    .banner .slide-btn { padding: 9px 26px; font-size: 13px; }
    .banner .swiper-pagination span { width: 9px; height: 9px; }

    /* 区块通用 */
    .section { padding: 36px 0; }
    .section-head { margin-bottom: 26px; }
    .section-head h2 { font-size: 22px; }
    .section-head .en { font-size: 11px; letter-spacing: 2px; }
    .section-head .desc { font-size: 12px; margin-top: 8px; }
    .tab-nav a { padding: 7px 16px; font-size: 13px; margin: 0 4px 8px; }
    .help-tab a { padding: 8px 20px; font-size: 14px; }

    /* 产品轮播：移动端一屏 2 个 */
    .prod-slide { flex: 0 0 50%; padding: 0 6px; }

    /* 网格：两列 */
    .grid4 .col, .grid3 .col, .list-grid .col { width: 50%; padding: 0 7px; margin-bottom: 14px; }
    .grid3, .grid4, .list-grid { margin: 0 -7px; }
    .card .card-body { padding: 10px 8px; }
    .card .card-title { font-size: 13px; }
    .card .card-desc { font-size: 11px; height: 34px; }

    /* 产品优势 */
    .feature-grid .fcol { flex: 1 1 100%; margin: 0 0 14px; padding: 24px 20px; }
    .feature-grid .f-icon { width: 48px; height: 48px; font-size: 20px; margin-bottom: 12px; }

    /* 关于 */
    .about-text h3 { font-size: 19px; }
    .about-text p { font-size: 13px; }
    .stats { margin-top: 28px; padding-top: 24px; }
    .stats .stat .num { font-size: 26px; }
    .stats .stat .label { font-size: 12px; }

    /* 新闻 */
    .news-item { flex-direction: row; padding: 16px 0; }
    .news-item .news-date { width: 64px; margin-right: 14px; border-right: 1px solid #eee; }
    .news-item .news-date .day { font-size: 24px; }
    .news-item .news-date .ym { font-size: 11px; }
    .news-item .news-title { font-size: 15px; }
    .news-item .news-desc { font-size: 12px; -webkit-line-clamp: 1; }
    .news-item .news-thumb { width: 100px; height: 68px; margin-left: 12px; }

    /* 荣誉资质 swiper（移动端显示 2 个） */
    .zizhi-item { flex: 0 0 50%; padding: 0 6px; }
    .zizhi-item img { height: 300px; }

    /* 分类按钮（移动端） */
    .cat-btns { margin: 20px 0 24px; gap: 8px; }
    .cat-btn { padding: 7px 16px; font-size: 13px; }

    /* 图片网格列表（移动端一行 2 个） */
    .g-list { margin: 0 -8px; }
    .g-item { width: 50%; padding: 0 8px; margin-bottom: 20px; }
    .g-item .g-name { font-size: 14px; margin-top: 8px; }

    /* 产品详情（移动端纵向堆叠） */
    .pdetail-top { flex-direction: column; gap: 20px; margin-bottom: 30px; }
    .pdetail-img { flex: 1 1 auto; }
    .pdetail-name { font-size: 22px; }
    .pdetail-subtitle { font-size: 18px; }

    /* 新闻左右布局（移动端纵向堆叠） */
    .news-layout { flex-direction: column; gap: 30px; }
    .news-featured { flex: 1 1 auto; }
    .news-featured .nf-thumb img { height: 220px; }
    .news-featured .nf-title { font-size: 17px; padding: 12px 14px; }
    .news-side li { flex: none; padding: 14px 0; }
    .news-side .ns-title { font-size: 14px; }

    /* 页脚 */
    .footer { padding: 36px 0 0; }
    .footer .f-grid { flex-wrap: wrap; margin: 0 -10px; padding-bottom: 10px; }
    .footer .f-col { flex: 1 1 50%; padding: 0 10px; margin-bottom: 20px; }
    .footer h4 { font-size: 15px; margin-bottom: 12px; }
    .footer .f-col ul li a, .footer .f-contact li { font-size: 13px; }
    .footer .f-qr img { width: 100px; height: 100px; }
    .footer .copyright { font-size: 12px; padding: 14px 10px; }

    /* 内页 banner / 面包屑 */
    .page-banner { height: 255px; }
    .page-banner .container { padding-top: 20px; }
    .page-banner .pb-inner { margin-left: 15px; }
    .page-banner .pb-title { font-size: 24px; letter-spacing: 2px; }
    .page-banner .pb-sub { font-size: 12px; }
    .crumb { font-size: 12px; }

    /* 内页布局：侧栏在上 */
    .page-wrap { padding: 26px 0 36px; }
    .inner-layout { flex-direction: column; }
    .sidebar { width: 100%; margin: 0 0 26px; }
    .sidebar .side-title { border-radius: 6px; font-size: 16px; padding: 12px 18px; }
    .sidebar .side-nav { display: flex; flex-wrap: wrap; border: 1px solid #e5e5e5; border-radius: 6px; margin-top: 8px; }
    .sidebar .side-nav li { width: 33.3333%; border-bottom: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
    .sidebar .side-nav li a { padding: 11px 6px; font-size: 13px; text-align: center; }
    .sidebar .side-nav li a::before { display: none; }
    .sidebar .side-nav li a:hover, .sidebar .side-nav li.active a { padding-left: 6px; }
    .sidebar .side-contact { display: none; }
    .main-title { font-size: 19px; margin-bottom: 18px; }

    /* 详情页 */
    .detail-title { font-size: 21px; }
    .detail-meta { font-size: 12px; }
    .detail-content { font-size: 14px; }
    .detail-content h2 { font-size: 17px; }
    .detail-pager { font-size: 12px; flex-direction: column; gap: 8px; }
    .detail-pager .next { text-align: left; }

    /* 联系页 */
    .contact-cards { flex-wrap: wrap; margin-bottom: 26px; }
    .contact-cards .c-card { flex: 1 1 46%; margin: 0 2% 14px; padding: 20px 6px; }
    .contact-cards .c-icon { width: 44px; height: 44px; font-size: 19px; }
    .contact-cards .c-value { font-size: 14px; }
    .contact-form { padding: 24px 18px; }
    .contact-form h3 { font-size: 17px; margin-bottom: 18px; }
    .form-row { flex-direction: column; }
    .form-row .form-item { margin-right: 0; margin-bottom: 12px; }
    .form-item input, .form-item textarea { font-size: 14px; padding: 10px 12px; }
    .form-submit { width: 100%; }

    /* 分页 */
    .pagination a, .pagination span, .pagination li > a, .pagination li > span { min-width: 32px; height: 32px; line-height: 32px; font-size: 13px; padding: 0 8px; }
}

@media (max-width: 767px) {
    /* 绿色标语条 */
    .slogan-band { padding: 26px 0; }
    .slogan-wrap { flex-direction: column; text-align: center; }
    .slogan-zh { font-size: 17px; }
    .slogan-en { font-size: 12px; }
    .slogan-qr { margin-top: 16px; }
    .slogan-qr img { width: 90px; height: 90px; }
    .slogan-qr .qr-txt { font-size: 13px; }
    .slogan-qr .qr-txt .qr-btn { font-size: 15px; padding: 7px 22px; }
    /* 功能块 */
    .feature-grid { flex-wrap: wrap; margin: 0 -7px; }
    .feature-grid .fcol { flex: 1 1 46%; margin: 0 2% 14px; padding-bottom: 16px; }
    .feature-grid .f-icon { padding-top: 14px; }
    .feature-grid .f-icon img { width: 50px; }
    .feature-grid .fcol h3 { font-size: 17px; }
    .feature-grid .fcol p { font-size: 13px; }
    .feature-grid .f-line { margin: 10px auto; }
    /* 关于区 */
    .about-band { padding: 34px 0; }
    .about-intro { font-size: 13px; }
    .about-lines { margin-top: 22px; }
    .about-lines .line-title { font-size: 16px; }
    .about-lines .line-title .tag { font-size: 12px; }
    .about-lines .line-desc { font-size: 12px; }
    .about-more { margin-top: 16px; padding: 10px 36px; font-size: 14px; }
    /* 统计卡 */
    .stats { margin-top: -40px; }
    .stats .stat { width: 50%; padding: 10px 2%; }
    .stats .stat .num { font-size: 28px; }
    .stats .stat .label { font-size: 13px; }
}

@media (max-width: 480px) {
    .grid4 .col, .grid3 .col, .list-grid .col { width: 50%; }
    .sidebar .side-nav li { width: 50%; }
    .banner { height: 200px; min-height: 0; max-height: none; }
    .banner .slide-title { font-size: 20px; }
    .banner .slide-btn { padding: 8px 20px; font-size: 12px; }
    .section-head h2 { font-size: 20px; }
}
