/* ==========================================================================
   武汉博百欧生物科技有限公司 · 现代化官网样式
   配色沿用原站蓝白系 · 强调留白、层级、一致性
   ========================================================================== */
:root {
  --brand: #1f5fa8;
  --brand-dark: #17497f;
  --brand-deep: #103a66;
  --accent: #0070c0;
  --brand-tint: #eef4fb;
  --ink: #16202c;
  --muted: #5d6c7d;
  --faint: #8a97a6;
  --line: #e7ecf2;
  --bg: #f6f9fc;
  --card: #ffffff;
  --ok: #0f8a5f;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --container: 1180px;
  --shadow-sm: 0 1px 2px rgba(23, 73, 127, .06), 0 2px 8px rgba(23, 73, 127, .06);
  --shadow-md: 0 6px 24px rgba(23, 73, 127, .10);
  --shadow-lg: 0 16px 48px rgba(23, 73, 127, .14);
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", -apple-system, "Segoe UI", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.75; background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all .2s; border: 1px solid transparent; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-tint); }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--brand-deep); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a:hover { color: #fff; }
.topbar span + span { margin-left: 20px; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #5176AB; border-bottom: 1px solid rgba(255,255,255,.10); box-shadow: 0 2px 14px rgba(40,70,120,.25); }
.header-inner { display: flex; align-items: center; height: 72px; gap: 18px; }
.logo { flex-shrink: 0; }
.logo img { height: 38px; width: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; justify-content: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 24px 12px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.86); position: relative; white-space: nowrap; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 16px; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: #fff; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden; transition: all .18s; }
.main-nav > ul > li:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--ink); }
.dropdown a:hover { background: var(--brand-tint); color: var(--brand); }
/* 产品中心超大下拉菜单 */
.main-nav > ul > li.has-mega .dropdown.mega { left: 0; transform: none; min-width: 700px; max-width: calc(100vw - 60px); padding: 18px 22px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; }
.mega-col h4 { font-size: 14px; color: var(--brand); margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.mega-sub { font-size: 12px; color: var(--faint); font-weight: 600; margin: 10px 0 2px; }
.mega-col a { display: block; padding: 4px 0; font-size: 13px; color: var(--ink); white-space: nowrap; border-radius: 0; }
.mega-col a:hover { color: var(--brand); background: none; padding-left: 4px; }
.header-search { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 6px 6px 6px 16px; background: rgba(255,255,255,.10); }
.header-search input { border: none; outline: none; background: transparent; width: 100px; font-size: 14px; color: #fff; }
.header-search input::placeholder { color: rgba(255,255,255,.55); }
.header-search button { border: none; background: #fff; color: var(--brand-dark); border-radius: 999px; padding: 7px 18px; font-size: 13px; font-weight: 600; }
.header-search button:hover { background: var(--brand-tint); }
.nav-toggle { display: none; margin-left: auto; font-size: 24px; border: none; background: none; color: #fff; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.header-phone svg { color: #9fc3ea; flex-shrink: 0; }
.header-phone:hover { color: #cfe4f9; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-deep); }
.hero-slides { position: relative; height: 680px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,58,102,.82) 0%, rgba(16,58,102,.42) 55%, rgba(16,58,102,.16) 100%); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-content { max-width: 620px; color: #fff; padding: 40px 0; }
.hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #bcd6f5; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 14px; margin-bottom: 22px; }
.hero-content h2 { font-size: 44px; line-height: 1.2; font-weight: 700; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-content p { font-size: 17px; line-height: 1.8; opacity: .94; margin-bottom: 30px; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.hero-actions { display: flex; gap: 14px; }
.hero-dots { position: absolute; z-index: 3; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 26px; height: 4px; border-radius: 2px; border: none; background: rgba(255,255,255,.35); transition: all .25s; }
.hero-dots button.active { background: #fff; width: 40px; }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section--bg { background: #fff; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.section-head h2 { font-size: 32px; line-height: 1.3; color: var(--ink); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- 首页分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card .cat-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-card .cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-card .cat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,58,102,0) 42%, rgba(16,58,102,.86) 100%); }
.cat-title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 22px; color: #fff; }
.cat-title h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 2px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.cat-title span { font-size: 13px; color: rgba(255,255,255,.88); letter-spacing: .5px; }
.cat-card .cat-body { padding: 18px 22px 24px; }
.cat-card .cat-links { display: flex; flex-wrap: wrap; gap: 6px 10px; min-height: 62px; }
.cat-card .cat-links a { font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 4px 10px; }
.cat-card .cat-links a:hover { color: var(--brand); background: var(--brand-tint); }
.cat-card .cat-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); }
.cat-card .cat-more:hover { gap: 10px; }

/* ---------- 关于（首页） ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media .badge { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.about-media .badge strong { display: block; color: var(--brand); font-size: 20px; }
.about-media .badge span { font-size: 12px; color: var(--muted); }
.about-copy h2 { font-size: 30px; color: var(--ink); margin-bottom: 20px; }
.about-copy p { color: var(--muted); text-align: justify; margin-bottom: 14px; }
.about-copy .stats { display: flex; gap: 40px; margin-top: 28px; }
.about-copy .stat strong { display: block; font-size: 28px; color: var(--brand); }
.about-copy .stat span { font-size: 13px; color: var(--muted); }

/* ---------- 标语带 ---------- */
.slogan-band { position: relative; padding: 110px 0; text-align: center; color: #fff; background: linear-gradient(120deg, #0f3a66 0%, #17497f 45%, #2f7dc4 100%); }
.slogan-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 50%, rgba(255,255,255,.09), transparent 46%), radial-gradient(circle at 85% 15%, rgba(255,255,255,.07), transparent 42%); }
.slogan-band .container { position: relative; z-index: 2; }
.slogan-band h2 { font-size: 40px; letter-spacing: 6px; font-weight: 700; margin-bottom: 12px; text-shadow: 0 2px 14px rgba(0,0,0,.22); }
.slogan-band p { opacity: .88; font-size: 15px; }

/* ---------- 新闻卡片（首页/列表） ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .news-media { aspect-ratio: 16 / 9; background: var(--brand-tint); }
.news-card .news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 22px 24px 26px; }
.news-card .news-date { font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.news-card h3 { font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.news-card:hover h3 { color: var(--brand); }

/* ---------- 页内横幅 ---------- */
.page-hero { position: relative; padding: 48px 0; color: #fff; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); }
.page-hero h1 { font-size: 34px; font-weight: 700; }
.page-hero .crumbs { margin-top: 10px; font-size: 13px; opacity: .82; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero .crumbs i { margin: 0 8px; font-style: normal; opacity: .6; }

/* ---------- 侧边栏 + 主内容 ---------- */
.page-body { padding: 56px 0 96px; }
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.side-nav { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav .side-title { padding: 16px 20px; font-weight: 700; color: #fff; background: var(--brand); }
.side-nav a { display: block; padding: 13px 20px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line); transition: all .15s; }
.side-nav li:last-child a { border-bottom: none; }
.side-nav a:hover, .side-nav li.active a { background: var(--brand-tint); color: var(--brand); padding-left: 24px; }

/* ---------- 产品网格 ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.toolbar .count { font-size: 14px; color: var(--muted); }
.search-pill { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 7px 8px 7px 16px; }
.search-pill input { border: none; outline: none; font-size: 14px; width: 170px; }
.prod-sec { margin-bottom: 10px; }
.prod-sec-head { display: flex; align-items: center; gap: 12px; margin: 40px 0 20px; }
.prod-sec-head h2 { font-size: 22px; color: var(--ink); }
.prod-sec-head .count { font-size: 13px; color: var(--faint); }
.prod-sec-head::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: var(--brand); }
.prod-sub-head { font-size: 14px; color: var(--brand); font-weight: 600; margin: 20px 0 12px; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.prod-card .prod-media { aspect-ratio: 4 / 3; background: var(--brand-tint); }
.prod-card .prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .prod-body { padding: 16px 18px 18px; }
.prod-card h3 { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-card .prod-name { font-size: 13px; color: var(--faint); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-card .prod-tag { display: inline-block; margin-top: 10px; font-size: 11px; color: var(--brand); background: var(--brand-tint); border-radius: 999px; padding: 2px 10px; }
.no-img { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 120px; color: var(--faint); }

/* ---------- 产品详情 ---------- */
.pd-head { display: grid; grid-template-columns: 380px 1fr; gap: 44px; }
.pd-media { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.pd-media img { border-radius: var(--radius-sm); }
.pd-info h1 { font-size: 32px; color: var(--ink); }
.pd-info .pd-sub { color: var(--muted); margin: 8px 0 20px; }
.pd-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pd-feature { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--brand-dark); background: var(--brand-tint); border-radius: 999px; padding: 7px 14px; }
.pd-feature svg { flex-shrink: 0; }
.pd-note { font-size: 13px; color: var(--faint); }
.pd-section { margin-top: 48px; }
.pd-section h2 { font-size: 21px; color: var(--ink); padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.pd-section h2 em { font-style: normal; color: var(--brand); margin-right: 8px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-grid .spec-item { background: #fff; padding: 15px 20px; }
.spec-grid .spec-item .k { display: block; font-size: 12px; color: var(--faint); margin-bottom: 4px; }
.spec-grid .spec-item .v { font-size: 15px; color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; font-size: 14px; }
.spec-table th { background: var(--brand-tint); color: var(--brand-dark); width: 150px; font-weight: 600; }
.pd-section p { color: var(--muted); text-align: justify; margin-bottom: 14px; }
.refs { font-size: 13px; color: var(--muted); }
.refs li { margin-bottom: 8px; }
.pd-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.pd-nav a, .pd-nav .disabled { flex: 1; max-width: 48%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 20px; font-size: 14px; background: #fff; }
.pd-nav a:hover { border-color: var(--brand); color: var(--brand); }
.pd-nav .label { display: block; font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.pd-nav .disabled { color: var(--faint); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { display: none; padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin-bottom: 8px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-size: 18px; margin-bottom: 18px; }
.info-card ul li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-card ul li:last-child { border-bottom: none; }
.info-card .k { color: var(--brand); font-weight: 600; flex: 0 0 60px; }
.map-addr { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; line-height: 1.9; margin-bottom: 22px; }
.map-addr svg { flex-shrink: 0; color: var(--brand); margin-top: 4px; }
.map-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qr-box { text-align: center; }
.qr-box img { width: 200px; border-radius: var(--radius-sm); margin: 0 auto 12px; border: 1px solid var(--line); }

/* ---------- 招聘 ---------- */
.job-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.job-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; background: var(--brand-tint); }
.job-head h3 { font-size: 18px; }
.job-status { font-size: 12px; color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 14px; }
.job-body { padding: 24px 26px; }
.job-body ol { list-style: decimal; padding-left: 22px; }
.job-body li { margin-bottom: 8px; font-size: 14px; color: var(--ink); }

/* ---------- 资质证书 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.cert-card img { border-radius: var(--radius-sm); }
.cert-card span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- 价值观 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.value-card .ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--muted); }

/* ---------- 页尾 ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-grid .f-about { font-size: 13px; line-height: 2; }
.footer-grid li { margin-bottom: 10px; font-size: 13px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; }
.footer-grid .f-contact li strong { color: #9fc3ea; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 12px; text-align: center; color: rgba(255,255,255,.5); }
.footer-bottom a { color: #9fc3ea; }
.footer-note { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.35); }

/* ---------- 浮动客服 ---------- */
.float-widget { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.float-widget a { width: 46px; height: 46px; background: #fff; border: 1px solid var(--line); color: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); position: relative; }
.float-widget a:hover { background: var(--brand); color: #fff; }
.float-widget .tip { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); background: var(--brand-deep); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.float-widget a:hover .tip { opacity: 1; }
.float-widget .qr-pop { position: absolute; right: 58px; top: 50%; transform: translateY(-50%); width: 150px; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(16,58,102,.22); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 5; }
.float-widget .fw-qr:hover .qr-pop { opacity: 1; visibility: visible; }
.float-widget .qr-pop img { width: 100%; height: auto; border-radius: 6px; display: block; }
.float-widget .qr-pop i { display: block; text-align: center; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 6px; }
.float-widget .qr-pop::after { content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); border: 7px solid transparent; border-left-color: #fff; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound .code { font-size: 96px; font-weight: 800; color: var(--brand); line-height: 1; }
.notfound h1 { font-size: 22px; margin: 18px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .about-copy { order: 1; }
  .pd-head { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .topbar { display: none; }
  .header-inner { height: 60px; }
  .logo img { height: 30px; }
  .main-nav { position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 60px); overflow-y: auto; box-shadow: 0 12px 24px rgba(16,58,102,.15); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; }
  .main-nav > ul > li > a { padding: 15px 22px; font-size: 16px; color: var(--ink); }
  .main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--brand); }
  .main-nav > ul > li > a::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 24px; display: none; }
  .main-nav.open .dropdown { display: block; }
  .dropdown.mega { min-width: 0; padding: 4px 0 10px; }
  .mega-grid { grid-template-columns: 1fr; gap: 8px; }
  .main-nav > ul > li:hover .dropdown { display: block; }
  .nav-toggle { display: block; margin-left: 0; }
  .header-phone { margin-left: auto; font-size: 14px; }
  .hero-slides { height: 400px; }
  .hero-content { padding: 24px 0; }
  .hero-content h2 { font-size: 26px; }
  .hero-content p { font-size: 15px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-actions .btn { justify-content: center; padding: 10px 20px; font-size: 14px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 2px; padding: 4px 12px; margin-bottom: 16px; }
  .hero-dots { bottom: 14px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14px; }
  .cat-grid, .news-grid, .cert-grid, .value-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-card .prod-body { padding: 12px 14px 14px; }
  .prod-card h3 { font-size: 14px; }
  .spec-grid { grid-template-columns: 1fr; }
  .slogan-band { padding: 72px 0; }
  .slogan-band h2 { font-size: 24px; letter-spacing: 3px; }
  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: 26px; }
  .page-body { padding: 36px 0 64px; }
  .pd-nav { flex-direction: column; }
  .pd-nav a, .pd-nav .disabled { max-width: 100%; }
  .about-copy .stats { gap: 20px; flex-wrap: wrap; }
  .about-copy .stat strong { font-size: 22px; }
  .about-media .badge { left: 12px; bottom: 12px; padding: 10px 14px; }
  .about-media .badge strong { font-size: 16px; }
  .info-card { padding: 20px; }
  .faq-q { padding: 15px 18px; font-size: 15px; }
  .faq-a { padding: 0 18px 16px; }
  .job-head { padding: 16px 20px; }
  .job-body { padding: 18px 20px; }
  .job-head h3 { font-size: 16px; }
  .float-widget { right: 8px; gap: 8px; }
  .float-widget a { width: 40px; height: 40px; }
  .float-widget svg { width: 18px; height: 18px; }
  .float-widget .tip { display: none; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .search-pill { width: 100%; }
  .search-pill input { flex: 1; }
  .pd-info h1 { font-size: 26px; }
  .pd-features { gap: 6px; }
  .pd-feature { font-size: 12px; padding: 5px 10px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-slides { height: 320px; }
  .hero-content h2 { font-size: 22px; }
  .hero-content p { font-size: 14px; }
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 21px; }
  .prod-grid { grid-template-columns: 1fr; }
  .cat-card .cat-body { padding: 18px 18px 22px; }
  .cat-card h3 { font-size: 17px; }
  .slogan-band { padding: 56px 0; }
  .slogan-band h2 { font-size: 20px; letter-spacing: 2px; }
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 22px; }
  .pd-head { gap: 24px; }
  .pd-media { padding: 12px; }
  .pd-info h1 { font-size: 22px; }
  .pd-section { margin-top: 32px; }
  .pd-section h2 { font-size: 18px; }
  .spec-item { padding: 12px 14px; }
  .spec-item .v { font-size: 14px; }
  .news-card .news-body { padding: 16px 18px; }
  .news-card h3 { font-size: 15px; }
  .footer-grid { gap: 28px; padding-bottom: 32px; }
  .site-footer { padding-top: 44px; }
  .notfound { padding: 80px 0; }
  .notfound .code { font-size: 64px; }
}
