@charset "utf-8";
/* ==========================================================================
   郑州熙硅胶业 - 前台样式
   ========================================================================== */

:root {
    --primary: #1554f0;
    --primary-600: #0f47d6;
    --primary-dark: #0b2a4a;
    --accent: #ff7a00;
    --text: #2b3445;
    --title: #0b2a4a;
    --muted: #6b7a90;
    --border: #e6eaf2;
    --bg-soft: #f5f8ff;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(11, 42, 74, .08);
    --shadow-hover: 0 14px 36px rgba(11, 42, 74, .16);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; outline: none; }
h1, h2, h3, h4, h5 { color: var(--title); font-weight: 700; line-height: 1.4; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 28px; border: 0; border-radius: 40px;
    font-size: 15px; cursor: pointer; transition: all .3s; background: #eef2f9; color: var(--title);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; box-shadow: 0 8px 20px rgba(21, 84, 240, .3); }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--primary); }
.btn-more { background: transparent; border: 1px solid var(--border); color: var(--muted); height: 40px; padding: 0 24px; }
.btn-more:hover { border-color: var(--primary); color: var(--primary); background: #fff; }

/* ---------- 顶部 ---------- */
.topbar { background: var(--primary-dark); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar .tb-left span { margin-right: 22px; }
.topbar .tb-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch a {
    padding: 2px 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .25);
    font-size: 12px; transition: all .25s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 导航 ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(11, 42, 74, .06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.2; }
.logo-txt b { font-size: 20px; color: var(--title); letter-spacing: 1px; }
.logo-txt span { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 10px 16px; font-size: 16px; color: var(--title);
    border-radius: 6px; position: relative; white-space: nowrap;
}
.nav > li > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
    background: var(--primary); transform: scaleX(0); transition: transform .3s; transform-origin: center;
}
.nav > li > a:hover::after,
.nav > li.on > a::after { transform: scaleX(1); }
.nav > li > a:hover,
.nav > li.on > a { color: var(--primary); }

.nav-toggle {
    display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
    position: relative;
}
.nav-toggle i {
    position: absolute; left: 9px; width: 24px; height: 2px; background: var(--title);
    transition: transform .3s, opacity .3s;
}
.nav-toggle i:nth-child(1) { top: 13px; }
.nav-toggle i:nth-child(2) { top: 20px; }
.nav-toggle i:nth-child(3) { top: 27px; }
.nav-toggle.active i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active i:nth-child(2) { opacity: 0; }
.nav-toggle.active i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 轮播 ---------- */
.slider { position: relative; height: 560px; overflow: hidden; background: var(--primary-dark); }
.slider .slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
    display: flex; align-items: center;
}
.slider .slide.active { opacity: 1; }
.slider .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider .slide-mask {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 40, .78) 0%, rgba(6, 20, 40, .35) 55%, rgba(6, 20, 40, .1) 100%);
}
.slider .slide-txt { position: relative; z-index: 2; max-width: 620px; color: #fff; }
.slider .slide-txt .tag {
    display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 13px;
    background: rgba(255, 122, 0, .9); margin-bottom: 20px; letter-spacing: 1px;
}
.slider .slide-txt h2 { font-size: 46px; color: #fff; line-height: 1.25; margin-bottom: 18px; }
.slider .slide-txt p { font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 32px; }
.slider .slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.slider .arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; transition: background .3s;
}
.slider .arrow:hover { background: var(--primary); }
.slider .arrow.prev { left: 24px; }
.slider .arrow.next { right: 24px; }
.slider .dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.slider .dots i {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45);
    cursor: pointer; transition: all .3s;
}
.slider .dots i.on { width: 32px; border-radius: 6px; background: var(--accent); }

