/* ============================================================
   特凌风无油空压机官网 - 全站样式
   风格：严谨、专业的企业蓝白风（与品牌 VI 一致）
   适配：桌面 / 平板 / 移动端
   ============================================================ */
:root {
    --blue: #1e5aa8;        /* 品牌蓝 */
    --blue-dark: #164a8c;
    --blue-deep: #0f3465;
    --blue-light: #eaf2fb;
    --blue-mid: #cfe0f3;
    --red: #d43c33;         /* 品牌红（logo 下划线） */
    --text: #2b3440;
    --text-2: #5a6675;
    --line: #e3e8ee;
    --bg: #ffffff;
    --bg-alt: #f5f8fc;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(20, 60, 120, .08);
    --shadow-hover: 0 8px 24px rgba(20, 60, 120, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text); background: var(--bg);
    font-size: 16px; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3 { font-weight: 700; line-height: 1.35; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 880px; }

/* ---------------- 顶部 ---------------- */
.topbar { background: var(--blue-deep); color: #cfe0f3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; flex-wrap: wrap; gap: 4px; }
.topbar-phone a { color: #fff; font-weight: 700; margin-left: 4px; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 17px; color: var(--blue-dark); letter-spacing: .5px; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--text-2); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a {
    display: block; padding: 10px 18px; font-size: 16px; color: var(--text);
    border-radius: 4px; font-weight: 500;
}
.nav ul a:hover, .nav ul a.on { color: #fff; background: var(--blue); }
.nav-call {
    background: var(--red); color: #fff; font-weight: 700; padding: 10px 18px;
    border-radius: 4px; white-space: nowrap; font-size: 16px;
}
.nav-call:hover { background: #b92f27; color: #fff; }
.nav-call i { font-style: normal; margin-right: 6px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--blue); margin: 4px 0; border-radius: 2px; }

/* ---------------- 首屏 ---------------- */
.hero {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 62%, #3b74c4 100%);
    color: #fff; overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 40px; padding: 56px 20px; }
.hero-text { flex: 1.15; }
.hero h1 { font-size: 40px; letter-spacing: 1px; margin-bottom: 18px; }
.hero-sub { font-size: 16px; opacity: .92; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; opacity: .8; }
.hero-img { flex: 1; min-width: 0; }
.hero-img img { width: 100%; filter: drop-shadow(0 12px 28px rgba(0,0,0,.3)); }

/* ---------------- 按钮 ---------------- */
.btn { display: inline-block; padding: 11px 26px; border-radius: 6px; font-size: 16px; font-weight: 600; transition: .18s; cursor: pointer; border: none; }
.btn-lg { padding: 15px 34px; font-size: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b92f27; color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: #eaf2fb; color: var(--blue-dark); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------------- 信任指标条 ---------------- */
.stats-bar { background: var(--blue-light); border-bottom: 1px solid var(--blue-mid); }
.stats-grid { display: flex; flex-wrap: wrap; }
.stat { flex: 1; min-width: 150px; text-align: center; padding: 22px 8px; }
.stat strong { display: block; font-size: 30px; color: var(--blue-dark); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--text-2); }

/* ---------------- 区块 ---------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-size: 30px; color: var(--blue-deep); position: relative; display: inline-block; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; background: var(--red); border-radius: 2px; }
.sec-head p { color: var(--text-2); margin-top: 12px; }
.sec-title { font-size: 24px; color: var(--blue-deep); text-align: center; margin-bottom: 26px; }

/* ---------------- 分类卡片 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--blue-mid); }
.cat-card > a { display: block; padding-bottom: 18px; color: inherit; }
.cat-img { background: linear-gradient(160deg, #f2f7fd, #e2ecf8); padding: 18px; display: flex; align-items: center; justify-content: center; height: 170px; }
.cat-img img { max-height: 134px; width: auto; max-width: 100%; object-fit: contain; }
.cat-card h3 { font-size: 17px; color: var(--blue-deep); text-align: center; padding: 14px 14px 2px; }
.cat-short { text-align: center; font-size: 12.5px; color: var(--red); padding: 2px 12px 6px; }
.cat-desc { font-size: 13px; color: var(--text-2); padding: 0 16px; line-height: 1.65; }
.cat-more { display: block; text-align: center; margin-top: 10px; color: var(--blue); font-size: 14px; }

/* ---------------- 双栏 ---------------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.col-text h2 { font-size: 26px; color: var(--blue-deep); margin-bottom: 16px; }
.col-text p { margin-bottom: 16px; color: var(--text-2); }
.col-text .btn { margin-top: 8px; }
.check-list { margin: 0 0 18px; }
.check-list li { padding: 7px 0 7px 28px; position: relative; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 4px; top: 7px; color: var(--blue); font-weight: 700; }

.tbl-title { font-size: 18px; color: var(--blue-deep); text-align: center; margin-bottom: 14px; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: center; }
.data-table thead th { background: var(--blue); color: #fff; font-weight: 600; }
.data-table tr.hl td { background: var(--red); color: #fff; font-weight: 700; }
.data-table tbody tr:nth-child(even):not(.hl) td { background: #f7fafd; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-note { font-size: 12.5px; color: var(--text-2); margin-top: 10px; }

/* ---------------- 优势 ---------------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: .2s; }
.adv-card:hover { box-shadow: var(--shadow-hover); border-color: var(--blue-mid); }
.adv-no { display: inline-block; font-size: 14px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 50%; width: 34px; height: 34px; line-height: 34px; text-align: center; margin-bottom: 12px; }
.adv-card h3 { font-size: 18px; color: var(--blue-deep); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--text-2); }

/* ---------------- 应用行业 ---------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-grid-lg { grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; transition: .2s; position: relative; }
.ind-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.ind-card h3 { font-size: 18px; color: var(--blue-deep); margin-bottom: 8px; padding-left: 14px; }
.ind-card h3::before { content: ""; position: absolute; left: 22px; top: 29px; width: 4px; height: 16px; background: var(--red); border-radius: 2px; }
.ind-card p { font-size: 13.5px; color: var(--text-2); }
.ind-card.ind-lg { padding: 28px; }
.ind-card.ind-lg h2 { font-size: 21px; color: var(--blue-deep); margin-bottom: 10px; }
.ind-card.ind-lg p { font-size: 14.5px; }
.ind-no { position: absolute; right: 18px; top: 16px; font-size: 30px; font-weight: 800; color: var(--blue-light); }
.center-link { text-align: center; margin-top: 28px; font-size: 16px; }
.center-p { text-align: center; color: var(--text-2); }

/* ---------------- FAQ ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; background: var(--bg-alt); list-style: none; display: flex; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--blue); transition: .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { font-size: 16px; color: var(--text); font-weight: 600; }
.faq-a { padding: 16px 20px; }
.faq-a p { color: var(--text-2); font-size: 15px; }

/* ---------------- CTA 横幅 ---------------- */
.cta-band { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 20px; flex-wrap: wrap; }
.cta-band h2 { font-size: 24px; margin-bottom: 8px; }
.cta-band p { opacity: .88; font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-inline { margin: 40px 0 60px; border-radius: var(--radius); }
.cta-inline .cta-inner { padding: 34px 30px; }

/* ---------------- 页头（内页） ---------------- */
.page-head { background: var(--blue-light); border-bottom: 1px solid var(--blue-mid); padding: 26px 0; }
.crumbs { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.crumbs a { color: var(--text-2); }
.crumbs span { margin: 0 8px; color: #b7c2ce; }
.page-head h1 { font-size: 28px; color: var(--blue-deep); }
.page-sub { color: var(--text-2); margin-top: 6px; font-size: 15px; }

/* ---------------- 分类筛选 ---------------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.cat-filter a { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 14.5px; background: #fff; }
.cat-filter a:hover { border-color: var(--blue); color: var(--blue); }
.cat-filter a.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.cat-intro { background: var(--bg-alt); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px; }
.cat-intro p { color: var(--text-2); font-size: 15px; }

/* ---------------- 产品卡片 ---------------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 10px; }
.prod-grid-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.prod-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.prod-card > a { display: block; color: inherit; padding-bottom: 18px; }
.prod-img { height: 210px; background: linear-gradient(160deg, #f4f8fd, #e4eef9); display: flex; align-items: center; justify-content: center; padding: 20px; }
.prod-img img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; }
.prod-card h3 { font-size: 17px; color: var(--blue-deep); padding: 14px 18px 0; }
.prod-model { font-size: 13px; color: var(--red); padding: 2px 18px 0; }
.prod-params { font-size: 13.5px; color: var(--text-2); padding: 6px 18px 0; }
.prod-more { display: inline-block; margin: 10px 18px 0; color: var(--blue); font-size: 14px; }
.empty { padding: 60px 0; text-align: center; color: var(--text-2); }

/* ---------------- 产品详情 ---------------- */
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 34px 0 46px; align-items: start; }
.pdetail-imgs { display: flex; flex-direction: column; gap: 16px; }
.pdetail-img { background: linear-gradient(160deg, #f4f8fd, #e4eef9); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pdetail-img.main { padding: 40px; }
.pdetail-title { font-size: 24px; color: var(--blue-deep); margin-bottom: 12px; }
.pdetail-params { font-size: 15px; color: var(--text); background: var(--blue-light); padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.pdetail-params b { color: var(--blue-dark); }
.pdetail-summary { color: var(--text-2); margin-bottom: 16px; }
.promise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.promise-list li { font-size: 14px; color: var(--text); }
.pdetail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pdetail-tip { font-size: 13px; color: var(--text-2); background: var(--bg-alt); padding: 10px 14px; border-radius: 6px; border: 1px dashed var(--blue-mid); }
.pdetail-sec { margin: 46px 0; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat-list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 16px; font-size: 14.5px; color: var(--text-2); }
.feat-list li strong { display: block; color: var(--blue-deep); font-size: 15px; margin-bottom: 4px; }
.spec-table { min-width: 720px; }

/* ---------------- 关于 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; margin: 34px 0 10px; align-items: start; }
.about-text h2 { font-size: 24px; color: var(--blue-deep); margin-bottom: 14px; }
.about-text p { color: var(--text-2); margin-bottom: 14px; }
.about-side img { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #f4f8fd, #e4eef9); padding: 20px; }
.about-contact-card { background: var(--blue-deep); color: #fff; border-radius: var(--radius); padding: 22px; margin-top: 18px; text-align: center; }
.about-contact-card h3 { font-size: 17px; margin-bottom: 14px; }
.small-tip { font-size: 12.5px; color: var(--text-2); margin-top: 10px; text-align: center; }
.about-contact-card .small-tip { color: #a9c3e4; }

/* ---------------- 联系 ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; margin: 34px 0 60px; align-items: start; }
.contact-info h2, .contact-form-box h2 { font-size: 22px; color: var(--blue-deep); margin-bottom: 18px; }
.contact-info address { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-info address p { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.contact-info address p:last-child { border-bottom: none; }
.contact-info address span { color: #8b98a7; min-width: 76px; }
.ci-phone span { align-self: center; }
.ci-phone a { font-size: 26px; font-weight: 800; color: var(--red); }
.contact-tip { margin-top: 18px; background: var(--bg-alt); border: 1px solid var(--blue-mid); border-radius: var(--radius); padding: 18px 20px; }
.contact-tip h3 { font-size: 15.5px; color: var(--blue-dark); margin-bottom: 8px; }
.contact-tip ol { list-style: decimal; padding-left: 22px; }
.contact-tip li { font-size: 14px; color: var(--text-2); padding: 3px 0; }
.contact-form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.form-row label i { color: var(--red); font-style: normal; }
.form-row input, .form-row textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px;
    font-size: 15px; font-family: inherit; color: var(--text); background: #fbfcfe;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(30, 90, 168, .12); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-ok { background: #eefaf1; border: 1px solid #bfe6c9; color: #1d7a3a; border-radius: var(--radius); padding: 24px; text-align: center; }
.form-ok h3 { font-size: 17px; }
.form-err { background: #fdf0ef; border: 1px solid #f2c6c2; color: #b92f27; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--blue-deep); color: #a9c3e4; margin-top: 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 44px 20px 34px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; font-weight: 600; }
.footer-about p { line-height: 1.8; }
.footer-col ul li { padding: 4px 0; }
.footer-col ul a { color: #a9c3e4; }
.footer-col ul a:hover { color: #fff; }
.footer-contact p { padding: 3px 0; }
.f-phone a { color: #ff8f87; font-size: 18px; font-weight: 700; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.5px; }
.copyright a { color: #a9c3e4; }

/* ---------------- 移动端底部快捷栏 ---------------- */
.m-actionbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -3px 14px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
.m-actionbar a { flex: 1; text-align: center; padding: 8px 4px 10px; font-size: 12px; color: var(--text-2); line-height: 1.4; }
.m-actionbar b { font-size: 15px; }
.m-actionbar .m-call { color: var(--red); }
.m-actionbar .m-call i { font-style: normal; font-size: 16px; }
.m-actionbar .m-msg { background: var(--blue); color: #fff; font-weight: 600; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .hero-inner { flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero h1 { font-size: 30px; }
    .hero-actions, .cta-actions { justify-content: center; }
    .hero-img { max-width: 520px; }
    .two-col, .pdetail, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .prod-grid, .prod-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .ind-grid, .ind-grid-lg { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feat-list { grid-template-columns: 1fr; }
    /* 移动端导航 */
    .navbar { position: relative; padding-right: 70px; }
    .nav-toggle {
        display: block; position: absolute; right: 18px; top: 50%;
        transform: translateY(-50%); margin: 0;
    }
    .brand { min-width: 0; padding-right: 0; }
    .brand-text em { display: none; }
    .brand-text strong { font-size: 14px; white-space: normal; line-height: 1.4; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: stretch;
        box-shadow: var(--shadow); padding: 8px 16px 16px; z-index: 99; gap: 4px;
    }
    .navbar { position: relative; flex-wrap: wrap; }
    .nav.open { display: flex; }
    .nav ul { flex-direction: column; }
    .nav ul a { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-call { text-align: center; margin-top: 8px; }
}
@media (max-width: 560px) {
    body { font-size: 15px; }
    .topbar-slogan { display: none; }
    .topbar-inner { justify-content: center; }
    .brand-logo { height: 42px; }
    .brand-text strong { font-size: 18px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-img { height: 130px; padding: 12px; }
    .cat-img img { max-height: 104px; }
    .cat-card h3 { font-size: 15px; }
    .cat-desc { display: none; }
    .adv-grid { grid-template-columns: 1fr; }
    .prod-grid, .prod-grid-3 { grid-template-columns: 1fr; }
    .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid var(--blue-mid); }
    .section { padding: 44px 0; }
    .sec-head h2 { font-size: 24px; }
    .cta-band h2 { font-size: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 22px; }
    .promise-list { grid-template-columns: 1fr; }
    .pdetail-actions .btn, .hero-actions .btn { width: 100%; text-align: center; }
    /* 给底部固定栏留出空间 */
    body { padding-bottom: 58px; }
    .site-footer { padding-bottom: 0; }
}

/* ===== 产品详情：图文说明区 ===== */
.pdetail-article h3 { font-size: 17px; color: var(--blue-dark); margin: 18px 0 8px; }
.pdetail-article p { color: var(--text-2, #445); line-height: 1.9; margin: 6px 0; }
.art-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0; }
.art-fig { margin: 12px 0; text-align: center; }
.art-fig img { max-width: 100%; height: auto; border: 1px solid #e3e8f0; border-radius: 6px; background: #fff; }
.art-fig figcaption { font-size: 13px; color: #7a849a; margin-top: 6px; }

/* ===== 产品中心：分类锚点导航 ===== */
.cat-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.cat-jump a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line, #dfe5ee); border-radius: 999px; font-size: 14px; color: var(--blue-dark); background: #fff; text-decoration: none; }
.cat-jump a:hover { background: var(--blue, #1f5fae); color: #fff; border-color: var(--blue, #1f5fae); }
.prod-cat { padding-top: 18px; }
.prod-params { font-size: 13px; color: #6b7590; margin-top: 4px; }

/* ===== 技术百科 ===== */
.bk-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.bk-card:hover { box-shadow: 0 8px 24px rgba(31,95,174,.12); transform: translateY(-2px); }
.bk-card > a { display: block; padding: 18px 20px; text-decoration: none; color: inherit; }
.bk-card.has-thumb > a { display: flex; gap: 16px; padding: 14px; }
.bk-thumb { flex: 0 0 168px; }
.bk-thumb img { width: 168px; height: 112px; object-fit: cover; border-radius: 8px; background: #f2f5fa; }
.bk-card-body { min-width: 0; }
.bk-card h3 { font-size: 17px; color: var(--blue-dark, #1a4a8f); margin: 0 0 8px; line-height: 1.5; }
.bk-summary { font-size: 14px; color: #5b6579; line-height: 1.8; margin: 0 0 10px; }
.bk-meta { font-size: 13px; color: #8a93a8; margin: 0 0 8px; display: flex; gap: 14px; }
.bk-meta span { background: #eef3fb; color: #1f5fae; padding: 2px 10px; border-radius: 999px; }
.bk-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0; }
.bk-empty { padding: 40px; text-align: center; color: #8a93a8; }
.bk-pager { display: flex; gap: 8px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.bk-pager a, .bk-tab { padding: 7px 14px; border: 1px solid #dfe5ee; border-radius: 8px; font-size: 14px; color: #1a4a8f; background: #fff; text-decoration: none; }
.bk-pager a.on, .bk-tab.on { background: #1f5fae; color: #fff; border-color: #1f5fae; }

.bk-article { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 32px 36px; max-width: 900px; margin: 24px auto; }
.bk-art-head h1 { font-size: 26px; color: #16324f; line-height: 1.5; margin: 0 0 12px; }
.bk-cover { margin: 18px 0; }
.bk-cover img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid #e3e8f0; }
.bk-art-body { font-size: 16px; color: #333f52; line-height: 2; }
.bk-art-body h3 { font-size: 19px; color: #1a4a8f; margin: 26px 0 10px; }
.bk-art-body p { margin: 10px 0; }
.bk-art-body img { max-width: 100%; height: auto; }
.bk-art-body table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }
.bk-art-body th, .bk-art-body td { border: 1px solid #dfe5ee; padding: 8px 12px; }
.bk-art-body th { background: #f2f5fa; }
.bk-art-foot { margin-top: 28px; padding-top: 18px; border-top: 1px dashed #dfe5ee; color: #5b6579; font-size: 14px; }
.bk-rel { list-style: none; padding: 0; margin: 10px 0 0; }
.bk-rel li { padding: 8px 0; border-bottom: 1px dashed #edf0f6; }
.bk-rel a { color: #1a4a8f; text-decoration: none; }
.bk-rel a:hover { text-decoration: underline; }

/* ===== 后台 ===== */
.admin-body { background: #f2f5fa; font-family: "Microsoft YaHei", system-ui, sans-serif; margin: 0; padding: 24px 0; }
.admin-login { max-width: 380px; margin: 8vh auto; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; padding: 30px; }
.admin-login h1 { font-size: 20px; color: #16324f; }
.admin-login label { display: block; margin: 14px 0; font-size: 14px; color: #5b6579; }
.admin-login input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #dfe5ee; border-radius: 8px; margin-top: 5px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.admin-head h1 { font-size: 22px; color: #16324f; margin: 0; }
.admin-head p { margin: 0; font-size: 13px; color: #8a93a8; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; overflow: hidden; font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid #edf0f6; text-align: center; }
.admin-table th { background: #f2f5fa; color: #44506a; }
.admin-table .ta-left { text-align: left; }
.admin-table .ta-left a { color: #1a4a8f; text-decoration: none; }
.admin-ops { display: inline-flex; gap: 6px; align-items: center; }
.admin-ops form { display: inline; }
.admin-form { background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 24px; }
.admin-form label { display: block; margin: 14px 0 6px; font-size: 14px; color: #44506a; }
.admin-form input[type=text], .admin-form select, .admin-form textarea, .admin-form input[type=file] {
    width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #dfe5ee; border-radius: 8px; font-size: 14px; margin-top: 5px; font-family: inherit; }
.admin-content { font-family: Consolas, monospace; font-size: 13px; line-height: 1.7; }
.admin-err { background: #fdecec; color: #b42318; border: 1px solid #f5c6c6; border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.tag-ok { color: #0a7d43; background: #e5f6ec; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.tag-draft { color: #9a6700; background: #fff3d1; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-danger { background: #d64545; color: #fff; border: none; border-radius: 8px; cursor: pointer; }
.admin-tip { font-size: 13px; color: #8a93a8; }

@media (max-width: 640px) {
    .bk-card.has-thumb > a { flex-direction: column; }
    .bk-thumb img { width: 100%; height: 160px; }
    .bk-article { padding: 20px 16px; }
}

/* ===== 文章底部推荐产品 ===== */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 16px 0; }
.rec-card { display: block; background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; padding: 14px; text-decoration: none; text-align: center; transition: box-shadow .2s, transform .2s; }
.rec-card:hover { box-shadow: 0 8px 24px rgba(31,95,174,.12); transform: translateY(-2px); }
.rec-thumb { height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.rec-thumb img { max-height: 130px; max-width: 100%; object-fit: contain; }
.rec-card h3 { font-size: 15px; color: var(--blue-dark, #1a4a8f); margin: 0 0 6px; line-height: 1.5; }
.rec-model { font-size: 13px; color: #7a849a; margin: 0 0 8px; }
.rec-more { font-size: 13px; color: #1f5fae; }
