/* 企业官网主题 — 参考现代 B2B Landing 布局，内容仍来自数据库 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0c4a6e;
  --color-primary-dark: #082f49;
  --color-primary-light: #0369a1;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-card: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --header-h: 72px;
  --font: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--color-primary-light); transition: color 0.2s; }
a:hover { color: var(--color-accent); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.logo-img {
  display: block;
  max-height: 42px;
  max-width: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-text {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-primary-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-primary);
  background: rgba(12, 74, 110, 0.08);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.125rem !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(12, 74, 110, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 1rem; }
  .nav-cta { margin-left: 0; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 1rem; }
  .header-inner { min-height: var(--header-h); }
  .logo { gap: 0.4rem; max-width: calc(100vw - 92px); }
  .logo-img { max-height: 34px; max-width: 52px; }
  .logo-text { max-width: 100%; font-size: 0.875rem; }
  .hero-banner { padding: 3.25rem 1rem 4rem; }
  .hero-banner .hero-sub,
  .hero .hero-sub,
  .hero-sub { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.25rem; }
  .hero-actions { gap: 0.75rem; }
  .btn { width: 100%; max-width: 300px; padding: 0.72rem 1.2rem; }
  .trust-bar { margin-top: -1.25rem; }
  .trust-item { padding: 1rem 0.5rem 0.95rem; }
  .trust-item strong { font-size: 1.25rem; }
  .trust-item span { font-size: 0.75rem; line-height: 1.4; }
  .section { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }
  .card-grid { grid-template-columns: 1fr; gap: 1rem; }
  .card { padding: 1.25rem 1.1rem 1.05rem; }
  .process-item { padding: 1.1rem 0.9rem; }
}

/* —— Main —— */
main { min-height: 50vh; }
main.container { padding-top: 0; padding-bottom: 0; }

/* —— Hero（首页 / blocks） —— */
.hero-banner {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  padding: 4.5rem 1.5rem 5rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 45%, #0e7490 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-banner .hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.hero-banner h1,
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-banner .hero-sub,
.hero .hero-sub,
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

/* 内页 Hero */
.page-hero {
  margin: 0 calc(-50vw + 50%) 2.5rem;
  width: 100vw;
  padding: 2.75rem 1.5rem;
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
}

.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
}

.page-hero-sub {
  margin: 0.75rem 0 0;
  opacity: 0.88;
  font-size: 1.0625rem;
  max-width: 720px;
}

.breadcrumb {
  font-size: 0.8125rem;
  opacity: 0.75;
  margin: 0 0 0.5rem;
}

.breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }

/* —— 信任条 —— */
.trust-bar {
  margin: -2rem auto 3rem;
  position: relative;
  z-index: 2;
  max-width: calc(var(--max-w) - 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: none;
}

.trust-item {
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
  padding: 1.35rem 1rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  margin: 0 -1px;
}
.trust-item:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); margin-left: 0; }
.trust-item:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin-right: 0; }

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); margin-top: -1.5rem; }
}

/* —— Section —— */
.section {
  padding: 3rem 0;
}

.section-alt { background: var(--color-bg-alt); margin: 0 calc(-50vw + 50%); width: 100vw; padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.section-header p {
  color: var(--color-muted);
  margin: 0;
  font-size: 1rem;
}

.section-header::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 1rem auto 0;
}

.services-preview { padding: 3rem 0 4rem; }

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.65rem 1.35rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(12, 74, 110, 0.1);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s, border-color 0.28s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.85;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 100% 0%, rgba(217, 119, 6, 0.06), transparent 55%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(12, 74, 110, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(12, 74, 110, 0.22);
}

.card:hover::before { opacity: 1; height: 5px; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(12,74,110,0.12), rgba(14,116,144,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(12, 74, 110, 0.12);
  position: relative;
  z-index: 1;
}

.card h2, .card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-dark);
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--color-muted);
  font-size: 0.875rem;
  margin: 0;
  flex: 1;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.card-meta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-primary-light);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.card small { color: var(--color-muted); font-size: 0.8125rem; }

/* —— CTA —— */
.cta-strip {
  margin: 3rem calc(-50vw + 50%) 0;
  width: 100vw;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
  color: #fff;
  text-align: center;
}

