/* =====================================================================
   style.css - Common styles (shared by ALL pages):
   base vars / layout / header nav / footer / common components
   Page-specific styles live in:
   index.css / news.css / news-detail.css / product-detail.css /
   contact.css / sinoexci.css
   ===================================================================== */
/* ============================================================
   SINOEXCI BioPharma — Corporate Website
   Design language: deep pine + amber gold, Plus Jakarta Sans
   Effects: molecular hero, reveal-on-scroll, counters,
            marquee, glass nav, tilt cards, gradient text
   ============================================================ */

:root {
  --ink: #07130e;
  --pine-900: #07130e;
  --pine-800: #0b241b;
  --pine-700: #0c3b2e;
  --pine-600: #11513d;
  --moss: #157a5b;
  --moss-light: #2a9d78;
  --amber: #d9a441;
  --amber-light: #e8b04b;
  --cream: #f5f1e8;
  --sand: #ece6d9;
  --mist: #a9b8b0;
  --line-dark: rgba(245, 241, 232, 0.12);
  --line-light: rgba(7, 19, 14, 0.10);
  --glass: rgba(11, 36, 27, 0.55);
  --shadow-sm: 0 6px 20px rgba(7, 19, 14, 0.08);
  --shadow-md: 0 16px 44px rgba(7, 19, 14, 0.12);
  --shadow-lg: 0 30px 80px rgba(7, 19, 14, 0.22);
  --font-serif: "Plus Jakarta Sans", "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", Arial, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--pine-800);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-dark { background: var(--pine-900); color: var(--cream); }
.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }

/* ---------- 通用标题 ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--amber);
}
.section-head.center .eyebrow::after {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--amber);
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--pine-800);
  margin-bottom: 18px;
}
.section-dark .section-title { color: var(--cream); }
.section-desc { font-size: 16.5px; color: #6d7a73; max-width: 620px; }
.section-dark .section-desc { color: var(--mist); }
.section-head.center .section-desc { margin: 0 auto; }

.text-gradient {
  background: linear-gradient(100deg, var(--amber-light), var(--amber) 55%, #f7d9a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-dark .text-gradient-soft {
  background: linear-gradient(100deg, #f7d9a0, var(--amber-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 0;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s;
}
.btn .arrow { transition: transform .35s ease; }
.btn:hover .arrow { transform: translateX(5px); }

.btn-amber {
  background: linear-gradient(120deg, var(--amber-light), var(--amber));
  color: var(--pine-900);
  box-shadow: 0 12px 34px rgba(217, 164, 65, 0.35);
}
.btn-amber:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(217, 164, 65, 0.5);
}
.btn-amber::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-25deg);
  transition: left .6s ease;
}
.btn-amber:hover::after { left: 130%; }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245, 241, 232, 0.45);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }

.btn-outline-dark {
  background: transparent;
  color: var(--pine-800);
  border: 1.5px solid rgba(7, 19, 14, 0.3);
}
.btn-outline-dark:hover { border-color: var(--moss); color: var(--moss); transform: translateY(-3px); }

/* ============================================================
   导航
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .4s ease, background .4s ease, box-shadow .4s ease, backdrop-filter .4s;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 19, 14, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 96px;       /* 2:1 横向比例（logo.png 600x300）*/
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
  transition: transform .4s ease, filter .4s ease;
}
.brand:hover .brand-logo { transform: scale(1.05); }
.site-footer .brand-logo {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--cream);
}
.brand-text small { font-size: 12px; letter-spacing: 4px; color: var(--amber); text-transform: none; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav > .nav-item > .nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.85);
  transition: color .3s;
}
.main-nav > a::after, .main-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.main-nav > a:hover, .main-nav > a.active,
.main-nav > .nav-item:hover > .nav-link,
.main-nav > .nav-item.open > .nav-link { color: var(--amber); }
.main-nav > a:hover::after, .main-nav > a.active::after,
.main-nav > .nav-item:hover > .nav-link::after,
.main-nav > .nav-item.open > .nav-link::after { transform: scaleX(1); }

/* 二级菜单 */
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.85);
  cursor: pointer;
  background: none;
  border: 0;
  font-family: inherit;
  text-decoration: none;
}
.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  padding: 0;
  margin-left: -8px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.nav-caret::before {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .35s ease;
}
.nav-item:hover > .nav-caret,
.nav-item.open > .nav-caret { color: var(--amber); }
.nav-item:hover > .nav-caret::before,
.nav-item.open > .nav-caret::before { transform: rotate(-135deg); margin-top: 3px; }

.submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(11, 36, 27, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(217, 164, 65, 0.18);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 22px 60px rgba(0,0,0,.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 100;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(11, 36, 27, 0.96);
  border-left: 1px solid rgba(217, 164, 65, 0.18);
  border-top: 1px solid rgba(217, 164, 65, 0.18);
}
.nav-item:hover > .submenu,
.nav-item.open > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 241, 232, 0.82);
  letter-spacing: .5px;
  transition: background .3s, color .3s, padding .3s;
}
.submenu a .en {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--amber);
  text-transform: uppercase;
  font-weight: 700;
  opacity: .75;
}
.submenu a:hover {
  background: rgba(217, 164, 65, 0.1);
  color: var(--amber);
  padding-left: 22px;
}

.nav-cta {
  margin-left: 14px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--amber-light), var(--amber));
  color: var(--pine-900) !important;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(217, 164, 65, 0.3);
  transition: transform .3s, box-shadow .3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(217,164,65,.45); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .35s, opacity .35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ============================================================
   Sub-hero（内页顶部横幅）
   ============================================================ */
.sub-hero {
  position: relative;
  padding: 190px 0 90px;
  background: linear-gradient(150deg, #050f0b, var(--pine-800) 60%, var(--pine-700));
  color: var(--cream);
  overflow: hidden;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 80% 10%, rgba(217,164,65,.12), transparent 60%);
}
.sub-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 164, 65, 0.25);
  box-shadow: 0 0 0 60px rgba(217,164,65,.05), 0 0 0 120px rgba(217,164,65,.03);
}
.sub-hero .container { position: relative; z-index: 2; }
.sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 600;
  margin-bottom: 14px;
}
.sub-hero .crumbs {
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}
.sub-hero .crumbs a { color: var(--amber-light); }
.sub-hero p.sub-lead { max-width: 620px; color: var(--mist); font-size: 16px; }
/* ============================================================
   滚动入场动画 — 默认可见，由 JS 主动添加 preanim 给"未入视口"元素，
   避免 IO/full-page 截图等场景出现永久空白
   ============================================================ */
.reveal {
  transition: opacity .9s cubic-bezier(.2,.65,.25,1), transform .9s cubic-bezier(.2,.65,.25,1);
  will-change: opacity, transform;
}
.reveal-preanim { opacity: 0; transform: translateY(46px); }
.reveal-left.reveal-preanim  { transform: translateX(-56px); }
.reveal-right.reveal-preanim { transform: translateX(56px); }
.reveal-zoom.reveal-preanim  { transform: scale(.9); }
.reveal-preanim.in-view,
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }
/* ============================================================
   首页 About 预览
   ============================================================ */
