/* ============================================================
   上海派出所·警察局一览 · 样式表
   警务蓝主题：深蓝(#0E2454) + 警蓝(#2563EB) + 浅蓝白
   纯静态零依赖 · 移动端兼容
   ============================================================ */

/* ------------------------------------------------------------
   设计变量
   ------------------------------------------------------------ */
:root {
  --ink-900: #091A40;
  --ink-800: #0E2454;
  --ink-700: #16357F;
  --ink-600: #1F48B0;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --cream:    #F3F7FF;
  --cream-2:  #E8EFFD;
  --paper:    #FFFFFF;
  --ink-text: #1A2238;
  --muted:    #6B7280;
  --line:     rgba(14, 27, 61, 0.10);
  --line-strong: rgba(14, 27, 61, 0.18);
  --shadow-sm: 0 1px 2px rgba(14, 27, 61, 0.06), 0 2px 8px rgba(14, 27, 61, 0.05);
  --shadow-md: 0 4px 12px rgba(14, 27, 61, 0.08), 0 12px 32px -8px rgba(14, 27, 61, 0.12);
  --shadow-lg: 0 8px 24px rgba(14, 27, 61, 0.12), 0 24px 56px -16px rgba(14, 27, 61, 0.20);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "Georgia", serif;
  --sans:  system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --maxw: 1240px;
  --nav-h: 64px;
}
@media (min-width: 720px) { :root { --nav-h: 74px; } }

/* ------------------------------------------------------------
   基础重置
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blue-600); color: #FFFFFF; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 560px) { .container { padding: 0 20px; } }

/* ------------------------------------------------------------
   顶部律所咨询横幅
   ------------------------------------------------------------ */
.legal-top {
  background: linear-gradient(90deg, var(--ink-800) 0%, var(--ink-600) 55%, var(--ink-700) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(37, 99, 235, 0.55);
}
.legal-top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 20px; flex-wrap: wrap; padding: 10px 16px;
}
.legal-top__msg { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 300px; }
.legal-top__msg svg { width: 20px; height: 20px; color: var(--blue-400); flex: none; }
.legal-top__msg b { font-family: var(--serif); font-size: 15.5px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.legal-top__msg span { font-size: 12.5px; color: rgba(219, 234, 254, 0.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legal-top__side { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; flex: none; }
.legal-top__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue-100);
  border: 1px solid rgba(96, 165, 250, 0.5); background: rgba(37, 99, 235, 0.22);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.legal-top__phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #FFFFFF; font-size: 15px; font-weight: 800; letter-spacing: 0.03em;
  box-shadow: 0 6px 18px -4px rgba(37, 99, 235, 0.65);
  transition: transform .2s ease, box-shadow .25s ease;
}
.legal-top__phone:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.7); }
.legal-top__phone svg { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .legal-top__msg span { display: none; }
  .legal-top__inner { justify-content: center; }
}

/* ------------------------------------------------------------
   顶部公益声明辐条
   ------------------------------------------------------------ */
