/* JZCMS 默认企业模板样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font: 15px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- 头部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 22px; font-weight: bold; color: #1e3a8a; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 16px; border-radius: 6px; color: #374151; transition: .2s; }
.nav a:hover { background: #eef2f7; color: #1e3a8a; }
.nav a.active { background: #1e3a8a; color: #fff; }
.nav-toggle { display: none; border: none; background: none; font-size: 26px; color: #1e3a8a; cursor: pointer; }

/* ---------- 幻灯 ---------- */
.banner { position: relative; height: 440px; overflow: hidden; background: #1e3a8a; }
.banner-item { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.banner-item.on { opacity: 1; }
.banner-item img { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: absolute; left: 0; right: 0; bottom: 60px; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.banner-text h2 { font-size: 38px; margin-bottom: 8px; }
.banner-text p { font-size: 17px; opacity: .92; }
.banner-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 5; }
.banner-dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); margin: 0 5px; cursor: pointer; }
.banner-dots i.on { background: #fff; }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section-gray { background: #f6f8fb; }
.sec-title { text-align: center; font-size: 28px; color: #1e293b; margin-bottom: 36px; position: relative; }
.sec-title::after { content: ""; display: block; width: 46px; height: 3px; background: #2563eb; margin: 12px auto 0; border-radius: 2px; }

/* 关于我们 */
.about-content { max-width: 860px; margin: 0 auto; color: #4b5563; }
.about-content p { margin-bottom: 12px; }
.section .btn { margin-top: 22px; display: inline-block; }

/* 新闻列表 */
.news-list li { display: flex; align-items: center; gap: 18px; padding: 14px 4px; border-bottom: 1px dashed #e2e8f0; }
.news-list li:hover { background: #fff; }
.news-date { color: #94a3b8; font-size: 13px; white-space: nowrap; }
.news-list a { flex: 1; color: #334155; }
.news-list a:hover { color: #2563eb; }

/* 产品卡片 */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-item { background: #fff; border: 1px solid #e8edf3; border-radius: 8px; overflow: hidden; transition: .25s; display: block; }
.card-item:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30,58,138,.12); }
.card-thumb { height: 170px; background: #eef2f7; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-item h3 { font-size: 16px; padding: 14px 14px 4px; color: #1e293b; }
.card-item p { font-size: 13px; color: #94a3b8; padding: 0 14px 16px; }

/* ---------- 页头（内页） ---------- */
.page-head { background: linear-gradient(120deg, #1e3a8a, #2563eb); color: #fff; padding: 46px 0; }
.page-head h1 { font-size: 26px; margin-bottom: 6px; }
.breadcrumb { font-size: 13px; opacity: .85; }
.breadcrumb a { color: #fff; }

/* ---------- 分页列表 / 搜索 ---------- */
.list-page li { display: flex; gap: 18px; padding: 18px 6px; border-bottom: 1px solid #eef1f5; }
.list-date { text-align: center; background: #f1f5f9; border-radius: 8px; padding: 8px 12px; height: fit-content; }
.list-date b { display: block; font-size: 20px; color: #1e3a8a; }
.list-date span { font-size: 12px; color: #94a3b8; }
.list-body h3 { font-size: 17px; margin-bottom: 6px; }
.list-body h3 a:hover { color: #2563eb; }
.list-body p { color: #64748b; font-size: 14px; margin-bottom: 6px; }
.list-cat { font-size: 12px; color: #94a3b8; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 30px; }
.search-form input[type=text] { flex: 1; padding: 10px 14px; border: 1px solid #d7dee8; border-radius: 6px; font-size: 15px; }

/* 分页条 */
.jz-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.jz-pagination li a, .jz-pagination li span { display: inline-block; padding: 7px 14px; border: 1px solid #dbe2ec; border-radius: 6px; color: #374151; background: #fff; }
.jz-pagination li a:hover { border-color: #2563eb; color: #2563eb; }
.jz-pagination li .active { background: #2563eb; border-color: #2563eb; color: #fff; }
.jz-pagination li .disabled { color: #b6c2d2; background: #f6f8fb; }

/* ---------- 文章详情 ---------- */
.article { max-width: 860px; }
.article-meta { display: flex; gap: 24px; color: #94a3b8; font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid #eef1f5; margin-bottom: 24px; }
.article-content { color: #374151; }
.article-content p { margin-bottom: 14px; }
.article-content img { margin: 10px auto; border-radius: 6px; }
.article-content h2, .article-content h3 { margin: 22px 0 12px; color: #1e293b; }
.article-content ul, .article-content ol { padding-left: 26px; margin-bottom: 14px; }
.article-pn { margin-top: 36px; padding-top: 18px; border-top: 1px solid #eef1f5; font-size: 14px; color: #64748b; }
.article-pn a { color: #2563eb; }

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { color: #4b5563; }
.contact-info p { margin-bottom: 8px; }
.contact-form input[type=text], .contact-form textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #d7dee8; border-radius: 6px; margin-bottom: 12px; font-family: inherit; font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #2563eb; }
.jz-honey { position: absolute; left: -9999px; opacity: 0; height: 0; } /* 蜜罐字段 */

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 10px 26px; border-radius: 6px; border: 1px solid #2563eb; color: #2563eb; background: transparent; cursor: pointer; font-size: 15px; transition: .2s; }
.btn:hover { background: rgba(37,99,235,.08); }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #111827; color: #9ca3af; text-align: center; padding: 34px 0; font-size: 14px; }
.site-footer p { margin: 4px 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 0; }
.error-page h1 { font-size: 84px; color: #1e3a8a; margin-bottom: 10px; }
.error-page p { color: #64748b; margin-bottom: 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrap { grid-template-columns: 1fr; }
    .banner { height: 320px; }
    .banner-text h2 { font-size: 26px; }
}
@media (max-width: 600px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 16px; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
    .nav.open { display: flex; }
    .card-grid { grid-template-columns: 1fr; }
    .list-page li { flex-direction: column; gap: 8px; }
    .section { padding: 44px 0; }
}
