/* ============================================
   山东邦典律师事务所 - V3 大气版（对标中闻律所）
   全屏滑动背景 + 左右分栏 + 视频展示
   主色调：藏青 #0a1628 + 金色 #c9a962 + 白色
   ============================================ */

/* ===== Variables ===== */
:root {
  --primary: #0a1628;
  --primary-mid: #142238;
  --primary-light: #1e3150;
  --accent: #c9a962;
  --accent-light: #e8d5a3;
  --accent-dark: #a07c3a;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #e6e6e6;
  --mid-gray: #888888;
  --text: #333333;
  --text-secondary: #555555;
  --text-muted: #888888;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 30px rgba(10,22,40,0.12);
  --shadow-lg: 0 16px 50px rgba(10,22,40,0.18);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.8; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--accent); color: var(--white); }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(30, 100, 180, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(30, 100, 180, 1);
  box-shadow: 0 2px 24px rgba(30,100,180,0.4);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }


/* ===== Logo Image ===== */
.logo-img {
  width: 68px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.logo-emblem {
  width: 44px; height: 44px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-cn { font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: 2.5px; }
.logo-en { font-size: 10px; color: rgba(255,255,255,0.75); letter-spacing: 3px; font-weight: 400; }

/* Nav */
.nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.2); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(30, 100, 180, 0.97);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a { display: block; padding: 10px 20px; color: rgba(255,255,255,0.88); font-size: 14.5px; font-weight: 500; letter-spacing: 0.5px; }
.dropdown li a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-link .fa-chevron-down { font-size: 10px; transition: var(--transition); }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { color: var(--white); font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; white-space: nowrap; letter-spacing: 0.3px; }
.btn-consult {
  background: var(--white);
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-consult:hover { background: var(--accent-light); color: var(--primary); }

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slides */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(20,34,56,0.35) 60%, rgba(30,49,80,0.20) 100%);
}

/* Layout */
.hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

/* Hero Left */
.hero-left { padding-top: 80px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}
.badge-line { width: 40px; height: 1px; background: var(--accent-light); }

.hero-title {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease both;
}
.title-line { display: block; }
.title-line:first-child { margin-bottom: 16px; }
.title-gold { color: var(--accent-light); }
.title-gap { margin-left: 6px; }

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  max-width: 540px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-leader {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 2.2;
  text-align: left;
}