.disclaimer {
  background: linear-gradient(90deg, #FFF3E0 0%, #FFD9A0 50%, #FFF3E0 100%);
  border-bottom: 2px solid rgba(234, 88, 12, 0.55);
  color: #7C3A00;
  font-size: 13px;
}
.disclaimer__inner {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; flex-wrap: wrap; line-height: 1.6;
}
.disclaimer__icon { width: 18px; height: 18px; color: #EA580C; flex: none; }
.disclaimer__tag {
  display: inline-block; padding: 3px 11px; border-radius: 6px;
  background: linear-gradient(135deg, #F97316, #FB923C);
  color: #fff; font-weight: 800; font-size: 11px;
  letter-spacing: 0.06em; margin-right: 4px; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}
.disclaimer__txt { flex: 1; min-width: 220px; }
.disclaimer a {
  color: #B45309; font-weight: 800;
  border-bottom: 1px dashed rgba(180, 83, 9, 0.5);
  white-space: nowrap;
}
.disclaimer a:hover { color: #EA580C; border-bottom-color: #EA580C; }

/* ------------------------------------------------------------
   导航栏
   ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243, 247, 255, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.94); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(37, 99, 235, 0.35);
  color: var(--blue-400);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__txt b { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink-800); letter-spacing: 0.02em; white-space: nowrap; }
.brand__txt span { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: none; align-items: center; gap: 28px; }
.nav__links a { font-size: 14px; font-weight: 600; color: var(--ink-700); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue-600); transition: width .25s ease; }
.nav__links a:hover { color: var(--ink-900); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--blue-700); }
.nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: none; font-size: 14px; font-weight: 700; color: var(--ink-700); align-items: center; gap: 8px; }
.nav__phone svg { width: 16px; height: 16px; color: var(--blue-700); }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #FFFFFF;
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.55);
  transition: transform .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -4px rgba(37, 99, 235, 0.6); }
.btn-call svg { width: 16px; height: 16px; }
.btn-call--icon { padding: 9px; }
.btn-call--icon span { display: none; }

/* ------------------------------------------------------------
   英雄区（含搜索）
   ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(900px 420px at 8% 12%, rgba(31, 50, 102, 0.32), transparent 55%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
  color: #E8F0FF;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 72%);
}
.hero__decor { position: absolute; top: 28px; right: 36px; opacity: 0.18; color: var(--blue-500); animation: floaty 7s ease-in-out infinite; pointer-events: none; }
.hero__decor svg { width: 140px; height: 140px; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(2deg); } }

.hero__inner { position: relative; padding: 48px 0 64px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.32);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--blue-400); margin-bottom: 22px;
}
.hero__eyebrow svg { width: 15px; height: 15px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.14; font-weight: 800; letter-spacing: 0.02em;
  color: #fff; margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: var(--blue-400); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue-600), transparent); }
.hero__sub { max-width: 720px; font-size: clamp(14px, 2vw, 18px); color: rgba(226, 236, 255, 0.82); margin-bottom: 30px; }

/* 搜索框 */
.search { max-width: 880px; }
.search__bar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px; padding: 8px 8px 8px 18px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(37, 99, 235, 0.35);
}
.search__icon { width: 22px; height: 22px; color: var(--ink-700); flex: none; }
.search__input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 16px; color: var(--ink-text); padding: 12px 4px;
  font-family: var(--sans);
}
.search__input::placeholder { color: #98A0B0; }
.search__btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 11px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-600));
  color: #FFFFFF;
  box-shadow: 0 6px 16px -4px rgba(14, 27, 61, 0.45);
  transition: transform .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.search__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -4px rgba(14, 27, 61, 0.55); }
.search__btn svg { width: 17px; height: 17px; }
.search__hint { margin-top: 14px; font-size: 13px; color: rgba(226, 236, 255, 0.68); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.search__hint b { color: var(--blue-400); font-weight: 600; }
.search__chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(37, 99, 235, 0.3);
  color: rgba(235, 242, 255, 0.88); font-size: 12.5px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.search__chip:hover { background: rgba(37, 99, 235, 0.2); color: #fff; border-color: var(--blue-500); }

.hero__stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 36px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat b { font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--blue-400); line-height: 1; }
.stat span { font-size: 13px; color: rgba(226, 236, 255, 0.72); }

/* ------------------------------------------------------------
   主内容区
   ------------------------------------------------------------ */
.section { padding: 48px 0; }
.section__head { text-align: center; margin-bottom: 34px; }
.section__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--blue-700); text-transform: uppercase; margin-bottom: 12px;
}
.section__kicker::before, .section__kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-600), transparent); }
.section__title { font-family: var(--serif); font-size: clamp(24px, 4vw, 38px); font-weight: 800; color: var(--ink-800); letter-spacing: 0.02em; }
.section__desc { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* 过滤栏 */
.toolbar {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(243, 247, 255, 0.92);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.toolbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-700); background: var(--paper);
  border: 1px solid var(--line-strong);
  transition: all .22s ease;
}
.filter svg { width: 15px; height: 15px; opacity: .65; }
.filter:hover { border-color: var(--blue-500); color: var(--ink-900); transform: translateY(-1px); }
.filter.is-active {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  color: var(--blue-100); border-color: transparent;
  box-shadow: 0 6px 14px -4px rgba(14, 27, 61, 0.4);
}
.filter.is-active svg { opacity: 1; color: var(--blue-400); }
.filter__count { font-size: 12px; opacity: .7; }
.result-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.result-count b { color: var(--blue-700); font-size: 15px; font-family: var(--serif); }

