/* ============================================
   某某律师事务所 - 个性化设计系统
   设计理念：正义之盾 · 信任架构
   配色：权威深蓝 + 司法金 + 沉稳米白
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
  /* 主色调 - 权威深蓝系 */
  --navy-900: #0A1628;
  --navy-800: #0F1F3C;
  --navy-700: #1A2B4A;
  --navy-600: #1E3A8A;
  --navy-500: #2952B8;
  --navy-400: #3B6BD9;

  /* 强调色 - 司法金 */
  --gold-600: #92660C;
  --gold-500: #B45309;
  --gold-400: #C9A961;
  --gold-300: #D4AF37;
  --gold-200: #E8D9A0;

  /* 中性色 */
  --cream: #F8FAFC;
  --paper: #FDFBF7;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* 功能色 */
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --info: #0284C7;

  /* 字体 */
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* 间距 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.18);
  --shadow-gold: 0 8px 24px rgba(180, 83, 9, 0.25);

  /* 过渡 */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* 布局 */
  --container-max: 1280px;
  --header-height: 72px;
}

/* ===== 重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-400);
  border-radius: var(--radius-full);
  border: 2px solid var(--navy-900);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-300);
}

/* 文字选区 */
::selection {
  background: var(--gold-400);
  color: var(--navy-900);
}

/* ===== 排版 ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p { line-height: 1.8; }

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--gold-500); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 960px;
}

/* ===== 区段 ===== */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-400);
}

.section-title {
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.0625rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--cream);
  border-color: var(--gold-500);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold-400);
}
.btn-secondary:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--navy-600);
  color: var(--navy-600);
  background: var(--gray-100);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  color: var(--gold-500);
  background: var(--gray-100);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* ===== 导航栏 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--cream);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}
.logo-mark svg {
  width: 24px;
  height: 24px;
  color: var(--navy-900);
  z-index: 1;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}
.logo:hover .logo-mark::after {
  transform: translateX(100%);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text small {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  color: rgba(248, 250, 252, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9375rem;
}
.nav-phone svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(15, 31, 60, 0.75) 50%, rgba(10, 22, 40, 0.9) 100%),
    radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
  z-index: 1;
}

/* 装饰性几何线条 */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(201, 169, 97, 0.1);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}
.hero-decoration::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(201, 169, 97, 0.08);
  border-radius: 50%;
  animation: rotate 80s linear infinite reverse;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-400);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  color: var(--cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--gold-400);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background: var(--gold-500);
  opacity: 0.3;
  z-index: -1;
}

.hero-subtitle {
  color: rgba(248, 250, 252, 0.75);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 580px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Hero 信任数据条 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-hint .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(248, 250, 252, 0.3);
  border-radius: var(--radius-full);
  position: relative;
}
.scroll-hint .mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== 信任数据卡片 ===== */
.trust-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-600), var(--gold-400), var(--navy-600));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.trust-card:hover::before {
  transform: scaleX(1);
}

.trust-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
}
.trust-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-400);
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.trust-number .suffix {
  color: var(--gold-500);
  font-size: 1.5rem;
}

.trust-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== 办案流程预览 ===== */
.process-preview {
  background: var(--navy-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.process-preview .section-title {
  color: var(--cream);
}

.process-preview .section-subtitle {
  color: rgba(248, 250, 252, 0.6);
}

.process-timeline {
  display: flex;
  overflow-x: auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.process-timeline::-webkit-scrollbar {
  height: 6px;
}
.process-timeline::-webkit-scrollbar-track {
  background: rgba(201, 169, 97, 0.1);
  border-radius: var(--radius-full);
}
.process-timeline::-webkit-scrollbar-thumb {
  background: var(--gold-400);
  border-radius: var(--radius-full);
}

.process-step {
  flex: 0 0 280px;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 169, 97, 0.15);
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover {
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--gold-400);
  transform: translateY(-4px);
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 169, 97, 0.2);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.process-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}
.process-step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-400);
}

.process-step h4 {
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.process-step p {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.process-step-time {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(201, 169, 97, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 600;
}

/* ===== 案例预览 ===== */
.cases-preview {
  background: var(--cream);
}

.case-filters {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.filter-chip {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--navy-600);
  color: var(--navy-600);
}

.filter-chip.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--cream);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.case-card {
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.case-card-header {
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--cream);
  position: relative;
}

.case-result-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-400);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}

