/* 立胜检测 · 门户风格样式（参照政务门户版式） */
:root {
  --blue: #217bd9;
  --blue-d: #1a63ae;
  --ink: #333;
  --muted: #999;
  --line: #e5e5e5;
  --bar: #f2f2f2;
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.7; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }
ul { list-style: none; }

/* ---------- 页头 ---------- */
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.masthead .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-img { width: 58px; height: 58px; object-fit: contain; }
.brand .brand-cn { font-size: 22px; font-weight: 800; color: #1454a6; letter-spacing: 3px; line-height: 1.2; font-family: "Microsoft YaHei", "微软雅黑", sans-serif; }
.brand .brand-en { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
nav.mainnav ul { display: flex; gap: 6px; }
nav.mainnav a { display: block; padding: 8px 16px; font-size: 16px; color: #333; border-radius: 4px; }
nav.mainnav a:hover { color: var(--blue); }
nav.mainnav li.active a { color: var(--blue); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; cursor: pointer; font-size: 18px; color: var(--blue); }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  nav.mainnav { position: absolute; top: 78px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); display: none; }
  nav.mainnav.open { display: block; }
  nav.mainnav ul { flex-direction: column; padding: 10px 16px; }
}

/* ---------- 通用轮播 ---------- */
.carousel { position: relative; overflow: hidden; background: #ddd; }
.carousel .c-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.carousel .c-slide.on { opacity: 1; z-index: 1; }
.carousel .c-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .c-slide a { display: block; height: 100%; }
.carousel .c-slide a img { width: 100%; height: 100%; object-fit: cover; }
.carousel .c-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 38px; height: 60px; border: 0; cursor: pointer; background: rgba(0,0,0,.25); color: #fff; font-size: 22px; transition: background .2s; }
.carousel .c-arrow:hover { background: rgba(0,0,0,.45); }
.carousel .c-prev { left: 0; border-radius: 0 4px 4px 0; }
.carousel .c-next { right: 0; border-radius: 4px 0 0 4px; }
.carousel .c-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.carousel .c-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.carousel .c-dots i.on { background: #fff; }

/* ---------- 主轮播 ---------- */
.hero { height: 330px; }
.hero .c-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,25,60,.25), rgba(10,25,60,.45)); }
.hero .c-cap { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 0 20px; }
.hero .c-cap h2 { font-size: clamp(26px, 4vw, 44px); letter-spacing: 6px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero .c-cap p { margin-top: 14px; font-size: clamp(14px, 1.8vw, 20px); color: rgba(255,255,255,.92); letter-spacing: 1px; }
@media (max-width: 760px) { .hero { height: 210px; } }

/* ---------- 门户版块 ---------- */
.portal { padding: 26px 0 10px; }
.portal-row { display: flex; gap: 22px; margin-bottom: 26px; }
.portal-col3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
@media (max-width: 960px) { .portal-row { flex-direction: column; } .portal-col3 { grid-template-columns: 1fr; } .p-figure { flex: none; } }

/* 左图轮播 */
.p-figure { flex: 0 0 48%; display: flex; }
.p-figure .carousel { flex: 1; height: auto; min-height: 300px; border-radius: 2px; }

/* Tab 新闻块 */
.p-tabbox { flex: 1; border: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.p-tabs { display: flex; background: #fafafa; border-bottom: 2px solid var(--blue); }
.p-tabs button { flex: 0 0 auto; padding: 11px 26px; font-size: 15.5px; border: 0; background: none; cursor: pointer; color: #555; border-right: 1px solid var(--line); }
.p-tabs button:last-child { border-right: 0; }
.p-tabs button.on { background: var(--blue); color: #fff; font-weight: 700; }
.p-tabpanes { padding: 6px 18px 10px; flex: 1; }
.p-tabpane { display: none; }
.p-tabpane.on { display: block; }

/* 列表行：标题 + 日期 */
.p-list li { display: flex; align-items: center; gap: 12px; height: 44px; border-bottom: 1px dashed #e8e8e8; }
.p-list li:last-child { border-bottom: 0; }
.p-list li:hover .t { color: var(--blue); }
.p-list .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.p-list .t::before { content: ""; display: inline-block; width: 4px; height: 4px; background: #bbb; margin-right: 10px; vertical-align: middle; }
.p-list .d { color: var(--muted); font-size: 13px; flex-shrink: 0; }

/* 灰底标题条栏目 */
.p-box { border: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
.p-box-hd { display: flex; align-items: center; background: var(--bar); padding: 10px 16px; border-bottom: 1px solid var(--line); }
.p-box-hd .mk { width: 4px; height: 16px; background: var(--blue); margin-right: 6px; box-shadow: 6px 0 0 var(--blue); }
.p-box-hd h3 { font-size: 17px; font-weight: 700; margin-left: 10px; flex: 1; }
.p-box-hd .more { font-size: 13px; color: var(--muted); }
.p-box-bd { padding: 8px 16px 12px; flex: 1; }

/* 图文条目 */
.p-pic { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e8e8e8; }
.p-pic .thumb { flex: 0 0 118px; height: 78px; overflow: hidden; background: #eee; }
.p-pic .thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-pic .info { min-width: 0; }
.p-pic .info h4 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-pic:hover .info h4 { color: var(--blue); }
.p-pic .info p { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; margin-top: 3px; }
.p-pic .meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* 通栏横幅 */
.p-banner { position: relative; height: 170px; overflow: hidden; margin-bottom: 26px; display: flex; align-items: center; }
.p-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-banner::after { content: ""; position: absolute; inset: 0; background: rgba(8,25,60,.45); }
.p-banner .bd { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.p-banner .t { color: #fff; font-size: clamp(18px, 2.6vw, 26px); font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.p-banner .d { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 4px; }
.btn-outline { display: inline-block; border: 1px solid rgba(255,255,255,.8); color: #fff; padding: 9px 26px; font-size: 14.5px; letter-spacing: 2px; transition: background .2s; }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }

/* 检测领域小列表 */
.p-svc li { display: flex; align-items: center; gap: 10px; height: 46px; border-bottom: 1px dashed #e8e8e8; font-size: 15px; }
.p-svc li:last-child { border-bottom: 0; }
.p-svc li > a:first-child::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--blue); margin-right: 10px; vertical-align: middle; }
.p-svc .go { margin-left: auto; color: var(--muted); font-size: 12.5px; }

/* 招聘摘要块 */
.p-jobs-note { font-size: 14px; color: #555; line-height: 1.8; padding: 8px 0 4px; }
.p-jobs-mail { font-size: 14.5px; padding: 4px 0 14px; }
.p-jobs-mail b { color: var(--blue); }
.btn-outline.blue { display: inline-block; border: 1px solid var(--blue); color: var(--blue); padding: 8px 22px; font-size: 13.5px; border-radius: 3px; }
.btn-outline.blue:hover { background: var(--blue); color: #fff; }

/* 合作伙伴 / 资质 */
.p-partners .bd { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 16px; }
.p-partners .badge { border: 1px solid var(--line); background: #fafafa; border-radius: 4px; padding: 8px 18px; font-size: 14px; color: #444; }
.p-partners .badge b { color: var(--blue); }

/* ---------- 页脚 ---------- */
footer.site-footer { background: #333; color: #bbb; font-size: 14px; margin-top: 20px; }
footer .foot-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding: 38px 0 30px; flex-wrap: wrap; }
footer .foot-info { flex: 1 1 480px; min-width: 0; }
footer h5 { color: #fff; font-size: 19px; margin-bottom: 14px; letter-spacing: 1px; }
footer .foot-contact li { padding: 3px 0; }
footer .foot-contact b { color: #ddd; font-weight: 600; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; font-size: 13px; }
footer .foot-links a { color: #999; }
footer .foot-links a:hover { color: #fff; }
footer .qr { flex: 0 0 auto; text-align: center; color: #bbb; font-size: 13px; }
footer .qr img { width: 108px; height: 108px; background: #fff; padding: 4px; margin-bottom: 8px; }
footer .foot-bottom { border-top: 1px solid #444; padding: 14px 0; text-align: center; font-size: 13px; color: #888; }
footer .foot-bottom .psb { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; color: #888; }
footer .foot-bottom .psb img { height: 19px; width: auto; }
footer .foot-bottom .psb:hover { color: #ccc; }

/* 招贤纳士页 */
.jobs-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, #0b3d91, #217bd9); border-radius: 10px; padding: 30px 34px; color: #fff; margin-bottom: 26px; box-shadow: 0 10px 28px rgba(15,40,90,.18); }
.jobs-hero h2 { font-size: 24px; letter-spacing: 2px; margin-bottom: 8px; }
.jobs-hero .jh-text p { color: #d7e4ff; font-size: 14.5px; max-width: 640px; }
.jobs-hero .jh-mail { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 14px 22px; text-align: center; backdrop-filter: blur(4px); }
.jobs-hero .jh-mail .k { font-size: 12.5px; color: #cfe0ff; }
.jobs-hero .jh-mail .v { font-size: 17px; font-weight: 700; margin-top: 3px; }
.jobs-hero .jh-mail .v a { color: #ffd9ae; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-bottom: 30px; }
.job-card { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 22px 24px; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.job-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--blue), #6db3f2); opacity: 0; transition: opacity .25s; }
.job-card:hover { box-shadow: 0 12px 30px rgba(15,40,90,.14); transform: translateY(-4px); }
.job-card:hover::before { opacity: 1; }
.jc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.jc-head h3 { font-size: 18px; color: #1a3c6e; }
.jc-badge { flex-shrink: 0; background: #eaf3fd; color: var(--blue); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.jc-salary { color: #e6662a; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.jc-req { flex: 1; margin: 4px 0 14px; }
.jc-req li { position: relative; padding: 3px 0 3px 16px; font-size: 13.5px; color: #555; line-height: 1.7; }
.jc-req li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #b9d4f2; }
.jc-apply { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 7px 20px; transition: all .2s; }
.jc-apply:hover { background: var(--blue); color: #fff; }
.jobs-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; border-top: 1px dashed var(--line); padding-top: 26px; }
.jb-item { text-align: center; padding: 18px 12px; }
.jb-item .ico { display: block; font-size: 30px; margin-bottom: 8px; }
.jb-item b { display: block; font-size: 15.5px; color: #1a3c6e; margin-bottom: 4px; }
.jb-item i { font-style: normal; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .jobs-hero { padding: 22px 20px; } .jobs-grid { grid-template-columns: 1fr; } }

/* 关于我们（现代版） */
.about-modern { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .about-modern { grid-template-columns: 1fr; } }
.am-img { position: relative; }
.am-img img { border-radius: 12px; box-shadow: 0 18px 44px rgba(15,40,90,.18); width: 100%; }
.am-img-badge { position: absolute; left: 18px; bottom: 18px; background: linear-gradient(120deg, #0b3d91, #217bd9); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 1px; padding: 8px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(11,61,145,.4); }
.am-kicker { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 4px; margin-bottom: 8px; }
.am-text h2 { font-size: 26px; color: #122c54; margin-bottom: 16px; letter-spacing: 1px; }
.am-text p { color: #444; margin-bottom: 12px; text-indent: 2em; font-size: 15px; line-height: 1.9; }
.am-stats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin-top: 34px; }
@media (max-width: 1100px) { .am-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .am-stats { grid-template-columns: repeat(2, 1fr); } }
.am-stats .st { background: #f4f8fd; border: 1px solid #e3edf9; border-radius: 10px; padding: 16px 6px; text-align: center; }
.am-stats .st b { font-size: 23px; color: var(--blue); white-space: nowrap; }
.am-stats .st b span { font-size: 12px; margin-left: 1px; }
.am-stats .st i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.sec-title { text-align: center; margin-bottom: 30px; }
.sec-title span { font-size: 12.5px; letter-spacing: 4px; color: var(--blue); font-weight: 700; }
.sec-title h2 { font-size: 26px; color: #122c54; margin-top: 6px; letter-spacing: 2px; }
.sec-title h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), #6db3f2); margin: 12px auto 0; }
.cert-grid.modern { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cert-grid.modern figure { border: 1px solid var(--line); border-radius: 10px; padding: 18px 14px 14px; background: #fff; transition: box-shadow .25s, transform .25s; }
.cert-grid.modern figure:hover { box-shadow: 0 14px 32px rgba(15,40,90,.15); transform: translateY(-4px); }
.cert-grid.modern .cg-img { height: 210px; display: flex; align-items: center; justify-content: center; background: #fafbfc; border-radius: 6px; overflow: hidden; }
.cert-grid.modern img { max-height: 200px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.cert-grid.modern figure:hover img { transform: scale(1.05); }
.cert-grid.modern figcaption { font-size: 13.5px; color: #445; margin-top: 12px; font-weight: 600; }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, #0b3d91, #217bd9); border-radius: 12px; padding: 28px 34px; color: #fff; box-shadow: 0 12px 30px rgba(15,40,90,.2); }
.about-cta .t { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.about-cta .d { color: #d7e4ff; font-size: 13.5px; margin-top: 5px; }

/* 检验检测页 */
.tsv-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .tsv-intro { grid-template-columns: 1fr; } }
.ti-text h2 { font-size: 26px; color: #122c54; margin-bottom: 14px; letter-spacing: 1px; }
.ti-text p { color: #444; font-size: 15px; line-height: 1.9; margin-bottom: 10px; }
.ti-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ti-stats .st { background: linear-gradient(150deg, #f2f7fe, #e8f1fc); border: 1px solid #dde9f8; border-radius: 12px; padding: 22px 10px; text-align: center; }
.ti-stats .st b { font-size: 30px; color: var(--blue); }
.ti-stats .st b span { font-size: 13px; margin-left: 1px; }
.ti-stats .st i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 5px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; transition: box-shadow .25s, transform .25s; }
.svc-card:hover { box-shadow: 0 12px 28px rgba(15,40,90,.13); transform: translateY(-3px); }
.svc-card h3 { font-size: 16.5px; color: #c0392b; margin-bottom: 9px; padding-left: 11px; border-left: 4px solid #c0392b; line-height: 1.3; }
.svc-card p { font-size: 13px; color: #555; line-height: 1.85; }
.cap-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .cap-wrap { grid-template-columns: 1fr; } }
.cap-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.cap-box h3 { font-size: 19px; color: #122c54; margin-bottom: 10px; }
.cap-note { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { background: #eef5fd; border: 1px solid #d9e8f8; color: #2a5a97; font-size: 12.5px; border-radius: 999px; padding: 5px 14px; }
.chip.more { background: #fff6ec; border-color: #f5dfc2; color: #c2701c; font-weight: 600; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-grid .tm { background: #f4f8fd; border: 1px solid #e3edf9; border-radius: 10px; padding: 14px 6px; text-align: center; }
.team-grid .tm b { font-size: 24px; color: var(--blue); }
.team-grid .tm b span { font-size: 12px; }
.team-grid .tm i { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.proj-lead { text-align: center; color: #555; font-size: 14.5px; margin: -12px 0 26px; }
.proj-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .proj-list { grid-template-columns: 1fr; } }
.proj-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; transition: box-shadow .25s; }
.proj-item:hover { box-shadow: 0 10px 24px rgba(15,40,90,.12); }
.proj-item .pn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #0b3d91, #217bd9); color: #fff; font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.proj-item .pd b { display: block; font-size: 15px; color: #1a3c6e; line-height: 1.5; }
.proj-item .pd i { font-style: normal; font-size: 12.5px; color: #c0392b; margin-top: 3px; display: inline-block; }
.proj-item .pd .ptag { display: inline-block; font-style: normal; font-size: 11.5px; color: #2a5a97; background: #eef5fd; border: 1px solid #d9e8f8; border-radius: 999px; padding: 1px 10px; margin-left: 8px; vertical-align: 1px; }
.proj-item.more { justify-content: center; background: transparent; border-style: dashed; }
.proj-item.more .pn { background: #eef2f7; color: #7a8aa0; }
.cus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cus-grid { grid-template-columns: 1fr; } }
.cus-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transition: box-shadow .25s, transform .25s; }
.cus-card:hover { box-shadow: 0 12px 28px rgba(15,40,90,.13); transform: translateY(-3px); }
.cus-card b { font-size: 19px; color: #122c54; letter-spacing: 1px; }
.cus-card i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 3px; }
.cus-card img { max-width: 78%; max-height: 76px; object-fit: contain; }
.cus-card.cus-dark { background: #10161f; border-color: #10161f; }
.cus-card.cus-more { background: transparent; border-style: dashed; color: #7a8aa0; }
.cus-card.cus-more b { font-size: 15px; color: #7a8aa0; font-weight: 500; }

/* 回到顶部 */
.to-top { position: fixed; right: 20px; bottom: 26px; width: 42px; height: 42px; border-radius: 4px; background: var(--blue); color: #fff; border: 0; cursor: pointer; font-size: 17px; box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 内页 ---------- */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(115deg, #0c2f66 0%, #1454a6 55%, #1e6ac4 100%); color: #fff; padding: 40px 0; }
.page-banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.7px); background-size: 26px 26px; pointer-events: none; }
.page-banner::after { content: ""; position: absolute; right: -60px; top: -110px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid rgba(255,255,255,.06); pointer-events: none; }
.page-banner .bp-icon { position: absolute; right: 7%; top: 50%; transform: translateY(-50%); width: 150px; height: 150px; pointer-events: none; }
.page-banner .container { position: relative; z-index: 2; }
/* 各栏目主题照片背景（蓝色遮罩保持品牌统一） */
.page-banner.bp-news { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/bn-news.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-testing { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/bn-testing.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-tech { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/hero3.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-cases { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/bn-cases.jpg') 72% 58%/cover no-repeat, #1454a6; }
.page-banner.bp-jobs { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/bn-jobs.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-about { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/about-lab.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-contact { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/hero-city1.jpg') center/cover no-repeat, #1454a6; }
.page-banner.bp-download { background: linear-gradient(115deg, rgba(9,28,66,.82), rgba(20,84,166,.72)), url('../img/hero-city2.jpg') center/cover no-repeat, #1454a6; }
@media (max-width: 760px) { .page-banner .bp-icon { right: 4%; width: 96px; height: 96px; opacity: .8; } }
.page-banner h1 { font-size: 26px; letter-spacing: 2px; }
.page-banner .crumb { margin-top: 6px; font-size: 13.5px; color: #c9d9f5; }
.page-banner .crumb a:hover { color: #fff; }
.section { padding: 28px 0 44px; }
.list-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .list-wrap { grid-template-columns: 1fr; } }
.article-list { display: flex; flex-direction: column; }
.article-list li { border-bottom: 1px dashed #e5e5e5; padding: 14px 4px; display: flex; gap: 18px; align-items: center; }
.article-list li:hover h3 { color: var(--blue); }
.article-list .date { flex-shrink: 0; width: 70px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.article-list .date b { display: block; font-size: 24px; color: var(--blue); line-height: 1.2; }
.article-list .date span { font-size: 12.5px; color: var(--muted); }
.article-list h3 { font-size: 16.5px; margin-bottom: 4px; }
.article-list .sum { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .article-list li { flex-direction: column; align-items: flex-start; gap: 6px; } .article-list .date { width: auto; border-right: 0; padding-right: 0; display: flex; gap: 8px; align-items: baseline; } }
.side-box { border: 1px solid var(--line); margin-bottom: 18px; }
.side-box h4 { background: var(--bar); padding: 10px 16px; font-size: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.side-box h4::before { content: ""; width: 4px; height: 15px; background: var(--blue); margin-right: 14px; box-shadow: 6px 0 0 var(--blue); }
.side-box .bd { padding: 8px 16px 12px; }
.side-box ul { padding: 6px 16px 10px; }
.side-box ul li a { display: block; padding: 8px 4px; border-bottom: 1px dashed #eee; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-box .contact-item { font-size: 14px; padding: 4px 16px; }
.side-box .contact-item b { color: var(--blue); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.pagination a, .pagination span { padding: 7px 13px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.pagination .cur { background: var(--blue); color: #fff; border-color: var(--blue); }

.article-wrap { max-width: 900px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 22px; }
.article-head h1 { font-size: 24px; line-height: 1.6; }
.article-meta { margin-top: 10px; color: var(--muted); font-size: 13.5px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.article-body { padding: 10px 6px 26px; font-size: 16px; line-height: 1.9; border-bottom: 1px solid var(--line); word-break: break-word; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 14px; text-indent: 2em; }
.article-body img { margin: 16px auto; border-radius: 4px; max-width: 100%; height: auto; }
.article-body table { border-collapse: collapse; width: 100%; margin: 14px 0; table-layout: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 10px; font-size: 14.5px; width: auto !important; max-width: 100%; word-break: break-word; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: 14px; }
.article-nav a { border: 1px solid var(--line); border-radius: 4px; padding: 10px 16px; flex: 1; }
.article-nav a:hover { border-color: var(--blue); }

.page-body { padding: 10px 4px 30px; line-height: 1.95; word-break: break-word; overflow-wrap: anywhere; }
.page-body p { margin-bottom: 14px; text-indent: 2em; }
.page-body img { margin: 16px auto; border-radius: 4px; max-width: 100%; height: auto; }
.page-body table { border-collapse: collapse; width: 100%; margin: 14px 0; table-layout: auto; }
.page-body td, .page-body th { border: 1px solid var(--line); padding: 8px 10px; width: auto !important; max-width: 100%; word-break: break-word; }
.page-body .table-content-wrap { width: auto !important; }

/* 资质证书网格 */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 16px 0 8px; }
.cert-grid figure { border: 1px solid var(--line); background: #fff; padding: 14px 10px 10px; text-align: center; transition: box-shadow .2s, transform .2s; }
.cert-grid figure:hover { box-shadow: 0 6px 18px rgba(15,40,90,.12); transform: translateY(-2px); }
.cert-grid img { max-width: 100%; max-height: 230px; width: auto; height: auto; margin: 0 auto; }
.cert-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.4; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); padding: 16px 20px; background: #fafbfc; }
.contact-card .k { font-size: 13px; color: var(--muted); }
.contact-card .v { font-size: 18px; font-weight: 700; color: var(--blue); margin-top: 2px; }
.contact-card .v.small { font-size: 15px; color: #333; }
.form-box { border: 1px solid var(--line); padding: 22px 24px; }
.form-box h3 { margin-bottom: 14px; color: var(--blue); font-size: 17px; }
.form-box label { display: block; font-size: 13.5px; margin: 10px 0 4px; }
.form-box input, .form-box textarea { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 9px 12px; font: inherit; }
.form-box input:focus, .form-box textarea:focus { outline: 2px solid #bcd9f5; border-color: var(--blue); }
.btn { display: inline-block; background: var(--blue); color: #fff !important; font-weight: 600; padding: 11px 30px; border-radius: 4px; border: 0; cursor: pointer; font-size: 15px; }
.btn:hover { background: var(--blue-d); }
.btn.sm { padding: 6px 14px; font-size: 13px; }
.notice-ok { background: #eaf7ee; border: 1px solid #bfe6cc; color: #1c7340; border-radius: 4px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }

.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th { background: var(--bar); text-align: left; padding: 12px 16px; font-size: 14.5px; border: 1px solid var(--line); }
.dl-table td { padding: 12px 16px; border: 1px solid var(--line); font-size: 14.5px; }
.dl-table tr:hover td { background: #f6faff; }
.dl-table .name { font-weight: 600; }
/* 相关下载 · 文件卡片列表 */
.dl-tip { color: var(--muted); font-size: 14px; margin: -8px 0 22px; }
.dl-tip b { color: var(--blue); }
.dl-list { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(9,28,66,.06); overflow: hidden; }
.dl-item { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-top: 1px solid #eef2f8; transition: background .2s; }
.dl-item:first-child { border-top: 0; }
.dl-item:hover { background: #f6faff; }
.dl-ico { width: 44px; height: 50px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; color: #fff; flex-shrink: 0; position: relative; }
.dl-ico::after { content: ""; position: absolute; top: 0; right: 0; border: 8px solid transparent; border-top-color: rgba(255,255,255,.45); border-right-color: rgba(255,255,255,.45); border-radius: 0 6px 0 6px; }
.dl-ico.pdf { background: #d9403f; } .dl-ico.doc { background: var(--blue); } .dl-ico.xls { background: #2aa05a; } .dl-ico.zip { background: #e8963c; } .dl-ico.file { background: #8a97ab; }
.dl-main { flex: 1; min-width: 0; }
.dl-name { font-weight: 600; color: #223; font-size: 15px; }
.dl-item:hover .dl-name { color: var(--blue); }
.dl-meta { margin-top: 6px; color: var(--muted); font-size: 13px; }
.dl-meta span + span::before { content: "　·　"; color: #c3ccd9; }
@media (max-width: 760px) { .dl-item { gap: 12px; padding: 14px 16px; } .dl-ico { width: 36px; height: 42px; font-size: 10px; } }

.err404 { text-align: center; padding: 90px 20px; }
.err404 .code { font-size: 88px; font-weight: 900; color: var(--blue); line-height: 1; }
.err404 p { color: var(--muted); margin: 14px 0 26px; }

/* 导航二级菜单（检测服务） */
.mainnav ul li.has-drop { position: relative; }
.mainnav ul li.has-drop .caret { display: inline-block; width: 0; height: 0; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; transition: transform .2s; }
.mainnav ul li.has-drop:hover .caret { transform: rotate(180deg); }
.mainnav ul li.has-drop .drop { display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 168px; background: #fff; box-shadow: 0 8px 20px rgba(9, 28, 66, .14); border-top: 2px solid var(--blue); padding: 6px 0; list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; z-index: 99; }
.mainnav ul li.has-drop:hover .drop { opacity: 1; visibility: visible; }
.mainnav ul li.has-drop .drop li { margin: 0; }
.mainnav ul li.has-drop .drop a { display: block; padding: 9px 24px; font-size: 14px; color: #333; white-space: nowrap; line-height: 1.4; }
.mainnav ul li.has-drop .drop a:hover { color: var(--blue); background: #f0f6ff; }
@media (max-width: 900px) {
  .mainnav ul li.has-drop .drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-top: 0; display: none; }
  .mainnav ul li.has-drop.open .drop { display: block; }
  .mainnav ul li.has-drop .drop a { padding-left: 34px; }
}

/* 首页资质证书滚动展示 */
.p-cert-scroll { height: 302px; overflow: hidden; position: relative; }
.p-cert-scroll .track { list-style: none; margin: 0; padding: 0; animation: certScroll 50s linear infinite; }
.p-cert-scroll:hover .track { animation-play-state: paused; }
.p-cert-scroll li { border-bottom: 1px dashed #e5e9f0; }
.p-cert-scroll li a { display: flex; align-items: center; gap: 10px; padding: 7px 2px; }
.p-cert-scroll img { width: 48px; height: 34px; object-fit: cover; object-position: top; border: 1px solid #dde3ec; border-radius: 2px; flex: none; background: #fff; }
.p-cert-scroll li a span { font-size: 13px; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-cert-scroll li a:hover span { color: var(--blue); }
@keyframes certScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* 首页资质证书单张轮播 */
.p-cert-one { position: relative; }
.p-cert-one .cvp { height: 302px; overflow: hidden; }
.p-cert-one .ctrack { list-style: none; margin: 0; padding: 0; display: flex; }
.p-cert-one .ctrack li { flex: 0 0 100%; height: 302px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 4px 10px; }
.p-cert-one .ctrack img { max-height: 238px; max-width: 96%; object-fit: contain; border: 1px solid #dde3ec; border-radius: 2px; background: #fff; box-shadow: 0 2px 8px rgba(9, 28, 66, .08); }
.p-cert-one .cap { font-size: 13px; color: #444; max-width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-cert-one .cnum { position: absolute; right: 8px; bottom: 6px; font-size: 12px; color: #98a3b3; background: rgba(255,255,255,.85); padding: 1px 8px; border-radius: 9px; }
.p-cert-one .cnum b { color: var(--blue); }

/* 走进立胜 实验室照片轮播 */
.lab-carousel { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #fff; }
.lab-carousel img.lab-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.lab-carousel img.lab-slide.on { opacity: 1; }
.lab-carousel .lab-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(9, 28, 66, .35); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s; z-index: 2; }
.lab-carousel .lab-arrow:hover { background: rgba(9, 28, 66, .62); }
.lab-carousel .lab-prev { left: 10px; }
.lab-carousel .lab-next { right: 10px; }
.lab-carousel .lab-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 0 12px; z-index: 2; }
.lab-carousel .lab-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; transition: all .2s; }
.lab-carousel .lab-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.lab-carousel .lab-count { position: absolute; right: 10px; top: 10px; font-size: 12px; color: #fff; background: rgba(9, 28, 66, .45); padding: 2px 9px; border-radius: 9px; z-index: 2; }
.lab-carousel .lab-count b { color: #ffd25e; }

/* 详情页服务闭环 */
.svc-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.svc-flow > span { padding: 8px 20px; border-radius: 20px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.svc-flow span.fstep { border: 1px solid #d7e3f5; background: #f5f9ff; color: #333; font-weight: 400; }
.svc-flow i { color: #98a3b3; font-style: normal; }

.wx-article-body p, .article-body .rich_media_content p { text-indent: 0; }

/* 服务详情 左文右图 */
.svc-intro { display: flex; gap: 36px; align-items: flex-start; }
.svc-intro .txt { flex: 1; min-width: 0; }
.svc-intro .pic { flex: 0 0 400px; position: sticky; top: 96px; }
.svc-intro .pic img { width: 100%; border-radius: 10px; box-shadow: 0 8px 26px rgba(20,60,120,.16); }
@media (max-width: 900px) { .svc-intro { flex-direction: column; } .svc-intro .pic { flex: none; width: 100%; position: static; } }

/* 服务详情 底部宽幅图 */
.svc-photo { margin-top: 30px; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(16,45,90,.18); aspect-ratio: 5 / 1; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.svc-photo:hover img { transform: scale(1.03); }

/* 检测服务选项卡 */
.svc-tabbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.svc-tab { padding: 9px 22px; border: 1px solid #d7e3f4; background: #fff; color: #333; font-size: 15px; border-radius: 999px; cursor: pointer; transition: all .25s; font-family: inherit; }
.svc-tab:hover { color: var(--blue); border-color: var(--blue); }
.svc-tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.svc-panel { display: none; }
.svc-panel.on { display: block; animation: svcfade .35s ease; }
@keyframes svcfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.svc-panel .svc-grid { margin-top: 24px; }
#svc-fields { scroll-margin-top: 64px; }

/* 组合logo */
.brand .logo-full { height: 58px; width: auto; display: block; border-radius: 10px; }

/* 首页左侧导航边栏 */
.quicklinks { position: fixed; left: 14px; top: min(458px, calc(100vh - 480px)); width: 78px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 26px rgba(9,28,66,.14); z-index: 98; overflow: hidden; }
.quicklinks h4 { margin: 0; font-size: 13px; letter-spacing: 3px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-d)); padding: 9px 0 8px; }
.quicklinks a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 5px; font-size: 12px; line-height: 1.4; color: #45536a; text-align: center; border-top: 1px dashed #e6ebf2; transition: background .2s, color .2s; word-break: break-all; }
.quicklinks a:first-of-type { border-top: 0; }
.quicklinks a:hover { background: #f0f6ff; color: var(--blue); }
.quicklinks svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
@media (max-width: 1400px) { .quicklinks { display: none; } }
