:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1f2e;
  --text-muted: #5c6478;
  --primary: #0d5c63;
  --primary-dark: #094248;
  --accent: #e8a838;
  --accent-soft: #fff4dc;
  --border: #e2e6ef;
  --shadow: 0 12px 40px rgba(13, 92, 99, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --max: 1140px;
  --max-blog: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text {
  display: flex;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1.2;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.nav-desktop a:hover { color: var(--primary); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

/* 10 项一级导航需要足够横向空间：窄于 1200px 改用移动端抽屉
   （断点必须与 .nav-mobile / js/layout.js 的 1200 保持一致）。 */
@media (min-width: 1200px) {
  .nav-desktop { display: flex; margin-left: auto; margin-right: 0.5rem; }
  .nav-toggle { display: none; }
  .header-actions { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 92, 99, 0.25);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: var(--text);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  background: var(--primary-dark);
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #094248 0%, #0d5c63 45%, #1a3a4a 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(9, 66, 72, 0.88) 0%, rgba(13, 92, 99, 0.72) 45%, rgba(13, 92, 99, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 6.5rem;
  color: #fff;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-slide h1,
.hero-slide h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-slide h1 span,
.hero-slide h2 span { color: var(--accent); }

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  opacity: 0.92;
  max-width: 560px;
}

.hero-lead strong { color: #fff; font-weight: 600; }

.hero-slogan {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent, #e8c547);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.brand-slogan-band {
  padding: 2rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(9, 66, 72, 0.06) 0%, rgba(232, 197, 71, 0.08) 100%);
  border-block: 1px solid var(--border);
}

.brand-slogan-primary {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-slogan-secondary {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.7;
}

.ecosystem-backing {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: var(--surface-alt, rgba(9, 66, 72, 0.04));
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent, #e8c547);
  line-height: 1.75;
}

.ecosystem-backing a {
  font-weight: 600;
  color: var(--primary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.hero-ui {
  position: absolute;
  z-index: 5;
  bottom: 7.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, var(--max));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-stats-bar {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, var(--max));
  padding-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-stats li { text-align: left; }
.hero-stats strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stats span {
  font-size: 0.78rem;
  opacity: 0.82;
}

@media (max-width: 640px) {
  .hero-content { padding-bottom: 7rem; }
  .hero-ui { bottom: 6.5rem; }
  .hero-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.25rem;
  }
  .hero-dot {
    width: 12px;
    height: 12px;
    padding: 8px;
    box-sizing: content-box;
    background-clip: content-box;
  }
  .hero-stats { grid-template-columns: 1fr; gap: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }

.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head-center .section-desc { margin-inline: auto; }

/* Boss pain list */
.pains { background: var(--surface); border-block: 1px solid var(--border); }

.pains-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .pains-layout { grid-template-columns: 0.9fr 1.1fr; }
}

.pains-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pain-list {
  display: grid;
  gap: 0.85rem;
}

.pain-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.pain-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: #8a5a00;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-fine { font-size: 0.8rem; opacity: 0.55; }
.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

/* Personas */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.persona-card {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.persona-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.persona-card .persona-icon,
.persona-card h3,
.persona-card p {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.persona-card .persona-icon { margin-top: 1rem; }
.persona-card p { margin-bottom: 1.25rem; }

.persona-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.persona-icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.persona-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.persona-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Scenario blocks */
.featured-scenarios { background: var(--surface); }

.scenario-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.scenario-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 860px) {
  .scenario-block {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
  .scenario-block.reverse .scenario-visual { order: 2; }
  .scenario-block.reverse .scenario-body { order: 1; }
}

.scenario-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #dce8ea, #b8d4d8);
}

.scenario-visual.fallback,
.scenario-visual:has(img[style*="display: none"]) {
  background: linear-gradient(145deg, var(--primary) 0%, #1a3a4a 100%);
}

.scenario-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.scenario-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  color: #8a5a00;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.scenario-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.scenario-tagline {
  margin: 0 0 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

.scenario-pains {
  margin-bottom: 1.25rem;
}

.scenario-pains li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scenario-pains li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.scenario-includes {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.scenario-includes strong { color: var(--primary); margin-right: 0.35rem; }

.scenario-price {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.scenario-price em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

/* Scenario grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.scenario-chip {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.scenario-chip span {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--primary);
  font-weight: 700;
}

.scenario-chip.highlight {
  border-color: var(--primary);
  background: rgba(13, 92, 99, 0.06);
}

/* Packages */
.packages { background: linear-gradient(180deg, var(--bg) 0%, #eef2f4 100%); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Gallery */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Packages with photos */
.package-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.package-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.package-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-card.featured .package-badge {
  top: 140px;
  z-index: 2;
}

.package-card .package-body ul { flex: 1; }

/* Contact with photo */
.contact-visual {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

@media (min-width: 1100px) {
  .contact-inner {
    grid-template-columns: 0.85fr 1fr 1fr;
    align-items: stretch;
  }
  .contact-visual { display: block; }
}

@media (min-width: 860px) and (max-width: 1099px) {
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

.package-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #3d2a00;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.package-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.package-for {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.package-card ul {
  flex: 1;
  margin-bottom: 1.25rem;
}

.package-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.package-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.trust-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.trust-item h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.trust-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Regions */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.region-card {
  padding: 0;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.region-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.region-card h3,
.region-card p {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.region-card h3 { margin-top: 1rem; }
.region-card p { margin-bottom: 1.75rem; }

/* Contact */
.contact {
  background: var(--primary-dark);
  color: #fff;
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
}

.contact .section-label { color: var(--accent); }
/* contact.html 的主标题是 h1（其余页面的联系区标题是 h2），两者共用同一套字号 */
.contact h1,
.contact h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-copy > p { opacity: 0.9; margin: 0 0 1.5rem; }

.contact-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.contact-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* 企微二维码（联系页） */
.contact-qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}
.contact-qr img {
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
}
.contact-qr strong { display: block; font-size: 0.95rem; }
.contact-qr p { margin: 0.35rem 0 0; font-size: 0.82rem; opacity: 0.85; }
.contact-qr-fallback { opacity: 0.7 !important; }
.contact-qr.is-qr-missing img { display: none; }

/* 联系页第三列：三个直连渠道（企业微信 / 电话 / 邮箱）。
   这一列取代了原先的询盘表单 —— 表单只是把填写内容再转成邮件，
   中间多一道手续，不如把三个真实渠道直接摆出来。 */
.contact-channels {
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* 二维码卡片原先跟在文案下方，移到独立一列后去掉那段上边距 */
.contact-channels .contact-qr { margin-top: 0; }

.contact-direct {
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

.contact-direct-item + .contact-direct-item {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-direct strong { display: block; font-size: 0.95rem; }
.contact-direct p { margin: 0.35rem 0 0; font-size: 0.85rem; opacity: 0.85; }

.contact-direct a,
.contact-qr a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-wechat-same { opacity: 0.75; }

.contact-note { margin: 0; font-size: 0.78rem; opacity: 0.7; }

@media (max-width: 560px) {
  .contact-qr { flex-direction: column; align-items: flex-start; }
}

/* 询盘表单（.contact-form / .form-note / .form-status）的样式已随表单一起撤掉：
   contact.html 与 index.html 改为直接给企业微信 / 电话 / 邮箱三个渠道。 */

/* Footer + integrated sitemap */
.site-footer {
  padding: 0 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  background: #0a2e33;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  clear: both;
  position: relative;
  z-index: 2;
}

.footer-compact {
  padding: 1.35rem 0 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-compact-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-compact-brand img {
  display: block;
  height: auto;
}

.footer-compact-brand p {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  max-width: 280px;
}

.footer-compact-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.15rem;
}

.footer-compact-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.footer-compact-nav a:hover {
  color: var(--accent);
}

.footer-sitemap-wrap {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-top {
  max-width: 320px;
  margin-bottom: 1.75rem;
}

.footer-brand-top p {
  margin: 0.75rem 0 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer-sitemap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-sitemap-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-sitemap-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.footer-sitemap-more:hover {
  color: #fff;
}

.footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.footer-sitemap-col h3 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.footer-sitemap-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-sitemap-col li {
  margin: 0 0 0.35rem;
}

.footer-sitemap-col a {
  display: inline-block;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.footer-sitemap-col a:hover {
  color: var(--accent);
}

.footer-ai-discovery {
  flex-basis: 100%;
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-ai-discovery summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.footer-ai-discovery summary::-webkit-details-marker {
  display: none;
}

.footer-ai-discovery summary::before {
  content: "▸ ";
  font-size: 0.65rem;
  opacity: 0.7;
}

.footer-ai-discovery[open] summary::before {
  content: "▾ ";
}

.footer-ai-discovery summary:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer-ai-discovery[open] {
  margin-top: 0.35rem;
}

.footer-ai-discovery .footer-sitemap-ai-list {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 28rem;
}

.footer-ai-discovery .footer-sitemap-ai-list a {
  font-size: 0.78rem;
}

.footer-ai-discovery .footer-ai-name {
  color: rgba(255, 255, 255, 0.72);
}

.footer-ai-discovery .footer-ai-desc {
  color: rgba(255, 255, 255, 0.42);
}

.footer-sitemap-ai-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-sitemap-ai-list li:last-child a {
  border-bottom: 0;
}

.footer-ai-name {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-all;
}

.footer-ai-desc {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="sitemap"] .footer-compact-nav {
  display: none;
}

body[data-page="sitemap"] .footer-compact {
  padding-bottom: 0.85rem;
}

body[data-page="sitemap"] .footer-sitemap {
  display: none;
}

body[data-page="sitemap"] .footer-sitemap-wrap {
  padding-bottom: 1.25rem;
}

body[data-page="sitemap"] .footer-brand-top {
  margin-bottom: 0;
}

.sitemap-page {
  display: grid;
  gap: 2rem;
}

.sitemap-page-block {
  padding: 1.5rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.sitemap-page-block h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.sitemap-page-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sitemap-page-note code {
  font-size: 0.85em;
  background: var(--bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.sitemap-page-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.sitemap-page-links-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 0.5rem 0.85rem;
}

.sitemap-page-links a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--primary-dark);
  background: var(--bg);
  border: 1px solid var(--border);
}

.sitemap-page-links a:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
}

/* 文章总览 blog/archive.html — 纯静态索引，给不执行 JS 的搜索引擎与中文 AI 爬虫。
   沿用 sitemap-page 的视觉语言，但每条要带一句摘要，所以走单列而不是栅格。 */
.archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.archive-list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.archive-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.archive-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.archive-list a:hover {
  color: var(--primary);
}

.archive-list p {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.archive-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.archive-jump a {
  font-size: 0.86rem;
  color: var(--primary-dark);
}

.sitemap-page-block-ai {
  background: linear-gradient(135deg, #f8fbfc 0%, #eef6f7 100%);
}

.sitemap-page-ai {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-page-ai li {
  margin: 0 0 0.65rem;
}

.sitemap-page-ai a {
  display: block;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
}

.sitemap-page-ai a:hover {
  border-color: var(--primary);
}

.sitemap-page-ai strong {
  color: var(--primary-dark);
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-brand p { margin: 0.75rem 0 0; line-height: 1.5; }
.footer-links p { margin: 0 0 0.35rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  opacity: 0.75;
  font-size: 0.88rem;
}

.footer-col a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
}

.nav-desktop a.is-active,
.nav-mobile a.is-active {
  color: var(--primary);
  font-weight: 700;
}

/* Inner pages */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 66, 72, 0.55) 0%, rgba(9, 66, 72, 0.92) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
}

.page-hero-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(232, 168, 56, 0.2);
  border: 1px solid rgba(232, 168, 56, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.page-hero-lead {
  margin: 0;
  max-width: 640px;
  opacity: 0.92;
  font-size: 1.05rem;
}

.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--primary); }

.page-section {
  padding: 3.5rem 0;
}

.page-section.alt { background: var(--surface); }

.page-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.page-section > .container > p.section-desc {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 720px;
}

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.split-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.info-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.tier-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tier-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.tier-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.link-card {
  display: block;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.link-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.link-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.link-card .arrow {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

.faq-list details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 3rem 0;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}

.cta-band h2 { margin: 0 0 0.75rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.cta-band p { margin: 0 0 1.5rem; opacity: 0.9; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-body { padding: 1.25rem 1.5rem 1.5rem; }
.case-body h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.case-body p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.case-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.product-block {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-block h3 { margin: 0 0 0.5rem; }
.product-block p { margin: 0 0 1rem; color: var(--text-muted); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary-dark);
}

.contact-page.contact {
  padding: 5rem 0 3rem;
  min-height: 70vh;
}

.page-hero-compact { min-height: 240px; }

/* About hub & sub-pages */
.about-hero-carousel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--primary-dark);
}

.about-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* 非当前帧必须退出无障碍树：只写 opacity:0 时读屏仍会把 5 张幻灯片
     的标题连起来读一遍（也是「一页多个 h1」的直接来源）。 */
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  pointer-events: none;
}

.about-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 第 2～5 帧的标题是 h2（全页只保留第 1 帧一个 h1），
   这里按 h1 的默认字号与间距还原，避免语义修正带来视觉回归。 */
.about-hero-slide h2 {
  margin: 0.67em 0;
  font-size: 2em;
  font-weight: 700;
}

.about-hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-hero-slide .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 66, 72, 0.88) 0%, rgba(9, 66, 72, 0.45) 100%);
}

.about-hero-slide .page-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.about-hero-caption {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.about-carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.about-carousel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.about-carousel-dots button.is-active {
  background: #fff;
  transform: scale(1.15);
}

.about-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.about-carousel-nav:hover { background: rgba(255, 255, 255, 0.3); }
.about-carousel-prev { left: 1rem; }
.about-carousel-next { right: 1rem; }

.about-prose p {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.about-prose p:last-child { margin-bottom: 0; }

.about-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.about-industry-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-industry-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.about-industry-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.about-adv-card {
  padding: 1.25rem;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-adv-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.about-adv-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.about-office-block {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-office-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--primary);
}

.about-office-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .about-hero-carousel { min-height: 360px; }
  .about-hero-slide img { min-height: 360px; }
  .about-carousel-nav { display: none; }
}

.about-subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 40;
}

.about-subnav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 0;
}

.about-subnav a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.about-subnav a:hover {
  color: var(--primary);
  background: var(--accent-soft);
}

.about-subnav a.is-active {
  color: var(--primary-dark);
  background: var(--accent-soft);
  border-color: rgba(232, 168, 56, 0.45);
  font-weight: 600;
}

.about-en {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  opacity: 0.75;
  font-weight: 400;
  font-style: italic;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.about-stat {
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.about-stat strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--primary);
  line-height: 1.2;
}

.about-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.brand-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(9, 66, 72, 0.12));
}

.brand-card.is-primary {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(9, 66, 72, 0.04) 0%, var(--surface) 100%);
}

.brand-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.brand-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.brand-card-tag {
  padding: 0.2rem 0.55rem;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.brand-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.brand-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.brand-card-link:hover { text-decoration: underline; }

.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-pillar {
  padding: 1.5rem;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
}

.about-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.about-pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-split-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
}

.about-timeline-item {
  position: relative;
  padding: 0 0 2rem 1.25rem;
}

.about-timeline-item:last-child { padding-bottom: 0; }

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.62rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.about-timeline-year {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.about-timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.about-timeline-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.team-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.team-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-soft);
}

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.team-role {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.team-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: left;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.office-block {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.office-block h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.office-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-block li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.office-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.cert-item {
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.cert-item img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.cert-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.trust-signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.trust-signal {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-signal h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.trust-signal p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-value {
  padding: 1.5rem;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
}

.about-value h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.about-value p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.9;
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.delivery-step {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.delivery-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.delivery-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.delivery-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 769px) {
  .two-col.about-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .about-pillar-grid,
  .about-values,
  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .about-split-row {
    grid-template-columns: 1fr;
  }

  .about-split-row img {
    height: 200px;
  }

  .about-subnav-inner {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
  }

  .about-subnav a {
    flex-shrink: 0;
  }
}

.page-hero-blog-banner {
  min-height: 160px;
}

.page-hero-blog-banner .page-hero-overlay {
  background: linear-gradient(180deg, rgba(9, 66, 72, 0.65) 0%, rgba(9, 66, 72, 0.88) 100%);
}

.blog-article-header {
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.blog-article-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 168, 56, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.blog-icon-cat svg {
  width: 0.95rem;
  height: 0.95rem;
}

.blog-article-header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  line-height: 1.3;
  color: var(--primary-dark);
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.blog-section > .container {
  width: min(100% - 2rem, var(--max-blog));
}

.blog-section {
  padding-bottom: 3rem;
}

/* Blog hero slider */
.blog-hero-slider {
  position: relative;
  min-height: clamp(420px, 52vh, 560px);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.blog-hero-bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s ease, transform 6s ease;
}

.blog-hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 40, 44, 0.92) 0%, rgba(6, 40, 44, 0.72) 42%, rgba(6, 40, 44, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(6, 40, 44, 0.85) 100%);
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max-blog));
  margin-inline: auto;
  padding: 2.5rem 0 2rem;
}

.blog-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-hero-counter {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.blog-hero-panel {
  max-width: 720px;
  min-height: 11rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.blog-hero-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-hero-panel:focus {
  outline: none;
}

.blog-hero-cat {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(232, 168, 56, 0.18);
  border: 1px solid rgba(232, 168, 56, 0.45);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-hero-scene {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.blog-hero-pain {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.blog-hero-hook {
  margin: 0 0 1.25rem;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.blog-hero-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.blog-hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.blog-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.blog-hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
}

.blog-hero-dot {
  width: 9px;
  height: 9px;
  padding: 17.5px;
  box-sizing: content-box;
  background-clip: content-box;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.blog-hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.blog-hero-thumbs-wrap {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-hero-thumbs-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.blog-hero-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.blog-hero-thumb {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-width: 0;
}

.blog-hero-thumb:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.blog-hero-thumb.is-active {
  background: rgba(232, 168, 56, 0.18);
  border-color: rgba(232, 168, 56, 0.55);
  transform: translateY(-1px);
}

.blog-hero-thumb-num {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.blog-hero-thumb-text {
  font-size: 0.72rem;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-hero-lead {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 820px;
}

@media (max-width: 899px) {
  .blog-hero-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-hero-slider {
    min-height: 480px;
  }
}

@media (max-width: 599px) {
  .blog-hero-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-hero-controls {
    flex-wrap: wrap;
  }

  .blog-hero-dots {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-bg,
  .blog-hero-panel {
    transition: none;
  }
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.blog-search {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.blog-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
}

.blog-chip.is-active,
.blog-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent-soft);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 卡片内容统一放这里留内边距：卡片本体不留，封面图才能通栏贴边 */
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem;
}

.blog-card-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-cover img {
  transform: scale(1.03);
}

.blog-chip-num {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.75;
}

.blog-chip.is-active .blog-chip-num {
  color: var(--primary-dark);
  opacity: 0.85;
}

.blog-card-cat {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-card-flagship {
  display: inline-block;
  margin: 0 0 0.5rem 0.5rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid rgba(232, 146, 58, 0.45);
  border-radius: 999px;
  vertical-align: middle;
}

.blog-card.is-flagship {
  border-color: rgba(232, 146, 58, 0.35);
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-card h2 a:hover { color: var(--primary); }

.blog-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 0.75rem;
  margin-top: 2rem;
}

.blog-pager .btn {
  min-height: 44px;
}

/* 页码条：836 篇有 35 页，只给上一页/下一页等于逼人点到底 */
.blog-page-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.blog-page-btn {
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.blog-page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.blog-page-btn.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: default;
}

.blog-page-gap {
  padding: 0 0.25rem;
  color: var(--text-muted);
  user-select: none;
}

.blog-page-num {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .blog-page-list {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.blog-page-main {
  overflow: visible;
}

.blog-article-body {
  padding-bottom: 3rem;
  overflow: visible;
}

.blog-article-body > .container,
body[data-blog-article] .breadcrumb.container,
body[data-blog-article] .blog-article-header.container {
  width: min(100% - 2rem, var(--max-blog));
}

.blog-article-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.blog-article-main {
  min-width: 0;
  overflow-wrap: anywhere;
}

.blog-sidebar-links,
.blog-sidebar-recs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar-links li,
.blog-sidebar-recs li {
  margin: 0 0 0.5rem;
}

.blog-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.blog-sidebar-links a:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
}

.blog-sidebar-recs a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.blog-sidebar-recs li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}

.blog-rec-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.blog-rec-title {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-sidebar-recs a:hover .blog-rec-title {
  color: var(--primary-dark);
}

/* 文章页底部的「相关方案 / 相关区域包」。
   这是文章正文区里唯一的站内横向出口：读者读完一篇的落点，本来只有
   「联系我们」和一个返回列表的按钮；这两张卡把文章接回产品线与区域包。
   两张卡在宽屏上并排、窄屏上堆叠，高度不齐时顶部对齐即可。 */
.blog-cross-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: start;
  margin: 2rem 0 0;
}

.blog-cross-card {
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.blog-cross-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.blog-cross-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-cross-list li {
  margin: 0 0 0.5rem;
}

.blog-cross-list li:last-child {
  margin-bottom: 0;
}

.blog-cross-list a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface, #fff);
  transition: border-color 0.2s, background 0.2s;
}

.blog-cross-list a:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
}

.blog-cross-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.blog-cross-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.blog-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  overflow: visible;
  flex-shrink: 0;
}

.blog-sidebar-card h3,
.blog-sidebar-head {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.blog-sidebar-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.blog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.blog-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.blog-icon-section {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(13, 92, 99, 0.08) 100%);
  color: var(--primary-dark);
  border: 1px solid rgba(13, 92, 99, 0.12);
}

.blog-icon-section svg {
  width: 1.15rem;
  height: 1.15rem;
}

.blog-icon-sidebar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--primary-dark);
}

.blog-icon-sidebar svg {
  width: 1rem;
  height: 1rem;
}

.blog-icon-subsection {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  background: rgba(13, 92, 99, 0.08);
  color: var(--primary);
}

.blog-icon-subsection svg {
  width: 0.9rem;
  height: 0.9rem;
}

.blog-icon-inline {
  margin-right: 0.35rem;
  vertical-align: -0.2em;
}

.blog-icon-inline svg {
  width: 1rem;
  height: 1rem;
}

.blog-icon-check {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(13, 92, 99, 0.1);
  color: var(--primary);
}

.blog-icon-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.blog-icon-quote {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(13, 92, 99, 0.12);
  color: var(--primary-dark);
  margin-bottom: 0.65rem;
}

.blog-icon-quote svg {
  width: 1rem;
  height: 1rem;
}

.blog-icon-link {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.blog-icon-link svg {
  width: 0.9rem;
  height: 0.9rem;
}

.blog-icon-meta {
  margin-right: 0.25rem;
  vertical-align: -0.15em;
  color: var(--primary);
}

.blog-icon-meta svg {
  width: 0.95rem;
  height: 0.95rem;
}

.blog-icon-nav {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.blog-icon-nav svg {
  width: 1rem;
  height: 1rem;
}

.blog-sidebar-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  overflow: visible;
}

.blog-sidebar-structure-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.blog-sidebar-structure {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text);
}

/* 侧栏「本文目录」：长文十几个小节，靠它一段一段跳 */
.blog-sidebar-toc {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.blog-sidebar-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  max-height: 15rem;
  overflow-y: auto;
}

.blog-sidebar-toc-list li {
  counter-increment: toc;
  margin: 0;
}

.blog-sidebar-toc-list a {
  display: block;
  padding: 0.3rem 0 0.3rem 1.6rem;
  position: relative;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.blog-sidebar-toc-list a::before {
  content: counter(toc);
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 1.15rem;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  text-align: center;
}

.blog-sidebar-toc-list a:hover {
  background: var(--surface-alt, rgba(0, 0, 0, 0.03));
  color: var(--primary);
}

.blog-sidebar-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.blog-sidebar-contact-row .blog-icon-inline {
  margin-top: 0.1rem;
  margin-right: 0;
}

.blog-sidebar-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.blog-sidebar-contact a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-all;
}

.blog-sidebar-contact a:hover {
  text-decoration: underline;
}

.blog-sidebar-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-sidebar-qr-wrap {
  margin: 1rem 0 0;
  text-align: center;
}

.blog-sidebar-qr {
  width: 140px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.blog-sidebar-qr-wrap figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.blog-qr-missing {
  margin: 1rem 0 0;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.5;
}

.blog-meta-count {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.blog-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}

.blog-content-error {
  padding: 1.5rem;
  border: 1px solid #f0c9c9;
  background: #fff8f8;
  border-radius: 8px;
  color: var(--text);
  line-height: 1.7;
}

/* 空结果时的兜底容器：文案 + 「清除筛选」出口 */
.blog-empty-box {
  text-align: center;
}

.blog-empty-box .blog-empty {
  margin-bottom: 1rem;
}

/* 仅供读屏的辅助标签（搜索结果为空的分类型兜底页等场景使用） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 文章不存在时的页面内兜底：给出口，不静默跳转 */
.blog-missing {
  max-width: 640px;
}

.blog-missing-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
}

.blog-missing-box h1 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.blog-missing-box p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.blog-missing-search {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.blog-missing-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}

.blog-missing-search input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.blog-missing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0;
}

@media (max-width: 520px) {
  .blog-missing-search {
    flex-direction: column;
  }
}

/* ---------------------------------------------------------------- */
/* 404 页面（nginx 的 error_page 指向 /404.html）                    */
/* 目的有两个：不让访客走进死路；以及即使某个周边资源没加载成功，     */
/* 这一页本身仍然读得懂（所以内容全部是纯 HTML + 站内相对链接）。    */
/* ---------------------------------------------------------------- */

.nf {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
  text-align: center;
}

.nf-code {
  margin: 0 0 0.35rem;
  font-size: clamp(2.6rem, 9vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.nf h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  color: var(--text);
}

.nf-lead {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 搜索框直接以 GET 提交到 blog/index.html?q=，不依赖 JS 也能用 */
.nf-search {
  display: flex;
  gap: 0.5rem;
  max-width: 32rem;
  margin: 0 auto 2.25rem;
}

.nf-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
}

.nf-search input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.nf-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.nf-links a {
  display: block;
  height: 100%;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.nf-links a:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.nf-links strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
  color: var(--primary-dark);
}

.nf-links span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.nf-help {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.nf-help a {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 520px) {
  .nf-search {
    flex-direction: column;
  }

  .nf-search .btn {
    width: 100%;
  }
}

.blog-content-error code {
  font-size: 0.9em;
  background: #f5f5f5;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.blog-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}

.blog-prose h2,
.blog-section-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 2.25rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--text);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent-soft);
  /* 侧栏目录会跳到这里：给吸附的页头留出高度，否则标题会被压在页头下面 */
  scroll-margin-top: 6rem;
}

.blog-prose h3,
.blog-subsection-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--primary-dark);
}

.blog-prose a.blog-inline-link,
.blog-prose .blog-inline-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-prose a.blog-inline-link:hover,
.blog-prose .blog-inline-link:hover {
  color: var(--primary-dark);
}

/* 图文稿正文用了大量 **加粗** 来点出结论句，纯默认粗体在长文里不够醒目 */
.blog-prose strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.blog-prose code {
  padding: 0.1rem 0.35rem;
  font-size: 0.88em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--primary-dark);
  background: rgba(13, 92, 99, 0.07);
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.blog-prose p {
  margin: 0 0 1rem;
  color: var(--text);
}

.blog-prose ul,
.blog-prose ol,
.blog-checklist,
.blog-numbered {
  margin: 0 0 1.25rem;
  padding-left: 0;
  color: var(--text);
  list-style: none;
}

.blog-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  line-height: 1.7;
}

.blog-numbered {
  counter-reset: blog-num;
}

.blog-numbered li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 2rem;
  line-height: 1.7;
}

.blog-numbered li::before {
  counter-increment: blog-num;
  content: counter(blog-num);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-prose li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}

.blog-prose blockquote,
.blog-quote {
  display: flex;
  flex-direction: column;
  margin: 1.25rem 0;
  padding: 1rem 1.25rem 1rem 1.1rem;
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(255, 244, 220, 0.35) 100%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-weight: 500;
}

.blog-quote p {
  margin: 0;
}

.blog-table-wrap {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.blog-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-table caption {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--border);
  caption-side: top;
}

.blog-table th,
.blog-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.blog-table th {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.blog-table tbody tr:last-child td {
  border-bottom: 0;
}

.blog-table tbody tr:hover td {
  background: rgba(9, 66, 72, 0.03);
}

.blog-flow {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.blog-flow-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.blog-flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.blog-flow-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.blog-flow-text {
  flex: 1;
  min-width: 0;
  color: var(--text);
}

.blog-flow-arrow {
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

@media (min-width: 720px) {
  .blog-flow-steps {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .blog-flow-step {
    flex: 1 1 calc(50% - 0.375rem);
    flex-direction: column;
    position: relative;
    padding-bottom: 1.5rem;
  }

  .blog-flow-arrow {
    position: absolute;
    right: -0.35rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .blog-flow-step:nth-child(even) .blog-flow-arrow {
    display: none;
  }
}

/* ---------------------------------------------------------------- */
/* 图文文章（区域与市场案例）：封面 / 正文插图 / 要点速览 / 来源 / 署名 */
/* ---------------------------------------------------------------- */

.blog-article-cover {
  margin: 1.5rem 0 0;
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.blog-article-cover figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.blog-article-series {
  color: var(--text-muted);
}

.blog-figure {
  margin: 1.5rem 0;
}

.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.blog-figure figcaption {
  margin-top: 0.55rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* 要点速览：放在正文最前面，扫一眼就知道这篇讲什么 */
.blog-keypoints {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 146, 58, 0.28);
  border-radius: var(--radius-sm);
}

.blog-keypoints-head,
.blog-sources-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.blog-keypoints ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.blog-keypoints li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
  color: var(--text);
}

.blog-keypoints li:last-child {
  margin-bottom: 0;
}

/* 数据来源：带外链，支撑事实核查（E-E-A-T） */
.blog-sources {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
}

.blog-sources ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.blog-sources li {
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.blog-sources .blog-inline-link {
  color: var(--primary);
}

/* 文末署名段：产品定位说明，与正文用左侧色条区分 */
.blog-closing {
  display: flex;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-closing p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.blog-article-loading {
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
}

.blog-article-error {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #c0392b;
  background: #fdecea;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #7f1d1d;
  line-height: 1.7;
}

.blog-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.blog-article-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-article-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}

.blog-article-end {
  margin-top: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border);
}

.blog-article-bottom-contact {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.blog-bottom-contact-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.blog-bottom-contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .blog-bottom-contact-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
}

.blog-bottom-contact-info p {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-bottom-contact-info a {
  color: var(--primary);
  font-weight: 600;
}

.blog-bottom-contact-qr {
  text-align: center;
}

.blog-bottom-contact-qr img {
  width: 120px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.blog-bottom-contact-qr figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

body[data-blog-article] .blog-page-main + #site-footer,
body[data-blog-article] #site-footer {
  display: block;
  visibility: visible;
}

body[data-blog-article] .blog-page-main {
  padding-bottom: 0;
}

.blog-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-nav-item {
  min-width: 0;
}

.blog-nav-prev {
  text-align: left;
}

.blog-nav-next {
  text-align: right;
}

.blog-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-nav-link-next {
  justify-content: flex-end;
}

.blog-nav-copy {
  min-width: 0;
  flex: 1;
}

.blog-nav-link:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.blog-nav-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.blog-nav-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.45;
}

.blog-nav-link-next .blog-nav-label,
.blog-nav-link-next .blog-nav-title {
  text-align: right;
}

@media (min-width: 960px) {
  .blog-article-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    align-items: start;
  }

  .blog-article-sidebar {
    position: sticky;
    top: calc(var(--header-h, 72px) + 1rem);
    order: 1;
    align-self: start;
    overflow: visible;
  }

  .blog-article-main {
    order: 2;
    min-width: 0;
  }
}

@media (max-width: 959px) {
  .blog-article-layout {
    display: flex;
    flex-direction: column;
  }

  .blog-article-sidebar {
    order: 2;
    margin-top: 1rem;
  }

  .blog-article-main {
    order: 1;
  }
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .split-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (max-width: 899px) {
  .footer-sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .footer-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-sitemap-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-sitemap-wrap {
    padding: 2rem 0 1.5rem;
  }
}

/* ========== Mobile / responsive ========== */
@media (max-width: 1079px) {
  .header-cta { display: none; }

  .nav-mobile {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - var(--header-h, 72px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 32px rgba(13, 92, 99, 0.12);
    z-index: 101;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-mobile a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .blog-article-actions {
    flex-direction: column;
  }

  .blog-article-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .blog-article-nav {
    grid-template-columns: 1fr;
  }

  .blog-nav-next,
  .blog-nav-link-next .blog-nav-label,
  .blog-nav-link-next .blog-nav-title {
    text-align: left;
  }

  :root {
    --max: 100%;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  section { padding: clamp(2.5rem, 6vw, 4rem) 0; }

  .header-inner {
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand-logo { height: 34px; max-width: 140px; }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .lang-btn {
    min-width: 40px;
    min-height: 36px;
  }

  .hero-carousel {
    min-height: clamp(460px, 88svh, 640px);
  }

  .hero-content {
    padding: 2.25rem 0 7.5rem;
    max-width: none;
  }

  .hero-slide h1,
  .hero-slide h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-ui {
    bottom: 6rem;
    gap: 0.5rem;
  }

  .hero-stats-bar {
    width: min(100% - 1.25rem, var(--max));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .section-head { margin-bottom: 1.75rem; }

  .persona-grid {
    grid-template-columns: 1fr;
  }

  .scenario-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .scenario-body h3 { font-size: 1.35rem; }

  .scenario-visual img { min-height: 200px; }

  .scenario-grid {
    grid-template-columns: 1fr 1fr;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .package-card.featured .package-badge {
    top: 132px;
  }

  .trust-grid,
  .region-grid,
  .case-grid,
  .link-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .product-block {
    padding: 1.25rem;
  }

  .split-card {
    padding: 1.25rem;
  }

  .split-card img {
    height: 180px;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero-compact { min-height: 200px; }

  .page-hero-content {
    padding: 2rem 0 1.75rem;
  }

  .page-section { padding: 2.5rem 0; }

  .breadcrumb {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .contact-page.contact {
    padding: 3rem 0 2rem;
    min-height: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search {
    max-width: none;
    width: 100%;
    font-size: 16px;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    gap: 0.4rem;
  }

  .blog-chip {
    min-height: 44px;
    padding: 0.5rem 0.95rem;
  }

  .blog-pager {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .blog-pager .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.65rem 1rem;
  }

  .blog-hero-inner {
    padding: 2rem 0 1.75rem;
  }

  .blog-hero-pain {
    font-size: 1.45rem;
  }

  .blog-hero-thumb {
    min-height: 44px;
    padding: 0.65rem 0.55rem;
  }

  .blog-hero-actions .btn {
    min-height: 44px;
  }

  .blog-sidebar-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .blog-nav-link {
    min-height: 44px;
  }

  .blog-article-sidebar {
    margin-top: 0.5rem;
  }

  .blog-read {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .cta-band {
    padding: 2.5rem 0;
  }

  .chip-row {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: clamp(420px, 86svh, 560px);
  }

  .hero-stats strong { font-size: 1.05rem; }

  .pain-list li {
    padding: 0.85rem 0.85rem 0.85rem 2.5rem;
    font-size: 0.95rem;
  }
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(9, 46, 51, 0.45);
  z-index: 90;
  pointer-events: auto;
}

@media (hover: none) {
  .btn:hover,
  .persona-card:hover,
  .link-card:hover,
  .gallery-grid img:hover {
    transform: none;
  }
}

/* ==========================================================
   算数·海辕 · 品牌骨架
   ========================================================== */

/* 品牌文字 logo 兜底（logo 图加载失败时显示） */
.brand-text { align-items: center; white-space: nowrap; }

/* 一级导航 10 项：一级项改成「带内边距的悬停热区」，靠内边距而不是 gap 拉开视觉间距。
   热区相接的好处是面板展开时鼠标横向掠过不会误触下一个栏目。 */
.hy-nav { gap: 0.1rem; font-size: 0.92rem; }

/* 10 项一级导航 + 右侧「体验演示」按钮必须整体装进容器：
   收紧字号 / 内边距 / 品牌 logo 三处，实测 1200px 起（桌面导航生效宽度）
   在 1140 容器内仍有余量，不会横向溢出。 */
@media (min-width: 1200px) {
  .header-inner { gap: 1rem; }
  .brand-logo { max-width: 150px; }
  .hy-nav { font-size: 0.85rem; }
  .nav-desktop .nav-item > a { padding: 0.5rem; }
}

/* ---------- 产品矩阵 ---------- */
.hy-matrix-group { margin-bottom: 2.5rem; }
.hy-matrix-group:last-child { margin-bottom: 0; }

.hy-matrix-title {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hy-line-card { position: relative; }
.hy-line-tagline {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--text);
}
.hy-line-caps {
  flex: 1;
  margin: 0 0 1rem;
}
.hy-line-caps li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.hy-line-caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--border);
}
.hy-line-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.hy-line-action { font-weight: 600; }

/* 状态标签：15 条产品线均已实现 */
.hy-line-card[data-status="GA"] .brand-card-tag { background: #e7f5ec; color: #17663a; }
.hy-line-card[data-status="Beta"] .brand-card-tag { background: #e8eefc; color: #2a4b8d; }
.hy-line-card[data-status="Roadmap"] .brand-card-tag { background: var(--accent-soft); color: #8a5a00; }
.hy-line-card[data-status="Eco"] .brand-card-tag { background: #f0f1f5; color: var(--text-muted); }

/* 未交付产品线用虚线边框弱化 */
.hy-line-card[data-status="Roadmap"],
.hy-line-card[data-status="Eco"] { border-style: dashed; }

/* ---------- 业务主线链条 ---------- */
.hy-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hy-chain-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
}
.hy-chain-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.hy-chain-label { white-space: nowrap; }

/* ---------- 痛点 ---------- */
.hy-pains { display: grid; gap: 0.75rem; }
.hy-pain {
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.hy-pain strong { display: block; margin-bottom: 0.2rem; font-size: 0.98rem; }
.hy-pain span { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- 路线图 ---------- */
.hy-roadmap { display: grid; gap: 0.85rem; }
.hy-roadmap-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hy-roadmap-phase { display: flex; flex-direction: column; gap: 0.25rem; }
.hy-roadmap-phase strong { font-size: 0.95rem; color: var(--primary); }
.hy-roadmap-label { font-size: 0.75rem; color: var(--text-muted); }
.hy-roadmap-items { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hy-roadmap-chip {
  padding: 0.25rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
}
a.hy-roadmap-chip.is-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}
a.hy-roadmap-chip.is-link:hover {
  border-color: var(--primary);
  background: var(--surface);
  text-decoration: none;
}
.hy-roadmap-milestone {
  grid-column: 2;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- 演示入口 ---------- */
.hy-demo-card { text-align: left; }
.hy-demo-card h3 { margin: 0 0 0.5rem; }
.hy-demo-card p { margin: 0 0 0.9rem; }
.hy-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

@media (max-width: 640px) {
  .hy-roadmap-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .hy-roadmap-milestone { grid-column: 1; }
  .hy-chain-step { font-size: 0.8rem; }
}

/* ---------- 页脚产品线一行 ---------- */
.footer-lines-nav {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.4rem 1rem;
}

.footer-lines-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 产品线详情页 ---------- */
.hy-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hy-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .hy-detail-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

.hy-detail-caps { margin: 0; }
.hy-detail-caps li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.94rem;
}
.hy-detail-caps li:last-child { border-bottom: 0; }
.hy-detail-caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hy-detail-hint {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* 状态提示条 */
.hy-status-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  width: min(100% - 2rem, var(--max));
  margin: 1.75rem auto 0;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.88rem;
}
.hy-status-note strong { white-space: nowrap; }
.hy-status-note span { color: var(--text-muted); }
.hy-status-note.is-beta { border-left-color: #4a6fbf; }
.hy-status-note.is-roadmap { border-left-color: var(--accent); }
.hy-status-note.is-eco { border-left-color: var(--text-muted); }

/* ---------- 编号步骤（落地路径 / 交付模式 / 区域包机制） ---------- */
.hy-steps { display: grid; gap: 1rem; }

@media (min-width: 760px) {
  .hy-steps { grid-template-columns: repeat(2, 1fr); }
}

.hy-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hy-step-index {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.hy-step-body h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.hy-step-body p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }

/* ---------- 区域包（按大洲分组 → 国家卡片 → 政策法规 / 政策 / 税收） ---------- */
.hy-region-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hy-region-toggle {
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hy-region-toggle:hover { background: var(--primary); color: #fff; }

.hy-region-tip { font-size: 0.78rem; color: var(--text-muted); }

.hy-region-group { margin-top: 1.75rem; }
.hy-region-group:first-of-type { margin-top: 0; }

.hy-region-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.hy-region-head h3 { margin: 0; font-size: 1.05rem; }

.hy-region-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hy-region-note {
  margin: 1.75rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--primary);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- 区域包总览一览表 ----------
   静态注入 HTML，生成器 scripts/_gen_region_index.js；类名统一 hy-reg-*。
   这一块只做「一行一个国家」：推荐路线 / 驾驶侧 / 快速标签 / 核心风险 / 完备度 + 详情页链接。
   页面下方运行时的逐国折叠卡片（政策法规 / 政策 / 税收）才是正文，这里不重复展开三维度，
   只负责让读者先筛掉不相关的国家、并给爬虫一条能走通的国家链接。 */

.hy-reg-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hy-reg-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

/* 标签与芯片都不许被压缩：中文的 min-content 宽度只有一个字，
   一旦允许 flex 收缩，窄容器下「推荐路线」会竖排成四行，把整组撑高 */
.hy-reg-filter-group > * { flex: 0 0 auto; }

.hy-reg-filter-label {
  margin-right: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.hy-reg-chip {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hy-reg-chip:hover { border-color: var(--primary); color: var(--primary); }
.hy-reg-chip.is-on { border-color: var(--primary); background: var(--primary); color: #fff; }
.hy-reg-chip:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.hy-reg-filter-status { margin: 0 0 0 auto; font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

.hy-reg-compare-link {
  padding: 0.34rem 0.85rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hy-reg-compare-link:hover { background: var(--primary); color: #fff; }

.hy-reg-group { margin-top: 1.5rem; }

.hy-reg-group-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
}

.hy-reg-group-head span { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

.hy-reg-list { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }

.hy-reg-row {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* 待补全用虚线，和运行时卡片按 status 区分边线的视觉语言一致 */
.hy-reg-row.is-partial { border-style: dashed; }
.hy-reg-row[hidden] { display: none; }

.hy-reg-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.7rem; }

.hy-reg-country { font-size: 1rem; font-weight: 700; color: var(--text); text-decoration: none; }
.hy-reg-country:hover { color: var(--primary); text-decoration: underline; }

.hy-reg-code {
  padding: 0.05rem 0.35rem;
  background: var(--bg);
  border-radius: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hy-reg-status { font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.hy-reg-status.is-complete { color: #15803d; }
.hy-reg-status.is-partial { color: #b45309; }

.hy-reg-fact { font-size: 0.8rem; color: var(--text); }
.hy-reg-fact em { margin-right: 0.3rem; font-style: normal; font-weight: 600; color: var(--text-muted); }

/* 完备模块清单是补充信息，推到行尾、字号最小，不抢「路线 / 风险」的注意力 */
.hy-reg-parts { margin-left: auto; font-size: 0.74rem; color: var(--text-muted); }

.hy-reg-tags,
.hy-reg-risks { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }

.hy-reg-tags li {
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hy-reg-risks li {
  padding: 0.12rem 0.5rem;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text);
}

.hy-reg-risks.is-empty li {
  background: var(--bg);
  border-left-color: var(--border);
  color: var(--text-muted);
}

.hy-reg-empty {
  margin: 1.2rem 0 0;
  padding: 1.1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.hy-reg-index-note { margin: 1.5rem 0 0; font-size: 0.78rem; line-height: 1.65; color: var(--text-muted); }

@media (max-width: 640px) {
  .hy-reg-filters { gap: 0.45rem 0; padding: 0.75rem 0.85rem; }

  /* 手机上 15 个芯片会把清单一整屏推下去，改成每组横向滑动：固定只占三行。
     标签跟着滚（position: sticky），滑到后面也知道自己在筛哪一组。 */
  .hy-reg-filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .hy-reg-filter-group .hy-reg-chip { flex: 0 0 auto; }

  .hy-reg-filter-label {
    position: sticky;
    left: 0;
    padding-right: 0.35rem;
    background: var(--bg);
  }

  .hy-reg-filter-status { margin-left: 0; }
  .hy-reg-compare-link { width: 100%; text-align: center; }
  .hy-reg-row { padding: 0.7rem 0.85rem; gap: 0.35rem; }
  .hy-reg-parts { margin-left: 0; width: 100%; }
}

@media print {
  /* 筛选项是屏幕上的交互件，PDF 里只会印出一排没用的按钮 */
  .hy-reg-filters { display: none; }
  .hy-reg-row { break-inside: avoid; }
  .hy-reg-row.is-partial { border-style: solid; }
}

.hy-pack-grid {
  display: grid;
  /* 折叠态是「国家 + 要点」，展开后才有三个维度：窄容器单列，宽屏两到三列 */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  align-items: start;
}

/* 卡片本体是 <details>，折叠态只留 summary，展开后追加三个维度 */
.hy-pack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* 展开后横跨整行：折叠态保持三列概览，展开的卡片要有全宽才放得下流程图与结构表
   （窄卡里 480px 的表格只能横向滚动） */
.hy-pack-card[open] {
  grid-column: 1 / -1;
  border-color: var(--primary);
}

/* 展开的卡片宽度够了，三个政策维度就并排，省掉一屏纵向滚动 */
.hy-pack-card[open] .hy-pack-dims {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.hy-pack-card[data-status="样例"] { border-style: dashed; }
.hy-pack-card[data-status="Roadmap"] { border-style: dashed; opacity: 0.9; }

.hy-pack-summary {
  display: grid;
  gap: 0.3rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  list-style: none;
  outline-offset: -2px;
}

.hy-pack-summary::-webkit-details-marker { display: none; }
.hy-pack-summary::marker { content: ""; }
.hy-pack-summary:hover { background: var(--bg); }

.hy-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hy-pack-head strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  color: var(--primary);
}

.hy-pack-status {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.hy-pack-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  /* 折叠态给一个可点的信号：右侧小三角 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hy-pack-title::after {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translate(-0.1rem, -0.1rem);
  transition: transform 0.18s ease;
}

.hy-pack-card[open] .hy-pack-title::after { transform: rotate(225deg) translate(-0.1rem, -0.1rem); }

.hy-pack-summary .hy-pack-meta { font-size: 0.78rem; color: var(--text-muted); }

.hy-pack-summary .hy-pack-note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 折叠态也标出「点开有这三件事」，否则用户不知道能展开出什么 */
.hy-pack-dim-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.15rem; }

.hy-pack-dim-tags em {
  font-style: normal;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* 三个政策维度：各占一段，标签行 + 要点列表 */
.hy-pack-dims {
  padding: 0 1.2rem 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.hy-pack-dim-label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  flex-wrap: wrap;
}

.hy-pack-dim-label > span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.hy-pack-dim-label > em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hy-pack-dim-list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.3rem;
}

.hy-pack-dim-list li {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 卡片底部：相关深读 + 分类入口 */
.hy-pack-links {
  padding: 0.85rem 1.2rem 1.15rem;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 0.75rem;
}

.hy-pack-links-label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hy-pack-read-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.hy-pack-read-list a {
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--primary);
  text-decoration: none;
}

.hy-pack-read-list a:hover { text-decoration: underline; }
.hy-pack-read-list a i { font-style: normal; }

.hy-pack-topic-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.hy-pack-topic-chip {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hy-pack-topic-chip:hover { border-color: var(--primary); color: var(--primary); }

/* 产品线页的「相关深读」。
   卡片式排布而不是一串小字链接：这是产品线页唯一的横向出口，
   要让人一眼看出「这里还有东西可读」，而不是当成页脚注释滑过去。 */
.hy-reads-section { background: var(--bg); }

.hy-reads-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.hy-reads-list a {
  display: block;
  height: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--primary-dark);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.hy-reads-list a:hover {
  border-color: var(--primary);
  background: var(--accent-soft);
}

.hy-reads-list a i {
  font-style: normal;
  color: var(--primary);
}

/* ---------- 区域包展开内容：流程图 / 税费结构图 / 注意事项 ---------- */
/* 内边距与 .hy-pack-summary / .hy-pack-dims 的 1.2rem 对齐，否则新块会贴着卡片边 */
.hy-pack-block { margin-top: 1.5rem; padding: 0 1.2rem; }

/* 流程图：卡片只有半栏宽，所以固定纵向排列，不套用 .blog-flow 的按视口切两列 */
.hy-flow-steps {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.hy-flow-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

/* 相邻步骤之间的竖线：最后一步不画，否则尾巴会悬空 */
.hy-flow-step::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 1.75rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.hy-flow-step:last-child { padding-bottom: 0; }
.hy-flow-step:last-child::before { display: none; }

.hy-flow-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* 卡点步骤换个颜色，一眼能看出链路会停在哪 */
.hy-flow-step[data-gate="1"] .hy-flow-num { background: #b45309; }

.hy-flow-body { flex: 1; min-width: 0; }

.hy-flow-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.hy-flow-title { font-size: 0.92rem; color: var(--text); }

.hy-flow-gate {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.hy-flow-detail {
  display: block;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 计征链路：到岸价 → 关税 → 消费税 → 增值税 → 附加 ＝ 落地成本 */
.hy-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0.9rem;
}

.hy-chain-node {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
}

.hy-chain-node.is-total {
  border-color: var(--primary);
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-weight: 600;
}

.hy-chain-sep { color: var(--accent); font-weight: 700; }

/* 注意事项：用警示色左边线，与中性的三个维度列表区分开 */
.hy-caveat-list {
  margin: 0.75rem 0 0;
  padding: 0 0 0 0.9rem;
  list-style: none;
}

.hy-caveat-list li {
  position: relative;
  padding: 0 0 0.6rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hy-caveat-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.62rem;
  font-weight: 700;
}

/* 科目明细：堆叠行（卡内不放大表格，窄屏四列中文会被挤成竖条并横向滚动） */
.hy-struct-rows { display: grid; gap: 0.6rem; margin-top: 0.75rem; }

/* 展开的卡片是全宽，科目明细就并排两列 */
@media (min-width: 760px) {
  .hy-pack-card[open] .hy-struct-rows {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}

.hy-struct-row {
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hy-struct-head {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.hy-struct-layer {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.hy-struct-name { font-size: 0.86rem; color: var(--text); }

/* 窄卡里可能出现两类「行盒子比内容窄」的情况：
   一是中文收尾标点（如「）」）按避头尾规则允许悬挂在行末，属正常排版，不会被裁切；
   二是长串英文缩写（如认证与标准的组合名）在 370px 卡里没有断行机会，会真的顶出去。
   这两处放开最小宽度并允许任意位置断行，是对所有区域包都成立的兜底，
   比逐条把文案改短可靠。 */
.hy-struct-name,
.hy-struct-base > span,
.hy-flow-title,
.hy-flow-detail,
.hy-flow-risk {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hy-struct-base {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hy-struct-base em {
  flex-shrink: 0;
  padding: 0 0.35rem;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-style: normal;
}

.hy-struct-note {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-muted);
  opacity: 0.92;
}

/* ---------- 区域包进阶块：主体资质 / 单证 / 退回原因 / 资金 / 时间轴 ---------- */
/* 这五块的信息结构是「编号 + 名称 + 一条附加信息 + 一段说明」，
   与税费科目同构，所以直接复用 .hy-struct-* / .hy-flow-* 的行样式，这里只补缺的零件。 */

/* 块内的次级小标题（例如资质块里「必备资质与持有主体」这一行） */
.hy-sub-label {
  margin: 1rem 0 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* 时间轴：阶段区间做成标题右侧的小标签，与流程图区分开 */
.hy-time-tag {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 时间轴的圆点用浅色，和落地流程的实心圆点区分：一个是「先后」，一个是「早晚」 */
.hy-time-list .hy-flow-num {
  background: var(--accent-soft);
  color: var(--primary-dark);
}

/* 时间轴的「常见失手」：与中性的里程碑说明分开，用警示色 */
.hy-flow-risk {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #92400e;
  opacity: 0.94;
}

/* 退回原因的序号位放的是「!」，与税费科目的 ①②③ 同一位置 */
.hy-pack-reject .hy-struct-layer { color: #b45309; }

/* ---------- 产品线卡配图与关键词行（首页 / products / solutions 三页共用） ---------- */
.hy-line-media {
  margin: -1.5rem -1.5rem 1.1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.hy-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 能力点从三行列表改成行内关键词行：文字一个不少，但不再占三行高度。
   需要压过 `.brand-card p`（它在 2029 行设了 font-size 与 flex:1），所以这里加一层类名。 */
.hy-line-card .hy-line-keys {
  flex: 0 0 auto;
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hy-line-card .hy-line-keys span + span::before {
  content: "·";
  margin: 0 0.35rem;
  color: var(--border);
}

/* 产品线卡片的 tagline 也要压过 `.brand-card p` 的 flex:1 与灰色字 */
.hy-line-card .hy-line-tagline {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--text);
}

/* ---------- 产品线卡「图左文右」横排变体（首页用来压缩高度） ---------- */
/* 宿主用 data-layout="rows" 切换，products.html / solutions.html 不受影响 */
[data-hy-matrix][data-layout="rows"] .brand-matrix {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.hy-line-card.is-row {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.hy-line-card.is-row .hy-line-media {
  flex: 0 0 34%;
  margin: 0;
  /* 正方形：卡片高度由右侧文字决定，所以把图从 4:3 改成 1:1 是「白捡」的视觉面积 */
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 1px);
}

.hy-line-card.is-row .hy-line-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.hy-line-card.is-row .brand-card-head {
  gap: 0.3rem 0.5rem;
}

.hy-line-card.is-row .brand-card-head h3 {
  font-size: 0.95rem;
  line-height: 1.4;
}

.hy-line-card.is-row .hy-line-tagline {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.82rem;
}

.hy-line-card.is-row .hy-line-keys {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  line-height: 1.55;
}

.hy-line-card.is-row .hy-line-foot {
  gap: 0.3rem 0.75rem;
  padding-top: 0.6rem;
  font-size: 0.82rem;
}

/* ---------- 首页数据带 ---------- */
.hy-data-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hy-data-band li {
  padding: 1.4rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.hy-data-band strong {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.hy-data-band strong em {
  font-style: normal;
  font-size: 0.9rem;
  margin-left: 0.15rem;
}

.hy-data-band span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 首页区域概览（只读，完整口径在 regions.html） ---------- */
.hy-ov-row {
  display: grid;
  gap: 0.85rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.hy-ov-row:first-child { border-top: 0; padding-top: 0; }
.hy-ov-row:last-child { padding-bottom: 0; }

@media (min-width: 900px) {
  .hy-ov-row { grid-template-columns: 140px 1fr; align-items: start; }
}

.hy-ov-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hy-ov-head h3 { margin: 0; font-size: 1.05rem; }

.hy-ov-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hy-ov-countries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hy-ov-country {
  padding: 0.85rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hy-ov-country-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.hy-ov-country-top strong { font-size: 0.95rem; }

.hy-ov-country-top em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* 准入点原文保留，视觉上收在 2 行内，避免 17 个国家把首页拉长 */
.hy-ov-point {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- 首页洞察与实践 ---------- */
.hy-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.hy-insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hy-insight-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(9, 66, 72, 0.12));
}

.hy-insight-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}

.hy-insight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hy-insight-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.25rem;
}

.hy-insight-cat {
  align-self: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.7rem;
  color: #8a5a00;
}

.hy-insight-body h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hy-insight-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.hy-insight-link {
  margin-top: auto;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.hy-insight-link:hover { text-decoration: underline; }

.hy-insight-more {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hy-insight-more a { color: var(--primary); }

/* ---------- 首页上线路径 + 交付方式（两组并排） ---------- */
.hy-two-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hy-two-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* 组内改成单列：并排的是「两组」，不是每一组里的步骤 */
.hy-two-steps .hy-steps { grid-template-columns: 1fr; }

.hy-two-steps-title {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}


/* ==========================================================
   算数·海辕 · 一级 / 二级导航（居中大面板）
   ----------------------------------------------------------
   结构由 js/nav.js 渲染：
     .nav-item--panel > a + .nav-panel > .nav-panel__card
       .nav-panel__links（二级项，可 2 / 3 栏）
       .nav-panel__feature（右侧预览卡）
   ========================================================== */

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-desktop .nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.6rem;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

/* 一级项之间不留 gap，热区相接才不会在横向掠过时误触相邻栏目 */
.hy-nav .nav-item > a:hover,
.hy-nav .nav-item:hover > a,
.hy-nav .nav-item:focus-within > a {
  color: var(--primary);
  background: rgba(13, 92, 99, 0.06);
}

.nav-item__caret {
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-left: 0.32rem;
  vertical-align: 0.16em;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}

.nav-item--panel:hover .nav-item__caret,
.nav-item--panel:focus-within .nav-item__caret,
.nav-item--panel.is-open .nav-item__caret {
  opacity: 0.9;
  transform: rotate(225deg);
}

/* 面板挂在「页头盒子」上定位：.nav-item--panel 设成 static，
   最近的定位祖先就是 .site-header，于是 left:50% 恒等于视口中心 ——
   无论一级项排到多靠边，面板都不会溢出视口，不需要任何 JS 参与定位。
   top:100% 让面板紧贴页头下沿，指针从一级项下移时不会经过「谁都不属于」的真空区。 */
.nav-item--panel { position: static; }

.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  width: min(46rem, calc(100vw - 2rem));
  padding-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-0.35rem);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.16s ease;
}

/* .is-open 由 js/nav.js 的悬停意图加上：一级项与面板之间隔着页头的内边距，
   只靠 :hover 会在指针下移途中断掉，导致二级链接点不到。 */
.nav-item--panel:hover > .nav-panel,
.nav-item--panel:focus-within > .nav-panel,
.nav-item--panel.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-panel__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 28px 64px -28px rgba(13, 92, 99, 0.32),
    0 4px 14px -8px rgba(13, 92, 99, 0.16);
}

/* 面板里的文字要能换行 —— 一级项是 nowrap，不能传给面板 */
.nav-panel a,
.nav-panel strong,
.nav-panel em {
  white-space: normal;
}

.nav-panel__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.1rem;
  align-content: start;
}

.nav-panel__links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-panel__links--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 二级项多的栏目（产品矩阵 15 条、区域包 9 个）必须加宽：
   62rem 下三栏只有 219px，二级说明会挤成两行，面板高度冲到 680px 顶到矮屏底部。
   加宽到 72rem 后三栏约 270px，多数说明一行放下，面板矮一截。 */
.nav-panel--wide { width: min(72rem, calc(100vw - 2rem)); }

/* 矮屏兜底：面板高过视口时可滚动，避免二级项被推出屏幕 */
.nav-panel__card {
  max-height: calc(100dvh - var(--header-h, 72px) - 1.6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 面板里的分组小标题：跨满所有分栏，只做分层，不是链接。
   没有这层分层，15 条产品线平铺就是一堵墙，客户不会读。 */
.nav-panel__group {
  grid-column: 1 / -1;
  margin: 0.45rem 0 0.05rem;
  padding: 0.5rem 0.6rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-panel__group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* 分组多的大面板（区域与海外交付：机制 + 5 个大洲 = 6 组）压缩分组标题留白。
   6 个分组标题各贡献约 35px，不压的话 1366×768 下面板高过视口，最后一个大洲被切掉。 */
.nav-panel__links--dense .nav-panel__group {
  margin: 0.22rem 0 0;
  padding-top: 0.32rem;
}

.nav-panel__links--dense > a { padding: 0.3rem 0.5rem; }

.nav-panel__links > a {
  display: grid;
  gap: 0.08rem;
  padding: 0.36rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav-panel__links strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.nav-panel__links em {
  font-style: normal;
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.nav-panel__links > a:hover { background: rgba(13, 92, 99, 0.06); }
.nav-panel__links > a:hover strong { color: var(--primary); }

.nav-panel__feature {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 0.55rem 0.55rem 0.7rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav-panel__feature:hover { background: #eef2f4; }

.nav-panel__feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.nav-panel__feature strong,
.nav-panel__feature em,
.nav-panel__cta { padding: 0 0.4rem; }

.nav-panel__feature strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.nav-panel__feature em {
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.nav-panel__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-panel__cta i { font-style: normal; }

/* 锚点定位要避开吸顶页头，否则二级项落地后标题被页头盖住 */
:target,
.page-section[id],
section[id] { scroll-margin-top: calc(var(--header-h, 72px) + 1.25rem); }

/* ---------- 移动端手风琴 ---------- */
.nav-mobile .mnav-group {
  border-bottom: 1px solid var(--border);
}

.nav-mobile .mnav-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
}

.nav-mobile .mnav-group > summary::-webkit-details-marker { display: none; }

.nav-mobile .mnav-group > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-mobile .mnav-group[open] > summary::after { transform: rotate(225deg); }
.nav-mobile .mnav-group[open] > summary { color: var(--primary); }

/* 手风琴内的二级项比一级项缩进一级，靠左侧竖线成组 */
.nav-mobile .mnav-group > a {
  display: block;
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 2px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-mobile .mnav-group > a:hover { color: var(--primary); }

.nav-mobile .mnav-group > a.mnav-top {
  border-left-color: transparent;
  padding-left: 0;
  font-weight: 600;
  color: var(--text);
}

.nav-mobile .mnav-group-label {
  margin: 0.75rem 0 0.15rem;
  padding-left: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-mobile .mnav-link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  font-weight: 500;
}

.nav-mobile .mnav-link.is-active { color: var(--primary); font-weight: 700; }

.nav-mobile .nav-mobile-cta {
  margin: 1rem 0 0.25rem;
}

/* 面板在窄屏 / 矮屏下的退让：单列、预览卡移到下方 */
@media (max-width: 1080px) {
  .nav-panel,
  .nav-panel--wide { width: min(34rem, calc(100vw - 2rem)); }
  .nav-panel__links--2,
  .nav-panel__links--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 1080px) and (max-height: 780px) {
  .nav-panel__card { padding: 1rem 1rem 1rem 1.1rem; }
  .nav-panel__feature img { aspect-ratio: 16 / 9; }
  /* 矮屏再压一档：区域与海外交付有 6 个分组、19 个二级项，
     不压会在 1280×720 上差 25px 出滚动条 —— 导航面板出滚动条比稍微紧一点更糟。 */
  .nav-panel__links--dense .nav-panel__group { margin-top: 0.12rem; padding-top: 0.22rem; }
  .nav-panel__links--dense > a { padding: 0.26rem 0.5rem; }
}



