/**
 * 律师网站 - 公共组件样式
 * 导航栏、底部栏、移动端底部导航、Toast等
 */

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  color: #374151;
  background-color: #f8f9fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Noto Serif SC', serif; }

/* ===== 容器 ===== */
.container-lawyer {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 640px) {
  .container-lawyer { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1024px) {
  .container-lawyer { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1280px) {
  .container-lawyer { padding-left: 48px; padding-right: 48px; }
}

/* ===== 导航栏 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}
.site-header.scrolled {
  background-color: rgba(19, 29, 51, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) {
  .nav-inner { height: 80px; }
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
}
@media (min-width: 768px) {
  .logo-icon { width: 40px; height: 40px; font-size: 20px; }
}
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .logo-title { font-size: 18px; }
}
.logo-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.05em;
  display: none;
}
@media (min-width: 640px) {
  .logo-subtitle { display: block; }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #c9a96e; }

.mobile-menu-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  background: rgba(19, 29, 51, 0.98);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 16px;
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav-link.active { color: #c9a96e; }

/* ===== 底部栏 ===== */
.site-footer { background-color: #1a2744; color: rgba(255,255,255,0.8); }
.footer-top { padding: 40px 0; }
@media (min-width: 768px) {
  .footer-top { padding: 56px 0; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo .logo-icon { background: rgba(255,255,255,0.1); color: #fff; }
.footer-logo-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.footer-col-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }
.footer-contact-list p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-list i { color: #c9a96e; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ===== 移动端底部固定菜单 ===== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: stretch;
}
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.mobile-nav-item i { font-size: 20px; line-height: 1; }
.mobile-nav-item.active { color: #1a2744; }
.mobile-nav-active-bar {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: #1a2744;
}
.mobile-nav-call {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  background: #131d33;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.mobile-nav-call i { font-size: 20px; line-height: 1; }

/* ===== Toast 提示 ===== */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #131d33;
  color: #fff;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; }

/* ===== 响应式辅助 ===== */
@media (max-width: 767px) {
  body { padding-bottom: 56px; }
}/**
 * 律师网站 - 首页特有样式
 * Banner、执业信息、律师简介、服务、资讯、工作时间
 */

/* ===== Banner 英雄区 ===== */
.hero-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-banner { height: 600px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,19,34,0.7), rgba(12,19,34,0.5), rgba(12,19,34,0.7));
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 16px;
}
.hero-icon-wrap {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-bottom: 24px;
  color: #c9a96e;
  font-size: 28px;
}
@media (min-width: 768px) {
  .hero-icon-wrap { width: 64px; height: 64px; font-size: 32px; }
}
.hero-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .hero-title { font-size: 40px; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 48px; }
}
.hero-line {
  width: 64px;
  height: 2px;
  background-color: #c9a96e;
  margin-bottom: 24px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  letter-spacing: 0.15em;
  max-width: 672px;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 16px; }
}
@media (min-width: 1024px) {
  .hero-subtitle { font-size: 18px; }
}
.hero-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #c9a96e;
  color: #131d33;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
  cursor: pointer;
}
.hero-btn:hover { background-color: #a07d52; }
.hero-btn i { font-size: 16px; }

/* ===== 执业信息 ===== */
.practice-info {
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.practice-inner {
  padding-top: 32px; padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .practice-inner { padding-top: 40px; padding-bottom: 40px; gap: 40px; flex-direction: row; }
}
.practice-avatar-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.practice-avatar {
  width: 90px; height: 90px;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f4f6;
  border: 2px solid #b3c3dd;
}
.practice-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.practice-name { text-align: center; }
.practice-name-text {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-weight: 600;
  font-size: 16px;
}
.practice-title-text {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}
.practice-divider {
  display: none;
  width: 1px; height: 80px;
  background: #e5e7eb;
}
@media (min-width: 768px) {
  .practice-divider { display: block; }
}
.practice-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(5, 1fr); }
}
.practice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fb;
  border-radius: 4px;
}
.practice-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #6787bb;
  font-size: 20px;
}
.practice-item-content { min-width: 0; }
.practice-label {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 2px;
}
.practice-value {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}
.practice-value-link {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  word-break: break-all;
}
.practice-value-link:hover { color: #6787bb; }

/* ===== 首页律师简介 ===== */
.lawyer-intro { background-color: #fff; padding: 48px 0; }
@media (min-width: 768px) {
  .lawyer-intro { padding: 64px 0; }
}
.lawyer-intro-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .lawyer-intro-inner { flex-direction: row; gap: 48px; }
}
.lawyer-intro-image-wrap {
  width: 100%;
  max-width: 380px;
  flex-shrink: 0;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .lawyer-intro-image-wrap { max-width: 450px; }
}
@media (min-width: 1024px) {
  .lawyer-intro-image-wrap { max-width: 450px; margin: 0; }
}
.lawyer-intro-image-box { position: relative; }
.lawyer-intro-image {
  width: 100%;
  aspect-ratio: 450 / 600;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
}
.lawyer-intro-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.corner {
  position: absolute;
  width: 64px; height: 64px;
  border-color: #b3c3dd;
  border-style: solid;
}
@media (min-width: 768px) {
  .corner { width: 96px; height: 96px; }
}
.corner-br { bottom: -12px; right: -12px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }
.corner-tl { top: -12px; left: -12px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }

.lawyer-intro-text { flex: 1; }
.section-title-wrap { margin-bottom: 24px; }
.section-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .section-title { font-size: 24px; }
}
.section-title-line {
  width: 48px;
  height: 2px;
  background-color: #c9a96e;
  margin-top: 12px;
}
.intro-paragraphs { display: flex; flex-direction: column; gap: 16px; }
.intro-para {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}
@media (min-width: 768px) {
  .intro-para { font-size: 16px; }
}
.intro-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.intro-more-link:hover { color: #6787bb; }

/* ===== 服务范围 ===== */
.services-section { background-color: #f8f9fb; padding: 48px 0; }
@media (min-width: 768px) {
  .services-section { padding: 64px 0; }
}
.services-header { text-align: center; margin-bottom: 40px; }
@media (min-width: 768px) {
  .services-header { margin-bottom: 48px; }
}
.services-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .services-title { font-size: 24px; }
}
.services-title-line {
  width: 48px;
  height: 2px;
  background-color: #c9a96e;
  margin: 12px auto 12px;
}
.services-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-top: 12px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  background: #fff;
  padding: 20px 24px;
  border: 1px solid #f3f4f6;
  transition: border-color 0.3s;
}
.service-card:hover { border-color: #b3c3dd; }
.service-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f3f8;
  border-radius: 4px;
  flex-shrink: 0;
  color: #6787bb;
  font-size: 20px;
  transition: background-color 0.3s, color 0.3s;
}
.service-card:hover .service-icon { background: #1a2744; color: #fff; }
.service-card-body { flex: 1; min-width: 0; }
.service-card-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card-desc {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.services-more { text-align: center; margin-top: 32px; }
.services-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border: 1px solid #1a2744;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.services-more-btn:hover { background: #1a2744; color: #fff; }

/* ===== 法律资讯 ===== */
.articles-section { background-color: #fff; padding: 48px 0; }
@media (min-width: 768px) {
  .articles-section { padding: 64px 0; }
}
.articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .articles-header { margin-bottom: 48px; }
}
.articles-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .articles-title { font-size: 24px; }
}
.articles-title-line {
  width: 48px;
  height: 2px;
  background-color: #c9a96e;
  margin-top: 12px;
}
.articles-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.articles-more-link:hover { color: #6787bb; }
.hidden-sm { display: none; }
@media (min-width: 640px) {
  .hidden-sm { display: inline-flex; }
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.articles-col { display: flex; flex-direction: column; gap: 24px; }

.article-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #f8f9fb;
  transition: background-color 0.2s;
  align-items: flex-start;
}
.article-card:hover { background: #f3f4f6; }
.article-card-image {
  width: 112px; height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #e5e7eb;
}
@media (min-width: 768px) {
  .article-card-image { width: 144px; height: 96px; }
}
.article-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.article-card:hover .article-card-image img { transform: scale(1.05); }
.article-card-body { flex: 1; min-width: 0; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.article-category {
  color: #b8956a;
  font-size: 12px;
  font-weight: 500;
}
.article-sep { color: #d1d5db; }
.article-date { color: #9ca3af; font-size: 12px; }
.article-card-title {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.article-card:hover .article-card-title { color: #6787bb; }

.article-card-text {
  display: block;
  padding: 16px;
  background: #f8f9fb;
  border-left: 3px solid #b3c3dd;
  transition: all 0.2s;
}
.article-card-text:hover { background: #f3f4f6; border-left-color: #1a2744; }
.article-card-text .article-card-title {
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  -webkit-line-clamp: unset;
}
@media (min-width: 768px) {
  .article-card-text .article-card-title { font-size: 16px; }
}
.article-card-summary {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .article-card-summary { font-size: 14px; }
}
.articles-more-mobile { text-align: center; margin-top: 24px; }
@media (min-width: 640px) {
  .articles-more-mobile { display: none; }
}

/* ===== 工作时间 ===== */
.work-hours-section { background-color: #1a2744; color: #fff; padding: 40px 0; }
@media (min-width: 768px) {
  .work-hours-section { padding: 56px 0; }
}
.work-hours-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .work-hours-inner { flex-direction: row; justify-content: space-between; gap: 40px; }
}
.work-hours-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.work-hours-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #c9a96e;
  font-size: 24px;
}
@media (min-width: 768px) {
  .work-hours-icon { width: 56px; height: 56px; font-size: 28px; }
}
.work-hours-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .work-hours-title { font-size: 20px; }
}
.work-hours-subtitle { color: rgba(255,255,255,0.5); font-size: 12px; margin-top: 4px; }
.work-hours-middle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 640px) {
  .work-hours-middle { flex-direction: row; gap: 32px; }
}
.work-hours-box {
  background: rgba(255,255,255,0.05);
  padding: 12px 20px;
  border-radius: 4px;
}
.work-hours-days { color: rgba(255,255,255,0.6); font-size: 12px; margin-bottom: 4px; }
.work-hours-time { color: #fff; font-size: 14px; font-weight: 600; }
@media (min-width: 768px) {
  .work-hours-time { font-size: 16px; }
}
.work-hours-right { text-align: center; }
@media (min-width: 768px) {
  .work-hours-right { text-align: right; }
}
.work-hours-note { color: rgba(255,255,255,0.6); font-size: 12px; margin-bottom: 8px; }
.work-hours-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9a96e;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.work-hours-phone:hover { color: #a07d52; }/**
 * 律师网站 - 页面通用样式
 * 列表页、详情页、404等
 */

/* ===== 页面顶部标题区 (PageHeader) ===== */
.page-header {
  background-color: #131d33;
  padding-top: 80px;
}
@media (min-width: 768px) {
  .page-header { padding-top: 96px; }
}
.page-header-inner {
  padding-top: 40px; padding-bottom: 56px;
}
@media (min-width: 768px) {
  .page-header-inner { padding-top: 56px; }
}
.page-breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-bottom: 12px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { margin: 0 4px; }
.page-header-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .page-header-title { font-size: 30px; }
}
.page-header-line {
  width: 48px;
  height: 2px;
  background-color: #c9a96e;
  margin-top: 16px;
}

/* ===== 页面主体 ===== */
.page-main { min-height: 100vh; background: #f8f9fb; }

/* ===== 列表页面样式 (cases / news) ===== */
.list-section { padding: 40px 0 64px; }
@media (min-width: 768px) {
  .list-section { padding: 56px 0 64px; }
}
.list-box { background: #fff; padding: 24px; }
@media (min-width: 768px) {
  .list-box { padding: 32px; }
}
@media (min-width: 1024px) {
  .list-box { padding: 40px; }
}
.list-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s;
}
.list-item:last-child { border-bottom: none; }
.list-item-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .list-item-inner { flex-direction: row; align-items: flex-start; gap: 24px; }
}
.list-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .list-item-meta { width: 192px; }
}
.list-item-num {
  color: #d9e1ee;
  font-size: 12px;
  font-family: monospace;
}
.list-item-tag {
  padding: 2px 10px;
  background: #f0f3f8;
  color: #1a2744;
  font-size: 12px;
  border-radius: 2px;
}
.list-item-body { flex: 1; min-width: 0; }
.list-item-title {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .list-item-title { font-size: 16px; }
}
.list-item:hover .list-item-title { color: #6787bb; }
.list-item-summary {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .list-item-summary { font-size: 14px; }
}
.list-item-date {
  color: #d1d5db;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== 服务领域页面卡片 ===== */
.services-page-section { padding: 40px 0 64px; }
@media (min-width: 768px) {
  .services-page-section { padding: 64px 0; }
}
.services-page-header {
  text-align: center;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .services-page-header { margin-bottom: 48px; }
}
.services-page-desc {
  color: #6b7280;
  font-size: 14px;
  max-width: 672px;
  margin: 0 auto;
}
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .services-page-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .services-page-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-page-card {
  background: #1a2744;
  overflow: hidden;
}
.service-page-card-image {
  width: 100%;
  height: 192px;
  overflow: hidden;
}
.service-page-card-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.7s;
}
.service-page-card:hover .service-page-card-image img { transform: scale(1.05); }
.service-page-card-body { padding: 20px 24px; }
@media (min-width: 768px) {
  .service-page-card-body { padding: 24px; }
}
.service-page-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service-page-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #c9a96e;
  font-size: 18px;
}
.service-page-card-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .service-page-card-title { font-size: 18px; }
}
.service-page-card-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== 详情页通用样式 ===== */
.detail-header {
  background: #131d33;
  padding-top: 80px;
}
@media (min-width: 768px) {
  .detail-header { padding-top: 96px; }
}
.detail-header-inner { padding: 40px 0 56px; }
@media (min-width: 768px) {
  .detail-header-inner { padding: 56px 0; }
}
.detail-title {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 768px;
}
@media (min-width: 768px) {
  .detail-title { font-size: 24px; }
}
@media (min-width: 1024px) {
  .detail-title { font-size: 30px; }
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.detail-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
}
.detail-date { color: rgba(255,255,255,0.5); font-size: 12px; }

.detail-content-wrap { padding: 40px 0 56px; }
@media (min-width: 768px) {
  .detail-content-wrap { padding: 56px 0; }
}
.detail-content-box {
  background: #fff;
  padding: 24px;
  max-width: 896px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .detail-content-box { padding: 40px; }
}
@media (min-width: 1024px) {
  .detail-content-box { padding: 48px; }
}

.detail-cover-image {
  width: 100%;
  height: 224px;
  overflow: hidden;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .detail-cover-image { height: 288px; }
}
.detail-cover-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.detail-summary {
  background: #f8f9fb;
  padding: 16px;
  border-left: 2px solid #1a2744;
  margin-bottom: 32px;
}
.detail-summary p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
}

.detail-paragraphs { display: flex; flex-direction: column; gap: 20px; }
.detail-paragraphs p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}
@media (min-width: 768px) {
  .detail-paragraphs p { font-size: 16px; }
}

/* ===== 分享按钮 ===== */
.share-section { padding-bottom: 16px; border-bottom: 1px solid #f3f4f6; }
.share-label { color: #9ca3af; font-size: 14px; margin-right: 12px; white-space: nowrap; }
.share-buttons-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 2px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.share-btn:hover { opacity: 0.85; }
.share-btn i { font-size: 14px; }
.share-btn-green { background: #16a34a; }
.share-btn-green-light { background: #22c55e; }
.share-btn-red { background: #ef4444; }
.share-btn-sky { background: #0ea5e9; }
.share-btn-amber { background: #f59e0b; }
.share-btn-emerald { background: #059669; }
.share-btn-rose { background: #e11d48; }
.share-btn-dark { background: #1f2937; }
.share-btn-red-dark { background: #dc2626; }

/* ===== 详情页导航 ===== */
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.detail-back-link:hover { color: #6787bb; }
.detail-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #1a2744;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.detail-contact-btn:hover { background: #131d33; }

/* ===== 404 ===== */
.not-found-wrap {
  min-height: 100vh;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.not-found-box { text-align: center; }
.not-found-icon-wrap {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f3f8;
  border-radius: 50%;
  color: #6787bb;
  font-size: 30px;
}
.not-found-code {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}
.not-found-title { color: #6b7280; font-size: 16px; margin-bottom: 24px; }
.not-found-desc { color: #9ca3af; font-size: 14px; margin-bottom: 32px; }
.not-found-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a2744;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.not-found-btn:hover { background: #131d33; }

/* ===== 响应式辅助 ===== */
@media (max-width: 767px) {
  body { padding-bottom: 56px; }
}

/* ===== JSON-LD 隐藏 ===== */
script[type="application/ld+json"] { display: none; }/**
 * 律师网站 - 律师简介页样式
 */

.about-section { padding: 40px 0; }
@media (min-width: 768px) {
  .about-section { padding: 56px 0; }
}
.about-top-card {
  background: #fff;
  padding: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .about-top-card { padding: 40px; }
}
@media (min-width: 1024px) {
  .about-top-card { padding: 48px; }
}
.about-top-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .about-top-inner { flex-direction: row; gap: 48px; }
}
.about-image-wrap {
  width: 100%;
  max-width: 340px;
  flex-shrink: 0;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .about-image-wrap { max-width: 380px; }
}
@media (min-width: 1024px) {
  .about-image-wrap { max-width: 380px; margin: 0; }
}
.about-image-box { position: relative; }
.about-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f4f6;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-image .corner { border-color: #b3c3dd; }

.about-info { flex: 1; min-width: 0; }
.about-name-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}
.about-name {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .about-name { font-size: 30px; }
}
.about-firm-info {
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 500;
}
.about-name-line {
  width: 40px;
  height: 2px;
  background: #1a2744;
  margin-top: 12px;
}

.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid #f3f4f6;
}
@media (min-width: 640px) {
  .about-info-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
  border-right: 1px solid #f3f4f6;
}
@media (min-width: 640px) {
  .about-info-item:nth-child(2n) { border-right: none; }
}
.about-info-label {
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
  padding-top: 2px;
  width: 64px;
  flex-shrink: 0;
}
.about-info-value {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}

.about-intro-para {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 12px;
}

/* ===== 简介页详情区块 ===== */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .about-detail-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-detail-card {
  background: #fff;
  padding: 24px;
}
@media (min-width: 768px) {
  .about-detail-card { padding: 32px; }
}
.about-detail-card.full-width { grid-column: 1 / -1; }

.about-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.about-section-bar {
  width: 4px;
  height: 20px;
  background: #1a2744;
  flex-shrink: 0;
}
.about-section-title-text {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* 时间线 */
.timeline-item {
  display: flex;
  gap: 16px;
}
.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1a2744;
  margin-top: 6px;
  flex-shrink: 0;
}
.timeline-line {
  width: 1px;
  flex: 1;
  background: #e5e7eb;
  margin-top: 4px;
}
.timeline-body { padding-bottom: 16px; flex: 1; }
.timeline-year {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 4px;
}
.timeline-title {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
}
.timeline-sub {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

/* 列表 */
.plain-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.plain-list-bullet {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #6787bb;
  margin-top: 8px;
  flex-shrink: 0;
}
.plain-list-text {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

/* 荣誉 */
.honor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f8f9fb;
}
.honor-item:last-child { border-bottom: none; }
.honor-year {
  color: #9ca3af;
  font-size: 12px;
  width: 40px;
  flex-shrink: 0;
}
.honor-body { flex: 1; min-width: 0; }
.honor-title {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
}
.honor-issuer {
  color: #9ca3af;
  font-size: 12px;
  margin-top: 2px;
}
.honor-icon {
  color: #f59e0b;
  font-size: 16px;
  flex-shrink: 0;
}

/* 资质徽章 */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .qual-grid { grid-template-columns: repeat(3, 1fr); }
}
.qual-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fb;
}
.qual-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,39,68,0.1);
  flex-shrink: 0;
  color: #1a2744;
  font-size: 14px;
}
.qual-text { color: #4b5563; font-size: 14px; }/**
 * 律师网站 - 联系律师页样式
 */

.contact-section { padding: 40px 0; }
@media (min-width: 768px) {
  .contact-section { padding: 56px 0; }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 1fr; }
}
.contact-left-card {
  background: #fff;
  padding: 24px;
}
@media (min-width: 768px) {
  .contact-left-card { padding: 40px; }
}
.contact-left-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.contact-left-line {
  width: 40px;
  height: 2px;
  background: #1a2744;
  margin-top: 12px;
}
.contact-left-desc {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.65;
}

.contact-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .contact-items-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid #f3f4f6;
  background: rgba(248,249,251,0.5);
}
.contact-item-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,39,68,0.1);
  flex-shrink: 0;
  color: #1a2744;
  font-size: 18px;
}
.contact-item-body { min-width: 0; flex: 1; }
.contact-item-label {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 4px;
}
.contact-item-value {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}
.contact-item-value-link {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  word-break: break-all;
}
.contact-item-value-link:hover { color: #6787bb; }

.contact-map-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
}
.contact-map-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-map-placeholder {
  width: 100%;
  height: 224px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.contact-map-placeholder-inner { text-align: center; }
.contact-map-placeholder-inner i {
  color: #d1d5db;
  font-size: 36px;
  margin-bottom: 8px;
  display: block;
}
.contact-map-placeholder-inner p { color: #9ca3af; font-size: 14px; }
.contact-map-note {
  color: #d1d5db;
  font-size: 12px;
  margin-top: 4px;
}

/* 联系页右侧 */
.contact-right { display: flex; flex-direction: column; gap: 24px; }
.contact-hours-card {
  background: #fff;
  padding: 24px;
}
@media (min-width: 768px) {
  .contact-hours-card { padding: 32px; }
}
.contact-hours-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  font-weight: 600;
}
.contact-hours-line {
  width: 32px;
  height: 2px;
  background: #1a2744;
  margin: 16px 0 20px;
}
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}
.contact-hours-row:last-child { border-bottom: none; }
.contact-hours-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}
.contact-hours-label i { color: #6787bb; font-size: 14px; }
.contact-hours-val {
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.contact-hours-note-box {
  margin-top: 20px;
  padding: 12px;
  background: #f0f3f8;
  border-left: 2px solid #6787bb;
}
.contact-hours-note-box p {
  color: #1a2744;
  font-size: 12px;
  line-height: 1.65;
}
.contact-hours-emergency {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f8f9fb;
}
.contact-hours-emergency i { color: #1a2744; font-size: 16px; }
.contact-hours-emergency-label { color: #9ca3af; font-size: 12px; }
.contact-hours-emergency-val {
  color: #1a2744;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 联系页律师卡片 */
.contact-lawyer-card {
  background: #1a2744;
  padding: 24px;
  color: rgba(255,255,255,0.8);
}
@media (min-width: 768px) {
  .contact-lawyer-card { padding: 32px; }
}
.contact-lawyer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-lawyer-avatar {
  width: 56px; height: 56px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.contact-lawyer-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.contact-lawyer-name {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.contact-lawyer-title { color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 2px; }
.contact-lawyer-divider {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 16px;
}
.contact-lawyer-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-lawyer-info i { color: rgba(255,255,255,0.5); font-size: 16px; }

/* ===== 移植补块：转化 / 分页 / 弹层 / 表单情境（跟参考色板） ===== */
:root {
  --ng-navy: #131d33;
  --ng-navy-2: #1a2744;
  --ng-gold: #c9a96e;
  --ng-gold-hover: #a07d52;
  --ng-steel: #6787bb;
  --ng-steel-soft: #b3c3dd;
  --ng-bg: #f8f9fb;
  --ng-text: #374151;
}

body {
  padding-bottom: 88px;
}
@media (min-width: 768px) {
  body { padding-bottom: 80px; }
}

body:not(.is-home) .site-header {
  background-color: rgba(19, 29, 51, 0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-link.is-cta {
  background: #c9a96e;
  color: #131d33;
  font-weight: 600;
  border-radius: 2px;
  margin-left: 8px;
}
.nav-link.is-cta:hover { background: #a07d52; color: #131d33; }
.mobile-nav-link.is-cta { color: #c9a96e; font-weight: 600; }

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-actions .hero-btn { margin-top: 0; }
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.2s, color 0.2s;
}
.hero-btn-outline:hover { background: rgba(255,255,255,0.12); }

.hero-banner.has-fallback .hero-bg,
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #131d33 0%, #1a2744 55%, #0c1322 100%);
}
.page-header { position: relative; overflow: hidden; }
.page-header-bg { opacity: 0.28; z-index: 0; }
.page-header-inner { position: relative; z-index: 1; }
.detail-header { position: relative; overflow: hidden; }
.detail-header-inner { position: relative; z-index: 1; }

.photo-fallback,
.avatar-fallback {
  width: 100%;
  height: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a2744, #131d33);
  color: #c9a96e;
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
}

.service-page-card-deco {
  height: 8px;
  background: linear-gradient(90deg, #c9a96e, #6787bb);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consult-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 3px solid #c9a96e;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* 表单基础（跟参考按钮 / 卡片） */
.ng-form h3 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ng-form .form-sub {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.ng-form .form-field { margin-bottom: 14px; }
.ng-form label {
  display: block;
  font-size: 13px;
  color: #1a2744;
  margin-bottom: 6px;
  font-weight: 500;
}
.ng-form input[type="text"],
.ng-form input[type="tel"],
.ng-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #f8f9fb;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1a2744;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.ng-form input:focus,
.ng-form textarea:focus { border-color: #c9a96e; background: #fff; }
.ng-form textarea { min-height: 96px; resize: vertical; }
.ng-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ng-form .form-check label { margin: 0; line-height: 1.5; font-weight: 400; color: #6b7280; }
.ng-form .form-check a { color: #1a2744; text-decoration: underline; }
.ng-form .form-check input { margin-top: 3px; accent-color: #c9a96e; }
.ng-form .form-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #c9a96e;
  color: #131d33;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background-color 0.2s;
}
.ng-form .form-btn:hover { background: #a07d52; }
.ng-form .form-disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.65;
}

/* 咨询带：首页 / 列表底，跟工作时间带同宽海军底 */
.form-band {
  background: #1a2744;
  color: #fff;
  padding: 48px 0;
}
@media (min-width: 768px) {
  .form-band { padding: 64px 0; }
}
.form-band-inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .form-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}
.form-band-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9a96e;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.form-band-kicker .line {
  width: 32px;
  height: 2px;
  background: #c9a96e;
}
.form-band-intro h2 {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-band-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.form-band-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.form-band-meta i { color: #c9a96e; margin-right: 6px; }
.form-band-meta a { color: #c9a96e; font-weight: 600; }
.form-band-card {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
}
.form-band-card .ng-form h3,
.form-band-card .ng-form .form-sub { display: none; }

/* 详情侧栏 */
.detail-shell {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .detail-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 32px;
  }
  .detail-content-box { margin: 0; max-width: none; }
  .form-sidebar { position: sticky; top: 96px; }
}
.form-sidebar {
  background: #fff;
  padding: 20px;
  border: 1px solid #f3f4f6;
  border-radius: 4px;
}
.form-sidebar .ng-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.form-sidebar .ng-form h3::before {
  content: "";
  width: 4px;
  height: 16px;
  background: #1a2744;
}
.form-sidebar .ng-form .form-sub { font-size: 12px; }
.form-sidebar .ng-form textarea { min-height: 72px; }
.form-sidebar .ng-form input,
.form-sidebar .ng-form textarea { padding: 8px 10px; }

/* 简介内嵌：不套厚阴影白卡 */
.form-about {
  background: #fff;
  padding: 24px;
}
@media (min-width: 768px) {
  .form-about { padding: 32px; }
}
.form-about .ng-form h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.form-about .ng-form h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #1a2744;
  flex-shrink: 0;
}

/* 联系页：与磁贴同圆角描边 */
.form-contact {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #f3f4f6;
  background: rgba(248,249,251,0.5);
  border-radius: 0;
}
.form-contact .ng-form h3 { font-size: 16px; }

/* 咨询专页：略强描边 */
.form-consult-page {
  max-width: 640px;
  margin: 0 auto;
}
.form-consult-lead {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 24px;
}
.form-consult-lead a { color: #1a2744; font-weight: 600; }
.form-consult-page .ng-form {
  background: #fff;
  border: 1px solid #1a2744;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(19,29,51,0.08);
}

/* 分页 */
.pager {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.pager ul,
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pager a,
.pager span,
.pager li a,
.pager li span,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  color: #1a2744;
  font-size: 13px;
  background: #fff;
  text-decoration: none;
}
.pager a:hover,
.pagination a:hover {
  border-color: #c9a96e;
  color: #c9a96e;
}
.pager .active,
.pager .current,
.pager span.current,
.pager li.active span,
.pager li.active a,
.pagination .active,
.pagination .current {
  background: #1a2744;
  border-color: #1a2744;
  color: #fff;
}
.pager .disabled,
.pager li.disabled span,
.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* 微信弹层 */
#wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(19, 29, 51, 0.55);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(19,29,51,0.2);
}
.wechat-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  color: #6b7280;
  font-size: 20px;
}
.wechat-modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f3f8;
  border-radius: 50%;
  color: #1a2744;
  font-size: 24px;
}
.wechat-modal-title {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.wechat-modal-desc {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 16px;
}
.wechat-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 16px;
  background: #f8f9fb;
}
.wechat-modal-dismiss {
  margin-top: 16px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #1a2744;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
}
.wechat-modal-dismiss:hover { background: #1a2744; color: #fff; }
.wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.wechat-id-label { color: #9ca3af; font-size: 12px; }
.wechat-id-value { color: #1a2744; font-size: 14px; }
.wechat-id-row [data-copy-wechat] {
  padding: 4px 10px;
  background: #c9a96e;
  color: #131d33;
  font-size: 12px;
  font-weight: 600;
}
.wechat-id-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}
.wechat-id-hint strong { color: #a07d52; }
@media (min-width: 768px) {
  /* 仅在弹层有二维码时隐藏复制区，避免无码站点电脑端无法添加微信 */
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

/* PC 转化条 / 手机底栏 */
.pc-convert {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: #131d33;
  color: #fff;
  border-top: 1px solid rgba(201,169,110,0.35);
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
}
.pc-convert-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pc-convert-text strong {
  font-family: 'Noto Serif SC', serif;
  display: block;
  font-size: 14px;
}
.pc-convert-text span { color: rgba(255,255,255,0.6); font-size: 12px; }
.pc-convert-actions { display: flex; align-items: center; gap: 12px; }
.pc-convert-phone {
  color: #c9a96e;
  font-weight: 600;
  font-size: 14px;
}
.pc-convert-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #c9a96e;
  color: #131d33;
  font-size: 13px;
  font-weight: 600;
}
.pc-convert-cta:hover { background: #a07d52; }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  gap: 2px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
  background: none;
}
.mobile-bar-item i { font-size: 20px; line-height: 1; }
.mobile-bar-item.mobile-cta {
  background: #131d33;
  color: #fff;
}

/* 信任条 */
.trust-bar {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 0;
}
@media (min-width: 768px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-item i { color: #c9a96e; font-size: 20px; margin-top: 2px; }
.trust-item strong { display: block; color: #1a2744; font-size: 13px; }
.trust-item span { color: #6b7280; font-size: 12px; }
.trust-item a { color: #1a2744; font-weight: 500; }

/* 咨询步骤 */
.steps-section { background: #fff; padding: 48px 0; }
@media (min-width: 768px) {
  .steps-section { padding: 64px 0; }
}
.steps-header { text-align: center; margin-bottom: 32px; }
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}
@media (min-width: 768px) {
  .steps-grid { gap: 24px; }
}
.step-card {
  background: #f8f9fb;
  padding: 20px 24px;
  border: 1px solid #f3f4f6;
  text-align: center;
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
}
.step-num {
  display: inline-block;
  color: #c9a96e;
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card h3 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-card p { color: #6b7280; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; word-break: break-word; }
.steps-cta { text-align: center; margin-top: 28px; }

/* 页脚补块 */
.footer-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-practices a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-practices a:hover { color: #fff; }
.footer-tech {
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  margin-top: 6px;
}
.footer-tech a { color: rgba(255,255,255,0.4); }
.footer-tech a:hover { color: #c9a96e; }
.footer-wechat {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(201,169,110,0.5);
  color: #c9a96e;
  font-size: 13px;
  background: none;
}
.footer-qr { margin-top: 12px; width: 88px; height: 88px; object-fit: cover; background: #fff; }
.footer-nap { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-nap a { color: #c9a96e; }

/* 富文本 */
.prose { color: #4b5563; font-size: 14px; line-height: 1.8; }
@media (min-width: 768px) {
  .prose { font-size: 16px; }
}
.prose p { margin-bottom: 16px; }
.prose h2, .prose h3 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  margin: 24px 0 12px;
}
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid #e5e7eb; padding: 8px 10px; }

/* 相关推荐 */
.related-section { padding: 0 0 48px; }
.related-box { background: #fff; padding: 24px; }
.related-box h2 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 18px;
  margin-bottom: 16px;
}
.related-lawyer {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8f9fb;
  margin-bottom: 16px;
  color: inherit;
}
.related-lawyer img { width: 56px; height: 56px; object-fit: cover; }
.related-lawyer strong { color: #1a2744; display: block; }
.related-lawyer p { color: #6b7280; font-size: 12px; margin-top: 4px; }
.related-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  color: #1a2744;
  font-size: 14px;
}
.related-list a:hover { color: #6787bb; }

.meta-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f8f9fb;
  margin-bottom: 16px;
  color: inherit;
}
.meta-card img { width: 48px; height: 48px; object-fit: cover; }
.meta-card strong { display: block; color: #1a2744; }
.meta-card span { color: #6b7280; font-size: 12px; }
.result-box {
  background: #f8f9fb;
  border-left: 2px solid #c9a96e;
  padding: 16px;
  margin-bottom: 24px;
}
.result-box strong { display: block; color: #1a2744; margin-bottom: 6px; }
.alert-soft {
  background: #f0f3f8;
  color: #1a2744;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* 感谢 / 404 补 */
.thanks-section, .error-section {
  padding: 80px 16px 64px;
  min-height: 60vh;
}
.thanks-box, .error-box { max-width: 520px; margin: 0 auto; text-align: center; }
.thanks-icon, .error-icon-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f3f8;
  border-radius: 50%;
  color: #c9a96e;
  font-size: 32px;
}
.thanks-box h1, .error-box h1 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 24px;
  margin-bottom: 12px;
}
.thanks-actions, .error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}
.thanks-wechat { margin: 16px 0; }
.thanks-hours {
  text-align: left;
  background: #fff;
  padding: 20px;
  margin-top: 16px;
}
.thanks-hours h2 {
  font-family: 'Noto Serif SC', serif;
  color: #1a2744;
  font-size: 16px;
  margin-bottom: 8px;
}
.ug-off-hours {
  margin-top: 8px;
  font-size: 13px;
  color: #a07d52;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.error-practices a {
  padding: 6px 12px;
  background: #f0f3f8;
  color: #1a2744;
  font-size: 13px;
}
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a2744;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.btn-navy:hover { background: #131d33; }
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid #c9a96e;
  color: #1a2744;
  font-size: 14px;
  font-weight: 500;
}

.banner-grid {
  display: grid;
  gap: 16px;
  padding: 32px 0 0;
}
@media (min-width: 768px) {
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
}
.banner-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #f3f4f6;
}
.banner-card img { width: 100%; max-height: 180px; object-fit: cover; margin-bottom: 12px; }
.banner-card h2 { font-family: 'Noto Serif SC', serif; color: #1a2744; font-size: 18px; margin-bottom: 12px; }

.home-cases-section { background: #f8f9fb; padding: 48px 0; }
@media (min-width: 768px) {
  .home-cases-section { padding: 64px 0; }
}

.page-privacy { padding: 40px 0 64px; }
.page-privacy .prose {
  background: #fff;
  padding: 24px;
}
@media (min-width: 768px) {
  .page-privacy .prose { padding: 40px; }
}

.list-empty { color: #9ca3af; font-size: 14px; padding: 24px 0; }

.about-note {
  color: #9ca3af;
  font-size: 13px;
  margin-bottom: 16px;
}

.crumbs-current { color: rgba(255,255,255,0.85); }

.work-hours-single {
  background: rgba(255,255,255,0.05);
  padding: 12px 20px;
  border-radius: 4px;
}

.consult-page-section { padding: 40px 0 64px; }
@media (min-width: 768px) {
  .consult-page-section { padding: 56px 0 64px; }
}

.list-box-counter { counter-reset: ng-list; }
.list-box-counter .list-item { counter-increment: ng-list; }
.list-box-counter .list-item-num::before {
  content: counter(ng-list, decimal-leading-zero);
}

.logo-group img.logo-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
@media (min-width: 768px) {
  .logo-group img.logo-icon { width: 40px; height: 40px; }
}