.cta-strip h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.cta-strip p { margin: 0 0 1.5rem; opacity: 0.9; }

/* —— 正文 / 文章 —— */
.content-panel {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

article h1 { font-size: 1.875rem; margin-top: 0; }

.geo-summary {
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.75;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0 1.5rem;
}

.content, .block-richtext {
  line-height: 1.85;
  font-size: 1rem;
}

.content h2, .content h3, .block-richtext h2 { margin-top: 2rem; color: var(--color-primary-dark); }
.content img, .block-richtext img { max-width: 100%; border-radius: var(--radius); }

article section, .block-faq, .block-steps {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

article section h2, .block-faq h2, .block-steps h2 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

details summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
}

details[open] summary { margin-bottom: 0.5rem; color: var(--color-primary); }

.page-dates {
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
  margin: 0.5rem 0 0;
}

.author-card, .block-author {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.author-title { color: var(--color-muted); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 1rem 1.25rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list li::before {
  content: '●';
  color: var(--color-accent);
  font-size: 0.625rem;
}

/* blocks hero in page content */
.blocks .hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-desc { opacity: 0.75; line-height: 1.7; margin: 0; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  opacity: 0.65;
  font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-panel { padding: 1.25rem; }
}

/* —— 服务图标分化 —— */
.svc-icon { font-weight: 700; font-size: 1rem; }
.svc-xiaosan-baobei { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.svc-zhuangxiu-zizhi-guakao { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.svc-zhuangxiu-sheji-chutu { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #047857; }
.svc-baojian-tu-sheji { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4338ca; }
.svc-zhuangxiu-shigong-shejitu { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #be185d; }
.svc-zhuangxiu-shentu-daiban { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0f766e; }
.svc-chengjianban-shenbao-daiban,
.svc-chengjianban-baobei-daiban { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7e22ce; }
.svc-jiedaoban-shenbao-daiban,
.svc-jiedaoban-baobei-daiban { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #c2410c; }
.svc-shigong-jianli-zizhi-guakao { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #334155; }
.svc-zhuangxiu-shigong-zizhi-guakao { background: linear-gradient(135deg, #fef9c3, #fef08a); color: #a16207; }
.svc-jiazhuang-dianti-zizhi-guakao { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0e7490; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* —— 区块「查看更多」 —— */
.section-more {
  text-align: center;
  margin: 2rem 0 0;
}

.section-more a {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--color-primary-light);
}

.section-more a:hover { color: var(--color-accent); }

/* —— 案例预览卡片 —— */
.card-case { padding: 0; overflow: hidden; }
.card-case .card-body { padding: 1.25rem 1.5rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.case-cover {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-alt);
}
.case-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.9375rem;
}
.case-preview-grid .card h3 { font-size: 1rem; }

/* —— 文章预览 —— */
.article-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(12, 74, 110, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.articles-preview { padding-bottom: 3rem; }

/* —— 服务流程 —— */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.process-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.process-num {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.process-item p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.process-section { padding: 3rem 0 4rem; }

/* —— 首页资质展示 —— */
.qualification-section {
  padding: 3rem 0;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.qualification-card {
  margin: 0;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qualification-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.qualification-card-link {
  display: block;
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
}

.qualification-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qualification-card figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.qualification-disclaimer {
  max-width: var(--max-w);
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.6;
}

.qualification-section .section-more {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .qualification-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* —— Block 区块样式增强 —— */
.block-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.block-stats li {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.block-stats li strong { display: block; font-size: 0.8125rem; color: var(--color-muted); margin-bottom: 0.35rem; }

.block-steps ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.block-steps ol li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.block-steps ol li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-faq, .block-steps, .block-stats, .block-comparison, .block-citations, .block-service-areas, .block-team-grid {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.block-comparison table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.block-comparison th,
.block-comparison td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
  font-size: 0.875rem;
}

.block-comparison th { background: var(--color-bg-alt); font-weight: 600; }

/* —— Hero 背景图 —— */
.hero-banner.hero-has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
}

.hero-banner.hero-has-bg .hero-inner { position: relative; z-index: 1; }

/* —— 内页 Hero 图标 —— */
.page-hero-row { display: block; }
.page-hero-row-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.page-hero-icon-wrap .card-icon {
  width: 56px;
  height: 56px;
  font-size: 1.375rem;
  margin: 0;
}
.page-hero-text { flex: 1; min-width: 0; }

@media (max-width: 520px) {
  .page-hero-row-with-icon { flex-direction: column; align-items: center; text-align: center; }
}

/* —— 详情页封面（列表卡片用；办事观察正文内插图见 .content-figure） —— */
.article-cover-banner {
  margin: 0 calc(-50vw + 50%) 0;
  width: 100vw;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary-dark);
}

.content-figure {
  margin: 1.5rem 0 2rem;
  text-align: center;
}
.content-figure img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 520px;
  margin: 0 auto;
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  object-fit: contain;
  background: #fff;
}
.content-figure figcaption {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted, #64748b);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* —— 服务详情 —— */
.service-detail-panel { margin-top: 0; }
.detail-meta { text-align: left; margin: 0 0 1rem; }
.detail-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.detail-section h2 { font-size: 1.25rem; color: var(--color-primary); margin: 0 0 1rem; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
}
.check-list { padding-left: 1.25rem; }
.check-list li { margin-bottom: 0.35rem; color: var(--color-muted); }
.check-list li::marker { color: var(--color-accent); }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.step-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  counter-increment: svc-step;
}
.service-article .step-list { counter-reset: svc-step; }
.step-list li::before {
  content: counter(svc-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* —— 详情双栏布局 —— */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.detail-main { min-width: 0; }

.contact-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sidebar-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  color: var(--color-primary-dark);
}
.sidebar-desc { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--color-muted); line-height: 1.6; }
.sidebar-line { margin: 0 0 0.5rem; font-size: 0.875rem; }
.sidebar-label { display: block; font-size: 0.75rem; color: var(--color-muted); margin-bottom: 0.15rem; }
.sidebar-cta { display: block; width: 100%; margin-top: 1rem; text-align: center; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 0.5rem; }
.sidebar-links a { text-decoration: none; font-size: 0.875rem; color: var(--color-primary-light); }
.sidebar-links a:hover { color: var(--color-accent); }
.sidebar-more { display: inline-block; margin-top: 0.75rem; font-size: 0.8125rem; font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
}

/* —— 文章卡片封面 —— */
.card-article { padding: 0; overflow: hidden; }
.card-article .card-body { padding: 1rem 1.15rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.article-cover {
  height: 96px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-alt);
}
.article-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-weight: 600;
  font-size: 0.875rem;
}

/* 文章列表/首页预览：控制高度，避免摘要把卡片撑得过高 */
.article-preview-grid .card-article .card-body { padding: 0.85rem 1rem 0.95rem; }
.article-preview-grid .card-article h2,
.article-preview-grid .card-article h3 {
  font-size: 0.975rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.article-preview-grid .card-article p {
  flex: none;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.article-preview-grid .card-article .card-tag {
  margin-bottom: 0;
}

/* —— 团队 / 作者 —— */
.about-blocks { padding-bottom: 2rem; }
.author-card-inner { display: flex; gap: 1.25rem; align-items: flex-start; }
.author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: #f1f5f9;
}
img.author-avatar,
.team-member img.author-avatar,
.author-inline-card img.author-avatar {
  max-width: 100%;
  max-height: 100%;
}
.author-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}
.author-card-body h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.author-bio { margin: 0.5rem 0 0; color: var(--color-muted); line-height: 1.7; }
.author-credentials {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}
.block-team-grid {
  max-width: var(--max-w);
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.block-team-grid > h2 {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.team-member {
  text-align: center;
  padding: 1.5rem 1.25rem;
}
.team-member .author-avatar { margin: 0 auto 0.75rem; width: 72px; height: 72px; }
.team-member h3 { margin: 0 0 0.25rem; font-size: 1.0625rem; }
.team-member .author-bio { font-size: 0.8125rem; }

.outcome-highlight {
  padding: 1rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  margin: 0 0 1rem;
}
.author-line, .case-meta { color: var(--color-muted); }

/* —— 联系 / 关于我们底部 —— */
.contact-section {
  display: block;
  margin: 2.5rem 0 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.contact-section .section-header {
  text-align: left;
  margin-bottom: 1.25rem;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.875rem;
}
.contact-method-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.35rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
a.contact-method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(12, 74, 110, 0.25);
}
.contact-method-static { cursor: default; }
.contact-method-icon { font-size: 1.375rem; line-height: 1; margin-bottom: 0.25rem; }
.contact-method-label { font-size: 0.75rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-method-card strong { font-size: 1.0625rem; color: var(--color-primary-dark); font-weight: 600; line-height: 1.4; word-break: break-all; }
.contact-method-hint { font-size: 0.8125rem; color: var(--color-muted); margin-top: 0.25rem; }
.contact-panel h2 { margin: 0 0 0.75rem; font-size: 1.25rem; color: var(--color-primary); }
.contact-intro { margin: 0 0 1.25rem; color: var(--color-muted); line-height: 1.75; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.contact-faq { margin-top: 1.5rem; }
.contact-map-wrap {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
}
.contact-map {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.contact-map-fallback { margin-top: 1rem; }

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-dark:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 768px) {
  .contact-methods { grid-template-columns: 1fr; }
  .contact-map { height: 260px; }
}

/* —— 文章作者卡片 —— */
.author-inline-card {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
}
.author-inline-card .author-avatar { width: 72px; height: 72px; }
.author-inline-label {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.author-name {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.article-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

.author-line, .case-meta { color: var(--color-muted); }

/* —— 右下角悬浮客服名片 —— */
.staff-float {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 500;
  font-family: var(--font);
  pointer-events: auto;
  transition: bottom 0.28s ease, right 0.28s ease, left 0.28s ease;
}

/* 收起 / 展开（PC + 移动统一） */
.staff-float.is-collapsed .staff-float-card { display: none !important; }
.staff-float:not(.is-collapsed) .staff-float-card { display: block !important; }
.staff-float:not(.is-collapsed) .staff-float-mini { display: none !important; }

.staff-float-mini {
  display: none;
  align-items: center;
  gap: 0.4rem;
  pointer-events: auto;
  border: none;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  box-shadow: 0 8px 24px rgba(12, 74, 110, 0.28);
  transition: all 0.22s ease;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.staff-float.is-collapsed .staff-float-mini { display: inline-flex; }

.staff-float-card {
  width: min(400px, calc(100vw - 2rem));
  pointer-events: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  animation: staffFloatIn 0.4s ease;
}
@keyframes staffFloatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.staff-float-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  font-size: 0.9375rem;
  position: relative;
  z-index: 2;
}
.staff-float-close {
  margin-left: auto;
  display: none;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.staff-float:not(.is-collapsed) .staff-float-close,
.staff-float.is-collapsed.is-hover-open .staff-float-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* PC 方案 C：默认收起，悬停预览 */
@media (min-width: 901px) {
  .staff-float.is-collapsed {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.5rem;
  }
  .staff-float.is-collapsed.is-hover-open .staff-float-card {
    display: block !important;
    animation: staffFloatIn 0.25s ease;
  }
  .staff-float:not(.is-collapsed) .staff-float-card:hover {
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.26);
  }
  .staff-float-profile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .staff-float-avatar { width: 52px; height: 52px; }
  .staff-float-greeting { font-size: 0.8125rem; line-height: 1.45; }
  .staff-float-contact {
    grid-template-columns: minmax(92px, 0.58fr) minmax(0, 1.42fr);
    gap: 0.6rem;
  }
  .staff-float-phone-num { font-size: 1rem; }
}

/* 移动端折叠 UI（由 JS 添加 .is-mobile-ui） */
.staff-float.is-mobile-ui {
  right: 0.5rem;
  left: auto;
  bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}
.staff-float.is-mobile-ui.is-near-bottom {
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}
.staff-float.is-mobile-ui.is-near-bottom:not(.is-collapsed) {
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}
.staff-float.is-mobile-ui.is-scrolling.is-collapsed {
  right: 0.35rem;
  left: auto;
}
.staff-float.is-mobile-ui:not(.is-collapsed) {
  left: 0.5rem;
  right: 0.5rem;
}
.staff-float.is-mobile-ui.is-scrolling .staff-float-mini {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
}
.staff-float.is-mobile-ui.is-scrolling .staff-float-mini span:last-child {
  display: none;
}
.staff-float.is-mobile-ui .staff-float-card { width: 100%; }
.staff-float.is-mobile-ui .staff-float-header { padding: 0.7rem 0.85rem; font-size: 0.9rem; }
.staff-float.is-mobile-ui .staff-float-body { padding: 0.75rem 0.85rem 0.6rem; }
.staff-float.is-mobile-ui .staff-float-profile {
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}
.staff-float.is-mobile-ui .staff-float-avatar { width: 48px; height: 48px; }
.staff-float.is-mobile-ui .staff-float-greeting { font-size: 0.78rem; line-height: 1.4; }
.staff-float.is-mobile-ui .staff-float-contact { gap: 0.5rem; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); }
.staff-float.is-mobile-ui .staff-float-phone { padding: 0.55rem 0.5rem; }
.staff-float.is-mobile-ui .staff-float-phone-num { font-size: 0.85rem; }
.staff-float.is-mobile-ui .staff-float-qr { padding: 0.35rem; }
.staff-float.is-mobile-ui .staff-float-footer { padding: 0 0.85rem 0.75rem; }

.staff-float-header-icon { font-size: 1rem; }
.staff-float-body {
  padding: 0.85rem 1rem 0.65rem;
}
.staff-float-body.staff-float-fade {
  animation: staffFloatFade 0.35s ease;
}
@keyframes staffFloatFade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}
.staff-float-profile {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
  text-align: left;
}
.staff-float-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(12, 74, 110, 0.18);
}
.staff-float-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
.staff-float-profile-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}
.staff-float-greeting {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text, #334155);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.staff-float-name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
}
.staff-float-title {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.staff-float-contact {
  display: grid;
  grid-template-columns: minmax(92px, 0.58fr) minmax(0, 1.42fr);
  gap: 0.6rem;
  align-items: stretch;
}
.staff-float-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.65rem 0.55rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.staff-float-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}
.staff-float-phone-empty {
  background: #f8fafc;
  border-color: var(--color-border);
}
.staff-float-phone-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #c2410c;
  letter-spacing: 0.04em;
}
.staff-float-phone-empty .staff-float-phone-label { color: var(--color-muted); }
.staff-float-phone-num {
  font-size: 1rem;
  font-weight: 800;
  color: #9a3412;
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: anywhere;
}
.staff-float-phone-empty .staff-float-phone-num {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
}
.staff-float-phone-action {
  font-size: 0.6875rem;
  color: #ea580c;
  font-weight: 600;
}
.staff-float-qr {
  display: block;
  padding: 0.4rem 0.35rem;
  border-radius: var(--radius);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  align-self: stretch;
}
.staff-float-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.staff-float-qr-empty {
  background: #f8fafc;
  border-color: var(--color-border);
}
.staff-float-qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 700;
}
.staff-float-footer {
  padding: 0 0.85rem 0.7rem;
  text-align: center;
}
.staff-float-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 0.25rem;
}
.staff-float-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.staff-float-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.3);
}
.staff-float-hint {
  margin: 0.4rem 0 0;
  font-size: 0.6875rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .staff-float { right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); }
  .staff-float.is-mobile-ui { right: 0.5rem; bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px)); }
  .staff-float.is-mobile-ui .staff-float-card { width: 100%; }
  .staff-float-card { width: min(320px, calc(100vw - 1.5rem)); }
}

.list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
.list-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.list-pagination .page-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.list-pagination .page-link.is-disabled {
  opacity: 0.45;
  cursor: default;
}
.list-pagination .page-status {
  color: var(--color-muted);
  font-size: 0.875rem;
}
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.case-gallery-grid .content-figure { margin: 0; }
.case-gallery-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.empty-hint {
  grid-column: 1 / -1;
  color: var(--color-muted);
  text-align: center;
  padding: 2rem 0;
}
