/* ====== 北京尚梓（延庆区）律师事务所官网 主样式 ====== */
/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #f8f9fa;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color .3s; }
a:hover { color: #c9a962; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ====== Colors ====== */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2744;
  --accent: #c9a962;
  --accent-light: #d4b97a;
  --accent-dark: #b0914e;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ====== Header ====== */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  font-weight: bold;
}
.logo-sub {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 1px;
}

/* ====== Nav ====== */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 26px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  position: relative;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 30px;
}
/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  padding: 8px 0;
  z-index: 1001;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  transition: all .2s;
}
.nav-dropdown a:hover {
  color: var(--primary);
  background: #f0f4f8;
  padding-left: 24px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* ====== Hero Banner ====== */
.hero {
  position: relative;
  min-height: 560px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(201,169,98,.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,169,98,.1) 0%, transparent 50%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(201,169,98,.5);
  border-radius: 30px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: 4px;
}
.hero h1 .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,169,98,.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ====== Section Common ====== */
.section {
  padding: 80px 0;
}
.section-white {
  background: #fff;
}
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 20px;
}

/* ====== Stats Bar ====== */
.stats-bar {
  background: #fff;
  padding: 50px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-number .unit {
  font-size: 20px;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 6px;
}

/* ====== Service Cards ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(26,54,93,.1), rgba(201,169,98,.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}
.service-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}
.service-card .more-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.service-card .more-link:hover {
  color: var(--accent-dark);
}

/* ====== Lawyer Cards ====== */
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.lawyer-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.lawyer-avatar {
  height: 260px;
  background: #f5f5f7;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}
.lawyer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.lawyer-avatar .avatar-text {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  z-index: 2;
  position: relative;
}
.lawyer-info {
  padding: 20px;
  text-align: center;
}
.lawyer-info h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 4px;
}
.lawyer-info .title {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}
.lawyer-info .fields {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ====== FAQ Section ====== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  cursor: pointer;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-q {
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding-right: 30px;
  font-size: 15px;
}
.faq-q::before {
  content: 'Q';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-size: 12px;
  margin-right: 10px;
  font-weight: 700;
}
.faq-a {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 32px;
  display: none;
}
.faq-item.active .faq-a { display: block; }
.faq-item .toggle-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: transform .3s;
}
.faq-item.active .toggle-icon {
  transform: translateY(-50%) rotate(180deg);
  color: var(--accent);
}

/* ====== Advantages ====== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.advantage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
}
.advantage-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}
.advantage-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* ====== CTA Section ====== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,169,98,.15) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
}
.cta-phone {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ====== Footer ====== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
.footer-col p {
  line-height: 2;
  margin-bottom: 8px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: bold;
}
.footer-slogan {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ====== Page Header (内页) ====== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(201,169,98,.12) 0%, transparent 50%);
}
.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.page-header .breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  position: relative;
  z-index: 2;
}
.page-header .breadcrumb a { color: rgba(255,255,255,.8); }
.page-header .breadcrumb a:hover { color: var(--accent); }

/* ====== Content Page ====== */
.content-page {
  padding: 60px 0;
  background: #fff;
}
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
}
.content-main {
  min-width: 0;
}
.content-main h2 {
  font-size: 24px;
  color: var(--primary);
  margin: 30px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 24px 0 12px;
}
.content-main p {
  margin-bottom: 16px;
  color: #444;
  line-height: 1.9;
}
.content-main ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.content-main ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: #444;
  line-height: 1.8;
}
.content-main strong { color: var(--primary); }

/* Sidebar */
.sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.sidebar-box h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-nav li {
  margin-bottom: 8px;
}
.sidebar-nav li a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: #444;
  transition: all .2s;
}
.sidebar-nav li a:hover,
.sidebar-nav li.active a {
  background: rgba(26,54,93,.08);
  color: var(--primary);
  padding-left: 16px;
}
.sidebar-contact {
  text-align: center;
}
.sidebar-contact .phone-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}
.sidebar-contact .phone-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.sidebar-contact .phone-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* ====== Timeline ====== */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
}
.timeline-item:nth-child(odd)::before {
  right: -8px;
}
.timeline-item:nth-child(even)::before {
  left: -8px;
}
.timeline-year {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.timeline-content h4 {
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ====== Honors ====== */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.honor-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: all .3s;
}
.honor-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.honor-card h4 {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 8px;
}
.honor-card .honor-org {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 4px;
}
.honor-card .honor-year {
  font-size: 13px;
  color: var(--text-muted);
}

/* ====== Honor Image Gallery ====== */
.honor-img-grid {
  display: grid;
  gap: 20px;
  margin: 20px 0 30px;
}
.honor-img-grid.col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.honor-img-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}
.honor-img-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.honor-img-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.honor-img-link {
  display: block;
  overflow: hidden;
}
.honor-img-link img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .4s ease;
}
.honor-img-item:hover .honor-img-link img {
  transform: scale(1.06);
}
.honor-img-caption {
  padding: 12px 14px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  background: #fafbfc;
}
.honor-img-caption .honor-img-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.4;
}
.honor-img-caption .honor-img-meta {
  font-size: 12px;
  color: var(--accent);
}