.case-result-badge.success { background: #10B981; color: white; }
.case-result-badge.warning { background: var(--gold-400); color: var(--navy-900); }
.case-result-badge.info { background: var(--info); color: white; }

.case-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.case-card-meta {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.6);
}

.case-card-body {
  padding: var(--space-md);
}

.case-card-summary {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
}

.case-card-lawyer {
  color: var(--navy-600);
  font-weight: 600;
}

.case-card-link {
  color: var(--gold-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}
.case-card-link:hover {
  gap: 8px;
}

/* ===== 团队预览 ===== */
.team-preview {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.team-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-800);
  aspect-ratio: 3/4;
  cursor: pointer;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover img {
  transform: scale(1.08);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  transition: all var(--transition-base);
}

.team-card-info {
  color: var(--cream);
}

.team-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-title {
  font-size: 0.8125rem;
  color: var(--gold-400);
  margin-bottom: var(--space-xs);
}

.team-card-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-base);
}

.team-card:hover .team-card-detail {
  max-height: 200px;
  opacity: 1;
  margin-top: var(--space-xs);
}

.team-card-detail p {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.team-card-tag {
  padding: 2px 8px;
  background: rgba(201, 169, 97, 0.2);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  color: var(--gold-400);
}

/* ===== FAQ 手风琴 ===== */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--paper);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  user-select: none;
}

.faq-question .faq-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-item.active .faq-icon {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===== CTA 区 ===== */
.cta-section {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--navy-900);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
}

.cta-content h2 {
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: rgba(248, 250, 252, 0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-md);
}

.cta-phone-label {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta-phone-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.05em;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--navy-900);
  color: rgba(248, 250, 252, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 320px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.4);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom a {
  color: rgba(248, 250, 252, 0.4);
}
.footer-bottom a:hover {
  color: var(--gold-400);
}

/* ===== 浮动按钮 ===== */
.float-actions {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.float-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn-emergency {
  background: var(--danger);
  color: white;
  animation: pulse-emergency 2s ease-in-out infinite;
}

@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

.float-btn-emergency:hover {
  transform: scale(1.1);
}

.float-btn-consult {
  background: var(--gold-500);
  color: white;
}

.float-btn-consult:hover {
  background: var(--gold-600);
  transform: scale(1.1);
}

.float-btn-top {
  background: var(--navy-700);
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.float-btn-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn-top:hover {
  background: var(--navy-600);
  transform: scale(1.1);
}

.float-btn-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem 0.875rem;
  background: var(--navy-900);
  color: var(--cream);
  font-size: 0.8125rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.float-btn:hover .float-btn-tooltip {
  opacity: 1;
}

/* ===== 页面横幅 ===== */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--navy-900);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92), rgba(15, 31, 60, 0.85));
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
}

.page-banner h1 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.page-banner p {
  color: rgba(248, 250, 252, 0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.5);
}

.breadcrumb a {
  color: var(--gold-400);
}
.breadcrumb a:hover {
  color: var(--gold-300);
}

/* ===== 办案流程页 - 交互式步骤器 ===== */
.process-detail {
  background: var(--cream);
}

/* 步骤器容器 */
.process-stepper {
  max-width: 1100px;
  margin: 0 auto;
}

/* 步骤导航条 */
.stepper-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 0.5rem;
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.5rem;
}
.stepper-nav::-webkit-scrollbar { display: none; }

/* 进度连线 */
.stepper-line {
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  z-index: 0;
}

.stepper-line-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  border-radius: var(--radius-full);
  width: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 单个步骤节点 */
.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 80px;
  padding: 0 0.25rem;
  background: transparent;
  border: none;
  transition: all var(--transition-base);
}

.step-node-circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 3px solid var(--gray-300);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all var(--transition-base);
  position: relative;
}

.step-node:hover .step-node-circle {
  border-color: var(--gold-400);
  color: var(--gold-500);
  transform: translateY(-2px);
}

/* 已完成步骤 */
.step-node.completed .step-node-circle {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--cream);
}
.step-node.completed .step-node-circle svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