/* 卡片网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px 20px;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-500));
  transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.4); }
.card:hover::before { transform: scaleY(1); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.card__mark {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 12px; color: var(--blue-600);
  background: linear-gradient(135deg, var(--cream-2), var(--cream));
  border: 1px solid var(--line);
}
.card__mark svg { width: 24px; height: 24px; }
.card__tag {
  flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.card__tag.high    { color: #7C2418; background: #FBE7E3; border: 1px solid #F0C2B6; }
.card__tag.middle  { color: #1B3A6B; background: #E4ECF8; border: 1px solid #C2D2EE; }
.card__tag.special { color: #1D3A9E; background: #DBEAFE; border: 1px solid #BFD8FF; }
.card__tag.basic   { color: #355E3B; background: #E6F0E7; border: 1px solid #C2DEC6; }
.card__name { font-family: var(--serif); font-size: 19px; font-weight: 800; color: var(--ink-800); line-height: 1.3; letter-spacing: 0.01em; margin-bottom: 4px; }
.card__district { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.card__district svg { width: 14px; height: 14px; color: var(--blue-700); }
.card__intro { font-size: 13.5px; color: #44506A; line-height: 1.72; margin-bottom: 18px; }
.card__meta { border-top: 1px dashed var(--line-strong); padding-top: 14px; display: grid; gap: 9px; }
.meta-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.meta-row svg { width: 16px; height: 16px; color: var(--blue-700); flex: none; margin-top: 2px; }
.meta-row span { color: #44506A; }
.meta-row b { color: var(--ink-text); font-weight: 700; }
.meta-row .map-link { margin-left: auto; font-size: 12.5px; color: var(--blue-700); font-weight: 700; white-space: nowrap; }
.meta-row .map-link:hover { color: var(--ink-900); }

/* 无结果 */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: var(--line-strong); margin: 0 auto 18px; }
.empty h3 { font-family: var(--serif); font-size: 22px; color: var(--ink-700); margin-bottom: 8px; }
.empty p { font-size: 14.5px; }
.empty button { margin-top: 18px; }

/* 高亮 */
mark { background: linear-gradient(180deg, transparent 55%, rgba(59, 130, 246, 0.55) 55%); color: inherit; padding: 0 2px; border-radius: 2px; }

/* ------------------------------------------------------------
   CTA 横幅（办事指南）
   ------------------------------------------------------------ */
.cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 360px at 85% 10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(700px 320px at 5% 90%, rgba(31, 50, 102, 0.45), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-800));
  color: #E8F0FF;
}
.cta__inner { position: relative; padding: 48px 0; display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.cta__kicker { font-size: 13px; letter-spacing: 0.18em; font-weight: 700; color: var(--blue-400); text-transform: uppercase; }
.cta__title { font-family: var(--serif); font-size: clamp(24px, 4.2vw, 40px); font-weight: 800; color: #fff; line-height: 1.24; letter-spacing: 0.02em; }
.cta__title em { font-style: normal; color: var(--blue-400); }
.cta__desc { margin-top: 14px; font-size: 15px; color: rgba(226, 236, 255, 0.82); max-width: 620px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 14px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #FFFFFF;
  box-shadow: 0 12px 30px -6px rgba(59, 130, 246, 0.55);
  transition: transform .22s ease, box-shadow .25s ease;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -6px rgba(59, 130, 246, 0.62); }
.btn-gold svg { width: 20px; height: 20px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 14px;
  font-size: 15px; font-weight: 700;
  color: var(--blue-100); border: 1px solid rgba(37, 99, 235, 0.5);
  background: rgba(255, 255, 255, 0.04);
  transition: background .22s ease, border-color .22s ease;
}
.btn-ghost:hover { background: rgba(37, 99, 235, 0.14); border-color: var(--blue-500); }
.btn-ghost svg { width: 18px; height: 18px; color: var(--blue-400); }
.cta__firm { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; color: rgba(226, 236, 255, 0.72); }
.cta__firm b { color: var(--blue-400); font-weight: 700; font-family: var(--serif); letter-spacing: 0.04em; }
.cta__firm svg { width: 16px; height: 16px; color: var(--blue-500); }

/* ------------------------------------------------------------
   法律咨询提示（刑事辩护）
   ------------------------------------------------------------ */
.legal { padding: 40px 0; }
.legal__inner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--cream) 100%);
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 28px 30px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center;
}
.legal__inner::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--ink-600));
}
.legal__badge {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  color: var(--blue-400); box-shadow: var(--shadow-sm);
}
.legal__badge svg { width: 28px; height: 28px; }
.legal__body h2 {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); font-weight: 800;
  color: var(--ink-800); letter-spacing: 0.01em; margin-bottom: 8px;
}
.legal__lead { font-size: 14.5px; color: #44506A; line-height: 1.75; max-width: 780px; }
.legal__lead b { color: var(--blue-700); }
.legal__svc {
  display: inline-flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px;
  font-size: 13px; color: var(--ink-600); font-weight: 600;
  background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 7px 14px; border-radius: 999px;
}
.legal__contact { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.legal__phone {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  color: var(--blue-100); box-shadow: 0 10px 24px -8px rgba(31, 72, 176, 0.55);
  transition: transform .22s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.legal__phone:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(31, 72, 176, 0.6); }
.legal__phone svg { width: 20px; height: 20px; color: var(--blue-500); }
.legal__phone span { font-size: 12px; letter-spacing: 0.16em; color: rgba(219, 234, 254, 0.75); }
.legal__phone b { font-family: var(--serif); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 0.05em; }
.legal__firm { font-size: 13.5px; color: var(--muted); }
.legal__firm b { color: var(--ink-600); font-weight: 700; }
.legal__note { font-size: 12px; color: var(--muted); max-width: 240px; text-align: center; line-height: 1.6; }
@media (max-width: 860px) {
  .legal__inner { grid-template-columns: 1fr; text-align: left; gap: 16px; padding: 24px 22px; }
  .legal__badge { width: 48px; height: 48px; }
  .legal__badge svg { width: 24px; height: 24px; }
  .legal__contact { align-items: flex-start; }
  .legal__phone { flex-direction: row; gap: 10px; padding: 12px 20px; }
  .legal__phone span { font-size: 12px; letter-spacing: 0.1em; }
  .legal__phone b { font-size: 19px; }
  .legal__note { max-width: none; text-align: left; }
}
@media (max-width: 400px) {
  .legal__phone { flex-wrap: wrap; justify-content: center; text-align: center; }
  .legal__phone b { font-size: 17px; }
}

/* ------------------------------------------------------------
   页脚
   ------------------------------------------------------------ */
.footer { background: var(--ink-900); color: rgba(226, 236, 255, 0.58); padding: 36px 0 26px; }
.footer__top { display: grid; gap: 26px; grid-template-columns: 1fr; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__mark { width: 38px; height: 38px; }
.footer__brand b { font-family: var(--serif); color: #fff; font-size: 17px; }
.footer__brand span { font-size: 12px; color: rgba(226, 236, 255, 0.48); }
.footer p { font-size: 13px; line-height: 1.8; }
.footer__note { color: rgba(226, 236, 255, 0.4); font-size: 12.5px; }
.footer__bottom { text-align: center; padding-top: 18px; font-size: 12.5px; color: rgba(226, 236, 255, 0.4); }

/* ------------------------------------------------------------
   返回顶部 / 浮动拨号
   ------------------------------------------------------------ */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-600));
  color: var(--blue-400);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-2px) scale(1.04); }
