@charset "utf-8";
/* BJL Factory Professional Style - V5.0 (Full Content) */

:root {
    --primary: #004098; /* 工业蓝 */
    --accent: #d32f2f;  /* 警示红 */
    --text: #333;
    --gray: #f5f5f5;
    --border: #e6e6e6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", sans-serif; font-size: 14px; color: var(--text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: var(--text); transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1200px; margin: 0 auto; position: relative; }
.section { padding: 80px 0; }
.bg-gray { background: var(--gray); }

/* --- 顶部与头部 --- */
.topbar { background: #eee; color: #666; font-size: 12px; padding: 8px 0; border-bottom: 1px solid #ddd; }
.topbar .container { display: flex; justify-content: space-between; }

header { padding: 20px 0; background: #fff; position: relative; z-index: 100; border-bottom: 3px solid var(--primary); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { height: 60px; margin-right: 15px; }
.logo h1 { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.logo p { font-size: 12px; color: #888; letter-spacing: 1px; }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-size: 16px; font-weight: bold; color: #333; position: relative; padding: 5px 0; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
.cta-btn { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 3px; font-size: 14px; }

/* --- 通告栏 --- */
.notice-bar { background: #fffbe6; border-bottom: 1px solid #ffe58f; padding: 10px 0; font-size: 13px; color: #d48806; overflow: hidden; }
.notice-wrap { display: flex; animation: marquee 20s linear infinite; white-space: nowrap; }
.notice-item { margin-right: 50px; }
.notice-item span { font-weight: bold; margin-right: 5px; color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* --- Banner 轮播 --- */
.hero-slider { position: relative; height: 550px; overflow: hidden; background: #333; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); } 
.slide-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 800px; padding: 0 20px; }
.slide-content h2 { font-size: 48px; font-weight: bold; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.slide-content p { font-size: 18px; margin-bottom: 30px; }
.slider-btn { display: inline-block; padding: 12px 35px; background: var(--primary); color: #fff; font-weight: bold; border-radius: 4px; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; font-size: 24px; padding: 15px; cursor: pointer; z-index: 10; transition: 0.3s; }
.prev:hover, .next:hover { background: var(--primary); }
.prev { left: 0; } .next { right: 0; }

/* --- 资质图标条 --- */
.cert-bar { padding: 30px 0; border-bottom: 1px solid #eee; background: #fff; }
.cert-grid { display: flex; justify-content: space-around; text-align: center; }
.cert-item strong { display: block; font-size: 20px; color: #333; margin-bottom: 5px;}
.cert-item span { font-size: 12px; color: #999; text-transform: uppercase; }

/* --- 通用标题 --- */
.sec-title { text-align: center; margin-bottom: 60px; }
.sec-title h3 { font-size: 32px; color: #222; font-weight: 800; margin-bottom: 10px; }
.sec-title span { display: inline-block; padding: 5px 15px; background: #eee; color: #666; font-size: 12px; text-transform: uppercase; border-radius: 20px; }

/* --- 产品矩阵 --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-card { background: #fff; border: 1px solid #eee; transition: 0.3s; position: relative; overflow: hidden; }
.product-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: transparent; }
.product-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--primary); transform: scaleX(0); transition: 0.3s; transform-origin: left; }
.product-card:hover::after { transform: scaleX(1); }
.p-img { height: 240px; overflow: hidden; background: #f4f4f4; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .p-img img { transform: scale(1.08); }
.p-info { padding: 25px; }
.p-tag { font-size: 12px; color: #999; margin-bottom: 5px; display: block; }
.p-title { font-size: 18px; font-weight: bold; margin-bottom: 15px; color: #222; }
.p-specs li { font-size: 13px; color: #666; margin-bottom: 8px; border-bottom: 1px dashed #eee; padding-bottom: 8px; }

/* --- 关于我们 (交错重叠布局) --- */
.about-section { position: relative; padding: 100px 0; }
.about-wrap { display: flex; align-items: center; }
.about-img-box { flex: 1; position: relative; z-index: 1; padding-right: 50px; }
.about-img-main { width: 100%; border-radius: 4px; box-shadow: 20px 20px 0 var(--gray); }
.about-text-box { flex: 1; background: #fff; padding: 50px; box-shadow: 0 0 30px rgba(0,0,0,0.05); border-left: 5px solid var(--accent); margin-left: -80px; z-index: 2; }
.about-text-box h3 { font-size: 28px; margin-bottom: 20px; font-weight: bold; }
.about-text-box p { margin-bottom: 15px; color: #666; text-align: justify; line-height: 1.8; }

/* --- 🔥 新增：客户评价 (Reviews) --- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: #fff; padding: 30px; border: 1px solid #eee; position: relative; }
.review-card::before { content: '“'; font-size: 60px; color: #eee; position: absolute; top: 10px; left: 20px; font-family: serif; }
.r-text { font-style: italic; color: #555; margin-bottom: 20px; z-index: 2; position: relative; }
.r-user { display: flex; align-items: center; }
.r-avatar { width: 40px; height: 40px; background: #ddd; border-radius: 50%; margin-right: 15px; }
.r-info strong { display: block; font-size: 14px; color: #222; }
.r-info span { font-size: 12px; color: #999; }
.r-stars { color: #f1c40f; margin-top: 5px; font-size: 12px; }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-item { padding-bottom: 20px; border-bottom: 1px solid #eee; }
.faq-q { display: flex; justify-content: space-between; font-weight: bold; color: #333; cursor: pointer; font-size: 16px; margin-bottom: 10px; }
.faq-q::after { content: '+'; color: var(--primary); font-size: 20px; }
.faq-a { color: #666; font-size: 14px; line-height: 1.8; }

/* --- 页脚 --- */
footer { background: #1a1a1a; color: #999; padding-top: 60px; }
.footer-top { padding-bottom: 40px; border-bottom: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.f-title { color: #fff; font-size: 18px; margin-bottom: 25px; font-weight: bold; }
.f-links li { margin-bottom: 12px; }
.f-links a { color: #999; transition: 0.3s; }
.f-links a:hover { color: #fff; padding-left: 5px; }
.copyright { text-align: center; padding: 20px 0; font-size: 12px; background: #111; }