/* ==========================================================================
   荔知知产 2026 企业官网样式系统
   新中式东方水墨雅韵 × 现代精品知识产权事务所权威感
   ========================================================================== */

:root {
  --bg-paper: #FAF9F6;
  --bg-white: #FFFFFF;
  --bg-tint: #F3F0EA;
  --ink-900: #181C22;
  --ink-700: #374151;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --brand-red: #B81D24;
  --brand-red-dark: #8E1218;
  --brand-red-soft: #FDF2F2;
  --brand-red-border: rgba(184, 29, 36, 0.22);
  --brand-blue: #26569B;
  --brand-blue-soft: #EEF4FC;
  --border: rgba(24, 28, 34, 0.08);
  --shadow-sm: 0 2px 10px rgba(24, 28, 34, 0.04);
  --shadow-md: 0 12px 32px rgba(24, 28, 34, 0.07);
  --shadow-lg: 0 20px 50px rgba(24, 28, 34, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-w: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-paper);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg-tint);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--brand-red-dark);
}

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

.text-red { color: var(--brand-red); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; padding: 13px 20px; font-size: 15px; }

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 29, 36, 0.24);
}
.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(184, 29, 36, 0.3);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-900);
  border-color: rgba(24, 28, 34, 0.16);
}
.btn-outline:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: #fff;
}

/* 顶部导航 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250, 249, 246, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(24, 28, 34, 0.05);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.brand-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  border: 1px solid var(--brand-red-border);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-red); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.header-phone:hover { color: var(--brand-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 7px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: 0.2s;
}

/* Hero 首屏 */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  background: var(--bg-paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-ink-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 78%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.34;
  transform: scaleX(-1);
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #FAF9F6 0%, rgba(250, 249, 246, 0.94) 44%, rgba(250, 249, 246, 0.35) 100%),
    linear-gradient(180deg, rgba(250, 249, 246, 0.4) 0%, rgba(250, 249, 246, 0) 35%, #FAF9F6 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-copy { max-width: 720px; }

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.seal-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-red);
  padding: 4px 11px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.eyebrow-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  font-weight: 700;
  color: var(--ink-900);
}
.accent-underline {
  color: var(--brand-red);
  position: relative;
  display: inline-block;
}
.accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: rgba(184, 29, 36, 0.13);
  z-index: -1;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--ink-700);
  margin: 0 0 24px;
  max-width: 640px;
}
.hero-subtitle strong { color: var(--ink-900); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.metric-item {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }
.metric-num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 6px;
}
.metric-num small { font-size: 18px; font-weight: 600; margin-left: 2px; }
.metric-label { font-size: 14px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; }
.metric-note { font-size: 12px; color: var(--ink-500); }

/* 通用区块 */
.section { padding: 88px 0; }
.section-white { background: var(--bg-white); }
.section-paper { background: var(--bg-paper); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--ink-900);
}
.section-desc {
  font-size: 15px;
  color: var(--ink-500);
  margin: 0;
}

.sub-section-head {
  text-align: center;
  margin: 64px 0 32px;
}
.sub-section-head h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 0;
}

/* 关于荔知 */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.card {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.about-highlight-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-red-soft);
  border: 1px solid var(--brand-red-border);
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--brand-red-dark);
}
.highlight-badge {
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.about-lead {
  font-size: 15.5px;
  color: var(--ink-700);
  margin: 0 0 26px;
}
.domains-title, .pedigree-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.domain-tags span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.industry-pedigree {
  padding-top: 20px;
  border-top: 1px dashed rgba(24, 28, 34, 0.14);
}
.industry-pedigree p { margin: 0; font-size: 14.5px; color: var(--ink-700); }

.culture-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.culture-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.culture-en {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-red);
  margin-bottom: 6px;
}
.culture-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0;
}
.culture-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.value-chip {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.value-chip strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink-900);
}
.value-chip span { font-size: 12px; color: var(--ink-500); }
.philosophy-bar {
  margin-top: auto;
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.04em;
}
.philosophy-bar .sep { opacity: 0.35; }

/* 四大核心业务与六大明星产品 */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.matrix-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.matrix-card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--brand-red);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transition: transform 0.28s ease;
}
.matrix-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red-border);
}
.matrix-card:hover::before { transform: scaleX(1); }
.matrix-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.matrix-icon svg { width: 22px; height: 22px; }
.matrix-num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: rgba(24, 28, 34, 0.08);
}
.matrix-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 14px;
}
.matrix-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.matrix-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.matrix-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-red);
}

.star-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.star-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.star-card:hover {
  border-color: var(--brand-red-border);
  box-shadow: var(--shadow-sm);
}
.star-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.star-card h4 { font-size: 17px; margin: 0 0 8px; }
.star-card p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* 公开库数据实证专区 */
.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.proof-card {
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.proof-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.proof-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.proof-tag-blue {
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
}
.proof-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0;
}
.proof-img-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: #fff;
  border: 1px solid rgba(38, 86, 155, 0.25);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}