/* 当前激活步骤 */
.step-node.active .step-node-circle {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-color: var(--gold-400);
  color: var(--navy-900);
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.2), var(--shadow-md);
}

.step-node.active .step-node-circle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--gold-400);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

.step-node-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.step-node:hover .step-node-label,
.step-node.active .step-node-label {
  color: var(--navy-800);
}

.step-node.active .step-node-label {
  color: var(--gold-500);
  font-weight: 700;
}

/* 步骤详情面板 */
.step-panel-wrapper {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 420px;
}

/* 面板顶部色带 */
.step-panel-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-400), var(--navy-700));
  z-index: 1;
}

.step-panel {
  display: none;
  padding: var(--space-xl);
  animation: panelFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 面板头部 */
.step-panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--gray-100);
}

.step-panel-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.step-panel-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold-400);
}

.step-panel-title-group {
  flex: 1;
}

.step-panel-stage {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--navy-700);
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.step-panel-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.2;
}

.step-panel-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--gold-600);
  font-weight: 600;
}
.step-panel-time svg {
  width: 14px;
  height: 14px;
}

/* 面板内容区 - 双栏布局 */
.step-panel-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.step-info-card {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.step-info-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.step-info-card.lawyer {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-color: var(--navy-600);
}

.step-info-card.family {
  background: var(--cream);
  border-color: var(--gray-200);
}

.step-info-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-info-card.family .step-info-card-header {
  border-bottom-color: var(--gray-200);
}

.step-info-card-header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.step-info-card.lawyer .step-info-card-header svg {
  color: var(--gold-400);
}

.step-info-card.family .step-info-card-header svg {
  color: var(--navy-600);
}

.step-info-card-header h4 {
  font-size: 1rem;
  margin: 0;
}

.step-info-card.lawyer .step-info-card-header h4 {
  color: var(--cream);
}

.step-info-card.family .step-info-card-header h4 {
  color: var(--navy-800);
}

.step-info-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 0;
}

.step-info-card.lawyer p {
  color: rgba(248, 250, 252, 0.8);
}

.step-info-card.family p {
  color: var(--gray-600);
}

/* 面板导航按钮 */
.step-panel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.step-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.step-nav-btn:hover:not(:disabled) {
  border-color: var(--gold-400);
  color: var(--gold-500);
  background: var(--paper);
  transform: translateY(-1px);
}

.step-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.step-nav-btn svg {
  width: 16px;
  height: 16px;
}

.step-nav-btn.primary {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--cream);
}
.step-nav-btn.primary:hover:not(:disabled) {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--cream);
}

.step-nav-indicator {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 600;
}
.step-nav-indicator strong {
  color: var(--navy-700);
  font-size: 1rem;
}

/* 流程表格 */
.process-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: var(--space-lg) 0;
}

.process-table th {
  background: var(--navy-800);
  color: var(--gold-400);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.process-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
  color: var(--gray-700);
}

.process-table tr:hover td {
  background: var(--gray-100);
}

.process-table tr:last-child td {
  border-bottom: none;
}

/* 文书范例 */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

.doc-card {
  padding: var(--space-md);
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.doc-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.doc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  border-radius: var(--radius-md);
}
.doc-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-400);
}

.doc-card h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.doc-card p {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== 案例检索页 ===== */
.cases-page {
  background: var(--cream);
}

.search-panel {
  background: var(--paper);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.search-bar {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.search-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition-fast);
  background: var(--cream);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-400);
}

.filter-group {
  margin-bottom: var(--space-md);
}

.filter-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.filter-option {
  padding: 0.375rem 1rem;
  background: var(--cream);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-600);
}

.filter-option:hover {
  border-color: var(--navy-600);
  color: var(--navy-600);
}

.filter-option.active {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--cream);
}

.cases-result-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gray-200);
}

.cases-count {
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.cases-count strong {
  color: var(--navy-700);
  font-size: 1.125rem;
}

/* 案例详情卡片 */
.case-detail-card {
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.case-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.case-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--cream);
}

.case-detail-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.case-detail-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.6);
  flex-wrap: wrap;
}

.case-detail-body {
  padding: var(--space-md);
}

.case-detail-section {
  margin-bottom: var(--space-md);
}

.case-detail-section:last-child {
  margin-bottom: 0;
}

