/* industry-01 工业制造企业模板 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #2b3038;
    line-height: 1.7;
    background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container, 1280px); margin: 0 auto; padding: 0 24px; }

/* 头部 */
.site-header { border-bottom: 1px solid #e8eaee; background: #fff; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--primary); }
.logo img { height: 40px; width: auto; display: block; }
.nav a { margin-left: 32px; font-size: 15px; color: #3c4350; }
.nav a:hover { color: var(--primary); }

/* Banner */
.hero { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 65%, #0a1c33)); color: #fff; padding: 96px 0; }
.hero--center { text-align: center; }
.hero h1 { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.hero-subtitle { font-size: 18px; opacity: .85; margin-bottom: 32px; }

.page-banner { background: var(--primary); color: #fff; padding: 48px 0; }
.page-banner h1 { font-size: 30px; }

/* 通用 */
.section { padding: 72px 0; }
.section h2 { font-size: 28px; margin-bottom: 32px; text-align: center; }
.section-more { text-align: center; margin-top: 40px; }
.empty { color: #9aa1ad; text-align: center; padding: 48px 0; }

.btn {
    display: inline-block; padding: 12px 32px; border-radius: 4px;
    background: #fff; color: var(--primary); font-weight: 600;
}
.btn--outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }

/* 产品 */
.category-tabs { text-align: center; margin-bottom: 32px; }
.category-tab {
    display: inline-block; padding: 6px 20px; margin: 0 6px 8px;
    border: 1px solid #d8dce3; border-radius: 999px; font-size: 14px; color: #555d6a;
}
.product-grid { display: grid; grid-template-columns: repeat(var(--columns, 4), 1fr); gap: 24px; }
.product-card {
    border: 1px solid #e8eaee; border-radius: 8px; overflow: hidden;
    transition: box-shadow .2s, transform .2s; background: #fff;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(20, 40, 80, .12); transform: translateY(-2px); }
.product-card img, .product-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef1f5; }
.product-card h3 { font-size: 16px; padding: 14px 16px 4px; color: #222834; }
.product-card p {
    font-size: 13px; color: #79818e; padding: 0 16px 16px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.list-category { font-size: 20px; margin: 40px 0 20px; border-left: 4px solid var(--primary); padding-left: 12px; text-align: left; }

/* 新闻 */
.news-list { list-style: none; max-width: 860px; margin: 0 auto; }
.news-list li { display: flex; flex-wrap: wrap; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #e3e6eb; }
.news-list li a { flex: 1; font-size: 15px; min-width: 60%; }
.news-list li a:hover { color: var(--primary); }
.news-list li time { color: #9aa1ad; font-size: 13px; }
.news-list li p { width: 100%; color: #79818e; font-size: 13px; margin-top: 4px; }

/* 详情 */
.detail-layout { max-width: 960px; }
.detail-summary { font-size: 16px; color: #555d6a; background: #f4f6f9; padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; }
.detail-body { font-size: 15px; }
.detail-body h2 { text-align: left; font-size: 22px; margin: 28px 0 12px; }
.detail-body p { margin-bottom: 14px; }
.detail-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table th, .spec-table td { border: 1px solid #e3e6eb; padding: 10px 16px; font-size: 14px; text-align: left; }
.spec-table th { background: #f4f6f9; width: 180px; font-weight: 600; }
.article-detail { max-width: 860px; }
.article-meta { color: #9aa1ad; margin-bottom: 20px; }
.article-cover { border-radius: 8px; margin-bottom: 24px; }

/* 关于 */
.about-body { max-width: 860px; margin: 0 auto; font-size: 15px; color: #4a5260; }

/* 页脚 */
.site-footer { background: #1c2330; color: #8d96a5; padding: 32px 0; margin-top: 48px; font-size: 14px; text-align: center; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #aab3c0; }

/* 响应式 */
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr; }
    .nav a { margin-left: 16px; font-size: 14px; }
    .hero { padding: 64px 0; }
    .hero h1 { font-size: 28px; }
}
