/* ============================================================
   全站基础样式 - 律师个人官网
   主色: #1A5EBF  深色背景: #0a1628  页面背景: #F8FAFF
   ============================================================ */

/* 字体改由 layout <link> 引入，避免 CSS @import 阻塞 */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #0a1628;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }

/* ---- Utility ---- */
.container { max-width: 1152px; margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Colors ---- */
.text-primary    { color: #1A5EBF; }
.text-dark       { color: #0a1628; }
.text-muted      { color: #6b7280; }
.text-white      { color: #ffffff; }
.bg-primary      { background: #1A5EBF; }
.bg-dark         { background: #0a1628; }
.bg-light        { background: #F8FAFF; }
.bg-card         { background: #ffffff; }

/* ---- Typography ---- */
.serif { font-family: 'Noto Serif SC', serif; }
.text-xs   { font-size: 12px; line-height: 1.6; }
.text-sm   { font-size: 14px; line-height: 1.6; }
.text-base { font-size: 15px; line-height: 1.7; }
.text-lg   { font-size: 18px; line-height: 1.6; }
.text-xl   { font-size: 20px; line-height: 1.5; }
.text-2xl  { font-size: 24px; line-height: 1.4; }
.text-3xl  { font-size: 30px; line-height: 1.3; }
.text-4xl  { font-size: 36px; line-height: 1.2; }

.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.tracking-widest { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600;
  white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: #1A5EBF; color: #fff; }
.btn-primary:hover { background: #1650A8; }
.btn-outline { border: 1.5px solid #1A5EBF; color: #1A5EBF; background: transparent; }
.btn-outline:hover { background: #1A5EBF; color: #fff; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-white { background: #0a1628; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 5px; }

/* ---- Cards ---- */
.card {
  background: #fff; border-radius: 8px; border: 1px solid #e5e7eb;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(26,94,191,0.3); }

/* ---- Section Header ---- */
.section-label {
  display: inline-block; border: 1px solid rgba(26,94,191,0.3);
  color: #1A5EBF; font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-label-line {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.section-label-line .line { width: 28px; height: 2px; background: #1A5EBF; }
.section-label-line .label { color: #1A5EBF; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.section-title {
  font-family: 'Noto Serif SC', serif; font-size: 30px; font-weight: 700;
  color: #0a1628; margin-bottom: 10px;
}
.section-title-center { text-align: center; }
.section-sub { color: #6b7280; font-size: 14px; }

/* ---- Page Header (dark) ---- */
.page-header {
  background: #0a1628; padding: 48px 0; margin-bottom: 40px; text-align: center;
}
.page-header .label { color: #4A9EFF; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 8px; }
.page-header h1 { font-family: 'Noto Serif SC', serif; font-size: 34px; font-weight: 700; color: #fff; }
.page-header p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- Navbar ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar .nav-inner {
  max-width: 1152px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon {
  width: 32px; height: 32px; background: #1A5EBF; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0;
}
.nav-logo .logo-text .name { font-size: 14px; font-weight: 700; line-height: 1; font-family: 'Noto Serif SC', serif; }
.nav-logo .logo-text .sub { font-size: 10px; opacity: 0.55; line-height: 1; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; white-space: nowrap; transition: color 0.2s; }
.nav-links a.active { font-weight: 600; }
.nav-phone-btn { display: inline-flex; align-items: center; gap: 6px; background: #1A5EBF; color: #fff; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background 0.2s; }
.nav-phone-btn:hover { background: #1650A8; }

/* Transparent (home hero) */
.navbar-transparent .nav-logo .logo-text .name,
.navbar-transparent .nav-logo .logo-text .sub { color: #fff; }
.navbar-transparent .nav-links a { color: rgba(255,255,255,0.9); }
.navbar-transparent .nav-links a:hover { color: #fff; }
.navbar-transparent .nav-links a.active { color: #fff; font-weight: 600; }
.navbar-transparent .hamburger { color: #fff; }

/* Scrolled / non-home */
.navbar-white { background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.navbar-white .nav-logo .logo-text .name { color: #0a1628; }
.navbar-white .nav-logo .logo-text .sub { color: #0a1628; opacity: 0.45; }
.navbar-white .nav-links a { color: rgba(10,22,40,0.65); }
.navbar-white .nav-links a:hover { color: #0a1628; }
.navbar-white .nav-links a.active { color: #1A5EBF; font-weight: 600; }
.navbar-white .hamburger { color: #0a1628; }

.navbar-solid { background: #ffffff; border-bottom: 1px solid #f0f0f0; }
.navbar-solid .nav-logo .logo-text .name { color: #0a1628; }
.navbar-solid .nav-logo .logo-text .sub { color: #0a1628; opacity: 0.45; }
.navbar-solid .nav-links a { color: rgba(10,22,40,0.65); }
.navbar-solid .nav-links a:hover { color: #0a1628; }
.navbar-solid .nav-links a.active { color: #1A5EBF; font-weight: 600; }

/* Hamburger / mobile menu */
.hamburger { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; font-size: 20px; background: none; border: none; cursor: pointer; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid #f0f0f0; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.mobile-menu.open { display: block; }
.mobile-menu nav { max-width: 1152px; margin: 0 auto; padding: 12px 1.5rem 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { padding: 10px 12px; border-radius: 6px; font-size: 14px; color: rgba(10,22,40,0.7); transition: background 0.15s; }
.mobile-menu nav a:hover { background: #f5f5f5; }
.mobile-menu nav a.active { background: #F0F6FF; color: #1A5EBF; font-weight: 600; }
.mobile-menu nav .mobile-phone-btn { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #1A5EBF; color: #fff; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 600; }

/* Nav spacer for non-home pages */
.nav-spacer { height: 72px; }

/* ---- Footer ---- */
footer { background: #0D1F3C; color: #fff; }
footer .footer-inner { max-width: 1152px; margin: 0 auto; padding: 60px 2rem; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; }
footer .footer-brand .brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
footer .footer-brand .brand-logo .logo-icon { width: 32px; height: 32px; background: #1A5EBF; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0; }
footer .footer-brand .brand-logo .name { font-size: 14px; font-weight: 700; font-family: 'Noto Serif SC', serif; }
footer .footer-brand .brand-logo .sub { font-size: 10px; opacity: 0.35; margin-top: 2px; }
footer .footer-brand p { color: rgba(255,255,255,0.45); font-size: 12px; line-height: 1.8; margin-bottom: 14px; }
footer .social-links { display: flex; gap: 8px; }
footer .social-links a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; color: rgba(255,255,255,0.45); font-size: 13px; transition: all 0.2s; }
footer .social-links a:hover { border-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.8); }
footer .footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
footer .footer-col ul li { margin-bottom: 10px; }
footer .footer-col ul li a { color: rgba(255,255,255,0.45); font-size: 12px; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
footer .footer-col ul li a:hover { color: rgba(255,255,255,0.8); }
footer .footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
footer .footer-contact li .icon { color: #4A9EFF; font-size: 12px; margin-top: 2px; flex-shrink: 0; }
footer .footer-contact li span { color: rgba(255,255,255,0.45); font-size: 12px; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
footer .footer-bottom .bottom-inner { max-width: 1152px; margin: 0 auto; padding: 14px 2rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
footer .footer-bottom p { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ---- Mobile Bottom Nav ---- */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid #e5e7eb; height: 56px;
}
.mobile-bottom-nav .mnav-inner { display: flex; height: 100%; }
.mobile-bottom-nav .mnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; color: #9ca3af; text-decoration: none; transition: color 0.15s; white-space: nowrap;
}
.mobile-bottom-nav .mnav-item i { font-size: 17px; }
.mobile-bottom-nav .mnav-item.active { color: #1A5EBF; }
.mobile-bottom-nav .mnav-item.phone { background: #1A5EBF; color: #fff; }

/* ---- Hero Banner ---- */
.hero {
  position: relative; width: 100%; height: 680px; overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
}
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.65) 55%, rgba(10,22,40,0.25) 100%);
}
.hero .hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 96px;
  background: linear-gradient(to top, #ffffff, transparent);
}
.hero .hero-content {
  position: relative; z-index: 10; height: 100%;
  display: flex; align-items: center;
  width: 100%;
}
.hero .hero-content .container { width: 100%; }
.hero .hero-content .inner { max-width: 520px; text-align: left; }
.hero .hero-label { color: #4A9EFF; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.hero h1 { font-family: 'Noto Serif SC', serif; font-size: 52px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 14px; }
.hero h1 span { color: #4A9EFF; }
.hero .hero-sub { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; line-height: 1.6; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Lawyer Info Card ---- */
.info-card-section { background: #F8FAFF; padding: 56px 0; border-bottom: 1px solid #f0f0f0; }
.info-card-inner { display: flex; align-items: stretch; gap: 48px; }
.info-card-avatar { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 180px; }
.info-card-avatar .avatar-img { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin-bottom: 12px; }
.info-card-avatar .avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.info-card-avatar .lawyer-name { font-family: 'Noto Serif SC', serif; font-size: 24px; font-weight: 700; color: #0a1628; margin-bottom: 4px; }
.info-card-avatar .lawyer-role { color: #1A5EBF; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.info-card-avatar .avatar-actions { display: flex; gap: 8px; }
.info-card-avatar .avatar-actions a,
.info-card-avatar .avatar-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 5px; font-size: 12px; font-weight: 500; white-space: nowrap; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.info-card-avatar .avatar-actions a.phone-btn { background: #1A5EBF; color: #fff; }
.info-card-avatar .avatar-actions a.phone-btn:hover { background: #1650A8; }
.info-card-avatar .avatar-actions button.wechat-btn { border: 1px solid #1A5EBF; color: #1A5EBF; background: transparent; }
.info-card-avatar .avatar-actions button.wechat-btn:hover { background: rgba(26,94,191,0.08); }
.info-card-divider { width: 1px; background: #e5e7eb; align-self: stretch; flex-shrink: 0; }
.info-card-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 8px; padding: 12px 16px; border: 1px solid #f0f0f0; }
.info-item .info-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(26,94,191,0.1); border-radius: 6px; flex-shrink: 0; }
.info-item .info-icon i { color: #1A5EBF; font-size: 16px; }
.info-item .info-text .label { font-size: 11px; color: #9ca3af; margin-bottom: 2px; }
.info-item .info-text .value { font-size: 13px; font-weight: 500; color: #0a1628; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Lawyer Intro Section ---- */
.intro-section { padding: 80px 0; background: #fff; }
.intro-inner { display: flex; gap: 64px; align-items: flex-start; }
.intro-portrait { flex-shrink: 0; width: 300px; }
.intro-portrait .portrait-wrap { position: relative; width: 100%; padding-bottom: 133.33%; overflow: hidden; border-radius: 8px; }
.intro-portrait .portrait-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.intro-portrait .portrait-wrap .accent-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: #1A5EBF; }
.intro-portrait .years-badge { margin-top: 14px; background: #1A5EBF; color: #fff; border-radius: 6px; padding: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.intro-text { flex: 1; }
.intro-text h2 { font-family: 'Noto Serif SC', serif; font-size: 34px; font-weight: 700; color: #0a1628; margin-bottom: 6px; }
.intro-text .firm { color: #1A5EBF; font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.intro-text .bio { color: #6b7280; font-size: 14px; line-height: 1.9; margin-bottom: 32px; }
.intro-text .bio p + p { margin-top: 16px; }
.intro-text .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.intro-text .tags span { background: #F0F6FF; border: 1px solid rgba(26,94,191,0.2); color: #1A5EBF; font-size: 12px; padding: 5px 12px; border-radius: 999px; }

/* ---- Services Section ---- */
.services-section { padding: 80px 0; background: #F8FAFF; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { background: #fff; border-radius: 8px; padding: 20px; border: 1px solid #f0f0f0; transition: all 0.2s; cursor: pointer; display: block; text-decoration: none; }
.svc-card:hover { background: #1A5EBF; border-color: #1A5EBF; box-shadow: 0 4px 16px rgba(26,94,191,0.2); }
.svc-card .svc-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(26,94,191,0.1); border-radius: 6px; margin-bottom: 12px; transition: background 0.2s; }
.svc-card .svc-icon i { color: #1A5EBF; font-size: 20px; transition: color 0.2s; }
.svc-card:hover .svc-icon { background: rgba(255,255,255,0.2); }
.svc-card:hover .svc-icon i { color: #fff; }
.svc-card h3 { font-size: 14px; font-weight: 700; color: #0a1628; margin-bottom: 6px; transition: color 0.2s; }
.svc-card:hover h3 { color: #fff; }
.svc-card p { font-size: 12px; color: #6b7280; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.svc-card:hover p { color: rgba(255,255,255,0.78); }

/* ---- Article List ---- */
.articles-section { padding: 80px 0; background: #fff; }
.articles-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; transition: border-color 0.2s; display: block; text-decoration: none; }
.article-card:hover { border-color: rgba(26,94,191,0.3); }
.article-card .thumb { width: 100%; height: 180px; overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .card-body { padding: 18px 20px; }
.article-card .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.article-card .meta .cat { background: #F0F6FF; color: #1A5EBF; font-size: 11px; padding: 2px 8px; border-radius: 3px; }
.article-card .meta .date { color: #9ca3af; font-size: 12px; }
.article-card h3 { font-size: 14px; font-weight: 700; color: #0a1628; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.article-card:hover h3 { color: #1A5EBF; }
.article-card .summary { font-size: 12px; color: #9ca3af; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.view-all-link { display: inline-flex; align-items: center; gap: 6px; color: #1A5EBF; font-size: 13px; text-decoration: none; white-space: nowrap; }
.view-all-link:hover { text-decoration: underline; }

/* ---- Commission Process ---- */
.process-section { padding: 80px 0; background: #0a1628; position: relative; overflow: hidden; }
.process-section .process-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.process-section .process-inner { position: relative; z-index: 10; }
.process-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.process-step { flex: 0 1 240px; max-width: 280px; width: 100%; }
.process-step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 24px; text-align: center; transition: background 0.2s; }
.process-step:hover { background: rgba(255,255,255,0.1); }
.process-step .step-num { font-size: 36px; font-weight: 700; color: rgba(74,158,255,0.35); line-height: 1; margin-bottom: 10px; }
.process-step .step-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(26,94,191,0.28); border-radius: 50%; margin: 0 auto 14px; }
.process-step .step-icon i { color: #4A9EFF; font-size: 20px; }
.process-step h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.75; }
.process-cta { text-align: center; margin-top: 48px; }

/* ---- About Page ---- */
.about-layout { display: flex; gap: 32px; align-items: flex-start; }
.about-aside { width: 280px; flex-shrink: 0; }
.about-main { flex: 1; }
.about-aside .portrait-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; margin-bottom: 20px; }
.about-aside .portrait-card .portrait-img { width: 100%; padding-bottom: 133.33%; position: relative; }
.about-aside .portrait-card .portrait-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-aside .portrait-card .name-box { padding: 16px; text-align: center; border-top: 1px solid #f0f0f0; }
.about-aside .portrait-card .name-box .name { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700; color: #0a1628; }
.about-aside .portrait-card .name-box .role { font-size: 12px; color: #1A5EBF; margin-top: 4px; line-height: 1.5; word-break: break-word; }
.about-aside .aside-contact { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 20px; margin-bottom: 16px; display: block; }
.about-aside .aside-contact h3 { font-size: 14px; font-weight: 700; color: #0a1628; margin-bottom: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item .ci-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(26,94,191,0.1); border-radius: 6px; }
.contact-item .ci-icon i { color: #1A5EBF; font-size: 14px; }
.contact-item .ci-body { flex: 1; min-width: 0; }
.contact-item .ci-label { font-size: 11px; color: #9ca3af; line-height: 1.4; margin-bottom: 2px; }
.contact-item .ci-value { font-size: 13px; color: #0a1628; line-height: 1.55; word-break: break-word; overflow-wrap: anywhere; }
.about-main .info-section { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 28px 32px; margin-bottom: 20px; }
.section-title-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.section-title-bar .bar { width: 4px; height: 16px; background: #1A5EBF; border-radius: 2px; }
.section-title-bar h3 { font-family: 'Noto Serif SC', serif; font-size: 15px; font-weight: 700; color: #0a1628; }
.basic-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; margin-bottom: 20px; }
.basic-info-item .bi-label { font-size: 11px; color: #9ca3af; margin-bottom: 3px; }
.basic-info-item .bi-value { font-size: 14px; font-weight: 500; color: #0a1628; }
.timeline-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.timeline-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #1A5EBF; margin-top: 6px; flex-shrink: 0; }
.timeline-item .tl-year { font-size: 11px; color: #9ca3af; margin-bottom: 2px; }
.timeline-item .tl-title { font-size: 14px; font-weight: 500; color: #0a1628; }
.timeline-item .tl-sub { font-size: 12px; color: #6b7280; }
.bio-text { font-size: 14px; color: #6b7280; line-height: 1.9; }
.bio-text p + p { margin-top: 14px; }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.small-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 20px; }
.small-card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #6b7280; margin-bottom: 8px; }
.small-card ul li i { color: #1A5EBF; font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* ---- Services Page ---- */
.services-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.svc-page-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; cursor: pointer; }
.svc-page-card:hover { border-color: rgba(26,94,191,0.3); }
.svc-page-card .svc-img { width: 100%; height: 180px; overflow: hidden; position: relative; }
.svc-page-card .svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s; }
.svc-page-card:hover .svc-img img { transform: scale(1.05); }
.svc-page-card .svc-img .img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.6), transparent); }
.svc-page-card .svc-img .img-label { position: absolute; bottom: 12px; left: 16px; display: flex; align-items: center; gap: 8px; }
.svc-page-card .svc-img .img-label .icon-box { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #1A5EBF; border-radius: 5px; }
.svc-page-card .svc-img .img-label .icon-box i { color: #fff; font-size: 14px; }
.svc-page-card .svc-img .img-label span { font-family: 'Noto Serif SC', serif; font-size: 16px; font-weight: 700; color: #fff; }
.svc-page-card .svc-body { padding: 18px 20px; }
.svc-page-card .svc-body p { font-size: 14px; color: #6b7280; line-height: 1.75; margin-bottom: 14px; }
.svc-page-card .svc-body .learn-more { display: flex; align-items: center; gap: 6px; color: #1A5EBF; font-size: 12px; font-weight: 500; }
.services-cta { background: #0a1628; border-radius: 8px; padding: 48px 32px; text-align: center; }
.services-cta h2 { font-family: 'Noto Serif SC', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.services-cta p { color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 24px; }

/* ---- Cases Page ---- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; transition: border-color 0.2s; }
.case-card:hover { border-color: rgba(26,94,191,0.3); }
.case-card .case-inner { display: flex; }
.case-card .case-img { width: 160px; height: 160px; flex-shrink: 0; overflow: hidden; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-card .case-body { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.case-card .case-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.case-card .case-meta .cat-tag { font-size: 11px; padding: 2px 8px; border-radius: 3px; font-weight: 500; }
.case-card .case-meta .date { font-size: 12px; color: #9ca3af; }
.case-card h2 { font-family: 'Noto Serif SC', serif; font-size: 14px; font-weight: 700; color: #0a1628; margin-bottom: 8px; line-height: 1.5; }
.case-card .case-summary { font-size: 12px; color: #9ca3af; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-card .case-status { display: flex; align-items: center; gap: 4px; color: #1A5EBF; font-size: 12px; margin-top: 10px; }
.disclaimer { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; }
.disclaimer i { color: #d97706; font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.disclaimer p { font-size: 12px; color: #92400e; line-height: 1.75; }
.cat-pink { background: #fdf2f8; color: #db2777; }
.cat-orange { background: #fff7ed; color: #ea580c; }
.cat-yellow { background: #fefce8; color: #a16207; }
.cat-red { background: #fef2f2; color: #dc2626; }
.cat-green { background: #f0fdf4; color: #16a34a; }
.cat-blue { background: #eff6ff; color: #1A5EBF; }
.cat-purple { background: #faf5ff; color: #9333ea; }
.cat-indigo { background: #eef2ff; color: #4338ca; }
.cat-default { background: #f3f4f6; color: #4b5563; }

/* ---- News Page ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; transition: border-color 0.2s; display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.news-card:hover { border-color: rgba(26,94,191,0.3); }
.news-card .news-thumb { width: 100%; height: 200px; overflow: hidden; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-card .news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card .news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.news-card .news-meta .cat { background: #F0F6FF; color: #1A5EBF; font-size: 11px; padding: 2px 8px; border-radius: 3px; }
.news-card .news-meta .date { font-size: 12px; color: #9ca3af; }
.news-card h2 { font-family: 'Noto Serif SC', serif; font-size: 14px; font-weight: 700; color: #0a1628; line-height: 1.5; margin-bottom: 8px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.news-card:hover h2 { color: #1A5EBF; }
.news-card .news-summary { font-size: 12px; color: #9ca3af; line-height: 1.75; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .read-more { display: flex; align-items: center; gap: 5px; color: #1A5EBF; font-size: 12px; font-weight: 500; margin-top: auto; }

/* ---- News Detail Page ---- */
.detail-layout { display: flex; gap: 32px; align-items: flex-start; }
.detail-main { flex: 1; }
.detail-main .article-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden; }
.detail-main .article-cover { width: 100%; height: 360px; overflow: hidden; }
.detail-main .article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail-main .article-content { padding: 40px 48px; }
.detail-main .article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-main .article-meta .cat { background: #F0F6FF; color: #1A5EBF; font-size: 12px; padding: 2px 10px; border-radius: 3px; }
.detail-main .article-meta .meta-item { display: flex; align-items: center; gap: 5px; color: #9ca3af; font-size: 12px; }
.detail-main .article-title { font-family: 'Noto Serif SC', serif; font-size: 24px; font-weight: 700; color: #0a1628; line-height: 1.4; margin-bottom: 28px; }
.article-body { font-size: 14px; color: #6b7280; line-height: 1.95; margin-bottom: 40px; }
.article-body p { margin-bottom: 16px; }
.article-body h3 { font-family: 'Noto Serif SC', serif; font-size: 16px; font-weight: 700; color: #0a1628; margin-top: 28px; margin-bottom: 10px; }
.article-body strong { font-weight: 600; color: #0a1628; }
.article-disclaimer { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
.article-disclaimer i { color: #d97706; font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.article-disclaimer p { font-size: 12px; color: #92400e; line-height: 1.7; }
.share-section { border-top: 1px solid #f0f0f0; padding-top: 24px; }
.share-section .share-title { font-size: 14px; color: #6b7280; font-weight: 500; margin-bottom: 16px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; color: #9ca3af; background: none; border: none; font-family: inherit; transition: color 0.2s; }
.share-btn .share-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 18px; transition: border-color 0.2s; }
.share-btn:hover .share-icon { border-color: currentColor; }
.share-btn span { font-size: 10px; white-space: nowrap; }
.share-btn.weibo:hover, .share-btn.toutiao:hover { color: #e05244; }
.share-btn.wechat-friend:hover, .share-btn.wechat-moments:hover { color: #1aad19; }
.share-btn.qq:hover { color: #1A5EBF; }
.share-btn.qzone:hover { color: #f5a623; }
.share-btn.douban:hover { color: #2e7d32; }
.share-btn.xiaohongshu:hover { color: #ff2442; }
.share-btn.douyin:hover { color: #161823; }
.share-btn.copy:hover { color: #374151; }
.detail-sidebar { width: 280px; flex-shrink: 0; }
.detail-sidebar .lawyer-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 20px; text-align: center; margin-bottom: 20px; }
.detail-sidebar .lawyer-card .s-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; border: 2px solid rgba(26,94,191,0.2); }
.detail-sidebar .lawyer-card .s-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.detail-sidebar .lawyer-card .s-name { font-size: 14px; font-weight: 700; color: #0a1628; }
.detail-sidebar .lawyer-card .s-role { font-size: 12px; color: #9ca3af; margin-top: 3px; margin-bottom: 16px; }
.detail-sidebar .lawyer-card .s-cta { display: flex; align-items: center; justify-content: center; gap: 6px; background: #1A5EBF; color: #fff; padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: background 0.2s; }
.detail-sidebar .lawyer-card .s-cta:hover { background: #1650A8; }
.detail-sidebar .related-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 20px; }
.detail-sidebar .related-card h3 { font-size: 14px; font-weight: 700; color: #0a1628; margin-bottom: 16px; }
.related-item { display: flex; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.related-item:last-child { margin-bottom: 0; }
.related-item .r-thumb { width: 72px; height: 54px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.related-item .r-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.2s; }
.related-item:hover .r-thumb img { transform: scale(1.05); }
.related-item .r-text .r-title { font-size: 12px; font-weight: 500; color: #0a1628; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.related-item:hover .r-text .r-title { color: #1A5EBF; }
.related-item .r-text .r-date { font-size: 10px; color: #9ca3af; margin-top: 4px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9ca3af; margin-bottom: 24px; }
.breadcrumb a { color: #9ca3af; transition: color 0.2s; }
.breadcrumb a:hover { color: #1A5EBF; }
.breadcrumb i { font-size: 14px; }

/* ---- Contact Page ---- */
.contact-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.contact-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: border-color 0.2s; }
.contact-card:hover { border-color: rgba(26,94,191,0.3); }
.contact-card .cc-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(26,94,191,0.1); border-radius: 8px; flex-shrink: 0; }
.contact-card .cc-icon i { color: #1A5EBF; font-size: 22px; }
.contact-card .cc-label { font-size: 11px; color: #9ca3af; margin-bottom: 4px; }
.contact-card .cc-value { font-size: 16px; font-weight: 700; color: #0a1628; word-break: break-all; }
.contact-card .cc-value a { color: #0a1628; transition: color 0.2s; }
.contact-card .cc-value a:hover { color: #1A5EBF; }
.contact-card .cc-desc { font-size: 12px; color: #9ca3af; margin-top: 5px; }
.hours-card { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 28px 32px; max-width: 860px; margin: 0 auto; }
.hours-card .hours-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hours-card .hours-header .bar { width: 4px; height: 16px; background: #1A5EBF; border-radius: 2px; }
.hours-card .hours-header h2 { font-family: 'Noto Serif SC', serif; font-size: 15px; font-weight: 700; color: #0a1628; }
.hours-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: #6b7280; }
.hours-row .time { font-weight: 500; color: #0a1628; }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: #0a1628; color: #fff; font-size: 12px; padding: 10px 20px;
  border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 999; white-space: nowrap; opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

/* ---- Spacing helpers ---- */
.pb-16 { padding-bottom: 64px; }
.pt-10 { padding-top: 40px; }
.mb-10 { margin-bottom: 40px; }
.mt-center { margin-top: 40px; text-align: center; }

/* ---- Extra helpers ---- */
.text-center { text-align: center; }
.bg-light { background: #F8FAFF; }
.bg-white { background: #ffffff; }
.w-full { width: 100%; }

/* Services section bottom link center */
.services-section .mt-center .btn-outline { margin: 0 auto; }

/* Fix about-main spacing at top */
.about-main > .info-section:first-child { margin-top: 0; }

/* Smooth hover on service page cards */
.svc-page-card { transition: border-color 0.2s, box-shadow 0.2s; }
.svc-page-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

/* Ensure footer contact list no extra bullets */
.footer-contact { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { justify-content: center; }
  .process-step { flex: 0 1 220px; }
  .info-card-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner { gap: 40px; }
  .intro-portrait { width: 240px; }
  .detail-layout { flex-direction: column; }
  .detail-sidebar { width: 100%; }
  .about-layout { flex-direction: column; }
  .about-aside { width: 100%; }
  .three-cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-phone-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 88px; }
  footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { height: 520px; }
  .hero h1 { font-size: 32px; }
  .hero .hero-label { font-size: 11px; }
  .info-card-inner { flex-direction: column; }
  .info-card-divider { display: none; }
  .info-card-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-inner { flex-direction: column; }
  .intro-portrait { width: 100%; max-width: 280px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .process-steps { justify-content: center; }
  .process-step { flex: 0 1 calc(50% - 12px); max-width: none; }
  .page-header h1 { font-size: 26px; }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .three-cols { grid-template-columns: 1fr; }
  .basic-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .detail-main .article-content { padding: 24px 20px; }
  .detail-main .article-cover { height: 220px; }
  .detail-main .article-title { font-size: 18px; }
  .section-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .process-steps { justify-content: center; }
  .process-step { flex: 1 1 100%; max-width: 100%; }
  .info-card-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .case-card .case-inner { flex-direction: column; }
  .case-card .case-img { width: 100%; height: 180px; }
  footer .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}

/* ============================================================
   移植补块：转化 / 表单情境 / 分页 / 微信弹层 / 去图列表
   ============================================================ */

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
img { max-width: 100%; height: auto; }

.nav-links a.nav-cta {
  background: #1A5EBF; color: #fff !important; padding: 8px 16px; border-radius: 6px; font-weight: 600;
}
.nav-links a.nav-cta:hover { background: #1650A8; color: #fff !important; }
.navbar-white .nav-links a.nav-cta,
.navbar-solid .nav-links a.nav-cta { color: #fff !important; }
footer .social-links button {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; color: rgba(255,255,255,0.45);
  font-size: 13px; transition: all 0.2s;
}
footer .social-links button:hover { border-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.8); }
.info-card-avatar .avatar-actions a.wechat-btn {
  border: 1px solid #1A5EBF; color: #1A5EBF; background: transparent;
}
.info-card-avatar .avatar-actions a.wechat-btn:hover { background: rgba(26,94,191,0.08); }
.photo-fallback {
  width: 100%; height: 100%; min-height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: #1A5EBF; color: #fff; font-size: 14px; font-weight: 700;
}
.intro-portrait .portrait-wrap .photo-fallback { position: absolute; inset: 0; font-size: 20px; }
.intro-portrait .years-badge { white-space: normal; line-height: 1.4; font-size: 13px; }

.hero.has-fallback {
  background: linear-gradient(135deg, #0a1628 0%, #12305a 55%, #1A5EBF 100%);
}
.hero.has-fallback .hero-bg { display: none; }
.page-header { position: relative; overflow: hidden; }
.page-header .page-header-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28;
}
.page-header .label,
.page-header h1,
.page-header p { position: relative; z-index: 1; }

/* 首页资讯/案例：去掉封面后保留原栅格与字号 */
.article-card .card-body { padding-top: 22px; }
.news-card .news-body { padding-top: 22px; }
.case-card.text-only .case-inner { display: block; }
.case-card.text-only .case-body { padding: 22px 24px; }
.news-card.text-only .news-body { min-height: 168px; }
.related-item.text-only { align-items: flex-start; }
.related-item.text-only .r-text { flex: 1; }

/* 领域列表：无真实配图时用主色渐变头，沿用 svc-page-card 结构 */
.svc-page-card .svc-img.svc-img-fallback {
  height: 132px;
  background:
    linear-gradient(to top, rgba(10,22,40,0.55), transparent 55%),
    linear-gradient(135deg, #0a1628 0%, #1A5EBF 100%);
}
.svc-page-card .svc-img.svc-img-fallback .img-overlay { display: none; }

/* 页脚领域横向换行 + 技术支持 */
footer .footer-practices {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
}
footer .footer-practices a {
  color: rgba(255,255,255,0.45); font-size: 12px; transition: color 0.2s;
}
footer .footer-practices a:hover { color: rgba(255,255,255,0.85); }
footer .footer-bottom .bottom-inner { flex-wrap: wrap; }
.footer-tech {
  width: 100%; color: rgba(255,255,255,0.22); font-size: 11px; margin-top: 6px;
}
.footer-tech a { color: rgba(255,255,255,0.28); }
.footer-tech a:hover { color: #4A9EFF; }

/* 信任条 */
.trust-bar { background: #F8FAFF; border-top: 1px solid #eef2f7; }
.trust-inner {
  max-width: 1152px; margin: 0 auto; padding: 22px 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item i {
  width: 36px; height: 36px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,94,191,0.1); color: #1A5EBF; font-size: 18px; flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 13px; color: #0a1628; }
.trust-item span { font-size: 12px; color: #6b7280; }

/* PC 转化条 */
.pc-convert {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #0D1F3C; color: #fff; border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 20px rgba(10,22,40,0.18);
}
.pc-convert-inner {
  max-width: 1152px; margin: 0 auto; padding: 12px 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pc-convert-text strong { display: block; font-size: 14px; }
.pc-convert-text span { font-size: 12px; color: rgba(255,255,255,0.5); }
.pc-convert-actions { display: flex; align-items: center; gap: 12px; }
.pc-convert-phone {
  display: inline-flex; align-items: center; gap: 6px;
  color: #4A9EFF; font-weight: 600; font-size: 14px;
}

/* 手机底栏（契约 class：mobile-bar） */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid #e5e7eb; height: 64px;
}
.mobile-bar-inner { display: flex; height: 100%; }
.mobile-bar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10px; color: #9ca3af; background: none; border: none;
  font-family: inherit; text-decoration: none; white-space: nowrap;
}
.mobile-bar-item i { font-size: 18px; }
.mobile-bar-item.is-phone,
.mobile-bar-item.mobile-cta { background: #1A5EBF; color: #fff; }

/* 咨询步骤：沿用 process-section 视觉 */
.process-section.has-fallback { background: #0a1628; }
.process-section.has-fallback .process-bg { display: none; }

/* 正文富文本 */
.prose { font-size: 14px; color: #6b7280; line-height: 1.95; }
.prose p { margin-bottom: 16px; }
.prose h2, .prose h3 {
  font-family: 'Noto Serif SC', serif; font-weight: 700; color: #0a1628;
  margin: 28px 0 10px;
}
.prose h2 { font-size: 20px; }
.prose h3 { font-size: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: #1A5EBF; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; margin: 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; }
.prose th { background: #F8FAFF; color: #0a1628; }

/* 表单基础（同一 inline_form，靠父级换皮） */
.cn-form h3 {
  font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 6px;
}
.cn-form .form-sub { font-size: 13px; color: #6b7280; margin-bottom: 16px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; color: #0a1628; font-weight: 500; margin-bottom: 6px; }
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 6px;
  font-family: inherit; font-size: 14px; color: #0a1628; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: #1A5EBF; box-shadow: 0 0 0 3px rgba(26,94,191,0.12);
}
.form-field textarea { min-height: 88px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 8px; }
.form-check input { margin-top: 3px; accent-color: #1A5EBF; }
.form-check label { margin: 0; font-weight: 400; font-size: 13px; color: #6b7280; }
.form-check a { color: #1A5EBF; text-decoration: underline; }
.form-btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-disclaimer { margin-top: 10px; font-size: 12px; color: #9ca3af; line-height: 1.6; }
.consult-error {
  background: #fef2f2; color: #b91c1c; border-radius: 6px;
  padding: 8px 12px; font-size: 13px; margin-bottom: 12px;
}

/* 5.4 咨询带：首页 / 列表底 左说明+右表单 */
.form-band { background: #F8FAFF; padding: 64px 0; border-top: 1px solid #eef2f7; }
.form-band-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.form-band-intro .section-label-line { margin-bottom: 12px; }
.form-band-intro h2 {
  font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; color: #0a1628; margin-bottom: 12px;
}
.form-band-desc { font-size: 14px; color: #6b7280; line-height: 1.8; margin-bottom: 20px; }
.form-band-meta p {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; margin-bottom: 8px;
}
.form-band-meta i { color: #1A5EBF; }
.form-band-meta a { color: #1A5EBF; font-weight: 600; }
.form-band-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 28px 28px 24px;
}
.form-band .cn-form h3 { display: none; }

/* 详情侧栏 */
.form-sidebar {
  position: sticky; top: 96px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px;
}
.form-sidebar .cn-form h3 {
  font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.form-sidebar .cn-form h3::before {
  content: ""; width: 4px; height: 16px; background: #1A5EBF; border-radius: 2px;
}
.form-sidebar .form-sub { font-size: 12px; }
.form-sidebar .form-field { margin-bottom: 10px; }
.form-sidebar .form-field input,
.form-sidebar .form-field textarea { padding: 8px 10px; font-size: 13px; }
.form-sidebar .form-field textarea { min-height: 72px; }

/* 简介内嵌：与 info-section 同级，禁止再套厚阴影白卡 */
.form-embed {
  background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 28px 32px; margin-top: 20px;
}
.form-embed .cn-form h3 {
  font-size: 15px; display: flex; align-items: center; gap: 8px;
}
.form-embed .cn-form h3::before {
  content: ""; width: 4px; height: 16px; background: #1A5EBF; border-radius: 2px;
}

/* 联系页：与磁贴同圆角同边框 */
.form-contact {
  background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; padding: 28px 32px; margin-top: 24px;
}
.form-contact .cn-form h3 { font-size: 16px; }

/* 咨询专页：略强描边 */
.form-consult {
  background: #fff; border: 2px solid rgba(26,94,191,0.22); border-radius: 8px;
  padding: 32px; box-shadow: 0 8px 28px rgba(26,94,191,0.08);
}
.form-consult .cn-form h3 { font-size: 20px; color: #1A5EBF; }
.form-consult .form-field textarea { min-height: 112px; }
.form-consult .form-btn { padding: 12px 24px; font-size: 15px; }

/* 分页 */
.pager, .pagination {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin-top: 40px;
}
.pager a, .pager span,
.pagination a, .pagination span,
.pager li a, .pager li span,
.pagination li a, .pagination li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px;
  border: 1px solid #e5e7eb; border-radius: 6px;
  font-size: 13px; color: #0a1628; background: #fff; text-decoration: none;
}
.pager a:hover, .pagination a:hover,
.pager li a:hover, .pagination li a:hover {
  border-color: #1A5EBF; color: #1A5EBF;
}
.pager .active, .pagination .active,
.pager .current, .pagination .current,
.pager li.active a, .pagination li.active a,
.pager li.active span, .pagination li.active span {
  background: #1A5EBF; border-color: #1A5EBF; color: #fff; font-weight: 600;
}
.pager .disabled, .pagination .disabled,
.pager li.disabled span, .pagination li.disabled span {
  color: #9ca3af; cursor: not-allowed; background: #F8FAFF;
}
.pager ul, .pagination ul {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0;
}

/* 微信弹层 */
#wechat-modal {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(10,22,40,0.55); align-items: center; justify-content: center; padding: 24px;
}
#wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative; width: 100%; max-width: 360px;
  background: #fff; border-radius: 10px; padding: 36px 28px 24px; text-align: center;
  box-shadow: 0 16px 40px rgba(10,22,40,0.22);
}
.wechat-modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; color: #9ca3af; font-size: 20px;
}
.wechat-modal-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,94,191,0.1); border-radius: 50%; color: #1A5EBF; font-size: 24px;
}
.wechat-modal-title {
  font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; color: #0a1628; margin-bottom: 6px;
}
.wechat-modal-desc { font-size: 13px; color: #6b7280; margin-bottom: 16px; }
.wechat-qr { width: 180px; height: 180px; object-fit: contain; margin: 0 auto 16px; }
.wechat-id-row {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px;
}
.wechat-id-label { font-size: 12px; color: #9ca3af; }
.wechat-id-value { font-size: 14px; color: #0a1628; }
.wechat-id-row button {
  background: #1A5EBF; color: #fff; border-radius: 5px; padding: 4px 10px; font-size: 12px; font-weight: 600;
}
.wechat-id-hint { font-size: 12px; color: #6b7280; margin-bottom: 16px; }
.wechat-id-hint strong { color: #b91c1c; }
.wechat-modal-dismiss {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 6px; padding: 8px; color: #6b7280; font-size: 13px;
}
.wechat-modal-dismiss:hover { border-color: #1A5EBF; color: #1A5EBF; }

/* 感谢页 / 404 / 咨询专页辅样式 */
.thanks-wrap, .error-wrap, .consult-page { background: #F8FAFF; padding: 48px 0 80px; }
.thanks-card, .error-card {
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 40px 32px; text-align: center;
}
.thanks-icon, .error-code {
  color: #1A5EBF; margin-bottom: 12px;
}
.thanks-icon { font-size: 42px; }
.error-code { font-family: 'Noto Serif SC', serif; font-size: 56px; font-weight: 700; line-height: 1; }
.thanks-card h1, .error-card h1 {
  font-family: 'Noto Serif SC', serif; font-size: 24px; margin-bottom: 12px;
}
.thanks-main, .error-desc { font-size: 14px; color: #6b7280; line-height: 1.8; margin-bottom: 24px; }
.thanks-actions, .error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.thanks-wechat { margin: 8px 0 24px; }
.thanks-hours {
  text-align: left; background: #F8FAFF; border-radius: 8px; padding: 16px 18px; margin-bottom: 16px;
}
.thanks-hours h2 { font-size: 15px; margin-bottom: 8px; }
.off-hours-tip-inner {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 10px;
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px; padding: 10px 12px;
  font-size: 12px; color: #92400e;
}
.off-hours-tip-inner i { color: #d97706; flex-shrink: 0; margin-top: 2px; }
.thanks-disclaimer { font-size: 12px; color: #9ca3af; }
.error-practice-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.error-practice-links a {
  border: 1px solid #e5e7eb; border-radius: 999px; padding: 6px 14px; font-size: 13px; color: #1A5EBF;
}
.error-practice-links a:hover { background: #F0F6FF; border-color: rgba(26,94,191,0.3); }

.consult-layout {
  max-width: 720px; margin: 0 auto;
}
.consult-intro { font-size: 14px; color: #6b7280; line-height: 1.8; margin-bottom: 12px; }
.consult-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #1A5EBF; font-weight: 700; font-size: 18px; margin-bottom: 24px;
}

.privacy-layout { padding: 40px 0 80px; max-width: 800px; margin: 0 auto; }

.list-main { padding: 40px 0 24px; }
.detail-page { padding: 40px 0 64px; }

.faq-list { margin-top: 24px; }
.faq-item {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px 20px; margin-bottom: 12px;
}
.faq-item h3 { font-size: 14px; color: #0a1628; margin-bottom: 6px; }
.faq-item p { font-size: 13px; color: #6b7280; }

.author-card {
  display: flex; gap: 14px; background: #F8FAFF; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; margin-top: 28px;
}
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-name { font-weight: 700; color: #0a1628; }
.author-firm, .author-lead { font-size: 12px; color: #6b7280; }

.anon-tip {
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px; padding: 12px 14px;
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 20px; font-size: 13px; color: #92400e;
}
.anon-tip i { color: #d97706; }

.result-box {
  background: #F0F6FF; border: 1px solid rgba(26,94,191,0.2); border-radius: 8px; padding: 16px 18px; margin-bottom: 20px;
}
.result-box h3 { font-size: 14px; color: #1A5EBF; margin-bottom: 6px; }
.result-box p { font-size: 13px; color: #0a1628; }

.article-lead { font-size: 15px; color: #374151; line-height: 1.8; margin-bottom: 20px; }
.article-practice {
  display: inline-block; background: #F0F6FF; color: #1A5EBF; font-size: 12px;
  padding: 2px 10px; border-radius: 3px; margin-bottom: 12px;
}

.honors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.honor-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; text-align: center;
}
.honor-card img { width: 100%; height: 80px; object-fit: contain; margin-bottom: 8px; }
.honor-card p { font-size: 13px; color: #0a1628; }

.banners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
.banner-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden;
}
.banner-card img { width: 100%; height: 180px; object-fit: cover; }
.banner-card-body { padding: 16px 18px; }
.banner-card h2 { font-size: 16px; margin-bottom: 10px; }

.related-block { margin-top: 28px; }
.related-block h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.related-lawyer {
  display: flex; gap: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; margin-bottom: 20px;
}
.related-lawyer img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.related-lawyer-name { font-weight: 700; color: #0a1628; }
.related-lawyer-lead { font-size: 12px; color: #6b7280; }

.about-note {
  background: #F0F6FF; border: 1px solid rgba(26,94,191,0.18); border-radius: 6px;
  padding: 10px 14px; font-size: 13px; color: #1A5EBF; margin-bottom: 16px;
}

@media (min-width: 769px) {
  .mobile-bar { display: none !important; }
  body { padding-bottom: 72px; }
}
@media (max-width: 768px) {
  .pc-convert { display: none !important; }
  .mobile-bar { display: block; }
  .trust-inner { grid-template-columns: 1fr 1fr; padding: 18px 1.25rem; }
  .form-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .form-band { padding: 40px 0; }
  .form-band-card, .form-embed, .form-contact, .form-consult { padding: 20px; }
  .form-sidebar { position: static; }
  .honors-grid, .banners-grid { grid-template-columns: 1fr; }
  .consult-page, .thanks-wrap, .error-wrap { padding: 32px 0 40px; }
}
@media (max-width: 480px) {
  .trust-inner { grid-template-columns: 1fr; }
}

a.svc-page-card, a.case-card, a.article-card, a.related-item, a.related-lawyer {
  display: block; color: inherit; text-decoration: none;
}
a.news-card { display: flex; color: inherit; text-decoration: none; }