.case-detail-section h4 {
  font-size: 0.9375rem;
  color: var(--navy-700);
  margin-bottom: var(--space-xs);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--gold-400);
}

.case-detail-section p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.case-detail-tag {
  padding: 0.25rem 0.625rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* 数据透明度 */
.transparency-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.transparency-stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.transparency-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: var(--space-xs);
}

.transparency-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== 团队页 ===== */
.team-page {
  background: var(--cream);
}

.experience-chart {
  background: var(--paper);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 240px;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 2px solid var(--gray-200);
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  max-width: 80px;
  background: linear-gradient(to top, var(--navy-700), var(--navy-500));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  transition: all var(--transition-base);
  min-height: 4px;
}

.chart-bar:hover {
  background: linear-gradient(to top, var(--gold-500), var(--gold-400));
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.chart-bar-value {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy-700);
}

.chart-bar-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: var(--space-xs);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-member {
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.team-member:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
  transform: translateY(-4px);
}

.team-member-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .team-member-photo img {
  transform: scale(1.05);
}

.team-member-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 0.25rem 0.625rem;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 600;
}

.team-member-info {
  padding: var(--space-md);
}

.team-member-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.team-member-title {
  font-size: 0.875rem;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.team-member-bio {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.team-member-creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gray-200);
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

.cred-item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

/* ===== 咨询页 ===== */
.contact-page {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
}

.contact-info {
  background: var(--navy-900);
  color: var(--cream);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1), transparent 70%);
}

.contact-info h3 {
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-400);
}

.contact-info-text {
  flex: 1;
}

.contact-info-label {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cream);
}

.contact-info-value.large {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-400);
}

.contact-form-wrapper {
  background: var(--paper);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background: var(--cream);
  transition: all var(--transition-fast);
  color: var(--gray-800);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* 咨询步骤 */
.consult-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.consult-step {
  text-align: center;
  position: relative;
}

.consult-step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-400);
  position: relative;
  z-index: 1;
}

.consult-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 60%;
  right: -40%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.consult-step h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.consult-step p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== 动画类 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }

  .trust-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .transparency-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .consult-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-2xl: 3rem;
    --space-xl: 2rem;
    --space-lg: 1.5rem;
  }

  /* 移动端导航 */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: flex-start;
    padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
    gap: var(--space-sm);
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  /* Hero 区 */
  .hero {
    min-height: 100vh;
    padding-top: var(--header-height);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* 信任卡片 */
  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* 案例网格 */
  .case-grid {
    grid-template-columns: 1fr;
  }

  /* 团队网格 */
  .team-grid,
  .team-list {
    grid-template-columns: 1fr 1fr;
  }

  /* 步骤器 */
  .stepper-nav {
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .step-node {
    min-width: 72px;
  }

  .step-node-circle {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .step-node-label {
    font-size: 0.75rem;
  }

  .stepper-line {
    top: 24px;
  }

  .step-panel {
    padding: var(--space-md);
  }

  .step-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .step-panel-icon {
    width: 48px;
    height: 48px;
  }
  .step-panel-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-panel-title {
    font-size: 1.375rem;
  }

  .step-panel-body {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .step-info-card {
    padding: var(--space-sm);
  }

  .step-panel-nav {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }

  .step-nav-btn {
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .step-nav-indicator {
    text-align: center;
    order: -1;
  }

  /* 表单 */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .cta-phone {
    flex-direction: column;
    text-align: center;
  }

  /* 浮动按钮 */
  .float-actions {
    right: var(--space-sm);
    bottom: var(--space-sm);
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn-tooltip {
    display: none;
  }

  /* 案例详情 */
  .case-detail-header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* 透明度统计 */
  .transparency-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* 咨询步骤 */
  .consult-steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .consult-step:not(:last-child)::after {
    display: none;
  }

  /* 搜索栏 */
  .search-bar {
    flex-direction: column;
  }

  /* 流程表格水平滚动 */
  .process-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 1rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stat {
    text-align: center;
  }

  .team-grid,
  .team-list {
    grid-template-columns: 1fr;
  }

  .transparency-stats {
    grid-template-columns: 1fr;
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    width: 20px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-text small {
    font-size: 0.5625rem;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