.proof-img-btn:hover {
  background: var(--brand-blue);
  color: #fff;
}

.grant-hero-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.grant-big {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
}
.grant-big span { font-size: 24px; }
.grant-formula strong { display: block; font-size: 15px; margin-bottom: 4px; }
.grant-formula p { margin: 0; font-size: 12.5px; color: var(--ink-500); }

.bar-compare { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.bar-meta { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; }
.bar-track {
  height: 12px;
  background: rgba(24, 28, 34, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: var(--w);
  border-radius: 999px;
}
.bar-red { background: linear-gradient(90deg, var(--brand-red-dark), var(--brand-red)); }
.bar-muted { background: #9CA3AF; }

.grant-callout {
  font-size: 13.5px;
  color: var(--ink-700);
  background: var(--brand-red-soft);
  border-left: 3px solid var(--brand-red);
  padding: 11px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
}
.year-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.year-mini {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.year-mini span { display: block; font-size: 11.5px; color: var(--ink-500); }
.year-mini strong { display: block; font-size: 17px; color: var(--ink-900); margin: 2px 0; }
.year-mini small { font-size: 11px; color: var(--brand-red); }

.vol-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.vol-kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
}
.vol-kpi strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink-900);
  line-height: 1.1;
  margin-bottom: 4px;
}
.vol-kpi small { font-size: 14px; margin-left: 2px; color: var(--ink-500); }
.vol-kpi span { font-size: 12px; color: var(--ink-500); }

.dist-block { margin-bottom: 22px; }
.dist-title { font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 10px; }
.stacked-bar {
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 10px;
}
.seg-inv { background: var(--brand-red); }
.seg-des { background: var(--brand-blue); }
.seg-utl { background: #64748B; }
.dist-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-700);
}
.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot-inv { background: var(--brand-red); }
.dot-des { background: var(--brand-blue); }
.dot-utl { background: #64748B; }

.trend-bars { display: flex; flex-direction: column; gap: 10px; }
.trend-row {
  display: grid;
  grid-template-columns: 72px 1fr 56px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.t-year { color: var(--ink-700); font-weight: 600; }
.t-track { height: 10px; background: rgba(24, 28, 34, 0.08); border-radius: 999px; overflow: hidden; }
.t-fill { height: 100%; background: var(--brand-blue); border-radius: 999px; }
.t-fill-light { background: #608BC8; }
.t-val { text-align: right; font-weight: 700; color: var(--ink-900); }
.trend-footnote { font-size: 11.5px; color: var(--ink-500); margin: 10px 0 0; }

/* 复审实录 */
.reexam-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  background: var(--bg-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  align-items: center;
}
.reexam-left h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 4px 0 12px;
}
.reexam-left p { font-size: 14px; color: var(--ink-700); margin: 0 0 18px; }
.reexam-stats { display: flex; gap: 28px; }
.reexam-stats strong { display: block; font-family: var(--font-serif); font-size: 26px; }
.reexam-stats span { font-size: 12.5px; color: var(--ink-500); }

.reexam-list-title { font-size: 13px; font-weight: 700; color: var(--ink-700); margin-bottom: 12px; }
.patent-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.p-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-700);
}
.p-chip em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--ink-500);
}
.p-chip.p-success {
  border-color: var(--brand-red-border);
  background: var(--brand-red-soft);
  color: var(--ink-900);
  font-weight: 600;
}
.p-chip.p-success em {
  background: var(--brand-red);
  color: #fff;
}

/* 极速确权 */
.speed-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.speed-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.speed-fast {
  border-color: var(--brand-red-border);
  box-shadow: var(--shadow-sm);
}
.speed-label { font-size: 13.5px; color: var(--ink-500); margin-bottom: 6px; }
.speed-val { font-family: var(--font-serif); font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.speed-bar { height: 10px; background: var(--bg-tint); border-radius: 999px; overflow: hidden; }
.speed-normal .speed-bar span { display: block; height: 100%; background: #9CA3AF; }
.speed-fast .speed-bar span { display: block; height: 100%; background: var(--brand-red); border-radius: 999px; }
.speed-vs {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-400);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.case-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.case-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 2px 8px;
  border-radius: 4px;
}
.case-dates { font-size: 13.5px; color: var(--ink-700); font-weight: 500; }
.case-dur { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--ink-900); }

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cert-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.22s, box-shadow 0.22s;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}
.cert-card figcaption {
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-700);
  border-top: 1px solid var(--border);
}
.gallery-hint { text-align: center; font-size: 12.5px; color: var(--ink-500); margin: 16px 0 0; }