/* ====== Office Environment Gallery ====== */
.office-gallery {
  margin: 24px 0 10px;
}
.office-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.office-gallery-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.office-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.office-gallery-link {
  display: block;
  overflow: hidden;
}
.office-gallery-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.office-gallery-item:hover .office-gallery-link img {
  transform: scale(1.06);
}
.office-gallery-caption {
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #fafbfc, #fff);
}
.office-gallery-caption h4 {
  font-size: 15px;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
}

/* ====== Lawyer Detail ====== */
.lawyer-detail-header {
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.lawyer-detail-avatar {
  width: 260px;
  height: 340px;
  background: #f5f5f7;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.lawyer-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.lawyer-detail-avatar .avatar-text {
  font-size: 72px;
  font-weight: 700;
  color: var(--accent);
  z-index: 2;
  position: relative;
}
.lawyer-detail-info h1 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}
.lawyer-detail-info .title {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}
.lawyer-detail-info .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-light);
}
.lawyer-detail-info .meta span::before {
  content: '•';
  margin-right: 8px;
  color: var(--accent);
}
.lawyer-detail-info .fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.lawyer-detail-info .field-tag {
  padding: 6px 14px;
  background: rgba(26,54,93,.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
}

.lawyer-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.lawyer-section h2 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.lawyer-section p {
  color: #444;
  line-height: 1.9;
  margin-bottom: 12px;
}

/* ====== Case Page ====== */
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.case-filter li {
  padding: 8px 20px;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.case-filter li.active,
.case-filter li:hover {
  background: var(--primary);
  color: #fff;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  border-left: 4px solid var(--accent);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.case-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
}
.case-card .case-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
}
.case-card .case-meta span {
  color: var(--text-light);
}
.case-card .case-meta .case-type {
  color: var(--accent);
  font-weight: 500;
}
.case-card h4 {
  font-size: 14px;
  color: var(--primary);
  margin: 10px 0 6px;
}
.case-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 6px;
}
.case-result {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(201,169,98,.1);
  border-radius: 4px;
  font-size: 14px;
  color: var(--accent-dark);
  font-weight: 500;
}

/* ====== News Page ====== */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border);
}
.news-tab {
  padding: 14px 36px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
  position: relative;
  transition: color .3s;
  font-weight: 500;
}
.news-tab.active {
  color: var(--primary);
}
.news-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 40px;
}
.news-card-body {
  padding: 20px;
}
.news-card-category {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(201,169,98,.15);
  color: var(--accent-dark);
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-summary {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.news-load-more {
  text-align: center;
  margin-top: 40px;
}

/* News Detail */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
}
.news-detail-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.news-detail-header h1 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.4;
}
.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
}
.news-detail-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}
.news-detail-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}
.news-detail-back {
  text-align: center;
  margin-top: 40px;
}

/* ====== FAQ Full Page ====== */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.faq-category {
  padding: 8px 20px;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.faq-category.active,
.faq-category:hover {
  background: var(--primary);
  color: #fff;
}
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}
.faq-accordion-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-accordion-q {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
  font-size: 15px;
}
.faq-accordion-q:hover {
  background: #f8f9fa;
}
.faq-accordion-q::before {
  content: 'Q';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 13px;
  margin-right: 12px;
  flex-shrink: 0;
  font-weight: 700;
}
.faq-accordion-q .q-text {
  flex: 1;
}
.faq-accordion-q .icon {
  color: var(--text-muted);
  transition: transform .3s;
  font-size: 18px;
}
.faq-accordion-item.active .faq-accordion-q .icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out;
  padding: 0 24px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
}
.faq-accordion-item.active .faq-accordion-a {
  max-height: 500px;
  padding: 0 24px 20px 60px;
}

/* ====== Social Responsibility ====== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.social-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  transition: all .3s;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.social-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.social-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}
.social-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}
.social-card .social-data {
  margin-top: 12px;
  display: flex;
  gap: 20px;
}
.social-card .social-data span {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

/* ====== Contact Page ====== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-info-box h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(26,54,93,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}
.contact-form-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-box h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Baidu Map Embed */
.baidu-map-box {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.baidu-map-iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}
.map-action-bar {
  padding: 12px 16px;
  background: #f8f9fc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.map-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff !important;
  font-size: 13px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
}
.map-open-btn:hover {
  background: var(--primary-dark);
}
.map-open-btn span {
  font-size: 14px;
}