.about-showcase { position: relative; overflow: hidden; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.about-art .orb {
  position: absolute;
  border-radius: 50%;
}
.orb-a {
  width: 300px; height: 300px;
  left: 8%; top: 8%;
  background: radial-gradient(circle at 32% 30%, var(--moss-light), var(--moss) 55%, var(--pine-700));
  box-shadow: 0 40px 90px rgba(21, 122, 91, 0.35);
  animation: floaty 7s ease-in-out infinite;
}
.orb-b {
  width: 150px; height: 150px;
  right: 6%; bottom: 4%;
  background: radial-gradient(circle at 35% 30%, #f2c979, var(--amber) 65%, #b98a2c);
  box-shadow: 0 30px 70px rgba(217, 164, 65, 0.4);
  animation: floaty 9s ease-in-out 1.2s infinite;
}
.orb-c {
  width: 90px; height: 90px;
  left: 0; bottom: 18%;
  background: radial-gradient(circle at 35% 30%, #7fd8b6, var(--moss-light) 60%, var(--moss));
  animation: floaty 6s ease-in-out .6s infinite;
}
.orb-ring {
  position: absolute;
  border: 1.5px dashed rgba(217, 164, 65, 0.5);
  border-radius: 50%;
}
.ring-1 { width: 380px; height: 380px; right: -40px; top: 30px; animation: spin 40s linear infinite; }
.ring-2 { width: 260px; height: 260px; left: 24%; bottom: -30px; border-color: rgba(42, 157, 120, 0.4); animation: spin 30s linear infinite reverse; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.about-art .art-caption {
  position: absolute;
  bottom: 0; left: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--pine-700);
  letter-spacing: 1px;
}
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #5c6b64;
  font-size: 15.5px;
}
.about-points li::before {
  content: "✦";
  color: var(--amber);
  font-size: 13px;
  margin-top: 4px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
/* ============================================================
   Responsive — Tablet (iPad)
   ============================================================ */
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 360px; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .main-nav { gap: 0; }
  .main-nav > a, .main-nav > .nav-item > .nav-link {
    padding: 10px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .main-nav > a::after,
  .main-nav > .nav-item > .nav-link::after {
    left: 12px; right: 12px;
  }
  .nav-cta {
    margin-left: 8px;
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .brand-text small { font-size: 11px; letter-spacing: 3px; }
}
@media (max-width: 820px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   CTA 横幅
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--pine-700), var(--pine-800) 60%, var(--pine-900));
  color: var(--cream);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -160px; top: 50%;
  transform: translateY(-50%);
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 164, 65, 0.28);
  box-shadow: 0 0 0 80px rgba(217,164,65,.05), 0 0 0 160px rgba(217,164,65,.03);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: clamp(60px, 8vw, 100px) 0;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-inner p { color: var(--mist); max-width: 560px; }
/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: #040d09;
  color: var(--mist);
  padding: 80px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 30px;
}
.footer-brand p.brand-line {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  color: var(--cream);
  margin: 18px 0 12px;
}
.footer-brand .fb-desc { font-size: 14px; line-height: 1.9; max-width: 320px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--mist); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--amber); padding-left: 6px; }
.footer-col .fc-item { display: flex; gap: 10px; font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-col .fc-item svg { flex: 0 0 auto; margin-top: 5px; stroke: var(--amber); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(169, 184, 176, 0.6);
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 90px);
  background: var(--pine-800);
  color: var(--cream);
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all .45s cubic-bezier(.2,.65,.25,1);
  z-index: 3000;
  pointer-events: none;
  border: 1px solid rgba(217, 164, 65, 0.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
/* ============================================================
   分页
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; align-items: center; }
.pagination a,
.pagination button.pg {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1.5px solid rgba(7,19,14,.12);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #5c6b64;
  cursor: pointer;
  font-family: inherit;
  transition: all .3s;
}
.pagination a:hover, .pagination a.active,
.pagination button.pg:hover, .pagination button.pg.active {
  background: var(--pine-800);
  border-color: var(--pine-800);
  color: var(--cream);
}
.pagination button.pg.disabled { opacity: .45; pointer-events: none; }
.pagination button.pg.dots { border: 0; background: transparent; pointer-events: none; }
.pagination .pg-jump {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 12px;
  font-size: 13px; color: #6d7a73; font-weight: 500;
}
.pagination .pg-jump input {
  width: 56px; height: 36px;
  padding: 0 10px;
  border: 1.5px solid rgba(7,19,14,.12);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-family: inherit;
  color: var(--pine-800);
  outline: none;
}
.pagination .pg-jump input:focus { border-color: var(--moss); }
.pagination .pg-jump button {
  height: 36px; padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--pine-800);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat-item:nth-child(2)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 40px;
    background: rgba(7, 19, 14, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.2,.65,.25,1);
    border-left: 1px solid var(--line-dark);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 16px; padding: 14px 0; width: 100%; }
  .main-nav a::after { display: none; }
  .nav-cta { margin: 18px 0 0; width: 100%; text-align: center; }
  .hero-content { padding-top: 130px; }
  .hero-meta { position: static; margin-top: 60px; flex-wrap: wrap; }
  .cat-grid, .pillar-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
}
@media (max-width: 480px) {
  html, body { overflow-x: hidden; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 14px 26px; font-size: 13px; }
  .section { padding: 70px 0; }
  .sub-hero { padding: 180px 0 80px; min-height: 480px; }
  .sub-hero h1 { font-size: clamp(34px, 9vw, 50px); }
  .about-art { min-height: 320px; max-width: 100%; overflow: hidden; }
  .about-grid { max-width: 100%; }
  .orb-a { width: 200px; height: 200px; left: 4%; top: 6%; }
  .orb-b { width: 90px; height: 90px; right: 2%; bottom: 8%; }
  .orb-c { width: 60px; height: 60px; left: 2%; bottom: 14%; }
  .ring-1 { width: 220px; height: 220px; right: -10px; top: 20px; }
  .ring-2 { width: 150px; height: 150px; left: 15%; bottom: -10px; }
}
.toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-bottom: 48px;
}
.search-box {
  position: relative;
  width: min(560px, 100%);
}
.search-box-hero {
  background: #fff;
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 14px 40px rgba(7,19,14,.08);
  border: 1.5px solid rgba(11, 36, 27, .32);
}
.search-box-hero:focus-within {
  border-color: rgba(21, 122, 91, .55);
  box-shadow: 0 14px 40px rgba(7,19,14,.08), 0 0 0 3px rgba(21, 122, 91, .12);
}
.search-box input {
  width: 100%;
  padding: 16px 120px 16px 52px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 15px;
  color: var(--pine-800);
  outline: none;
  transition: box-shadow .3s;
}
.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(21, 122, 91, .10);
}
.search-box .ico {
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  stroke: var(--moss);
}
.search-box .search-btn {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--moss), var(--pine-600));
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.search-box .search-btn:hover { filter: brightness(1.12); transform: translateY(-50%) translateY(-1px); }
.search-box .clear {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(7,19,14,.08);
  color: var(--pine-800);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s;
}
.search-box .clear:hover { background: rgba(7,19,14,.16); }
.search-box.has-value .clear { display: flex; }
.search-box.has-value input { padding-right: 128px; }
.search-box.has-value .search-btn { right: 44px; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter-pills button {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(7,19,14,.14);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #5c6b64;
  cursor: pointer;
  transition: all .3s;
}
.filter-pills button:hover {
  border-color: var(--moss);
  color: var(--moss);
}
.filter-pills button.active {
  background: var(--pine-800);
  border-color: var(--pine-800);
  color: var(--cream);
}
/* ---- 产品卡片(图) ---- */
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(7,19,14,.08);
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
  transition: transform .45s cubic-bezier(.2,.65,.25,1), box-shadow .45s, border-color .45s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(7,19,14,.16);
  border-color: rgba(217,164,65,.45);
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--pine-800), var(--pine-700));
  overflow: hidden;
}
.product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .thumb .badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 999px;
  background: rgba(217,164,65,.92);
  color: var(--pine-900);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.product-card .thumb .badge.pending {
  background: rgba(245,241,232,.85);
  color: var(--pine-800);
}
.product-card .thumb .cat-tag {
  position: absolute;
  bottom: 14px; right: 14px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(7,19,14,.65);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.product-card .body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card .body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--pine-800);
  line-height: 1.25;
}
.product-card .body .grade {
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
}
.product-card .body p {
  font-size: 13.5px;
  color: #6d7a73;
  line-height: 1.65;
  flex: 1;
}
.product-card .body .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(7,19,14,.12);
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
}
.product-card .body .meta .reg-num {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: .5px;
  color: var(--amber);
}
/* ---- 移动端二级菜单 ---- */
@media (max-width: 1024px) {
  .main-nav { text-align: center; }
  .main-nav > a { display: block; padding: 14px 0; width: 100%; }
  .nav-item {
    width: 100%;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(217,164,65,.08);
  }
  .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 0;
    width: 100%;
    position: relative;
  }
  .nav-item > .nav-caret {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: rgba(245,241,232,.85);
    cursor: pointer;
    z-index: 2;
  }
  .nav-item > .nav-caret::before {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform .35s ease, margin-top .35s ease;
  }
  .nav-item.open > .nav-caret::before {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
  .nav-item.open > .nav-link { color: var(--amber); }
  .submenu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 10px 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height .35s ease, padding .35s ease;
  }
  .submenu::before { display: none; }
  .nav-item.open .submenu {
    max-height: 600px;
    padding-bottom: 10px;
  }
  .submenu a {
    padding: 10px 16px;
    font-size: 13px;
    color: rgba(245,241,232,.65);
  }
  .product-card .body h3 { font-size: 18px; }
}
.related-section { margin-top: 90px; }
.related-section .section-title { margin-bottom: 28px; }
