/* ============================================================
   华誊生物 官网 · 现代设计系统 (纯原生 CSS)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #eef4ff;
  --bg-2: #f7fbff;
  --surface: #ffffff;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --primary-soft: #e8f0ff;
  --accent: #14b8a6;
  --ink: #0f1b2d;
  --ink-2: #33425a;
  --muted: #64748b;
  --line: #e6edf7;
  --shadow-sm: 0 4px 16px rgba(21, 45, 90, 0.06);
  --shadow: 0 18px 50px rgba(21, 45, 90, 0.12);
  --shadow-lg: 0 30px 80px rgba(21, 45, 90, 0.16);
  --radius: 24px;
  --radius-sm: 14px;
  --maxw: 1240px;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 80% -5%, #dfeafe 0%, rgba(223, 234, 254, 0) 55%),
    radial-gradient(1000px 500px at 0% 0%, #eaf6ff 0%, rgba(234, 246, 255, 0) 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.text-primary {
  color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(247, 251, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo .logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex: none;
}

.logo .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 3px;
}

.logo b {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .5px;
}

.nav-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.nav-capsule a {
  position: relative;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}

.nav-capsule a:hover {
  color: var(--primary);
}

.nav-capsule a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, color .2s ease;
}

.icon-btn:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
}

/* ---------- Search overlay ---------- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 27, 45, .5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.search-panel.open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: min(680px, 90vw);
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.search-box input {
  flex: 1;
  border: 0;
  font-size: 18px;
  padding: 14px 16px;
  color: var(--ink);
}

.search-box button {
  padding: 0 26px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .32);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-light {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}

.btn-light:hover {
  background: rgba(255, 255, 255, .28);
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  font-style: normal;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

/* Typewriter cursor */
[data-type].typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--primary);
  animation: caret-blink 0.7s step-end infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
}

.hero-visual .main-img {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  background: #dbe6f5;
}

.hero-visual .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.float-card .fc-icon svg {
  width: 22px;
  height: 22px;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.float-card strong {
  color: var(--ink);
  font-size: 15px;
}

.fc-top {
  top: 30px;
  left: -18px;
}

.fc-bottom {
  right: -14px;
  bottom: 40px;
  flex-direction: column;
  align-items: stretch;
  min-width: 210px;
}

.fc-bottom .fc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.fc-bottom .fc-row .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.fc-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-bar svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.fc-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e5eff9;
  overflow: hidden;
}

.fc-track i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: var(--accent);
}

/* ---------- Section title ---------- */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}

.section-head .eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
}