.to-top svg { width: 22px; height: 22px; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   响应式 —— 平板及桌面
   ------------------------------------------------------------ */
@media (min-width: 720px) {
  .nav__links { display: flex; }
  .nav__phone { display: inline-flex; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__txt b { font-size: 19px; }
  .hero__inner { padding: 64px 0 88px; }
  .section { padding: 64px 0; }
  .cta__inner { grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 58px 0; }
  .cta__actions { justify-content: flex-end; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
  .stat b { font-size: 30px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
  .card { padding: 26px 24px 22px; }
  .card__name { font-size: 20px; }
  .to-top { right: 22px; bottom: 22px; width: 48px; height: 48px; }
}

/* ------------------------------------------------------------
   响应式 —— 手机
   ------------------------------------------------------------ */
@media (max-width: 719px) {
  .brand__txt span { display: none; }
  .hero__decor { top: 16px; right: 16px; opacity: 0.12; }
  .hero__decor svg { width: 92px; height: 92px; }
  .hero__stats { gap: 10px 22px; margin-top: 28px; }
  .stat b { font-size: 24px; }
  .btn-call--lg span { display: none; } /* 移动端导航 CTA 收为图标 */
  .to-top { bottom: 22px; }
  .disclaimer__inner { padding: 8px 14px; font-size: 12px; }
  .disclaimer__txt { min-width: 0; }
  /* 移动端筛选改为横向滑动标签栏，避免多行堆叠 */
  .toolbar__inner { flex-wrap: nowrap; }
  .filters { flex: 1; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; flex: none; }
  .result-count { flex: none; }
}

/* 超小屏优化 */
@media (max-width: 400px) {
  .search__bar { flex-wrap: wrap; padding: 10px; }
  .search__input { width: 100%; padding: 10px 6px; font-size: 15px; }
  .search__btn { width: 100%; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .card__top { flex-direction: column-reverse; align-items: flex-start; }
  .hero__inner { padding: 40px 0 52px; }
  .stat span { font-size: 12px; }
  .disclaimer__tag { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SEO 内容区：公安体系说明 + 机构文字索引 + FAQ
   ============================================================ */
.context { padding: 44px 0 4px; }
.context__inner { display: grid; gap: 20px; grid-template-columns: 1fr; }
.context__card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.context__card h2 { font-family: var(--serif); font-size: 19px; color: var(--ink-800); margin-bottom: 12px; font-weight: 800; }
.context__card p { font-size: 14.5px; color: #44506A; line-height: 1.88; }
.context__card p + p { margin-top: 10px; }
.context__card strong { color: var(--blue-700); }
@media (min-width: 880px) { .context__inner { grid-template-columns: 1fr 1fr; } }

/* 机构文字索引（纯文本列表，强化关键词密度，利于抓取） */
.index-sec { padding: 40px 0 48px; }
.index-sec__head { text-align: center; margin-bottom: 24px; }
.index-sec__head h2 { font-family: var(--serif); font-size: clamp(22px, 3.6vw, 32px); color: var(--ink-800); font-weight: 800; letter-spacing: .02em; }
.index-sec__head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.index-list { display: grid; gap: 10px; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .index-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .index-list { grid-template-columns: 1fr 1fr 1fr; } }
.index-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 14px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.index-item:hover { border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.index-item b { font-family: var(--serif); font-size: 14.5px; color: var(--ink-800); font-weight: 700; }
.index-item span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.index-item a { color: var(--blue-700); font-size: 12px; font-weight: 700; margin-top: 2px; }
.index-item a:hover { color: var(--ink-900); }

/* FAQ */
.faq { padding: 44px 0; }
.faq__head { text-align: center; margin-bottom: 26px; }
.faq__head h2 { font-family: var(--serif); font-size: clamp(23px, 4vw, 34px); color: var(--ink-800); font-weight: 800; letter-spacing: .02em; }
.faq__head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; text-align: left; font-family: var(--serif);
  font-size: 15.5px; font-weight: 700; color: var(--ink-800); line-height: 1.5;
}
.faq__q .ico { flex: none; width: 20px; height: 20px; color: var(--blue-700); transition: transform .3s ease; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 18px 16px; font-size: 14px; color: #44506A; line-height: 1.88; }
.faq__a-inner a { color: var(--blue-700); font-weight: 700; border-bottom: 1px dashed rgba(37, 99, 235, 0.4); }
.faq__item.open .faq__a { max-height: 360px; }