.hero-leader strong {
  color: #ffffff;
  font-size: 20px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s 0.45s ease both;
}
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-primary-hero:hover { background: var(--accent-light); color: var(--primary); gap: 12px; }
.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: var(--transition);
}
.btn-ghost-hero:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Stats - 已隐藏，保留 data-band 蓝色数据统计条 */
.hero-stats {
  display: none;
  align-items: center;
  gap: 0;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-stat { text-align: center; padding: 0 24px; }
.hero-stat strong {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.hero-stat strong sup { font-size: 18px; color: var(--accent-light); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.5); display: block; margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Hero Right - Consult Card */
.hero-right { padding-top: 80px; animation: fadeInRight 1s 0.3s ease both; }
.consult-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.consult-card-header {
  background: rgba(30, 100, 180, 0.92);
  padding: 24px 28px;
  text-align: center;
  color: var(--white);
}
.consult-card-header i { font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.consult-card-header h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.consult-card-header p { font-size: 12px; color: rgba(255,255,255,0.6); }
.consult-form { padding: 28px; }
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,169,98,0.15);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a962' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group textarea { resize: none; }
.btn-submit-hero {
  width: 100%;
  background: var(--primary-mid);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: 4px;
}
.btn-submit-hero:hover { background: rgba(30,100,180,0.92); color: var(--white); }
.consult-privacy { text-align: center; font-size: 11px; color: var(--text-muted); padding: 0 28px 20px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slide-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.slide-dot.active { background: var(--white); width: 48px; }

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
  animation: bounce 2s infinite;
}
.scroll-arrow { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

/* DATA BAND */
.data-band {
  background: rgba(30, 100, 180, 0.92);
  position: relative;
  z-index: 10;
  margin-top: -1px;
}
.data-band-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.data-band-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.data-band-item:last-child { border-right: none; }
.data-band-item:hover { background: rgba(255,255,255,0.03); }
.data-icon { font-size: 24px; color: var(--accent); flex-shrink: 0; }
.data-info strong {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  display: inline;
  letter-spacing: -0.5px;
}
.data-info strong sup { 
  font-size: 13px; 
  color: rgba(255,255,255,0.75); 
  font-weight: 500;
  margin-left: 2px;
}
.data-info span { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before { content: ''; width: 30px; height: 2px; background: var(--primary-mid); }
.section-label.light { color: var(--accent-light); }
.section-label.light::before { background: var(--accent-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-divider { width: 50px; height: 3px; background: var(--primary-mid); margin: 16px 0; }
.section-divider.center { margin-left: auto; margin-right: auto; }
.section-sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 48px; }
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-footer { margin-top: 48px; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { padding: 100px 0; }
.about-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual */
.about-visual { position: relative; }
.about-img-main {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-accent img { width: 100%; height: 140px; object-fit: cover; }
.about-badge-float {
  position: absolute;
  top: 20px;
  left: -20px;
  background: rgba(30, 100, 180, 0.92);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.float-num { font-family: var(--font-serif); font-size: 36px; font-weight: 700; display: block; }
.float-text { font-size: 12px; font-weight: 500; display: block; line-height: 1.4; }

/* About Content */
.about-text { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.about-feat { display: flex; gap: 12px; }
.feat-icon {
  width: 36px; height: 36px;
  background: rgba(201,169,98,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 13px;
}
.feat-text h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.feat-text p { font-size: 12px; color: var(--text-muted); }

/* About Collapsible Details */
.about-details {
  border: 1px solid rgba(201,169,98,0.2);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}
.about-summary {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s ease;
  user-select: none;
  list-style: none !important;
}
.about-summary::-webkit-details-marker { display: none; }
.about-summary i {
  color: var(--accent);
  font-size: 12px;
  transition: transform 0.3s ease;
}
.about-details[open] .about-summary i { transform: rotate(180deg); }
.about-summary:hover { background: rgba(201,169,98,0.06); }
.about-details-body {
  padding: 6px 20px 18px 20px;
  border-top: 1px solid rgba(201,169,98,0.12);
}
.about-field-item {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.about-field-item:last-child { border-bottom: none; }
.about-culture-item {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 10px 0;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 100, 180, 0.92);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-dark:hover { background: rgba(25, 85, 165, 1); gap: 12px; }
.btn-dark.mt-3 { margin-top: 24px; }

/* ============================================
   PRACTICE SECTION
   ============================================ */
.practice-section { background: var(--off-white); padding: 100px 0; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.practice-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}
.practice-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.practice-card:hover .pc-link { color: var(--accent); }
.pc-icon { font-size: 28px; color: var(--accent); margin-bottom: 16px; }
.practice-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.practice-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}
.pc-link:hover { color: var(--accent); gap: 10px; }
.pc-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: rgba(201,169,98,0.1);
  line-height: 1;
}

/* ============================================
   企业用工无忧 - 详情弹窗
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,22,40,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.labor-modal {
  width: min(720px, 92vw);
  max-height: 90vh; overflow-y: auto;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 44px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s ease;
  position: relative;
}
.modal-overlay.active .labor-modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); font-size: 20px;
  transition: all 0.25s;
  z-index: 2;
}
.labor-header { text-align: center; margin-bottom: 32px; }
.labor-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px;
  background: linear-gradient(135deg,#1e64b4,#115db2);
  color: #fff; font-size: 13px; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 1px;
}
.labor-header h2 { font-size: 26px; color: #1a2332; line-height: 1.4; }
.labor-subtitle { font-size: 14px; color: rgba(26,35,50,0.55); margin-top: 12px; letter-spacing: 0.3px; }

.labor-section { margin-bottom: 28px; }
.labor-section h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #1a2332; margin-bottom: 14px; }
.labor-section h3 i { color: #1e64b4; }

.pain-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pain-tag {
  padding: 6px 16px; border-radius: 6px;
  background: rgba(30,100,180,0.08); color: #1e64b4;
  font-size: 13px; font-weight: 500;
}

.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-card {
  border-radius: 12px; padding: 24px 20px;
  border: 2px solid #eef1f5; text-align: center;
  transition: all 0.3s ease;
}
.price-card:hover { border-color: rgba(201,169,98,0.4); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.price-card.premium { border-color: rgba(201,169,98,0.45); background: linear-gradient(180deg,rgba(201,169,98,0.04),transparent); }
.price-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: rgba(26,35,50,0.4); margin-bottom: 6px; }
.price-label.best { background: var(--accent); color: #fff; display: inline-block; padding: 3px 14px; border-radius: 50px; letter-spacing: 1.5px; }
.price-value { font-size: 36px; font-weight: 800; color: #1a2332; line-height: 1; margin-bottom: 4px; }
.price-value .currency { font-size: 20px; vertical-align: super; }
.price-value .unit { font-size: 13px; font-weight: 500; color: rgba(26,35,50,0.4); }
.price-title { font-size: 15px; font-weight: 600; color: #1a2332; margin-bottom: 14px; }
.price-list { list-style: none; padding: 0; text-align: left; }
.price-list li { font-size: 13px; color: rgba(26,35,50,0.65); padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.price-list li i { color: #27ae60; margin-top: 2px; }

.triple-horse { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.horse-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.horse-icon { font-size: 28px; }
.horse-item span { font-size: 13px; font-weight: 600; color: #1a2332; white-space: nowrap; }
.horse-arrow { font-size: 20px; color: rgba(201,169,98,0.7); font-weight: 300; }
.horse-desc { text-align: center; font-size: 13px; color: rgba(26,35,50,0.55); font-style: italic; }

.labor-cta { text-align: center; padding-top: 16px; border-top: 1px solid #eef1f5; }
.cta-text { font-size: 14.5px; color: rgba(26,35,50,0.7); margin-bottom: 18px; line-height: 1.7; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg,#1e64b4,#115db2);
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 36px; border-radius: 8px;
  transition: all 0.3s ease; text-decoration: none;
  letter-spacing: 0.5px;
}
.cta-btn:hover { transform: scale(1.03); box-shadow: 0 8px 32px rgba(30,100,180,0.35); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}
.btn-outline-dark:hover { background: rgba(30,100,180,0.92); color: var(--white); }

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section { display: none; } /* deprecated, kept for compat */

/* ============================================
   PARTNERS SECTION (replaces video-section)
   ============================================ */
.partners-section {
  position: relative;
  overflow: hidden;
  background: #f4f6fa;
  padding: 100px 0 80px;
}
.partners-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.partners-header {
  text-align: center;
  margin-bottom: 60px;
}
.partners-header .section-label { margin-bottom: 12px; }
.partners-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.partners-subtitle {
  font-size: 16px;
  color: var(--text-light);
  letter-spacing: 4px;
}

/* Grid */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.partner-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 32px;
  transition: var(--transition);
  flex-shrink: 0;
}
.partner-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}

/* 创始人卡片 - 横跨全宽，更大气 */
.partner-featured {
  width: 100%;
  grid-template-columns: 120px 1fr;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(201,169,98,0.12);
}
.partner-featured:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}

/* 非创始人3列 */
@media (min-width: 768px) {
  .partner-card:not(.partner-featured) {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .partner-featured {
    width: 100%;
  }
  .partner-card:not(.partner-featured) {
    width: calc((100% - 56px) / 3);
    flex-shrink: 0;
  }
}
@media (max-width: 767px) {
  /* 高级合伙人 - 手机端垂直卡片布局 */
  .partners-inner { padding: 0 16px; }
  .partners-header { margin-bottom: 36px; }
  .partners-title { font-size: 28px; letter-spacing: 1px; }
  .partners-subtitle { font-size: 14px; letter-spacing: 2px; }
  .partners-grid { gap: 16px; flex-direction: column; }

  .partner-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }
  .partner-card:not(.partner-featured) {
    width: 100%;
    flex-shrink: 1;
  }
  .partner-featured {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    width: 100%;
  }
  .partner-avatar {
    justify-content: center;
    padding-top: 0;
  }
  .partner-logo {
    width: 72px;
    height: 72px;
  }
  .partner-featured .partner-logo {
    width: 80px;
    height: 80px;
  }
  .avatar-placeholder {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  .partner-featured .avatar-placeholder {
    width: 72px;
    height: 72px;
    font-size: 26px;
  }
  .partner-name { font-size: 18px; }
  .partner-featured .partner-name { font-size: 20px; }
  .partner-rank { margin-bottom: 12px; }

  /* 手机端徽章也显示，改为更紧凑的布局 */
  .partner-badges {
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
  }
  .pb-item {
    font-size: 11px;
    padding: 3px 8px;
  }
  .partner-desc {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .partner-tags {
    justify-content: center;
    gap: 6px;
  }
  .partner-tags span {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* Avatar */
.partner-avatar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}
.avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a2f, #2a5a4f);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.partner-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  background: #fff;
}
.partner-featured .partner-logo {
  width: 110px;
  height: 110px;
  border-width: 3px;
}
.partner-featured .avatar-placeholder {
  width: 110px;
  height: 110px;
  font-size: 38px;
  border-width: 3px;
}

/* Body */
.partner-body {
  overflow: hidden;
}
.partner-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
}
.partner-featured .partner-name {
  font-size: 26px;
}
.partner-rank {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.partner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pb-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
  background: #f0f4f8;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #e0e8f0;
}
.pb-item i {
  color: var(--accent);
  font-size: 11px;
}
.partner-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.partner-tags span {
  font-size: 11px;
  color: var(--text-light);
  background: #f0f4f8;
  border: 1px solid #e0e8f0;
  padding: 3px 10px;
  border-radius: 3px;
  transition: var(--transition);
}
.partner-card:hover .partner-tags span {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================
   LAWYERS SECTION
   ============================================ */
.lawyers-section { padding: 100px 0; }
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.lawyer-card { }
.lawyer-photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 3/4;
}
.lawyer-photo img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.lawyer-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.55) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: var(--transition);
}
.lawyer-card:hover .lawyer-overlay { opacity: 1; }
.lawyer-card:hover .lawyer-photo img { transform: scale(1.05); }
.lawyer-more {
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  transition: var(--transition);
}
.lawyer-more:hover { background: var(--accent-light); }
.lawyer-info h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.lawyer-title { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 10px; }
.lawyer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lawyer-tags span { font-size: 11px; color: var(--text-muted); background: var(--off-white); padding: 4px 10px; border-radius: 20px; }

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section { background: var(--off-white); padding: 100px 0; }
.news-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.news-header-col { position: sticky; top: 120px; }
.news-item { background: var(--white); border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.news-item.featured { box-shadow: var(--shadow-sm); transition: var(--transition); }
.news-item.featured:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-img { position: relative; }
.news-img img { width: 100%; height: 200px; object-fit: cover; }
.news-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary-mid);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.news-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-cat-inline { background: var(--off-white); padding: 2px 10px; border-radius: 20px; font-size: 11px; color: var(--text-secondary); }
.news-item.featured h3 a { font-size: 16px; font-weight: 600; color: var(--text); display: block; margin-bottom: 8px; line-height: 1.5; }
.news-item.featured h3 a:hover { color: var(--primary-mid); }
.news-item.featured p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.news-item:not(.featured) { display: flex; align-items: center; }
.news-item:not(.featured) .news-body { flex: 1; padding: 16px 20px; }
.news-item:not(.featured) h3 a { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.5; }
.news-item:not(.featured) h3 a:hover { color: var(--primary-mid); }

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section { padding: 80px 0; }
.clients-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
}
.client-logo {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  transition: var(--transition);
}
.client-logo:hover { background: var(--off-white); }
.client-logo span { font-size: 13px; color: var(--text-muted); font-weight: 500; text-align: center; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: rgba(10,22,40,0.80); }
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}
.cta-content h2 { font-family: var(--font-serif); font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; }
.btn-gold-cta {
  background: var(--white);
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-gold-cta:hover { background: var(--accent-light); color: var(--primary); }
.btn-ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 32px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: var(--transition);
}
.btn-ghost-cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: rgba(30, 100, 180, 0.95); color: rgba(255,255,255,0.85); }
.footer-top { padding: 60px 0; }
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.85; margin-bottom: 20px; color: rgba(255,255,255,0.6); letter-spacing: 0.3px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }
.footer-social a.social-wechat:hover { background: #07c160; }
.footer-social a.social-douyin:hover { background: #fe2c55; }
.footer-social a.social-video:hover { background: #07c160; }
.footer-social a.social-kuaishou:hover { background: #ff4906; }

/* ===== FOOTER QR CODE ===== */
.footer-qr {
  text-align: center;
  padding: 8px 0 4px;
}
.footer-qr-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer-qr-label i {
  color: #07c160;
  font-size: 15px;
}
.footer-qr-img {
  display: inline-block;
  border: 3px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px;
  background: #ffffff;
  line-height: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.footer-qr-img img {
  width: 130px;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
/* ===== HUIMIN CARD SEPARATOR ===== */
.huimin-card .hc-title { font-size: 17px; line-height: 1.5; }
.huimin-card .hc-sep { color: var(--accent); font-weight: 700; margin: 0 2px; }

.footer-qr-placeholder {
  width: 90px;
  height: 90px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.6); transition: var(--transition); letter-spacing: 0.3px; }
.footer-col ul li a:hover { color: rgba(220,235,255,1); }
.footer-contact ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-contact ul li i { color: rgba(180,210,255,0.9); margin-top: 3px; flex-shrink: 0; }
.footer-contact ul li a { color: rgba(255,255,255,0.65); }
.footer-contact ul li a:hover { color: rgba(220,235,255,1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom .footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================   BACK TOP   ============================================ */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px; height: 44px;
  background: rgba(25, 85, 165, 0.9);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 6px 24px rgba(30,100,180,0.3);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: rgba(30,100,180,1); color: var(--white); transform: translateY(-3px); }

/* ============================================   ONLINE CHAT   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: var(--primary-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.chat-button:hover {
  background: rgba(30,100,180,0.92);
  color: var(--white);
  transform: scale(1.05);
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.chat-panel.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: rgba(30,100,180,0.92);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.chat-body {
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.chat-message.bot {
  align-items: flex-start;
}

.chat-message.user {
  align-items: flex-end;
}

.chat-message-content {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-message.bot .chat-message-content {
  background: var(--off-white);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-message.user .chat-message-content {
  background: var(--primary-mid);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,98,0.15);
}

.chat-send {
  width: 36px;
  height: 36px;
  background: var(--primary-mid);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chat-send:hover {
  background: var(--primary);
  color: var(--white);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.chat-message.bot .chat-avatar {
  margin-right: 8px;
}

.chat-message.user .chat-avatar {
  margin-left: 8px;
}

.chat-message-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.chat-message.bot .chat-message-header {
  flex-direction: row;
}

.chat-message.user .chat-message-header {
  flex-direction: row-reverse;
}

/* Chat Invite */
.chat-invite {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  max-width: 280px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.chat-invite.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-invite::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--white);
}

.chat-invite-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-invite-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.chat-invite-text {
  flex: 1;
}

.chat-invite-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}

.chat-invite-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.chat-invite-buttons {
  display: flex;
  gap: 8px;
}

.chat-invite-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.chat-invite-btn.accept {
  background: var(--primary-mid);
  color: var(--white);
}

.chat-invite-btn.accept:hover {
  background: var(--primary);
  color: var(--white);
}

.chat-invite-btn.decline {
  background: var(--light-gray);
  color: var(--text-secondary);
}

.chat-invite-btn.decline:hover {
  background: var(--mid-gray);
  color: var(--text);
}

.chat-invite-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .chat-panel {
    width: 280px;
    right: -20px;
  }
  
  .chat-invite {
    right: 20px;
    max-width: 260px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero-layout { grid-template-columns: 1fr 380px; gap: 48px; }
  .hero-title { font-size: 48px; }
  .about-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 992px) {
  .header-inner { padding: 0 24px; }
  .nav {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: var(--primary);
    padding: 20px;
    overflow-y: auto;
    z-index: 1001;
  }
  .nav.active { display: block; }
  .menu-toggle { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
  }
  .has-dropdown .dropdown li a { padding: 10px 0; color: rgba(255,255,255,0.6); }
  .has-dropdown .dropdown li a:hover { background: transparent; color: var(--accent); }
  .header-phone { display: none; }
  .header-actions { gap: 12px; }
  
  .hero-layout { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .hero-right { display: none; }
  .hero-title { font-size: 40px; }
  .hero-stats { justify-content: flex-start; }
  .slide-indicators { bottom: 24px; }
  
  .data-band-inner { flex-wrap: wrap; }
  .data-band-item { flex: 0 0 33.33%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  
  .about-section { padding: 60px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .about-img-accent { right: 0; }
  
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-section { padding: 60px 0; }
  
  .video-content { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .video-title { font-size: 32px; }
  
  .lawyers-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  .news-layout { grid-template-columns: 1fr; gap: 40px; }
  .news-header-col { position: static; }
  
  .clients-logos { grid-template-columns: repeat(4, 1fr); }
  
  .cta-content h2 { font-size: 32px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .practice-grid { grid-template-columns: 1fr; }
  .lawyers-grid { grid-template-columns: 1fr; }
  .lawyer-card { text-align: center; }
  .lawyer-info { display: flex; flex-direction: column; align-items: center; }
  .lawyer-info h3 { font-size: 17px; }
  .lawyer-tags { justify-content: center; }
  .about-features { grid-template-columns: 1fr; }
  .about-badge-float { left: 0; }
  .video-features { grid-template-columns: 1fr; }
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 16px; }
  .hero-stat strong { font-size: 26px; }
  .header-inner { gap: 8px; padding: 0 12px; }
  .logo { gap: 8px; }
  .logo-img { width: 42px; }
  .logo-cn { font-size: 15px; letter-spacing: 1px; }
  .btn-consult { padding: 7px 12px; font-size: 12px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
  .header-actions { gap: 8px; margin-left: auto; }
  .menu-toggle { display: none !important; }
  .logo-en { display: none; }
}

/* ============================================
   HUIMIN SECTION - 法治惠民（摘要卡片列表）
   ============================================ */
.huimin-section { background: var(--off-white); padding: 70px 0; }

.huimin-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto;
}

/* 摘要卡片 */
.huimin-card {
  position: relative; background: var(--white);
  border-radius: 14px; padding: 36px 30px 26px;
  text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.35s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.huimin-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(25,118,210,0.15);
}

.hc-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,#ff4444,#e74c3c);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 18px; border-radius: 20px; white-space: nowrap;
}

.hc-icon-wrap {
  width: 72px; height: 72px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #fff; font-size: 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hc-title { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.4; }
.hc-subtitle { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }

.hc-highlights {
  list-style: none; padding: 0; margin: 0 0 16px 0;
  text-align: left; background: #f8fafc;
  border-radius: 10px; padding: 14px 18px;
}
.hc-highlights li {
  font-size: 13px; color: #444; padding: 4px 0 4px 20px; position: relative; line-height: 1.6;
}
.hc-highlights li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent);
  font-weight: 700; font-size: 12px;
}
.hc-highlights strong { color: #d32f2f; }

.hc-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--accent);
  transition: gap 0.3s;
}
.huimin-card:hover .hc-action { gap: 10px; }


/* ============================================
   HUIMIN MODAL - 法治惠民详情弹窗（大屏）
   ============================================ */
.huimin-modal { z-index: 9999; }

.huimin-modal-body {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: calc(100vw - 40px); max-width: 900px;
  max-height: calc(100vh - 60px);
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.08);
  animation: hmSlideUp 0.35s ease;
}
@keyframes hmSlideUp {
  from { opacity: 0; transform: translate(-50%,-46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}

.huimin-close {
  position: absolute; top: 14px; right: 16px; z-index: 10;
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: rgba(0,0,0,0.06); color: #666;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.huimin-close:hover { background: rgba(211,47,47,0.1); color: #d32f2f; }

/* 弹窗头部 */
.hm-header {
  background: linear-gradient(135deg, #0a1628, #142238);
  color: #fff; padding: 32px 36px 24px; text-align: center;
  flex-shrink: 0;
}
.hm-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 20px; margin-bottom: 12px;
}
.hm-header h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; line-height: 1.4; }
.hm-sub { font-size: 13.5px; opacity: 0.88; line-height: 1.65; max-width: 650px; margin: 0 auto; }

/* 弹窗内容滚动区 */
.hm-content {
  flex: 1; overflow-y: auto; padding: 28px 36px;
  scroll-behavior: smooth; overscroll-behavior: contain;
}

/* 弹窗内核心定位条 */
.hm-intro {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, #fff9e6, #fff5d6);
  border: 1px solid #f0e6c8; border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 16px 20px; margin-bottom: 24px;
}
.hm-intro-icon { font-size: 24px; flex-shrink: 0; }
.hm-intro-text { font-size: 13.5px; color: #555; line-height: 1.85; }

/* 弹窗内容块 */
.hm-block {
  background: var(--white); border: 1px solid #e8ecf2;
  border-radius: 10px; padding: 24px 28px; margin-bottom: 18px;
  transition: box-shadow 0.3s;
}
.hm-block:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.hm-block-title {
  font-size: 16px; font-weight: 700; color: var(--primary-mid);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px; line-height: 1.35; flex-wrap: wrap;
}
.hm-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; background: var(--primary-mid); color: #fff;
  font-size: 14px; font-weight: 700; border-radius: 7px; flex-shrink: 0;
}
.hm-badge-red { font-size: 10px; background:#ff4444;color:#fff;padding:2px 10px;border-radius:12px;font-weight:600;vertical-align:middle;margin-left:4px; }
.hm-badge-green { font-size: 10px; background:#27ae60;color:#fff;padding:2px 10px;border-radius:12px;font-weight:600;vertical-align:middle;margin-left:4px; }
.hm-badge-gold { font-size: 10px; background:#f39c12;color:#fff;padding:2px 10px;border-radius:12px;font-weight:600;vertical-align:middle;margin-left:4px; }

.hm-desc { font-size: 13.5px; color: #555; line-height: 1.85; margin-bottom: 14px; }

/* Grid 3 */
.hm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-mini-card {
  background: #f8f9fb; border-radius: 8px; padding: 16px 14px; text-align: center;
  transition: transform 0.25s;
}
.hm-mini-card:hover { transform: translateY(-2px); background: #f0f2f5; }
.hmc-icon { font-size: 20px; margin-bottom: 6px; }
.hm-mini-card strong { display: block; font-size: 14px; color: var(--primary-mid); margin-bottom: 4px; }
.hm-mini-card p { font-size: 12px; color: #777; line-height: 1.6; }

/* Highlight Block */
.hm-highlight { border-color: rgba(201,169,98,0.25); background: linear-gradient(to bottom,#fff,#fefefe); }

/* 套餐卡片 */
.hm-pkg-card {
  background: #fafbfc; border: 2px solid #e8ecf2; border-radius: 10px;
  padding: 22px 26px; margin-bottom: 16px;
}
.hm-pkg-card.hm-pkg-premium { border-color: rgba(192,57,43,0.25); background: linear-gradient(135deg,#fef9f7,#fff); }
.hm-pkg-tag { font-size: 15px; font-weight: 700; color: #e67e22; margin-bottom: 8px; display: block; }
.hm-pkg-tag.hm-pkg-best { color: #c0392b; }
.hm-pkg-badge {
  display: inline-block; font-size: 11px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #e67e22, #f39c12);
  padding: 3px 12px; border-radius: 14px; margin-bottom: 12px;
}
.hm-pkg-savings {
  background: linear-gradient(135deg, #fff5f0, #ffe8dd);
  border: 1px solid #ffd4b8; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.hm-save-label { font-size: 12.5px; color: #c0392b; font-weight: 500; }
.hm-save-amount {
  font-size: 13px; font-weight: 700; color: #d32f2f;
  background: rgba(211,47,47,0.08); padding: 3px 10px; border-radius: 6px;
}
.hm-pkg-list { list-style: none; padding: 0; margin: 0 0 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hm-pkg-list li {
  font-size: 13px; color: #444; padding: 4px 0 4px 20px; position: relative; line-height: 1.55;
}
.hm-pkg-list li::before { content:'✓'; position:absolute; left:0; color:#27ae60; font-weight:700; font-size:12px; }
.hm-pkg-summary { font-size: 13px; color: #555; line-height: 1.7; }
.hm-pkg-sub-detail {
  font-size: 12.5px; color: #666; line-height: 1.75; padding: 12px 16px;
  background: #f5f0eb; border-radius: 6px; margin-top: 10px; border-left: 3px solid var(--accent);
}

/* 三驾马车 */
.hm-triple-horse {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 16px 0; flex-wrap: wrap;
}
.hth-item {
  display: flex; align-items: center; gap: 8px; background: var(--off-white);
  padding: 12px 24px; border-radius: 10px; transition: all 0.25s;
}
.hth-item:hover { background: #eef1f6; transform: translateY(-2px); }
.hth-icon { font-size: 22px; }
.hth-item span { font-size: 14px; font-weight: 600; color: var(--primary-mid); white-space: nowrap; }
.hth-plus { font-size: 18px; color: var(--accent); font-weight: 900; }

/* 政策区块 */
.hm-policy { border-color: rgba(39,174,96,0.15); background: linear-gradient(135deg,#f8fffe,#fff); }
.hm-pol-section { margin-bottom: 16px; }
.hm-pol-section h4 { font-size: 14px; font-weight: 700; color: var(--primary-mid); margin-bottom: 6px; }
.hm-pol-section p { font-size: 13px; color: #555; line-height: 1.8; }
.hm-pol-list { padding-left: 20px; margin: 0; }
.hm-pol-list li { font-size: 13px; color: #555; line-height: 1.85; margin-bottom: 6px; }

/* 步骤行 */
.hm-steps-row { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
.hm-step {
  flex: 1; min-width: 130px; text-align: center; padding: 16px 12px;
  background: #f8f9fb; border-radius: 8px; margin-right: 6px;
}
.hm-step-num {
  width: 33px; height: 33px; background: var(--primary-mid); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.hm-step h5 { font-size: 13px; font-weight: 700; color: var(--primary-mid); margin-bottom: 4px; }
.hm-step p { font-size: 11.5px; color: #777; line-height: 1.55; }
.hm-step-arrow { font-size: 18px; color: var(--accent); font-weight: 900; align-self: center; flex-shrink: 0; }

/* 核心优势 */
.hm-adv { border-color: rgba(201,169,98,0.2); }
.hm-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hm-adv-item {
  text-align: center; padding: 18px 14px; background: #f8f9fb;
  border-radius: 10px; transition: all 0.25s;
}
.hm-adv-item:hover { background: #f0f2f5; transform: translateY(-2px); }
.hma-icon { font-size: 28px; margin-bottom: 8px; }
.hm-adv-item strong { display: block; font-size: 14px; color: var(--primary-mid); margin-bottom: 4px; }
.hm-adv-item p { font-size: 12px; color: #777; line-height: 1.55; }

/* 底部固定CTA */
.hm-footer {
  background: linear-gradient(135deg, #0a1628, #142238);
  padding: 24px 36px; text-align: center;
  flex-shrink: 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.hm-phone-line {
  font-size: 14px; color: rgba(255,255,255,0.88); margin-bottom: 16px; line-height: 1.6;
}
.hm-phone-line strong { color: #fff; font-size: 1.2em; }
.hm-phone-line span { display: block; font-size: 12px; opacity: 0.7; margin-top: 4px; }
.hm-cta-btn {
  display: inline-block; background: linear-gradient(135deg, #1976d2, #1565c0);
  color: #fff; font-size: 16px; font-weight: 700; padding: 14px 44px;
  border-radius: 50px; text-decoration: none; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(25,118,210,0.35);
}
.hm-cta-btn:hover { background: linear-gradient(135deg, #1e88e5, #1976d2); transform: translateY(-2px); }
.hm-disclaimer {
  margin-top: 14px; font-size: 11.5px; color: rgba(255,255,255,0.42);
  line-height: 1.7; max-width: 720px; margin-left: auto; margin-right: auto;
}


/* Huimin Section Responsive */
@media (max-width: 992px) {
  .huimin-grid { grid-template-columns: 1fr; max-width: 500px; }
  .hm-grid-3 { grid-template-columns: 1fr; }
  .hm-pkg-list { grid-template-columns: 1fr; }
  .hm-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-modal-body { width: calc(100vw - 24px); max-height: calc(100vh - 30px); }
  .hm-content { padding: 22px 24px; }
}
@media (max-width: 768px) {
  .huimin-card { padding: 28px 22px 20px; }
  .hc-icon-wrap { width: 62px; height: 62px; font-size: 24px; border-radius: 14px; }
  .hm-adv-grid { grid-template-columns: 1fr; }
  .hm-triple-horse { flex-direction: column; align-items: stretch; }
  .hth-plus { transform: rotate(90deg); }
  .hm-steps-row { flex-wrap: wrap; }
  .hm-step { flex: 0 0 calc(50% - 6px); margin-bottom: 8px; }
  .hm-step-arrow { display: none; }
  .hm-intro { flex-direction: column; }
  .hm-header { padding: 24px 20px 18px; }
  .hm-header h2 { font-size: 17px; }
  .hm-footer { padding: 20px 20px; }
}