.section-head h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin: 12px 0 14px;
  letter-spacing: 1px;
  text-wrap: balance;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card .num {
  font-size: 44px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-card .num span {
  font-size: 22px;
}

.stat-card .lbl {
  color: var(--muted);
  margin-top: 10px;
  font-weight: 600;
}

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.cat-card .ci {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.cat-card .ci svg {
  width: 28px;
  height: 28px;
}

.cat-card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.cat-card p {
  color: var(--muted);
  font-size: 14px;
}

.cat-card .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.cat-card .cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.cat-card .cat-meta .go {
  margin-top: 0;
}

.cat-card .cat-meta .count {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: var(--primary-soft);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Category list page (sidebar + products) ---------- */
.cat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.cat-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.cat-sidebar h4 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cat-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.cat-sidebar a+a {
  margin-top: 4px;
}

.cat-sidebar a em {
  font-style: normal;
  font-size: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 2px 9px;
}

.cat-sidebar a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.cat-sidebar a.active {
  background: var(--primary);
  color: #fff;
}

.cat-sidebar a.active em {
  background: rgba(255, 255, 255, .24);
  color: #fff;
}

.cat-main .cat-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.cat-main .cat-list-head h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
}

.cat-main .cat-list-head .total {
  color: var(--muted);
  font-size: 14px;
}

.cat-main .cat-list-head .total b {
  color: var(--primary);
  font-size: 18px;
}

.cat-main .prod-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.prod-card .thumb {
  aspect-ratio: 4/3;
  background: #f1f5fb;
  overflow: hidden;
}

.prod-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.prod-card:hover .thumb img {
  transform: scale(1.05);
}

.prod-card .pbody {
  padding: 20px 22px 24px;
}

.prod-card .ptag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.prod-card h3 {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 48px;
}

.prod-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.prod-card .pfoot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.prod-card .pprice {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prod-card .pprice-label { font-size: 12px; color: var(--muted); }
.prod-card .pprice-val { font-size: 17px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.prod-card .go {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
}

.split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item .fi-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .fi-ic svg {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-card .date {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.news-card h3 {
  color: var(--ink);
  font-size: 18px;
  margin: 12px 0 10px;
  line-height: 1.45;
}

.news-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- CTA banner ---------- */
.cta {
  background: linear-gradient(120deg, var(--primary) 0%, #3f7bf6 60%, var(--accent) 140%);
  border-radius: 30px;
  padding: 56px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta p {
  opacity: .9;
  font-size: 17px;
  margin-bottom: 28px;
}

.cta .hero-actions {
  justify-content: center;
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 30px 0 20px;
}

.page-hero .inner {
  background: linear-gradient(120deg, #1d4ed8, #3f7bf6);
  border-radius: var(--radius);
  padding: 60px 48px;
  color: #fff;
  box-shadow: var(--shadow);
}

.breadcrumb {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 1px;
}

.page-hero p {
  margin-top: 12px;
  max-width: 640px;
  opacity: .92;
  font-size: 16px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.faq-q .fq-ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.faq-item.open .faq-q .fq-ic {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a .inner {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row .ir-ic {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-row h4 {
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 4px;
}

.info-row p {
  color: var(--muted);
  font-size: 15px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-2);
  transition: border .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

/* ---------- Support values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.value-card .vi {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.value-card h3 {
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Timeline ---------- */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.tl-item {
  position: relative;
  padding: 0 0 30px 24px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-soft);
}

.tl-item .yr {
  color: var(--primary);
  font-weight: 900;
  font-size: 18px;
}

.tl-item h4 {
  color: var(--ink);
  margin: 4px 0 6px;
}

.tl-item p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1b2d;
  color: #b9c6da;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-brand .logo b {
  color: #fff;
}

.footer-brand p {
  margin-top: 18px;
  color: #93a3bd;
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  padding: 7px 0;
  color: #b9c6da;
  font-size: 14px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col .line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  color: #b9c6da;
  font-size: 14px;
}

.footer-col .line svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #7f90aa;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Floating side tools ---------- */
.side-tools {
  position: fixed;
  right: 24px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-tools button {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.side-tools button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.side-tools button svg {
  width: 22px;
  height: 22px;
}

#backTop {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

#backTop.show {
  opacity: 1;
  visibility: visible;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
}

.mobile-nav .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, .5);
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-nav .panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 82%;
  max-width: 340px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .32s ease;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  visibility: visible;
}

.mobile-nav.open .backdrop {
  opacity: 1;
}

.mobile-nav.open .panel {
  transform: none;
}

.mobile-nav .mtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-nav .mtop b {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.mobile-nav a {
  padding: 16px 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a.active {
  color: var(--primary);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav-capsule a {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-capsule {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .prod-grid,
  .news-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-layout {
    grid-template-columns: 1fr;
  }

  .cat-sidebar {
    position: static;
  }

  .cat-sidebar h4 {
    margin-bottom: 10px;
  }

  .cat-main .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .logo b {
    font-size: 19px;
  }

  .logo .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo .logo-mark img {
    width: 40px;
  }

  .hero {
    padding: 20px 0 50px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p.lead {
    font-size: 16px;
  }

  .section {
    padding: 46px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .stats,
  .cat-grid,
  .prod-grid,
  .news-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 40px 24px;
  }

  .cta h2 {
    font-size: 26px;
  }

  .page-hero .inner {
    padding: 40px 26px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .fc-top {
    left: 0;
  }

  .fc-bottom {
    right: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================================
   v2 首页改版（对照视频 1:1）
   ============================================================ */

/* 头部右侧“立即咨询”按钮 */
.header-right { gap: 12px; }
.btn-consult {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
}
.btn-consult svg { width: 16px; height: 16px; }

/* 醒目搜索栏（Hero 下方） */
.search-hero {
  margin-top: -54px;
  position: relative;
  z-index: 6;
  padding-bottom: 10px;
}
.search-hero-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 22px;
  padding: 14px 14px 14px 26px;
  box-shadow: 0 26px 60px -24px rgba(15, 27, 45, .32), 0 6px 18px rgba(15, 27, 45, .06);
  border: 1px solid var(--line);
}
.search-hero-box .sh-icon {
  color: var(--muted);
  display: inline-flex;
  flex: none;
}
.search-hero-box .sh-icon svg { width: 22px; height: 22px; }
.search-hero-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
  color: var(--ink);
}
.search-hero-box input::placeholder { color: #9aa6b6; }
.search-hero-box button {
  flex: none;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 40px;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease;
}
.search-hero-box button:hover { background: #0b1220; transform: translateY(-1px); }

/* 背景纹理 */
.grid-bg {
  background-image:
    linear-gradient(rgba(37, 99, 235, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.dots-bg {
  background-image: radial-gradient(rgba(37, 99, 235, .1) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}

/* eyebrow 线 + 标题 */
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.eyebrow-line::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow-line { justify-content: center; }

/* 关于我们 v2 */
.about-v2 .split { align-items: center; gap: 56px; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.about-badge strong { display: block; color: var(--primary); font-size: 20px; }
.about-badge small { color: var(--muted); font-size: 13px; }
.about-title { font-size: clamp(26px, 3.2vw, 38px); color: var(--ink); margin-bottom: 18px; line-height: 1.25; }
.about-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 14px; font-weight: 500; }
.about-desc { font-size: 15px; color: var(--muted); line-height: 1.9; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 30px;
  margin-top: 26px;
  justify-content: start;
}
.check-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.check-item .ck {
  width: 24px; height: 24px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}
.check-item .ck svg { width: 14px; height: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0b1220; }

/* 数据条 */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 40px 30px;
}
.sb-item { text-align: center; position: relative; }
.sb-item + .sb-item::before {
  content: "";
  position: absolute;
  left: -13px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 56px;
  background: var(--line);
}
.sb-num { font-size: clamp(34px, 4.4vw, 48px); font-weight: 900; color: var(--primary); line-height: 1; }
.sb-lbl { margin-top: 10px; font-weight: 700; color: var(--ink); }
.sb-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 品牌理念 / 口号 */
.slogan {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(120deg, #f4f9ff 0%, #eaf2fe 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.slogan-mark {
  background: var(--surface);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slogan-mark img { width: 100%; height: auto; }
.slogan-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: 2px; color: var(--ink); margin-bottom: 18px; }
.slogan-text { font-size: 15.5px; line-height: 2; color: var(--ink-2); margin-bottom: 16px; }
.slogan-quote { font-size: 16px; font-weight: 700; color: var(--primary); }

/* 深色区块：为什么选择我们 */
.dark-section {
  background: linear-gradient(160deg, #0f1b2d 0%, #16233b 100%);
  color: #fff;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(37, 99, 235, .25), transparent 60%);
}
.dark-head { position: relative; text-align: center; max-width: 720px; margin: 0 auto 46px; }
.dark-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.dark-head p { color: rgba(255, 255, 255, .7); margin-bottom: 24px; }
.eyebrow-line.dark { color: #7db1ff; justify-content: center; }
.eyebrow-line.dark::before { background: #7db1ff; }
.dark-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.dark-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  transition: transform .25s ease, background .25s ease;
}
.dark-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .08); }
.dark-card .di {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, .2);
  color: #7db1ff;
  margin-bottom: 18px;
}
.dark-card .di svg { width: 26px; height: 26px; }
.dark-card h3 { font-size: 18px; margin-bottom: 10px; }
.dark-card p { color: rgba(255, 255, 255, .65); font-size: 14px; line-height: 1.8; }

/* 发展历程 v2 — 垂直交替时间线 */
.timeline-v2 {
  position: relative;
  max-width: 920px;
  margin: 50px auto 0;
}
/* 中轴线 */
.timeline-v2::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: .5;
}
.tlv-item {
  position: relative;
  width: 50%;
  padding: 0 48px 44px;
  box-sizing: border-box;
}
/* 奇数项在右侧，偶数项在左侧 */
.tlv-item:nth-child(odd) { margin-left: 50%; text-align: left; }
.tlv-item:nth-child(even) { text-align: right; }

.tlv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.tlv-date {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tlv-card h4 { color: var(--ink); font-size: 18px; margin-bottom: 8px; }
.tlv-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* 中轴节点 */
.tlv-node {
  position: absolute;
  top: 4px;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary-soft);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, .10), var(--shadow-sm);
  z-index: 2;
}
.tlv-node svg { width: 22px; height: 22px; }
.tlv-item:nth-child(odd) .tlv-node { left: -23px; }
.tlv-item:nth-child(even) .tlv-node { right: -23px; }

/* 逐项滑入动画（配合 .reveal / .in） */
.tlv-item.reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.tlv-item:nth-child(odd).reveal { transform: translateX(48px); }
.tlv-item:nth-child(even).reveal { transform: translateX(-48px); }
.tlv-item.reveal.in { opacity: 1; transform: translateX(0); }

/* 未来展望，居中于轴线底部 */
.tlv-future {
  position: relative;
  margin: 8px auto 0;
  max-width: 560px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.8;
}
.tlv-rocket {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .6);
  position: relative;
  z-index: 2;
}

/* 产品系列展示（大图卡片） */
.showcase-head {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.showcase-head-left { flex: none; }
.showcase-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.15; }
.showcase-desc {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
}
.showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.show-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.show-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s ease;
}
.show-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 40, .28) 0%, rgba(6, 20, 40, .5) 100%);
  z-index: -1;
}
.show-card:hover img { transform: scale(1.06); }
.show-overlay {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px;
  color: #fff;
  width: 100%;
}
.show-overlay .sc-ic {
  width: 46px; height: 46px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px);
}
.show-overlay .sc-ic svg { width: 22px; height: 22px; }
.show-overlay h3 { font-size: 20px; line-height: 1.3; }

/* 产品可点击 */
.prod-card { cursor: pointer; }

/* 产品详情弹窗 */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.product-modal.open { opacity: 1; visibility: visible; }
.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 42, .55);
  backdrop-filter: blur(4px);
}
.pm-dialog {
  position: relative;
  background: var(--surface);
  border-radius: 22px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(9, 22, 42, .6);
  transform: translateY(18px) scale(.98);
  transition: transform .3s ease;
}
.product-modal.open .pm-dialog { transform: none; }
.pm-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  max-height: 90vh;
  overflow: hidden;
}
.pm-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: all .2s ease;
}
.pm-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pm-close svg { width: 18px; height: 18px; }

/* 左侧栏：图片 + 储存 + 规格 */
.pm-media {
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  overflow-y: auto;
  min-height: 0;
  max-height: 90vh;
}
.pm-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
}
.pm-store {
  display: flex;
  gap: 10px;
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 12px 14px;
}
.pm-store-ic { color: var(--primary); flex: none; }
.pm-store-ic svg { width: 20px; height: 20px; }
.pm-store strong { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.pm-store p { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.pm-specbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.pm-specbox-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pm-specbox-val { font-size: 18px; font-weight: 800; color: var(--ink); }
  .pm-specbox-val em { font-style: normal; font-weight: 600; color: var(--primary); font-size: 15px; }
.pm-specbox + .pm-specbox { margin-top: -4px; }
.pm-specbox-val.pm-price { color: var(--primary); font-size: 20px; }

/* 多规格表格（如 ELISA 96T/48T） */
.pm-spectable {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pm-spectr {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
}
.pm-spectr + .pm-spectr { border-top: 1px solid var(--line); }
.pm-spectr.pm-spec-head {
  background: var(--bg-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.pm-spec-name { font-weight: 800; color: var(--ink); font-size: 14px; }
.pm-spectr.pm-spec-head .pm-spec-name { font-weight: 700; color: var(--muted); font-size: 12px; }
.pm-spec-sku { font-size: 12.5px; color: var(--primary); font-weight: 600; }
.pm-spectr.pm-spec-head .pm-spec-sku { color: var(--muted); font-weight: 700; }
.pm-spec-price { font-size: 15px; font-weight: 800; color: var(--primary); text-align: right; }
.pm-spectr.pm-spec-head .pm-spec-price { color: var(--muted); font-weight: 700; font-size: 12px; }

/* 分类页内搜索框 */
.cat-search { margin-bottom: 22px; }
.cat-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
}
.cat-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.cat-search-box svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.cat-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.cat-search-clear {
  border: none;
  background: var(--bg-2);
  color: var(--muted);
  width: 24px; height: 24px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.cat-search-clear:hover { background: var(--line); color: var(--ink); }
.cat-search-hint { font-size: 13px; color: var(--muted); margin: 10px 4px 0; }

/* 空状态 */
.cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* 分页 */
.cat-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}
.cat-pager .pg {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.cat-pager button.pg:hover { border-color: var(--primary); color: var(--primary); }
.cat-pager .pg.active { background: var(--primary); border-color: var(--primary); color: #fff; cursor: default; }
.cat-pager .pg.disabled { opacity: .45; cursor: not-allowed; }
.cat-pager .pg.gap { border: none; background: transparent; cursor: default; min-width: 24px; }
@media (max-width: 640px) {
  .cat-pager .pg { min-width: 36px; height: 36px; padding: 0 8px; font-size: 13px; }
}

/* 右侧栏 */
.pm-body { padding: 40px 40px 32px; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; max-height: 90vh; }
.pm-eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.pm-body h3 { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.35; margin-bottom: 16px; padding-right: 34px; }
.pm-intro { font-size: 14.5px; line-height: 1.9; color: var(--muted); margin-bottom: 18px; }
.pm-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pm-feats span {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
}

/* 说明书要点预览 */
.pm-sheet { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 24px; }
.pm-sheet-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.pm-sheet-head svg { width: 20px; height: 20px; color: var(--primary); }
.pm-sheet-block + .pm-sheet-block { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.pm-sheet-block h5 { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.pm-sheet-block h5 svg { width: 17px; height: 17px; color: var(--primary); }
.pm-comp, .pm-proto { margin: 0; padding: 0; list-style: none; }
.pm-comp li, .pm-proto li { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); padding: 6px 0 6px 22px; position: relative; }
.pm-comp li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.pm-proto { counter-reset: step; }
.pm-proto li { counter-increment: step; }
.pm-proto li::before {
  content: counter(step);
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* 简单模式规格表 */
.pm-specs { list-style: none; margin: 0 0 24px; padding: 0; }
.pm-specs li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.pm-specs li span:first-child { color: var(--muted); flex: none; }
.pm-specs li span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

/* 底部：下载区 + 立即订购 */
.pm-footer { margin-top: auto; padding-top: 20px; }
.pm-download {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--bg-2); border: 1px dashed var(--line);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 16px;
}
.pm-dl-label { font-size: 13px; font-weight: 600; color: var(--ink-2); flex: none; }
.pm-dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border-radius: 999px;
  padding: 8px 16px; transition: all .2s ease;
}
.pm-dl-btn svg { width: 17px; height: 17px; }
.pm-dl-btn:hover { background: var(--primary); color: #fff; }
.pm-dl-empty { font-size: 12.5px; color: var(--muted); text-align: right; }
.pm-order { width: 100%; justify-content: center; font-size: 16px; padding: 14px 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .dark-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-cards { grid-template-columns: 1fr 1fr; }
  .showcase-head { flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
  .showcase-desc { margin: 0; max-width: none; text-align: left; }
}

@media (max-width: 820px) {
  .slogan { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .slogan-mark { width: 140px; margin: 0 auto; }
  .pm-inner { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .pm-media { padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .pm-media img { width: 160px; aspect-ratio: 1 / 1; }
  .pm-media .pm-store, .pm-media .pm-specbox { flex: 1; min-width: 180px; }
  .pm-body { padding: 24px 22px; overflow: visible; }
  .about-v2 .split { gap: 30px; }
  .about-badge { right: 12px; }

  /* 时间线转为单列（轴线居左） */
  .timeline-v2 { max-width: 100%; }
  .timeline-v2::before { left: 23px; transform: none; }
  .tlv-item,
  .tlv-item:nth-child(odd),
  .tlv-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding: 0 0 34px 62px;
  }
  .tlv-item:nth-child(odd) .tlv-node,
  .tlv-item:nth-child(even) .tlv-node { left: 0; right: auto; }
  .tlv-item:nth-child(odd).reveal,
  .tlv-item:nth-child(even).reveal { transform: translateX(-40px); }
  .tlv-item.reveal.in { transform: translateX(0); }
}

@media (max-width: 640px) {
  .search-hero { margin-top: -34px; }
  .search-hero-box { padding: 8px 8px 8px 18px; border-radius: 16px; gap: 8px; }
  .search-hero-box input { font-size: 15px; }
  .search-hero-box button { padding: 12px 20px; font-size: 14px; }
  .btn-consult { display: none; }
  .stats-band { grid-template-columns: 1fr; gap: 30px; }
  .sb-item + .sb-item::before { display: none; }
  .dark-grid { grid-template-columns: 1fr; }
  .showcase-cards { grid-template-columns: 1fr; }
}