/* ====== Entity Page ====== */
.entity-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Courier New", monospace;
}
.entity-page h1 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}
.entity-page h2 {
  color: var(--primary);
  font-size: 20px;
  margin: 30px 0 15px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.entity-page dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  font-size: 14px;
}
.entity-page dt {
  color: var(--text-light);
  font-weight: 500;
}
.entity-page dd {
  color: #333;
}
.entity-page ul {
  padding-left: 20px;
}
.entity-page ul li {
  list-style: disc;
  margin-bottom: 6px;
  color: #333;
}

/* ====== CMS Gear Icon ====== */
.cms-gear {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: all .3s;
  opacity: .4;
}
.cms-gear:hover {
  opacity: 1;
  transform: rotate(90deg);
  background: var(--accent);
}

/* CMS Modal */
.cms-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.cms-modal.active { display: flex; }
.cms-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.cms-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cms-modal-header h3 {
  color: var(--primary);
  font-size: 20px;
}
.cms-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.cms-modal-body {
  padding: 24px;
}

.login-box {
  max-width: 320px;
  margin: 40px auto;
  text-align: center;
}
.login-box h4 {
  color: var(--primary);
  margin-bottom: 20px;
}
.login-box input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
}
.login-box button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s;
}
.login-box button:hover {
  background: var(--primary-light);
}
.login-error {
  color: #e53e3e;
  font-size: 13px;
  margin-top: 10px;
  display: none;
}

.cms-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}
.cms-tab {
  padding: 10px 24px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-light);
  position: relative;
  font-weight: 500;
}
.cms-tab.active {
  color: var(--primary);
}
.cms-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.cms-article-list {
  max-height: 400px;
  overflow-y: auto;
}
.cms-article-item {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cms-article-item:hover {
  background: #f8f9fa;
}
.cms-article-title {
  flex: 1;
  font-size: 14px;
  color: #333;
}
.cms-article-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 16px;
}
.cms-article-actions {
  display: flex;
  gap: 8px;
}
.cms-article-actions button {
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.cms-article-actions .btn-edit:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cms-article-actions .btn-delete:hover {
  background: #e53e3e;
  color: #fff;
  border-color: #e53e3e;
}
.cms-add-btn {
  margin-bottom: 16px;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.cms-add-btn:hover {
  background: var(--accent-dark);
}

.cms-toolbar {
  display: flex;
  gap: 8px;
  margin: 0 0 16px 0;
  flex-wrap: wrap;
}
.cms-tool-btn {
  padding: 6px 14px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.cms-tool-btn:hover {
  background: var(--primary);
  color: #fff;
}

.cms-form-group {
  margin-bottom: 16px;
}
.cms-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}
.cms-form-group input,
.cms-form-group select,
.cms-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}
.cms-form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.cms-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cms-form-actions button {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}
.cms-form-actions .btn-save {
  background: var(--primary);
  color: #fff;
}
.cms-form-actions .btn-cancel {
  background: #f0f0f0;
  color: #333;
}

/* ====== Back to Top ====== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 998;
  font-size: 18px;
  color: var(--primary);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary);
  color: #fff;
}

/* ====== Breadcrumb on Page Header ====== */
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

/* ====== Compare Table ====== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 500;
}
.compare-table tr:nth-child(even) {
  background: #f8f9fa;
}
.compare-table tr:hover {
  background: rgba(201,169,98,.08);
}

/* ====== Service Process ====== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.process-step {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.process-step .step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
}
.process-step h4 {
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyers-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; padding-bottom: 0; padding-top: 20px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-img-grid.col-3 { grid-template-columns: repeat(2, 1fr); }
  .honor-img-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
  .office-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.active { display: block; }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-link {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-link::after { display: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    padding: 0;
  }
  .nav-item:hover .nav-dropdown { display: block; transform: none; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 28px; letter-spacing: 2px; }
  .hero-subtitle { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding-left: 50px; padding-right: 10px; text-align: left !important; }
  .timeline-item::before { left: 12px !important; right: auto !important; }
  .honors-grid { grid-template-columns: 1fr; }
  .honor-img-grid.col-3 { grid-template-columns: 1fr; }
  .honor-img-grid.col-4 { grid-template-columns: 1fr; }
  .office-gallery-grid { grid-template-columns: 1fr; }
  .lawyer-detail-header { flex-direction: column; align-items: center; text-align: center; }
  .lawyer-detail-info .meta { justify-content: center; }
  .lawyer-detail-info .fields { justify-content: center; }
  .entity-page dl { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

.footer-beian {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.footer-beian a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-beian a:hover {
    color: var(--primary, #00A86B);
}