/* 核心团队 */
.team-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.tab-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-paper);
  color: var(--ink-700);
  cursor: pointer;
  transition: 0.2s;
}
.tab-btn:hover { border-color: var(--brand-red); color: var(--brand-red); }
.tab-btn.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.team-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.team-card.hidden { display: none; }
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-red-border); }
.team-photo {
  width: 150px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #E8E5DF;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-header h3 { font-family: var(--font-serif); font-size: 21px; margin: 0 0 4px; }
.team-role { display: block; font-size: 13px; font-weight: 600; color: var(--brand-red); margin-bottom: 10px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.team-tags span {
  font-size: 11.5px;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 5px;
}
.team-body p { font-size: 13.5px; color: var(--ink-700); margin: 0; line-height: 1.65; }

/* 权威资质与合作客户 */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.qual-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}
.qual-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qual-img-wrap {
  background: #F7F5F0;
  padding: 16px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.qual-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.qual-card figcaption {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
}
.qual-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.qual-card span { font-size: 12.5px; color: var(--ink-500); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red-border);
  box-shadow: var(--shadow-sm);
}
.client-card img {
  height: 52px;
  max-width: 120px;
  object-fit: contain;
}
.client-card span { font-size: 13px; font-weight: 600; color: var(--ink-700); }

/* 联系我们 */
.section-contact {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F2EC 100%);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-lead { font-size: 15px; color: var(--ink-700); margin: 0 0 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.c-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.c-label { font-size: 12px; font-weight: 700; color: var(--ink-500); margin-bottom: 5px; }
.c-val { font-size: 14.5px; color: var(--ink-900); font-weight: 500; }
.c-val-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.c-phone { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--brand-red); }
.copy-btn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  border: 1px solid var(--brand-red-border);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.copy-btn:hover { background: var(--brand-red); color: #fff; }

.wechat-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.wechat-box h3 { font-family: var(--font-serif); font-size: 24px; margin: 6px 0 8px; }
.wechat-sub { font-size: 13.5px; color: var(--ink-500); margin: 0 0 22px; }
.qr-frame {
  width: 240px;
  margin: 0 auto 18px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.qr-frame:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.qr-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.qr-placeholder {
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(184, 29, 36, 0.3);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-500);
  padding: 12px;
}
.qr-placeholder svg { color: var(--brand-red); opacity: 0.7; }
.qr-placeholder span { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.qr-placeholder small { font-size: 11.5px; color: var(--ink-400); }
.wechat-id-row {
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 18px;
}
.wechat-id-row strong { color: var(--brand-red); font-size: 16px; }
.wechat-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.team-grid-duo .team-card {
  grid-template-columns: 170px 1fr;
  padding: 26px;
}
.team-grid-duo .team-photo {
  width: 170px;
}

/* 页脚 */
.site-footer {
  background: #16191F;
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 30px;
  width: auto;
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.footer-brand p, .footer-legal p { margin: 4px 0; }
.footer-meta { color: rgba(255, 255, 255, 0.5); font-size: 12.5px; }
.footer-legal { text-align: right; }
.icp-line a { color: rgba(255, 255, 255, 0.6); }
.icp-line a:hover { color: #fff; text-decoration: underline; }

/* 悬浮按钮、灯箱、Toast */
.float-bar {
  position: fixed;
  right: 22px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  transition: 0.2s;
}
.float-phone { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.float-phone:hover { background: var(--brand-red-dark); transform: translateY(-2px); }
.float-top { opacity: 0; pointer-events: none; }
.float-top.visible { opacity: 1; pointer-events: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 24, 0.86);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.lightbox-body { max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox-body img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox-body p { color: rgba(255, 255, 255, 0.86); font-size: 14px; margin: 14px 0 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: #181C22;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 250;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 滚动入场动效 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* 响应式适配 */
@media (max-width: 1060px) {
  .main-nav { gap: 16px; }
  .header-phone { display: none; }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-gallery { grid-template-columns: repeat(3, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-layout, .reexam-panel, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .brand-badge { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 12px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .hero { padding: calc(var(--header-h) + 36px) 0 48px; }
  .hero-ink-img { width: 100%; opacity: 0.22; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-item { border-bottom: 1px solid var(--border); padding: 18px 16px; }
  .metric-num { font-size: 28px; }
  .section { padding: 60px 0; }
  .matrix-grid, .star-grid, .qual-grid, .case-timeline { grid-template-columns: 1fr; }
  .speed-compare { grid-template-columns: 1fr; }
  .speed-vs { margin: 0 auto; }
  .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .year-mini-grid, .culture-values { grid-template-columns: repeat(2, 1fr); }
  .patent-chips, .wechat-actions { grid-template-columns: 1fr; }
  .team-card, .team-grid-duo .team-card { grid-template-columns: 1fr; }
  .team-photo, .team-grid-duo .team-photo { width: 132px; }
  .footer-legal { text-align: left; }
}
