/* ============================================================
   鑫浩包装 · 营销站主题  主色 #008AFF（取自品牌 logo）
   ============================================================ */
:root {
    --blue: #008AFF;
    --blue-dark: #0073D6;
    --blue-deep: #0A4E8F;
    --navy: #0E2A47;
    --ink: #1C2B3A;
    --gray: #5C6B7A;
    --line: #E3ECF5;
    --bg: #F4F9FF;
    --orange: #FF8A00;
    --shadow: 0 6px 24px rgba(0, 70, 140, .10);
    --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.wrap { width: 1200px; max-width: 94%; margin: 0 auto; }
.clear::after { content: ""; display: block; clear: both; }

/* ============ 顶部条 ============ */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    line-height: 36px;
}
.topbar .wrap { display: flex; justify-content: space-between; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar .tb-r span { margin-left: 18px; }
.topbar .tb-r i { font-style: normal; color: var(--blue); font-weight: 700; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 5px; }

/* ============ 头部 ============ */
.header { padding: 22px 0; background: #fff; }
.header .wrap { display: flex; align-items: center; gap: 30px; }
.logo img { height: 62px; width: auto; }
.head-slogan { border-left: 1px solid var(--line); padding-left: 22px; flex: 0 0 auto; }
.head-slogan b { display: block; font-size: 16px; letter-spacing: 1px; color: var(--navy); white-space: nowrap; }
.head-slogan span { font-size: 12px; color: var(--gray); letter-spacing: 1px; }
.head-search { margin-left: auto; display: flex; border: 2px solid var(--blue); border-radius: 30px; overflow: hidden; width: 340px; }
.head-search input { flex: 1; border: 0; outline: none; padding: 9px 18px; font-size: 14px; }
.head-search button { border: 0; background: var(--blue); color: #fff; padding: 0 24px; cursor: pointer; font-size: 15px; }
.head-search button:hover { background: var(--blue-dark); }
.head-tel { text-align: right; line-height: 1.3; white-space: nowrap; }
.head-tel small { display: block; color: var(--gray); font-size: 12px; white-space: nowrap; }
.head-tel b { color: var(--blue); font-size: 24px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }

/* ============ 导航 ============ */
.nav { background: var(--blue); position: sticky; top: 0; z-index: 900; box-shadow: 0 3px 12px rgba(0, 90, 180, .25); }
.nav > .wrap { display: flex; align-items: stretch; }
.nav ul.menu { display: flex; flex: 1; }
.nav ul.menu > li { position: relative; flex: 1; }
.nav ul.menu > li > a {
    display: block; color: #fff; font-size: 16px; padding: 15px 10px; position: relative; text-align: center;
}
.nav ul.menu > li > a::after {
    content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 2px;
    background: #fff; transition: all .25s; transform: translateX(-50%);
}
.nav ul.menu > li:hover > a::after, .nav ul.menu > li.on > a::after { width: 26px; }
.nav ul.menu > li.on > a, .nav ul.menu > li > a:hover { background: var(--blue-dark); }
.nav .dropdown {
    position: absolute; left: 0; top: 100%; min-width: 200px; background: #fff;
    box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
}
.nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .dropdown a { display: block; padding: 11px 22px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav .dropdown a:hover { background: var(--bg); color: var(--blue); padding-left: 28px; }
.nav .nav-cta { margin-left: auto; display: flex; }
.nav .nav-cta a {
    display: flex; align-items: center; background: var(--orange); color: #fff !important; font-weight: 700;
    padding: 0 34px !important; font-size: 16px;
}
.nav .nav-cta a:hover { background: #ff9d26; }
.nav .nav-cta a::after { display: none; }
.nav-toggle { display: none; color: #fff; font-size: 24px; padding: 10px 16px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; display: block; }
.nav .sub-toggle { display: none; }

/* ============ Banner 轮播 ============ */
.banner { position: relative; overflow: hidden; }
.banner .slide { position: relative; display: none; }
.banner .slide.on { display: block; animation: fadeIn .8s; }
.banner .slide img.bg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .banner .slide img.bg { min-height: 180px; object-fit: cover; } }
.banner .slide .cap {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(90deg, rgba(4, 40, 90, .72) 0%, rgba(4, 40, 90, .25) 55%, transparent 100%);
}
.banner .cap-inner { width: 1200px; max-width: 94%; margin: 0 auto; color: #fff; }
.banner .cap h2 { font-size: 46px; letter-spacing: 3px; line-height: 1.25; text-shadow: 0 4px 18px rgba(0, 0, 0, .3); }
.banner .cap p { font-size: 18px; margin: 16px 0 30px; opacity: .92; letter-spacing: 1px; }
.banner .btn {
    display: inline-block; background: var(--orange); color: #fff; padding: 13px 44px;
    border-radius: 40px; font-size: 17px; font-weight: 600; letter-spacing: 2px; width: fit-content;
    box-shadow: 0 8px 20px rgba(255, 138, 0, .4); transition: transform .2s;
}
.banner .btn:hover { color: #fff; transform: translateY(-3px); }
.banner .dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.banner .dots i { width: 34px; height: 4px; background: rgba(255, 255, 255, .45); border-radius: 3px; cursor: pointer; transition: all .3s; }
.banner .dots i.on { background: #fff; width: 50px; }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

/* ============ 通用版块 ============ */
.sec { padding: 66px 0; }
.sec.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .en { color: var(--blue); font-size: 13px; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; }
.sec-head h2 { font-size: 34px; color: var(--navy); margin: 8px 0 12px; letter-spacing: 2px; }
.sec-head .line { width: 56px; height: 4px; background: var(--blue); margin: 0 auto; border-radius: 3px; position: relative; }
.sec-head .line::after { content: ""; position: absolute; width: 14px; height: 4px; background: var(--orange); left: 64px; top: 0; border-radius: 3px; }
.sec-head p.sub { color: var(--gray); margin-top: 14px; font-size: 15px; }

/* ============ 产品分类卡 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 190px;
    box-shadow: var(--shadow); display: block;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .mask {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, rgba(6, 48, 100, .18), rgba(6, 48, 100, .78));
    color: #fff; transition: background .3s;
}
.cat-card .mask b { font-size: 20px; letter-spacing: 2px; }
.cat-card .mask span { display: block; font-size: 12px; opacity: .85; margin-top: 4px; letter-spacing: 1px; }
.cat-card:hover .mask { background: linear-gradient(180deg, rgba(0, 110, 220, .35), rgba(0, 70, 160, .85)); }

/* ============ 优势 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-item {
    background: #fff; border-radius: var(--radius); padding: 36px 26px; text-align: center;
    border: 1px solid var(--line); transition: all .3s; position: relative; top: 0;
}
.adv-item:hover { box-shadow: var(--shadow); border-color: transparent; top: -6px; }
.adv-item .ico {
    width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
    background: linear-gradient(135deg, #0095ff, #0066cc); display: flex; align-items: center; justify-content: center;
}
.adv-item .ico svg { width: 32px; height: 32px; fill: #fff; }
.adv-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.adv-item p { font-size: 13.5px; color: var(--gray); }

/* ============ 优势图文交替板块 ============ */
.sec-head.big h2 { font-size: 40px; letter-spacing: 1px; }
.sec-head.big .hl { color: var(--blue); }
.adv-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 70px;
    align-items: center; margin-bottom: 84px;
}
.adv-row:last-child { margin-bottom: 0; }
.adv-row.rev .adv-txt { order: 2; }
.adv-row.rev .adv-pics { order: 1; }
.adv-txt h3 {
    font-size: 25px; color: var(--navy); margin-bottom: 20px;
    padding-left: 16px; border-left: 5px solid var(--blue); line-height: 1.35;
}
.adv-txt ul li {
    position: relative; padding-left: 22px; margin-bottom: 14px;
    color: var(--gray); line-height: 1.85; font-size: 15px;
}
.adv-txt ul li::before {
    content: "◆"; position: absolute; left: 0; top: 4px;
    font-size: 11px; color: var(--blue);
}
.adv-pics { position: relative; height: 340px; }
.adv-pics img { position: absolute; object-fit: cover; transition: transform .5s; }
.adv-pics img:hover { transform: scale(1.04); }
/* 六边形组合 */
.adv-pics.hex .p1 {
    width: 250px; height: 285px; right: 130px; top: 8px; z-index: 2;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.adv-pics.hex .p2 {
    width: 210px; height: 240px; right: 0; bottom: 0; z-index: 1;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.adv-pics.hex::before {
    content: ""; position: absolute; width: 250px; height: 285px; right: 112px; top: -6px;
    background: var(--navy); opacity: .9; z-index: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
/* 圆形组合 */
.adv-pics.circle .p1 { width: 300px; height: 300px; left: 0; top: 0; border-radius: 50%; z-index: 1; }
.adv-pics.circle .p2 {
    width: 240px; height: 240px; right: 20px; bottom: -6px; border-radius: 50%; z-index: 2;
    border: 10px solid #fff; box-shadow: 0 10px 30px rgba(14, 42, 71, .18);
}
.adv-pics.circle::before {
    content: ""; position: absolute; width: 300px; height: 300px; left: 18px; top: 16px;
    border: 2px solid var(--blue); border-radius: 50%; opacity: .5; z-index: 0;
}
/* 圆角矩形组合 */
.adv-pics.rect .p1 { width: 340px; height: 250px; right: 40px; top: 0; border-radius: 16px; z-index: 1; box-shadow: var(--shadow); }
.adv-pics.rect .p2 {
    width: 290px; height: 210px; left: 30px; bottom: -10px; border-radius: 16px; z-index: 2;
    border: 8px solid #fff; box-shadow: 0 12px 32px rgba(14, 42, 71, .2);
}

/* ============ 荣誉资质滚动 ============ */
.cert-marquee { overflow: hidden; position: relative; }
.cert-track { display: flex; width: max-content; animation: cert-scroll 36s linear infinite; }
.cert-marquee:hover .cert-track { animation-play-state: paused; }
@keyframes cert-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cert-half { display: flex; gap: 26px; padding-right: 26px; }
.cert-item {
    width: 212px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 16px 14px; text-align: center; box-shadow: var(--shadow); transition: all .3s;
}
.cert-item:hover { transform: translateY(-6px); border-color: var(--blue); }
.cert-item img { width: 100%; height: 232px; object-fit: contain; }
.cert-item b { display: block; color: var(--blue-deep); font-size: 14px; margin-top: 12px; }
.cert-item span { display: block; color: var(--gray); font-size: 12px; margin-top: 4px; }

/* ============ 数据条 ============ */
.stats { background: linear-gradient(120deg, #0070d4, #0096ff 55%, #00b3ff); padding: 52px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; color: #fff; }
.stats b { font-size: 44px; font-weight: 800; letter-spacing: 1px; }
.stats b i { font-style: normal; font-size: 22px; }
.stats span { display: block; margin-top: 6px; opacity: .9; letter-spacing: 2px; font-size: 15px; }

/* ============ 产品选项卡 ============ */
.ptabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.ptabs a {
    padding: 10px 28px; border-radius: 30px; background: #fff; border: 1px solid var(--line);
    font-size: 15px; color: var(--ink); transition: all .25s;
}
.ptabs a.on, .ptabs a:hover { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(0, 138, 255, .35); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    transition: all .3s; display: flex; flex-direction: column;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.prod-card .ph { height: 210px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px; }
.prod-card .ph img { max-height: 100%; object-fit: contain; transition: transform .4s; }
.prod-card:hover .ph img { transform: scale(1.06); }
.prod-card .pi { padding: 16px 18px 20px; text-align: center; border-top: 1px solid var(--line); }
.prod-card .pi h3 { font-size: 15.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-card .pi p { font-size: 12.5px; color: var(--gray); margin: 6px 0 12px; height: 19px; overflow: hidden; }
.prod-card .pi .more { font-size: 13px; color: var(--blue); font-weight: 600; }
.sec-more { text-align: center; margin-top: 40px; }
.btn-line {
    display: inline-block; padding: 12px 52px; border: 2px solid var(--blue); color: var(--blue);
    border-radius: 40px; font-size: 16px; letter-spacing: 2px; transition: all .25s; background: #fff;
}
.btn-line:hover { background: var(--blue); color: #fff; }

/* ============ 应用场景 ============ */
.scene-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.scene-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 10px;
    text-align: center; transition: all .3s;
}
.scene-item:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.scene-item svg { width: 42px; height: 42px; fill: var(--blue); margin-bottom: 12px; }
.scene-item b { font-size: 16px; color: var(--navy); display: block; }
.scene-item span { font-size: 12px; color: var(--gray); }

/* ============ 案例 ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 260px; display: block; box-shadow: var(--shadow); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover img { transform: scale(1.07); }
.case-card .cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(5, 40, 85, .88));
}
.case-card .cap b { font-size: 17px; display: block; }
.case-card .cap span { font-size: 12.5px; opacity: .85; }

/* ============ 新闻 ============ */
.news-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; }
.news-feature {
    position: relative; border-radius: var(--radius); overflow: hidden; height: 380px; display: block;
}
.news-feature img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .cap {
    position: absolute; inset: auto 0 0 0; padding: 46px 26px 20px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(5, 40, 85, .9));
}
.news-feature .cap time { font-size: 13px; opacity: .85; }
.news-feature .cap h3 { font-size: 21px; margin-top: 6px; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; gap: 18px; padding: 15px 6px; align-items: center; }
.news-list a:hover { background: var(--bg); }
.news-list .date {
    flex: 0 0 62px; text-align: center; background: var(--bg); border-radius: 8px; padding: 8px 0; color: var(--blue);
}
.news-list .date b { display: block; font-size: 22px; line-height: 1.1; }
.news-list .date span { font-size: 12px; }
.news-list .tt { flex: 1; min-width: 0; }
.news-list .tt h4 { font-size: 15.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list .tt p { font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }

/* ============ 新闻卡片（新闻列表页） ============ */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ncard {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.ncard:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15, 50, 90, .10); }
.ncard-img { height: 190px; overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard-img img { transform: scale(1.06); }
.ncard-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.ncard-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--gray); }
.ncard-meta .tag {
    background: rgba(0, 122, 255, .08); color: var(--blue);
    padding: 2px 10px; border-radius: 20px; font-size: 12px;
}
.ncard-body h3 {
    font-size: 16.5px; color: var(--navy); margin: 10px 0 6px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard-body p {
    font-size: 13px; color: var(--gray); line-height: 1.7; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard-more { margin-top: 12px; font-size: 13px; color: var(--blue); font-weight: 600; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }


/* ============ 流程 ============ */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step-item { text-align: center; position: relative; }
.step-item .n {
    width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: #fff;
    border: 3px solid var(--blue); color: var(--blue); font-size: 26px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
}
.step-item:not(:last-child)::after {
    content: ""; position: absolute; top: 37px; left: calc(50% + 44px); right: calc(-50% + 44px);
    height: 3px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px);
}
.step-item h3 { font-size: 17px; color: var(--navy); }
.step-item p { font-size: 13px; color: var(--gray); margin-top: 6px; padding: 0 10px; }

/* ============ CTA ============ */
.cta {
    background: linear-gradient(110deg, #06356d, #0070d4 60%, #0091ff); color: #fff; padding: 56px 0;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
    border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.cta .wrap { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: 30px; letter-spacing: 2px; }
.cta p { opacity: .9; margin-top: 8px; }
.cta .btn {
    margin-left: auto; background: var(--orange); color: #fff; padding: 15px 48px; border-radius: 44px;
    font-size: 17px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 10px 26px rgba(255, 138, 0, .45);
    transition: transform .2s;
}
.cta .btn:hover { color: #fff; transform: translateY(-3px); }

/* ============ 页脚 ============ */
.footer { background: #f2f4f7; color: #44505e; padding: 52px 0 0; font-size: 14px; border-top: 1px solid #e4e8ee; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr .9fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #1c2b3a; font-size: 16px; margin-bottom: 16px; letter-spacing: 1px; font-weight: 700; }
.footer h4::before { content: ""; display: inline-block; width: 4px; height: 15px; background: var(--blue); margin-right: 10px; border-radius: 2px; vertical-align: -2px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .f-logo img { height: 34px; }
.footer .f-logo b { font-size: 22px; color: var(--navy); letter-spacing: 2px; }
.footer .f-brand p { line-height: 1.9; font-size: 13.5px; color: #6b7684; }
.footer .f-brand .f-icp { margin-top: 8px; font-size: 12.5px; color: #8b95a3; }
.footer .f-brand .f-icp a { color: #8b95a3; }
.footer li { line-height: 2.1; }
.footer li a { color: #5a6674; }
.footer li a:hover { color: var(--blue); }
.footer .f-contact p { margin-bottom: 11px; display: flex; gap: 9px; color: #5a6674; }
.footer .f-contact svg { width: 16px; height: 16px; fill: var(--blue); flex: 0 0 16px; margin-top: 4px; }
.footer .f-contact b { color: var(--blue); font-size: 20px; }
.footer .f-qr img { width: 108px; height: 108px; display: block; border-radius: 6px; background: #fff; padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.footer .f-qr span { display: block; margin-top: 8px; font-size: 12.5px; color: #8b95a3; }
.copy { border-top: 1px solid #e0e5ec; padding: 18px 0; text-align: center; font-size: 13px; color: #8b95a3; }
.copy a { color: #8b95a3; }

/* ============ 悬浮工具条 ============ */
.floatbar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 800; }
.floatbar a {
    display: flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; background: linear-gradient(135deg, #0095ff, #0066cc); color: #fff;
    transition: all .25s; position: relative; margin-bottom: 2px;
}
.floatbar a svg { width: 24px; height: 24px; fill: #fff; }
.floatbar a:hover { background: var(--navy); }
.floatbar a:first-child { border-radius: 8px 0 0 0; }
.floatbar a:last-child { border-radius: 0 0 0 8px; margin-bottom: 0; }
.floatbar .pop {
    position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(10px);
    background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(14, 42, 71, .2); padding: 16px; width: 196px;
    opacity: 0; visibility: hidden; transition: all .25s; text-align: center;
}
.floatbar a:hover .pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.floatbar .pop img { width: 138px; height: 138px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.floatbar .pop p { color: var(--gray); font-size: 12px; margin-top: 8px; line-height: 1.75; }
.floatbar .pop p b { color: var(--navy); font-size: 15px; letter-spacing: .5px; }

/* ============ 面包屑 / 内页 ============ */
.page-hero { background: linear-gradient(120deg, #06407e, #0080ec); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-hero h1 { font-size: 32px; letter-spacing: 3px; }
.page-hero p { opacity: .85; margin-top: 8px; letter-spacing: 1px; }
.page-hero .crumb { position: absolute; bottom: 16px; font-size: 13px; opacity: .8; }
.page-hero .crumb a { color: #fff; }
.page-body { padding: 46px 0 70px; }

/* 产品列表页 */
.pl-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.side-cat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.side-cat .hd { background: linear-gradient(120deg, #0070d4, #0096ff); color: #fff; padding: 16px 20px; font-size: 17px; font-weight: 700; letter-spacing: 2px; }
.side-cat .hd small { display: block; font-size: 11px; opacity: .8; letter-spacing: 3px; font-weight: 400; }
.side-cat .grp { border-bottom: 1px solid var(--line); }
.side-cat .grp > a { display: flex; justify-content: space-between; padding: 13px 20px; font-size: 15px; color: var(--navy); font-weight: 600; }
.side-cat .grp > a::after { content: "+"; color: var(--blue); font-weight: 400; }
.side-cat .grp.on > a, .side-cat .grp > a:hover { color: var(--blue); }
.side-cat .grp ul { padding: 0 14px 10px; display: none; }
.side-cat .grp.on ul { display: block; }
.side-cat .grp ul a { display: block; padding: 7px 12px; font-size: 13.5px; color: var(--gray); border-radius: 6px; }
.side-cat .grp ul a:hover, .side-cat .grp ul a.on { background: var(--bg); color: var(--blue); }
.side-contact { margin-top: 22px; background: var(--navy); border-radius: var(--radius); color: #fff; padding: 24px 22px; }
.side-contact h3 { font-size: 16px; margin-bottom: 10px; }
.side-contact p { font-size: 13px; opacity: .8; line-height: 2; }
.side-contact b { font-size: 21px; color: #4db8ff; }
.side-cat .grp > a.only::after { content: ""; }

.pl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.pl-head h2 { font-size: 22px; color: var(--navy); }
.pl-head h2 span { font-size: 13px; color: var(--gray); margin-left: 12px; font-weight: 400; }
.pl-head .path { font-size: 13px; color: var(--gray); }
.pl-head .path a { color: var(--blue); }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
    min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; color: var(--gray); font-size: 14px;
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .cur { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 产品详情 */
.pd-layout { display: grid; grid-template-columns: 460px 1fr; gap: 40px; align-items: start; }
.pd-gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.pd-main { height: 400px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.pd-main img { max-height: 96%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs img {
    width: 74px; height: 74px; object-fit: contain; border: 2px solid var(--line); border-radius: 6px;
    cursor: pointer; padding: 4px; background: #fff;
}
.pd-thumbs img.on, .pd-thumbs img:hover { border-color: var(--blue); }
.pd-info h1 { font-size: 26px; color: var(--navy); line-height: 1.4; }
.pd-info .sub { color: var(--gray); margin: 10px 0 18px; font-size: 14px; }
.pd-params { background: var(--bg); border-radius: var(--radius); padding: 20px 24px; margin: 18px 0; }
.pd-params li { display: flex; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed #d5e5f5; }
.pd-params li:last-child { border-bottom: 0; }
.pd-params li b { flex: 0 0 110px; color: var(--navy); font-weight: 600; }
.pd-params li span { color: var(--gray); }
.pd-cta { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.btn-primary {
    background: var(--orange); color: #fff; padding: 14px 40px; border-radius: 40px; font-size: 16px;
    font-weight: 700; letter-spacing: 2px; border: 0; cursor: pointer; transition: all .2s;
    box-shadow: 0 8px 20px rgba(255, 138, 0, .35); display: inline-block;
}
.btn-primary:hover { color: #fff; background: #ff9d26; transform: translateY(-2px); }
.btn-ghost {
    border: 2px solid var(--blue); color: var(--blue); padding: 12px 38px; border-radius: 40px;
    font-size: 16px; letter-spacing: 2px; background: #fff; cursor: pointer; transition: all .2s; display: inline-block;
}
.btn-ghost:hover { background: var(--blue); color: #fff; }
.pd-hotline { margin-top: 20px; font-size: 14px; color: var(--gray); }
.pd-hotline b { color: var(--blue); font-size: 22px; }
.pd-tabs { margin-top: 46px; }
.pd-tabs .tabs-hd { display: flex; border-bottom: 2px solid var(--blue); }
.pd-tabs .tabs-hd a { padding: 14px 38px; font-size: 17px; color: var(--gray); background: var(--bg); border-radius: 10px 10px 0 0; margin-right: 6px; }
.pd-tabs .tabs-hd a.on { background: var(--blue); color: #fff; font-weight: 600; }
.pd-tabs .tabs-bd { padding: 28px 6px; line-height: 2; color: #3a4a5a; font-size: 15px; }
.pd-tabs .tabs-bd p { margin-bottom: 12px; }
.pd-tabs .tabs-bd img { margin: 14px auto; max-width: 100%; }

/* 文章页 */
.article { max-width: min(900px, 94%); margin: 0 auto; }
.article h1 { font-size: 28px; color: var(--navy); text-align: center; line-height: 1.5; }
.article .meta { text-align: center; color: var(--gray); font-size: 13.5px; margin: 14px 0 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article .content { line-height: 2.1; font-size: 15.5px; color: #33465a; }
.article .content p { margin-bottom: 14px; }
.article .content img { margin: 16px auto; max-width: 100%; }
.article-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); flex-wrap: wrap; gap: 8px; }

/* 关于我们 */
.about-intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.about-intro .pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-intro .pic img { width: 100%; height: 100%; object-fit: cover; }
.about-intro h2 { font-size: 30px; color: var(--navy); margin-bottom: 8px; }
.about-intro h2 span { color: var(--blue); }
.about-intro .en { color: var(--gray); letter-spacing: 3px; font-size: 13px; margin-bottom: 20px; }
.about-intro p { color: #43566b; margin-bottom: 14px; font-size: 15px; }
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.culture-item { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.culture-item h3 { color: var(--navy); font-size: 18px; margin-bottom: 12px; }
.culture-item p { font-size: 13.5px; color: var(--gray); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; text-align: center; }
.cert-item svg { width: 54px; height: 54px; fill: var(--blue); margin-bottom: 14px; }
.cert-item b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.cert-item p { font-size: 13.5px; color: var(--gray); }

/* 联系我们 */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.contact-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.c-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.c-row svg { width: 22px; height: 22px; fill: var(--blue); flex: 0 0 22px; margin-top: 3px; }
.c-row b { display: block; color: var(--navy); font-size: 15px; }
.c-row span, .c-row a { color: var(--gray); font-size: 14px; }
.c-row a.c-tel { color: var(--blue); font-size: 20px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.f-input, .f-textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 14.5px;
    outline: none; font-family: inherit; transition: border-color .2s; background: #fbfdff;
}
.f-input:focus, .f-textarea:focus { border-color: var(--blue); background: #fff; }
.f-textarea { min-height: 120px; resize: vertical; }
.form-tip { font-size: 13px; color: var(--gray); margin-top: 14px; }
.form-ok { background: #eefaf1; border: 1px solid #b7e6c6; color: #1d8a43; padding: 14px 20px; border-radius: 8px; margin-bottom: 18px; }
.form-err { background: #fdf0ef; border: 1px solid #f5c6c0; color: #c0392b; padding: 14px 20px; border-radius: 8px; margin-bottom: 18px; }

/* 留言列表 */
.msg-table { width: 100%; border-collapse: collapse; }
.msg-table th, .msg-table td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; text-align: left; }
.msg-table th { background: var(--bg); color: var(--navy); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(8, 20, 38, .9); z-index: 2000; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 92%; max-height: 92%; background: #fff; border-radius: 8px; }

/* 空结果 */
.empty { text-align: center; color: var(--gray); padding: 70px 0; }
.empty svg { width: 70px; height: 70px; fill: #c7d7e8; margin-bottom: 16px; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
    .cat-grid, .adv-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
    .scene-grid { grid-template-columns: repeat(3, 1fr); }
    .case-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .step-item:nth-child(2)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .head-search { width: 260px; }
    .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .pd-layout, .about-intro, .contact-layout, .news-wrap { grid-template-columns: minmax(0, 1fr); }
    .adv-row { grid-template-columns: 1fr; gap: 44px; margin-bottom: 64px; }
    .adv-pics { max-width: 520px; margin: 0 auto; width: 100%; }
    .pd-gallery { max-width: 560px; }
}
@media (max-width: 760px) {
    .topbar .tb-l { display: none; }
    .header .wrap { flex-wrap: wrap; gap: 14px; }
    .head-search { order: 3; width: 100%; }
    .head-tel { display: none; }
    .head-qr { display: none; }
    .head-slogan { display: none; }
    .nav-toggle { display: block; }
    .nav ul.menu { display: none; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); }
    .nav.open ul.menu { display: flex; }
    .nav.open ul.menu > li { flex: none; }
    .nav.open ul.menu > li > a { text-align: left; padding: 13px 20px; }
    .nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border-radius: 0; box-shadow: none; background: rgba(0, 0, 0, .12); display: none; }
    .nav li:hover .dropdown { display: none; } /* 触屏设备无 hover，子菜单改由右侧箭头点击展开 */
    .nav ul.menu > li.open > .dropdown { display: block; }
    .nav.open ul.menu > li > a { padding-right: 46px; }
    .nav .sub-toggle {
        display: flex; align-items: center; justify-content: center;
        position: absolute; right: 0; top: 0; bottom: 0; width: 46px;
        color: rgba(255, 255, 255, .92); cursor: pointer; z-index: 2;
    }
    .nav .sub-toggle::after { content: "▾"; font-size: 12px; transition: transform .2s; }
    .nav ul.menu > li.open > .sub-toggle::after { transform: rotate(180deg); }
    .nav .dropdown a { color: #fff; }
    .nav .nav-cta { display: none; }
    .banner .slide { height: 280px; }
    .banner .cap h2 { font-size: 27px; }
    .banner .cap p { font-size: 14px; }
    .sec { padding: 46px 0; }
    .sec-head h2 { font-size: 25px; }
    .sec-head.big h2 { font-size: 27px; }
    .adv-txt h3 { font-size: 20px; }
    .adv-pics { height: 300px; }
    .adv-pics.hex .p1 { width: 200px; height: 230px; right: 110px; }
    .adv-pics.hex .p2 { width: 170px; height: 195px; }
    .adv-pics.hex::before { width: 200px; height: 230px; right: 95px; }
    .adv-pics.circle .p1 { width: 230px; height: 230px; }
    .adv-pics.circle .p2 { width: 180px; height: 180px; right: 6px; }
    .adv-pics.circle::before { width: 230px; height: 230px; }
    .adv-pics.rect .p1 { width: 270px; height: 200px; right: 20px; }
    .adv-pics.rect .p2 { width: 230px; height: 170px; left: 10px; }
    .cert-item { width: 168px; padding: 12px; }
    .cert-item img { height: 190px; }
    .cat-grid, .adv-grid, .prod-grid, .case-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .culture-grid { grid-template-columns: 1fr 1fr; }
    .pl-layout { grid-template-columns: 1fr; }
    .side-cat { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .floatbar { display: none; }
    .cta .btn { margin-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .pd-main { height: 300px; }
}
@media (max-width: 480px) {
    .topbar { font-size: 12px; }
    .topbar .tb-r span { margin-left: 10px; }
    .topbar .tb-r .tb-mail { display: none; }
    .logo img { height: 48px; }
}

/* ============ 手机端增强适配 ============ */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }

@media (max-width: 760px) {
    /* 详情页选项卡：窄屏下横向可滚动，避免挤压 */
    .pd-tabs .tabs-hd { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .pd-tabs .tabs-hd a { flex: 0 0 auto; white-space: nowrap; }
    /* 页脚/联系方式长串（邮箱、地址）允许换行，防止横向溢出 */
    .footer .f-contact p, .c-row span, .c-row a { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 480px) {
    body { font-size: 14px; }
    .banner .slide { height: 230px; }
    .banner .cap h2 { font-size: 22px; letter-spacing: 1px; }
    .banner .cap p { font-size: 13px; margin: 10px 0 16px; }
    .banner .btn { padding: 10px 30px; font-size: 14px; }
    .banner .dots { bottom: 14px; }
    .banner .dots i { width: 26px; }
    .sec { padding: 38px 0; }
    .sec-head { margin-bottom: 30px; }
    .sec-head h2 { font-size: 22px; }
    .sec-head.big h2 { font-size: 23px; }
    .cat-card { height: 140px; }
    .cat-card .mask b { font-size: 16px; }
    .prod-card .ph { height: 150px; }
    .prod-card .pi { padding: 12px 12px 16px; }
    .prod-card .pi h3 { font-size: 14px; }
    .prod-card .pi p { font-size: 12px; }
    .case-card { height: 200px; }
    .case-card .cap b { font-size: 15px; }
    .news-feature { height: 230px; }
    .news-feature .cap h3 { font-size: 18px; }
    .news-feature .cap { padding: 30px 16px 14px; }
    .news-list a { gap: 12px; padding: 12px 4px; }
    .news-list .date { flex-basis: 54px; }
    .news-list .tt p { display: none; }
    .stats b { font-size: 30px; }
    .stats b i { font-size: 16px; }
    .stats span { font-size: 13px; }
    .stats { padding: 38px 0; }
    .step-grid { grid-template-columns: 1fr; gap: 26px; }
    .step-item:not(:last-child)::after { display: none; }
    .scene-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .culture-grid { grid-template-columns: 1fr; }
    .cta { padding: 40px 0; }
    .cta h2 { font-size: 21px; }
    .cta .btn { padding: 12px 34px; font-size: 15px; }
    .page-hero { padding: 38px 0; }
    .page-hero h1 { font-size: 23px; letter-spacing: 1px; }
    .page-body { padding: 30px 0 46px; }
    .pl-head h2 { font-size: 18px; }
    .pager a, .pager span { min-width: 34px; height: 34px; font-size: 13px; }
    .pd-main { height: 240px; }
    .pd-info h1 { font-size: 21px; }
    .pd-params { padding: 16px; }
    .pd-params li b { flex-basis: 82px; font-size: 13px; }
    .pd-tabs .tabs-hd a { padding: 11px 14px; font-size: 14px; }
    .contact-card { padding: 24px 20px; }
    .f-input, .f-textarea { font-size: 14px; }
    .cert-item { width: 150px; padding: 10px; }
    .cert-item img { height: 168px; }
    .footer { padding-top: 40px; }
    .copy { padding: 16px 0; }
    .head-search button { padding: 0 16px; font-size: 14px; }
    .ptabs a { padding: 8px 16px; font-size: 13.5px; }
}

/* ===== 检测报告页 ===== */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.report-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.report-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.report-card .rp { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg); }
.report-card .rp img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.report-card:hover .rp img { transform: scale(1.03); }
.report-card .ri { padding: 12px 14px 14px; }
.report-card .ri b { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-card .ri span { display: block; margin-top: 4px; font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
    .report-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .report-card .ri { padding: 10px 12px; }
    .report-card .ri b { font-size: 14px; }
}
@media (max-width: 480px) {
    .report-grid { grid-template-columns: 1fr; }
}

/* ===== 头部服务热线旁微信二维码 ===== */
.head-qr { margin-left: 10px; flex: 0 0 auto; }
.head-qr > img { width: 80px; height: 80px; border-radius: 6px; border: 1px solid var(--line); display: block; }

/* ===== 塑料折叠箱 8 大优点 ===== */
.adv8-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.adv8-item { grid-column: span 2; display: flex; align-items: stretch; min-width: 0; }
.adv8-item .a-img { flex: 1; min-width: 0; }
.adv8-item .a-img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/10; }
.adv8-item .a-txt { flex: 1; padding: 30px 34px; align-self: center; order: -1; }
.adv8-item .a-txt h3 { font-size: 20px; color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.adv8-item .a-txt .a-ico { font-size: 26px; line-height: 1; }
.adv8-item .a-txt p { color: var(--gray); font-size: 15px; line-height: 1.9; }
.adv8-item.flip .a-txt { order: 0; }
@media (max-width: 900px) {
    .adv8-grid { grid-template-columns: repeat(2, 1fr); }
    .adv8-item { grid-column: span 2; }
}
@media (max-width: 640px) {
    .adv8-grid { grid-template-columns: 1fr; }
    .adv8-item { grid-column: span 1; flex-direction: column; }
    .adv8-item .a-txt { order: 0; padding: 18px 16px; }
    .adv8-item .a-img img { aspect-ratio: 16/10; }
}

/* ===== 产品中心：左侧分类 + 右侧产品（美化） ===== */
.pl-layout { grid-template-columns: 280px 1fr; gap: 34px; }
.side-cat .hd { padding: 20px 22px; font-size: 18px; }
.side-cat .cat-all { display: block; padding: 13px 22px; font-size: 15px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.side-cat .cat-all.on, .side-cat .cat-all:hover { color: var(--blue); background: var(--bg); }
.side-cat .grp { border-bottom: 1px solid var(--line); }
.side-cat .grp > a.top { display: block; padding: 13px 22px; font-size: 15px; font-weight: 600; color: var(--navy); border-left: 3px solid transparent; transition: all .2s; }
.side-cat .grp > a.top::after { content: none; }
.side-cat .grp.on > a.top, .side-cat .grp > a.top:hover { color: var(--blue); background: var(--bg); border-left-color: var(--blue); }
.side-cat .grp ul { display: block; padding: 4px 0 10px; }
.side-cat .grp ul a { padding: 8px 22px 8px 34px; font-size: 13.5px; color: var(--gray); border-radius: 0; }
.side-cat .grp ul a:hover, .side-cat .grp ul a.on { background: var(--bg); color: var(--blue); }

.pl-head { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 24px; margin-bottom: 24px; border-left: 4px solid var(--blue); }
.pl-head h2 { font-size: 21px; display: flex; align-items: baseline; flex-wrap: wrap; }

.prod-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s; }
.prod-card .ph { height: 230px; background: #f4f6f9; padding: 16px; }
.prod-card .pi { padding: 18px 18px 20px; border-top: 0; }
.prod-card .pi h3 { font-size: 16px; }
@media (max-width: 980px) {
    .prod-grid { grid-template-columns: repeat(2, 1fr); }
    .pl-layout { grid-template-columns: 240px 1fr; gap: 20px; }
}
@media (max-width: 760px) {
    .pl-layout { grid-template-columns: 1fr; }
    .side-cat { position: static; }
}

/* 首页热门产品：左右结构 */
.home-prod { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.home-prod .hp-side { margin: 0; }
.home-prod .hp-side .grp ul { display: none; }
.home-prod .hp-side .grp.on ul { display: block; }
.home-prod .hp-side .cat-all.on { color: var(--blue); background: var(--bg); }
.home-prod .hp-side .grp > a.top.on, .home-prod .hp-side .grp ul a.on { color: var(--blue); background: var(--bg); font-weight: 600; }
.home-prod .hp-right .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-prod .hp-right .prod-card .ph { height: 200px; }
@media (max-width: 980px) {
    .home-prod { grid-template-columns: 1fr; }
    .home-prod .hp-side { position: static; }
    .home-prod .hp-right .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .home-prod .hp-right .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== 选择我们的4大理由 ===== */
.reason-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reason-item { display: flex; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; align-items: stretch; border: 1px solid var(--line); }
.reason-item .r-img { flex: 0 0 44%; min-width: 0; aspect-ratio: 16 / 10; align-self: flex-start; }
.reason-item .r-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-item .r-txt { flex: 1; padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.reason-item .r-txt h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.reason-item .r-txt h3 i { font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 4px; padding: 3px 7px; letter-spacing: 1px; }
.reason-item .r-txt ul { list-style: none; }
.reason-item .r-txt li { position: relative; padding-left: 14px; line-height: 1.95; font-size: 14px; color: var(--gray); }
.reason-item .r-txt li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.cli-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cli-grid span { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--navy); font-size: 14.5px; font-weight: 600; text-align: center; }
.cli-grid small { display: block; font-size: 11px; font-weight: 400; opacity: .7; margin-top: 2px; }
@media (max-width: 900px) {
    .reason-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .reason-item { flex-direction: column; }
    .reason-item .r-img { flex: none; width: 100%; aspect-ratio: 16 / 10; }
    .reason-item .r-img img { min-height: 0; }
    .cli-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 工厂实景轮播 ===== */
.factory-swiper { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.f-track { position: relative; height: 430px; }
.f-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.f-slide.on { opacity: 1; z-index: 1; }
.f-slide a { display: block; height: 100%; }
.f-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-cap { position: absolute; left: 0; bottom: 0; background: linear-gradient(transparent, rgba(4, 28, 56, .82)); color: #fff; font-size: 15px; letter-spacing: 1px; padding: 34px 26px 16px; width: 100%; z-index: 2; }
.f-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: all .2s; }
.f-arrow:hover { background: var(--blue); color: #fff; }
.f-arrow.prev { left: 16px; }
.f-arrow.next { right: 16px; }
.f-dots { position: absolute; bottom: 16px; right: 18px; z-index: 3; display: flex; gap: 6px; }
.f-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.f-dots i.on { background: #fff; }
@media (max-width: 640px) {
    .f-track { height: 220px; }
}

/* ===== 快速通道 ===== */
.quick-links { background: #fff; }
.ql-title { text-align: center; margin-bottom: 26px; }
.ql-title .en { font-size: 12px; letter-spacing: 4px; color: var(--blue); text-transform: uppercase; }
.ql-title h2 { font-size: 26px; color: var(--navy); margin-top: 4px; letter-spacing: 2px; }
.ql-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ql-col { padding: 24px 30px; border-right: 1px solid var(--line); }
.ql-col:last-child { border-right: 0; }
.ql-col h3 { font-size: 16px; color: var(--navy); margin-bottom: 12px; position: relative; padding-bottom: 10px; }
.ql-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); }
.ql-col ul { list-style: none; }
.ql-col li { padding: 7px 0; border-bottom: 1px dashed #e8ecf2; }
.ql-col li:last-child { border-bottom: 0; }
.ql-col li a { color: #5a6674; font-size: 14px; }
.ql-col li a:hover { color: var(--blue); padding-left: 4px; }
.ql-col .ql-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--blue); font-weight: 600; }
@media (max-width: 900px) {
    .ql-grid { grid-template-columns: 1fr; }
    .ql-col { border-right: 0; border-bottom: 1px solid var(--line); }
    .ql-col:last-child { border-bottom: 0; }
}

/* footer 五栏响应式 */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer .f-qr img { width: 96px; height: 96px; }
}

/* ============================================================
   首页框架板块（对齐 www.szxh518.com/index.html）
   ============================================================ */

/* ===== 顶部条链接 ===== */
.topbar .tb-l a { color: rgba(255, 255, 255, .8); margin-left: 14px; }
.topbar .tb-l a:first-of-type { margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .22); }
.topbar .tb-l a:hover { color: #fff; }

/* ===== 通用标题高亮 ===== */
.sec-head .hl { color: var(--blue); }

/* ===== 搜索条（参考站 sousuo） ===== */
.sousuo { background: var(--bg); border-bottom: 1px solid var(--line); }
.sousuo .wrap { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.sousuo-hot { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--gray); min-width: 0; }
.sousuo-hot b { color: var(--navy); font-weight: 600; }
.sousuo-hot a {
    padding: 5px 15px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    font-size: 13.5px; color: #5a6674; transition: all .2s;
}
.sousuo-hot a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.sousuo-form { flex: 0 0 400px; display: flex; border: 2px solid var(--blue); border-radius: 30px; overflow: hidden; background: #fff; }
.sousuo-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 10px 20px; font-size: 14px; color: var(--ink); }
.sousuo-form button { border: 0; background: var(--blue); color: #fff; padding: 0 28px; cursor: pointer; font-size: 15px; letter-spacing: 2px; }
.sousuo-form button:hover { background: var(--blue-dark); }

/* ===== 左侧分类面板底部联系卡 ===== */
.home-prod .hp-side .side-contact { margin: 0; border-radius: 0; }

/* ===== 公司简介 ABOUT US 标签 ===== */
.about-intro .en { color: var(--blue); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 10px; text-transform: uppercase; }

/* ===== 四大优势（图文交替） ===== */
.adv4-list { display: flex; flex-direction: column; }
.adv4-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
    align-items: center; padding: 36px 0; border-bottom: 1px dashed var(--line);
}
.adv4-row:first-child { padding-top: 0; }
.adv4-row:last-child { border-bottom: 0; padding-bottom: 0; }
.adv4-row.rev .a4-pic { order: 2; }
.adv4-row.rev .a4-txt { order: 1; }
.a4-pic { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--bg); }
.a4-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.adv4-row:hover .a4-pic img { transform: scale(1.05); }
.a4-txt .a4-n { display: block; font-size: 30px; font-weight: 800; line-height: 1; color: var(--blue); opacity: .22; margin-bottom: 8px; letter-spacing: 1px; }
.a4-txt h3 { font-size: 24px; color: var(--navy); line-height: 1.35; margin-bottom: 18px; padding-left: 16px; border-left: 5px solid var(--blue); }
.a4-txt ul { list-style: none; margin-bottom: 22px; }
.a4-txt ul li { position: relative; padding-left: 22px; margin-bottom: 12px; color: var(--gray); font-size: 15px; line-height: 1.8; }
.a4-txt ul li::before { content: "◆"; position: absolute; left: 0; top: 5px; font-size: 10px; color: var(--blue); }
.a4-txt .cli-grid { margin-bottom: 22px; }
.a4-btn {
    display: inline-block; padding: 10px 34px; background: var(--blue); color: #fff; border-radius: 30px;
    font-size: 15px; letter-spacing: 2px; box-shadow: 0 8px 20px rgba(0, 138, 255, .3); transition: all .25s;
}
.a4-btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

/* ===== 三栏新闻 ===== */
.news3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news3-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news3-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.news3-hd b { font-size: 17px; color: var(--navy); line-height: 1.3; }
.news3-hd b span { display: block; font-size: 11px; color: #9aa5b1; letter-spacing: 1.5px; font-weight: 400; text-transform: uppercase; margin-top: 2px; }
.news3-hd .more {
    flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: all .25s;
}
.news3-hd .more:hover { background: var(--blue); color: #fff; }
.news3-col ul { padding: 6px 20px 14px; flex: 1; }
.news3-col li { border-bottom: 1px dashed #e8ecf2; }
.news3-col li:last-child { border-bottom: 0; }
.news3-col li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; }
.news3-col li a em { font-style: normal; font-size: 14px; color: #4a5766; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.news3-col li a span { flex: 0 0 auto; font-size: 12.5px; color: #9aa5b1; }
.news3-col li a:hover em { color: var(--blue); }

/* ===== 案例横向滚动 ===== */
.case-scroll-wrap { position: relative; }
.case-scroll { display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.case-scroll::-webkit-scrollbar { display: none; }
.case-scroll .case-card { flex: 0 0 calc((100% - 44px) / 3); height: 260px; }
.case-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 24px; line-height: 1;
    box-shadow: 0 6px 18px rgba(14, 42, 71, .2); transition: all .2s;
}
.case-nav:hover { background: var(--blue); color: #fff; }
.case-nav.prev { left: -22px; }
.case-nav.next { right: -22px; }
.case-nav[disabled] { opacity: .3; cursor: not-allowed; }

/* ===== 首页框架响应式 ===== */
@media (max-width: 980px) {
    .sousuo .wrap { flex-wrap: wrap; }
    .sousuo-form { flex: 1 1 100%; }
    .adv4-row { grid-template-columns: 1fr; gap: 24px; }
    .adv4-row.rev .a4-pic, .adv4-row.rev .a4-txt { order: 0; }
    .news3 { grid-template-columns: 1fr; }
    .case-scroll .case-card { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
    .sousuo-hot { font-size: 13px; }
    .sousuo-hot a { padding: 4px 12px; font-size: 12.5px; }
    .sousuo-form button { padding: 0 18px; }
    .a4-txt h3 { font-size: 20px; }
    .case-scroll .case-card { flex: 0 0 86%; height: 210px; }
    .case-nav { display: none; }
}

/* ============================================================
   移动端适配修正（2026-10-16）
   1) Banner：轮播图为整图自带文案，固定高度会裁掉底部文字，改为随图自适应
   2) CTA：小屏标题与按钮字号微调
   ============================================================ */
@media (max-width: 1080px) {
    .banner .slide { height: auto; }
}
@media (max-width: 760px) {
    .banner .slide img.bg { min-height: 0; }
    .cta { padding: 40px 0; }
    .cta h2 { font-size: 23px; letter-spacing: 1px; }
    .cta p { font-size: 14px; }
    .cta .btn { padding: 12px 38px; font-size: 15px; }
}

/* ============================================================
   顶部可拨打电话 / 手机端底部快捷条 / 返回顶部（2026-10-16）
   ============================================================ */

/* ===== 1) 头部 logo 右侧：可点击拨打的号码 ===== */
.head-tel { display: block; }
.head-tel b { display: flex; align-items: center; justify-content: flex-end; }
.head-tel b svg { width: 22px; height: 22px; fill: var(--blue); margin-right: 8px; flex: 0 0 auto; transition: fill .2s; }
.head-tel:hover b { color: var(--blue-dark); }
.head-tel:hover b svg { fill: var(--blue-dark); }
/* 电话与二维码拉开间距，竖线分隔，整组贴齐右侧框架边缘
   （margin-left:auto：首页搜索框隐藏时整组仍推到最右；内页则与搜索框平分空隙） */
.head-tel { margin-left: auto; padding-right: 28px; border-right: 1px solid var(--line); line-height: 1.5; }
.head-qr { margin-left: 28px; }
.head-qr > img { width: 84px; height: 84px; }

/* ===== 2) 返回顶部：页面右侧悬浮按钮 ===== */
.gotop {
    position: fixed; right: 24px; bottom: 36px; z-index: 940;
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue); color: #fff;
    box-shadow: 0 8px 22px rgba(0, 138, 255, .36);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .28s, transform .28s, visibility .28s, background .2s;
}
.gotop.on { opacity: 1; visibility: visible; transform: none; }
.gotop svg { width: 22px; height: 22px; fill: #fff; }
.gotop:hover { background: var(--blue-dark); }
.gotop:hover svg { fill: #fff; }

/* ===== 3) 手机端底部快捷条（默认隐藏） ===== */
.mobar { display: none; }

/* ===== 手机端整体优化 ===== */
@media (max-width: 760px) {
    /* --- 顶部条：压成一行细提示 --- */
    .topbar { line-height: 30px; font-size: 12px; }
    .topbar .wrap { justify-content: center; }
    .topbar .tb-r span { margin-left: 0; }
    .topbar .tb-r .tb-mail { display: none; }

    /* --- 头部：logo 左 + 可拨打电话胶囊右 --- */
    .header { padding: 14px 0; }
    .header .wrap { gap: 12px; }
    .logo img { height: 46px; }
    .head-tel {
        display: inline-flex; align-items: center; margin-left: auto;
        padding: 8px 15px; border: 1px solid #B6DBFF; border-radius: 30px;
        background: #EAF5FF; text-align: left;
    }
    .head-tel small { display: none; }
    .head-tel b { justify-content: flex-start; font-size: 16px; letter-spacing: 0; }
    .head-tel b svg { width: 17px; height: 17px; margin-right: 6px; }
    .head-search { margin-top: 2px; }

    /* --- 页脚：两列紧凑排布，去掉手机上冗余的二维码与重复版权 --- */
    .footer { padding: 30px 0 0; font-size: 13.5px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-bottom: 26px; }
    .footer .f-brand { grid-column: 1 / -1; }
    .footer .f-logo { margin-bottom: 10px; }
    .footer .f-logo img { height: 32px; }
    .footer .f-logo b { display: none; }  /* logo 图已含文字，手机端去掉重复 */
    .footer .f-brand p {
        font-size: 13px; line-height: 1.75;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    /* 版权 / 备案号在页面最底部版权条已完整展示，页脚不重复 */
    .footer .f-brand .f-icp { display: none; }
    .footer h4 { font-size: 15px; margin-bottom: 10px; }
    .footer h4::before { height: 13px; margin-right: 8px; }
    .footer li { line-height: 1.95; }
    .footer .f-contact { grid-column: 1 / -1; }
    .footer .f-contact p { margin-bottom: 8px; font-size: 13px; gap: 7px; }
    .footer .f-contact svg { margin-top: 3px; }
    .footer .f-qr { display: none; }
    .copy { padding: 14px 0; font-size: 12px; line-height: 1.7; }

    /* --- 底部快捷条 --- */
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .mobar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
        background: #fff; border-top: 1px solid #E6EDF5;
        box-shadow: 0 -4px 16px rgba(12, 40, 70, .08);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobar > a {
        flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 4px; padding: 9px 0 8px; color: #5C6B7A; font-size: 11px; line-height: 1;
    }
    .mobar > a svg { width: 21px; height: 21px; fill: currentColor; }
    .mobar > a:active { color: var(--blue); }
    .mobar > a.mo-tel { color: var(--blue); }
    .mobar > a.mo-tel span { font-weight: 600; }
    .mobar .mo-qr {
        position: absolute; right: 10px; bottom: calc(100% + 8px);
        width: 156px; padding: 10px 10px 12px; background: #fff; border-radius: 12px;
        box-shadow: 0 10px 30px rgba(12, 40, 70, .2); text-align: center;
        opacity: 0; visibility: hidden; transform: translateY(8px) scale(.96); pointer-events: none;
        transition: opacity .22s, transform .22s, visibility .22s;
    }
    .mobar.show-qr .mo-qr { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .mobar .mo-qr img { width: 128px; height: 128px; margin: 0 auto 8px; border-radius: 8px; }
    .mobar .mo-qr b { display: block; font-size: 13.5px; color: var(--navy); }
    .mobar .mo-qr span { display: block; margin-top: 3px; font-size: 12px; color: var(--gray); }

    /* --- 返回顶部：抬高到快捷条上方 --- */
    .gotop { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
    .gotop svg { width: 20px; height: 20px; }
}

@media (max-width: 400px) {
    .logo img { height: 42px; }
    .head-tel { padding: 7px 11px; }
    .head-tel b { font-size: 14.5px; }
    .head-tel b svg { width: 15px; height: 15px; margin-right: 5px; }
    .mobar > a { font-size: 10.5px; padding: 8px 0 7px; }
    .mobar > a svg { width: 19px; height: 19px; }
}

/* ============================================================
   内页移动端溢出修复（2026-10-16）
   1) 侧栏「PRODUCT CENTER」英文小字 letter-spacing 大、分页条不换行，
      会把 grid 的 1fr 列撑到 700px+ 导致整页横向溢出 → 一律 minmax(0,1fr)
   2) 分页条允许换行
   ============================================================ */
.side-cat { min-width: 0; }
.side-cat .hd small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager { flex-wrap: wrap; }
@media (max-width: 980px) {
    .pl-layout { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .pl-layout { grid-template-columns: minmax(0, 1fr); }
    .pl-head { padding: 14px 16px; }
}