/* ---------- 区块标题 ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .sub {
    display: inline-block; font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 10px; font-weight: 600;
}
.sec-head h2 { font-size: 34px; margin-bottom: 12px; }
.sec-head .line { width: 56px; height: 4px; background: var(--accent); border-radius: 2px; margin: 0 auto 16px; }
.sec-head p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 15px; }
.sec-foot { text-align: center; margin-top: 42px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.pcard .pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pic img { transform: scale(1.08); }
.pcard .pic .mask {
    position: absolute; inset: 0; background: rgba(21, 84, 240, .82);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .35s;
}
.pcard:hover .pic .mask { opacity: 1; }
.pcard .pic .mask span {
    color: #fff; border: 1px solid rgba(255, 255, 255, .8); padding: 8px 22px;
    border-radius: 30px; font-size: 14px;
}
.pcard .info { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pcard .info h3 { font-size: 18px; margin-bottom: 8px; }
.pcard:hover .info h3 { color: var(--primary); }
.pcard .info .spec { font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.pcard .info p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 关于我们（首页） ---------- */
.about-home { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-pic { position: relative; }
.about-pic img { border-radius: var(--radius); width: 100%; }
.about-pic .badge {
    position: absolute; left: -24px; bottom: -24px; background: var(--primary); color: #fff;
    padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-hover);
}
.about-pic .badge b { display: block; font-size: 34px; line-height: 1.1; }
.about-pic .badge span { font-size: 13px; opacity: .85; }
.about-txt h2 { font-size: 32px; margin-bottom: 6px; }
.about-txt .sub { color: var(--primary); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; display: block; }
.about-txt .desc { color: var(--muted); margin-bottom: 26px; }
.about-txt .desc p { margin-bottom: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-item { text-align: center; padding: 16px 8px; border-radius: var(--radius); background: var(--bg-soft); }
.stat-item b { display: block; font-size: 28px; color: var(--primary); line-height: 1.2; }
.stat-item b em { font-style: normal; font-size: 14px; margin-left: 2px; }
.stat-item span { font-size: 13px; color: var(--muted); }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-item {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 26px; transition: all .35s; position: relative; overflow: hidden;
}
.adv-item::before {
    content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px;
    background: var(--primary); transition: width .4s;
}
.adv-item:hover { border-color: transparent; box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.adv-item:hover::before { width: 100%; }
.adv-ico {
    width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #4d8bff 100%); margin-bottom: 18px;
}
.adv-ico svg { width: 30px; height: 30px; fill: #fff; }
.adv-item h3 { font-size: 19px; margin-bottom: 10px; }
.adv-item p { color: var(--muted); font-size: 14px; }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ncard {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.ncard:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.ncard .pic { overflow: hidden; aspect-ratio: 16 / 10; }
.ncard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .pic img { transform: scale(1.07); }
.ncard .info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.ncard .date { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ncard .date b { color: var(--accent); font-size: 22px; font-weight: 700; }
.ncard h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.ncard h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard p { font-size: 14px; color: var(--muted); flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .more-link { margin-top: 14px; font-size: 14px; color: var(--primary); }

/* ---------- 企业风采 ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item {
    position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
    aspect-ratio: 4 / 3; background: var(--primary-dark);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal-item:hover img { transform: scale(1.1); }
.gal-item .cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 18px;
    background: linear-gradient(transparent, rgba(6, 20, 40, .85)); color: #fff;
    transform: translateY(12px); opacity: 0; transition: all .35s;
}
.gal-item:hover .cap { transform: translateY(0); opacity: 1; }
.gal-item .cap b { display: block; font-size: 16px; }
.gal-item .cap span { font-size: 13px; opacity: .8; }
.gal-item .zoom {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(21, 84, 240, .45); opacity: 0; transition: opacity .35s;
}
.gal-item:hover .zoom { opacity: 1; }
.gal-item .zoom i {
    width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-style: normal;
}

/* 图片灯箱 */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(4, 12, 24, .9);
    display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: 92%; max-height: 86%; border-radius: 6px; }
.lightbox .lb-close, .lightbox .lb-nav {
    position: absolute; background: rgba(255, 255, 255, .16); border: 0; color: #fff;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 22px;
}
.lightbox .lb-close { top: 26px; right: 30px; }
.lightbox .lb-nav.prev { left: 30px; }
.lightbox .lb-nav.next { right: 30px; }
.lightbox .lb-cap { position: absolute; bottom: 26px; color: #fff; font-size: 15px; opacity: .9; }

/* ---------- 分类筛选 ---------- */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px;
    padding-bottom: 22px; border-bottom: 1px solid var(--border);
}
.filter-bar a {
    padding: 8px 22px; border-radius: 30px; border: 1px solid var(--border);
    font-size: 15px; color: var(--muted); background: #fff; transition: all .25s;
}
.filter-bar a:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 面包屑 / 内页头部 ---------- */
.page-banner {
    height: 260px; display: flex; align-items: center; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(120deg, #0b2a4a 0%, #1554f0 100%);
}
.page-banner::after {
    content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
    border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.page-banner .pb-in { position: relative; z-index: 2; }
.page-banner h1 { font-size: 38px; color: #fff; margin-bottom: 8px; }
.page-banner p { color: rgba(255, 255, 255, .8); font-size: 15px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .72); margin-bottom: 12px; }
.crumb a { color: rgba(255, 255, 255, .85); }
.crumb a:hover { color: #fff; }

/* ---------- 详情内容 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.article-body { font-size: 15.5px; color: #40495c; line-height: 1.95; }
.article-body p { margin-bottom: 16px; }
.article-body h3 { font-size: 20px; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article-body ul { margin: 0 0 16px 0; }
.article-body li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.article-body li::before {
    content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--primary);
}
.article-body img { max-width: 100%; border-radius: 6px; margin: 10px 0; }
.detail-head { text-align: center; margin-bottom: 34px; }
.detail-head h1 { font-size: 28px; margin-bottom: 12px; }
.detail-head .meta { font-size: 13px; color: var(--muted); }
.detail-head .meta span { margin: 0 10px; }

/* 产品详情 */
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.pdetail .pd-pic { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.pdetail .pd-pic img { width: 100%; }
.pdetail .pd-info h1 { font-size: 30px; margin-bottom: 14px; }
.pdetail .pd-info .spec-line { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.pdetail .pd-info .spec-line b { color: var(--primary); font-weight: 500; }
.pdetail .pd-info .intro {
    padding: 16px 18px; background: var(--bg-soft); border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 26px; color: #4a566b;
}
.pdetail .pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; }
.pd-nav a { color: var(--muted); }
.pd-nav a:hover { color: var(--primary); }

/* 侧边栏 */
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.side-card h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list li a { display: flex; gap: 10px; align-items: baseline; }
.side-list li .idx { color: var(--accent); font-weight: 700; min-width: 18px; }
.side-list li .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-contact li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 9px 0; }
.side-contact li b { color: var(--title); font-weight: 500; min-width: 62px; }

/* ---------- 表单 ---------- */
.form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fitem { display: flex; flex-direction: column; gap: 8px; }
.fitem.full { grid-column: 1 / -1; }
.fitem label { font-size: 14px; color: var(--title); font-weight: 500; }
.fitem label i { color: #e23b3b; font-style: normal; margin-right: 3px; }
.fitem input, .fitem textarea, .fitem select {
    height: 46px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px;
    transition: border-color .25s, box-shadow .25s; background: #fbfcfe;
}
.fitem textarea { height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.fitem input:focus, .fitem textarea:focus, .fitem select:focus {
    border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(21, 84, 240, .1);
}
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: 14px; padding: 10px 16px; border-radius: 6px; display: none; }
.form-msg.ok { display: block; background: #eafaf0; color: #12a150; }
.form-msg.err { display: block; background: #fdeceb; color: #d93b3b; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.contact-info .ci-item:last-child { border-bottom: 0; }
.ci-ico {
    width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ci-ico svg { width: 22px; height: 22px; fill: currentColor; }
.ci-item .txt b { display: block; font-size: 15px; color: var(--title); margin-bottom: 2px; }
.ci-item .txt span { font-size: 15px; color: var(--muted); }
.map-box { margin-top: 26px; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.map-box img { width: 100%; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pagination li { list-style: none; }
.pagination li a, .pagination li span {
    display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
    padding: 0 12px; border-radius: 6px; border: 1px solid var(--border); font-size: 14px; color: var(--muted);
    background: #fff; transition: all .25s;
}
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }
.pagination li.active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination li.disabled span { opacity: .5; cursor: not-allowed; }

/* ---------- 统计条 ---------- */
.stat-bar { padding: 34px 0; background: var(--bg-soft); }
.stat-bar .stat-row { margin-bottom: 0; }

/* ---------- 新闻列表（竖向） ---------- */
.news-list .nl-item {
    display: grid; grid-template-columns: 250px 1fr; gap: 24px;
    padding: 24px 0; border-bottom: 1px solid var(--border);
}
.news-list .nl-item:first-child { padding-top: 0; }
.news-list .nl-item:last-child { border-bottom: 0; }
.news-list .nl-pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.news-list .nl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-list .nl-item:hover .nl-pic img { transform: scale(1.06); }
.news-list .nl-txt h3 { font-size: 19px; margin-bottom: 8px; }
.news-list .nl-item:hover .nl-txt h3 { color: var(--primary); }
.news-list .nl-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.news-list .nl-meta span { margin-right: 16px; }
.news-list .nl-desc { color: var(--muted); font-size: 14px; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
    .news-list .nl-item { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 68px; height: 68px; fill: #d8dfea; margin-bottom: 14px; }

/* ---------- 底部 ---------- */
.footer { background: #0b1d33; color: rgba(255, 255, 255, .68); font-size: 14px; }
.footer .f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent); }
.footer .f-about p { margin-bottom: 16px; line-height: 1.9; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer .f-logo img { height: 40px; }
.footer .f-list li { padding: 7px 0; }
.footer .f-list li a { color: rgba(255, 255, 255, .68); }
.footer .f-list li a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li { padding: 7px 0; display: flex; gap: 8px; }
.footer .f-contact li b { color: #fff; font-weight: 400; min-width: 56px; }
.footer .f-qr { width: 116px; background: #fff; border-radius: 8px; padding: 8px; margin-top: 8px; }
.footer .f-copy {
    border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; text-align: center; font-size: 13px;
}
.footer .f-copy a { color: rgba(255, 255, 255, .6); }
.footer .f-links { padding-bottom: 26px; font-size: 13px; }
.footer .f-links span { color: rgba(255, 255, 255, .5); margin-right: 10px; }
.footer .f-links a { margin-right: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- 悬浮工具 ---------- */
.fixed-tools { position: fixed; right: 18px; bottom: 90px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.fixed-tools a {
    width: 48px; height: 48px; border-radius: 10px; background: #fff; color: var(--primary);
    box-shadow: 0 4px 16px rgba(11, 42, 74, .18); display: flex; align-items: center; justify-content: center;
    transition: all .3s;
}
.fixed-tools a:hover { background: var(--primary); color: #fff; }
.fixed-tools a svg { width: 22px; height: 22px; fill: currentColor; }
.fixed-tools .to-top { opacity: 0; pointer-events: none; }
.fixed-tools .to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .product-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer .f-top { grid-template-columns: 1fr 1fr; }
    .detail-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .topbar .tb-left span:last-child { display: none; }
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 82px; left: 0; right: 0; background: #fff; flex-direction: column;
        align-items: stretch; gap: 0; padding: 8px 0; box-shadow: 0 10px 24px rgba(11, 42, 74, .12);
        display: none;
    }
    .nav.open { display: flex; }
    .nav > li > a { padding: 13px 20px; border-radius: 0; border-bottom: 1px solid #f1f4f9; }
    .nav > li > a::after { display: none; }
    .slider { height: 420px; }
    .slider .slide-txt h2 { font-size: 30px; }
    .slider .slide-txt p { font-size: 15px; }
    .slider .arrow { width: 40px; height: 40px; }
    .about-home, .pdetail, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-pic .badge { left: 16px; bottom: 16px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 52px 0; }
    .sec-head h2 { font-size: 26px; }
    .page-banner { height: 200px; }
    .page-banner h1 { font-size: 26px; }
}

@media (max-width: 640px) {
    .product-grid, .adv-grid, .news-grid, .gal-grid, .form-grid { grid-template-columns: 1fr; }
    .footer .f-top { grid-template-columns: 1fr; gap: 26px; }
    .slider { height: 340px; }
    .slider .slide-txt h2 { font-size: 24px; }
    .form-wrap { padding: 24px 18px; }
    .fixed-tools { right: 10px; bottom: 70px; }
    .fixed-tools a { width: 42px; height: 42px; }
    .detail-head h1 { font-size: 22px; }
}
