/* ==========================================================================
   鼎正律师事务所 · 首页样式（重构版）
   风格：红白黑 · 醒目高端 · 现代极简
   ========================================================================== */

/* ---------- 1. 变量与重置 ---------- */
:root {
  /* 主色 - 正红 */
  --red-700: #7A0000;
  --red-600: #990000;
  --red-500: #B80000;
  --red-400: #CC0000;
  --red-300: #E60000;
  --red-200: #FF3333;
  --red-100: #FFE5E5;

  /* 黑色系 */
  --black: #000000;
  --black-900: #0A0A0A;
  --black-800: #141414;
  --black-700: #1E1E1E;
  --black-600: #2A2A2A;
  --black-500: #333333;

  /* 中性色 */
  --white: #FFFFFF;
  --gray-50: #F7F7F7;
  --gray-100: #EDEDED;
  --gray-200: #D9D9D9;
  --gray-300: #BFBFBF;
  --gray-400: #999999;
  --gray-500: #737373;
  --gray-600: #4D4D4D;
  --gray-700: #333333;
  --gray-800: #1A1A1A;
  --gray-900: #0D0D0D;

  /* 阴影系统 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.10), 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-2xl: 0 30px 80px rgba(0, 0, 0, 0.14), 0 10px 30px rgba(0, 0, 0, 0.10);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 4px;

  /* 字体 */
  --font-serif: "Noto Serif SC", Georgia, "Songti SC", SimSun, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  /* 布局 */
  --container: 1200px;
  --header-h: 76px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* 过渡时长 */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;
  --transition-spring: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  /* 红色阴影 */
  --shadow-red-sm: 0 2px 8px rgba(204, 0, 0, 0.15);
  --shadow-red-md: 0 4px 16px rgba(204, 0, 0, 0.20);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--red-400); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 2. 通用组件 ---------- */
.section { padding: 112px 0; position: relative; }

.section-head {
  max-width: 660px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--red-500);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before,
.section-tag::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-400));
  transition: width 0.4s var(--ease-out);
}
.section-tag::after {
  background: linear-gradient(90deg, var(--red-400), transparent);
}
.section-tag:hover::before,
.section-tag:hover::after {
  width: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black-700);
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.section-title span {
  color: var(--red-400);
  position: relative;
  padding-bottom: 6px;
}
.section-title span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 2px;
  background: var(--red-400);
  transition: width 0.35s var(--ease-out);
}
.section-head:hover .section-title span::after { width: 70px; }

.section-desc {
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.85;
}

.section-head.light .section-title { color: var(--white); }
.section-head.light .section-title span { color: var(--red-300); }
.section-head.light .section-desc { color: rgba(255, 255, 255, 0.7); }

/* 按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn i { font-size: 18px; }

.btn-gold {
  background: linear-gradient(135deg, var(--red-400), var(--red-500) 50%, var(--red-600));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
.btn-gold:hover::after { animation: shimmer 1s ease forwards; }
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(204, 0, 0, 0.45);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--red-300);
  color: var(--red-300);
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--red-400);
  color: var(--red-400);
  background: transparent;
}
.btn-outline:hover {
  background: var(--red-400);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.3);
}
.btn-outline:active { transform: translateY(-1px) scale(0.98); }

.btn-lg { padding: 18px 44px; font-size: 16px; }
.btn-sm { padding: 11px 24px; font-size: 14px; }
.btn-block { width: 100%; }

/* 表单系统 */
.form-field {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  transition: all 0.3s var(--ease-out);
}
.form-field:focus-within {
  border-color: var(--red-400);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.10), 0 0 20px rgba(204, 0, 0, 0.05);
}
.form-field label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  color: var(--red-400);
  font-size: 17px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.3s var(--ease-out);
}
.form-field:focus-within label { color: var(--red-300); }
.form-field input,
.form-field select,
.form-field textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px;
}
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-field select option { color: var(--gray-800); background: var(--white); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.40); }
.form-field textarea { resize: vertical; min-height: 72px; }
.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
  text-align: center;
  margin-top: 14px;
}

/* 滚动渐入动画 */
/* 默认可见（无 JS 降级方案） */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html[data-js] .reveal {
  opacity: 0;
  transform: translateY(40px);
}
html[data-js] .reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html[data-js] .reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}
html[data-js] .reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html[data-js] .reveal-right {
  opacity: 0;
  transform: translateX(60px);
}
html[data-js] .reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html[data-js] .reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}
html[data-js] .reveal-scale.visible { opacity: 1; transform: none; }

.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; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* 弹性升空 */
.hover-lift { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* 红色辉光 */
.hover-glow { transition: box-shadow 0.35s var(--ease-out); }
.hover-glow:hover { box-shadow: 0 0 20px rgba(204, 0, 0, 0.15); }

/* 边框高亮 */
.hover-border { transition: border-color 0.35s var(--ease-out); }
.hover-border:hover { border-color: var(--red-400); }

/* 动画工具类 */
.animate-shimmer { animation: shimmer 2s ease infinite; }
.animate-breathe { animation: breathe 2.5s ease-in-out infinite; }
.animate-bounce { animation: iconBounce 0.5s ease; }

/* 动画关键帧 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35); }
  50%      { box-shadow: 0 8px 36px rgba(204, 0, 0, 0.50), 0 0 60px rgba(204, 0, 0, 0.12); }
}
.btn-gold { animation: pulseGlow 3s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float { animation: float 3.5s ease-in-out infinite; }

/* 闪光效果 */
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%)  skewX(-15deg); }
}

/* 呼吸脉动 */
@keyframes breathe {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* 图标弹跳 */
@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.15); }
  60%      { transform: scale(0.95); }
}

/* 文字辉光 */
@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(204, 0, 0, 0.3); }
  50%      { text-shadow: 0 0 20px rgba(204, 0, 0, 0.6), 0 0 40px rgba(204, 0, 0, 0.2); }
}

/* 缩放入场 */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* 滑入 */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 进度条填充 */
@keyframes progressFill {
  from { width: 0; }
}

/* 涟漪 */
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* 旋转 */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 脉冲红 */
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(204, 0, 0, 0); }
}

/* 无障碍跳转 */
.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 2000;
  background: var(--red-400);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. 顶部信息条 ---------- */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  border-bottom: 1px solid rgba(204, 0, 0, 0.12);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}
.topbar-slogan i { color: var(--red-400); margin-right: 6px; }
.topbar-contact { display: flex; align-items: center; gap: 16px; }
.topbar-contact i { color: var(--red-400); margin-right: 5px; }
.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.20);
}

/* ---------- 4. 导航栏 ---------- */
.header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.80);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(204, 0, 0, 0.12);
  transition: top 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.header.scrolled {
  top: 0;
  background: rgba(0, 0, 0, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(204, 0, 0, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.35s var(--ease-out);
}
.logo:hover img { transform: scale(1.05); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 1px;
  transition: color 0.3s var(--ease-out);
  border-radius: var(--radius-sm);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--red-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--red-300); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* ---------- 下拉菜单 ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-arrow { font-size: 11px; margin-left: 4px; transition: transform 0.3s var(--ease-out); opacity: .7; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white, #fff);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out);
  z-index: 100;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-600, #666);
  transition: all 0.2s var(--ease-out);
}
.nav-dropdown-link:hover { color: var(--red-400); background: rgba(204,0,0,0.04); }
.nav-dropdown-link.active { color: var(--red-400); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 120px) 0 120px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--red-300) 0%, var(--red-500) 60%, var(--red-600) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 42% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 75% 60% at 14% 30%, rgba(0, 0, 0, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 92% 90%, rgba(0, 0, 0, 0.22) 0%, transparent 55%);
  pointer-events: none;
}
/* 循环光效：白色流光扫过横幅 */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.08) 55%, transparent 80%);
  transform: translateX(-130%) rotate(16deg);
  pointer-events: none;
  animation: heroShine 8s ease-in-out infinite;
}
@keyframes heroShine {
  0%        { transform: translateX(-130%) rotate(16deg); opacity: 0; }
  35%, 70%  { opacity: 1; }
  100%      { transform: translateX(220%) rotate(16deg); opacity: 0; }
}
@keyframes heroZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes linePulse {
  0%, 100% { width: 26px; }
  50%      { width: 46px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  animation: heroZoom 26s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.hero-eyebrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}
.hero-eyebrow .line {
  width: 26px;
  height: 1px;
  background: var(--white);
  animation: linePulse 3.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.30);
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 44px;
  padding-left: 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.55);
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
/* 红色 banner 下主导按钮改白底红字，增强对比 */
.hero-actions .btn-gold {
  background: var(--white);
  color: var(--red-500);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.hero-actions .btn-gold:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.70);
}
.hero-trust i { color: var(--white); font-size: 17px; }

/* Hero 右侧表单卡片 */
.hero-card {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(204, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 36px 28px;
  box-shadow: var(--shadow-2xl);
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-out);
}
.hero-card:hover {
  border-color: rgba(204, 0, 0, 0.40);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20), 0 10px 40px rgba(204, 0, 0, 0.10);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-400), transparent);
  border-radius: 1px;
  transition: left 0.4s var(--ease-out), right 0.4s var(--ease-out);
}
.hero-card:hover::before { left: 12px; right: 12px; }
.hero-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}
.hero-card-head i {
  font-size: 34px;
  color: var(--red-400);
  line-height: 1;
  margin-top: 4px;
  transition: transform 0.3s var(--ease-out);
}
.hero-card:hover .hero-card-head i { transform: scale(1.1); }
.hero-card-head strong {
  display: block;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-card-head span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
}

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px dashed rgba(204, 0, 0, 0.25);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
  transition: border-color 0.3s var(--ease-out);
}
.hero-card:hover .hero-card-foot { border-top-color: rgba(204, 0, 0, 0.40); }
.hero-card-foot i { color: var(--red-400); margin-right: 4px; }

/* 滚动提示 */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.50);
  font-size: 10px;
  letter-spacing: 5px;
  z-index: 1;
  transition: color 0.3s var(--ease-out);
}
.hero-scroll:hover { color: var(--red-300); }
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--red-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transition: height 0.3s var(--ease-out);
}
.hero-scroll:hover .hero-scroll-line { height: 64px; }
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.5); transform-origin: top; }
}

/* ---------- 6. 律所实力（数据） ---------- */
.stats {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--black-700) 0%, var(--black-800) 50%, var(--black-900) 100%);
  padding: 36px 0;
  border-bottom: 1px solid rgba(204, 0, 0, 0.18);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
}
.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(204, 0, 0, 0.25), transparent);
}
.stat-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(204, 0, 0, 0.35);
  border-radius: var(--radius-md);
  color: var(--red-400);
  font-size: 28px;
  background: rgba(204, 0, 0, 0.06);
  transform: rotate(45deg);
  margin-bottom: 20px;
  transition: all 0.4s var(--ease-out);
}
.stat-icon i { transform: rotate(-45deg); }
.stat-item:hover .stat-icon {
  background: rgba(204, 0, 0, 0.12);
  border-color: var(--red-400);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.10);
  transform: rotate(45deg) scale(1.1);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  transition: transform 0.3s var(--ease-out);
}
.stat-item:hover .stat-num { transform: scale(1.02); }
.stat-num em {
  font-style: normal;
  color: var(--red-400);
  font-size: 0.62em;
  margin-left: 2px;
}
.stat-item p {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 7. 核心优势 ---------- */
.advantages {
  background: var(--gray-50);
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 44px 34px 36px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-400), var(--red-400));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 0, 0, 0.15);
}
.advantage-card:hover::before { opacity: 1; }

.advantage-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: rgba(204, 0, 0, 0.06);
  line-height: 1;
  transition: color 0.4s var(--ease-out);
}
.advantage-card:hover .advantage-num { color: rgba(204, 0, 0, 0.12); }

.advantage-icon {
  font-size: 38px;
  color: var(--red-400);
  margin-bottom: 22px;
  display: block;
  transition: all 0.4s var(--ease-out);
}
.advantage-card:hover .advantage-icon {
  color: var(--red-500);
  transform: scale(1.05);
}

.advantage-card h3 {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.advantage-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  margin-bottom: 22px;
  line-height: 1.8;
}
.advantage-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  width: 100%;
  transition: border-color 0.3s var(--ease-out);
}
.advantage-card:hover .advantage-metric { border-top-color: rgba(204, 0, 0, 0.20); }
.advantage-metric b {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--red-400);
}

/* ---------- 8. 服务领域 ---------- */
.services {
  background: var(--white);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px 34px;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--red-600), var(--black-800));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(204, 0, 0, 0.20);
  border-radius: var(--radius-md);
  font-size: 30px;
  color: var(--red-400);
  background: var(--white);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}
.service-card h3 {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 12px;
  transition: color 0.35s var(--ease-out);
}
.service-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.8;
  transition: color 0.35s var(--ease-out);
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red-400);
  transition: all 0.35s var(--ease-out);
}
.service-more i { transition: transform 0.3s var(--ease-out); }

.service-card:hover .service-icon {
  border-color: var(--red-400);
  color: var(--red-300);
  background: rgba(204, 0, 0, 0.10);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.15);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-more { color: var(--white); }
.service-card:hover .service-more i { transform: translateX(6px); }

/* 服务详情列表（services.html 页面使用） */
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.service-detail-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.7;
  transition: color 0.35s var(--ease-out);
  border-bottom: 1px dashed var(--gray-200);
}
.service-detail-list li:last-child { border-bottom: none; }
.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--red-400);
  border-radius: 50%;
  transition: background 0.35s var(--ease-out);
}
.service-card:hover .service-detail-list li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
.service-card:hover .service-detail-list li::before { background: var(--red-300); }

/* ---------- 9. 律师团队 ---------- */
.team {
  background: var(--gray-50);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 0, 0, 0.12);
}

.team-photo {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-photo img { transform: scale(1.06); }

.team-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.team-card:hover .team-overlay { opacity: 1; }

.team-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 19px;
  background: rgba(0, 0, 0, 0.40);
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(4px);
}
.team-link:hover {
  background: var(--red-400);
  border-color: var(--red-400);
  color: var(--black-800);
}

.team-info {
  padding: 26px 24px 28px;
  text-align: center;
}
.team-info h3 {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.team-info h3 a { transition: color 0.3s var(--ease-out); }
.team-info h3 a:hover { color: var(--red-400); }
.team-role {
  font-size: 13px;
  color: var(--red-500);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
  transition: color 0.3s var(--ease-out);
}
.team-card:hover .team-role { color: var(--red-400); }
.team-bio {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.7;
}

.team-more,
.case-more,
.news-more-all {
  text-align: center;
  margin-top: 56px;
}

/* ---------- 10. 经典案例 ---------- */
.cases {
  background: var(--white);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 0, 0, 0.12);
}

.case-img {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.case-card:hover .case-img img { transform: scale(1.06); }

.case-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.85);
  color: var(--red-300);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(204, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease-out);
}
.case-card:hover .case-badge {
  background: var(--red-400);
  color: var(--white);
  border-color: var(--red-400);
}

.case-body {
  padding: 28px 26px 26px;
}
.case-body h3 {
  font-size: 18px;
  color: var(--gray-800);
  line-height: 1.5;
  margin-bottom: 12px;
}
.case-body h3 a { transition: color 0.3s var(--ease-out); }
.case-body h3 a:hover { color: var(--red-400); }
.case-body p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.75;
}
.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
}
.case-meta i { color: var(--red-500); margin-right: 5px; }
.case-result {
  background: rgba(204, 0, 0, 0.06);
  color: var(--red-500);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  padding: 5px 14px;
  border: 1px solid rgba(204, 0, 0, 0.18);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
}
.case-card:hover .case-result {
  background: rgba(204, 0, 0, 0.10);
  border-color: var(--red-400);
  color: var(--red-400);
}

/* ---------- 11. 新闻资讯 ---------- */
.news {
  background: var(--gray-50);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* 新闻卡片 - 纯净无图版 */
.news-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--red-400);
  border-radius: var(--radius-lg);
  padding: 24px 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
}
.news-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-400);
  border-left-color: var(--red-500);
}

.news-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.news-item-head time {
  font-size: 12px;
  color: var(--gray-400);
  transition: color 0.3s var(--ease-out);
}
.news-item-head time i {
  color: var(--red-400);
  margin-right: 4px;
  transition: color 0.3s var(--ease-out);
}
.news-item:hover .news-item-head time i { color: var(--red-500); }

.news-item-body h3 {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.news-item-body h3 a {
  color: var(--gray-800);
  transition: color 0.3s var(--ease-out);
  display: inline;
  background-image: linear-gradient(var(--red-400), var(--red-400));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.35s var(--ease-out), color 0.3s var(--ease-out);
}
.news-item:hover .news-item-body h3 a {
  color: var(--red-400);
  background-size: 100% 2px;
}
.news-item-body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--red-500);
  background: var(--red-100);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
}
.news-item:hover .news-cat {
  background: var(--red-400);
  color: var(--white);
}

/* ---------- 12. 客户评价 ---------- */
.testimonials {
  position: relative;
  background: linear-gradient(150deg, var(--black-800) 0%, var(--black-900) 60%, var(--black) 100%);
  padding: 112px 0;
  color: var(--white);
  overflow: hidden;
}
.testimonials::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  right: 4%;
  font-family: var(--font-serif);
  font-size: 400px;
  line-height: 1;
  color: rgba(204, 0, 0, 0.06);
  pointer-events: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(204, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(4px);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-400);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

.testimonial-stars {
  color: var(--red-400);
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: 3px;
  transition: transform 0.3s var(--ease-out);
}
.testimonial-card:hover .testimonial-stars { transform: scale(1.05); }
.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 26px;
  font-style: italic;
  transition: color 0.3s var(--ease-out);
}
.testimonial-card:hover p { color: rgba(255, 255, 255, 0.95); }
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  font-size: 42px;
  color: var(--red-400);
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}
.testimonial-card:hover .testimonial-avatar { transform: scale(1.08); }
.testimonial-card footer strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}
.testimonial-card footer em {
  font-style: normal;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.50);
}

/* ---------- 13. 委托流程 ---------- */
.process {
  background: var(--white);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 28px 38px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}
.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204, 0, 0, 0.10);
}

.process-step > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--red-400), var(--black-700));
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.30);
  transition: all 0.4s var(--ease-out);
}
.process-step:hover > i {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(204, 0, 0, 0.35);
}
.process-step:hover > i i { animation: iconBounce 0.5s ease; }

.process-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: rgba(204, 0, 0, 0.08);
  line-height: 1;
  transition: color 0.4s var(--ease-out);
}
.process-step:hover .process-num { color: rgba(204, 0, 0, 0.15); }

.process-step h3 {
  font-size: 19px;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--red-400) 0 5px, transparent 5px 10px);
  transform: translateY(-50%);
  transition: background 0.3s var(--ease-out), width 0.3s var(--ease-out);
}
.process-step:hover::after { background: repeating-linear-gradient(90deg, var(--red-300) 0 5px, transparent 5px 10px); }
.process-step:last-child::after { display: none; }

/* ---------- 14. 咨询 CTA ---------- */
.consult {
  position: relative;
  background:
    radial-gradient(circle at 50% -30%, rgba(204, 0, 0, 0.16), transparent 55%),
    linear-gradient(150deg, var(--black-700) 0%, var(--black-900) 60%, var(--black) 100%);
  padding: 110px 0;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.consult::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 820px;
  height: 820px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.07), transparent 62%);
  pointer-events: none;
}

.consult-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  max-width: 880px;
}

.section-tag.light-tag { color: var(--red-300); }

.consult-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: 2px;
}
.consult-text h2 span { color: var(--red-300); }
.consult-text > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.70);
  margin: 0 auto;
  line-height: 1.85;
  max-width: 620px;
}

/* 操作区：电话 + 预约按钮并排居中 */
.consult-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}
.consult-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  transition: all 0.3s var(--ease-out);
}
.consult-call i {
  font-size: 27px;
  color: var(--red-400);
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.consult-call:hover { color: var(--red-300); transform: translateY(-2px); }
.consult-call:hover i { transform: scale(1.1); color: var(--red-300); }
.consult-actions .btn { box-shadow: var(--shadow-lg); }

/* 首页：居中留言表单 */
.consult-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(204, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 34px 30px;
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(10px);
  text-align: left;
}
.consult-form h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.consult-form h3 i { color: var(--red-400); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row .form-field { margin-bottom: 14px; }

/* 咨询 CTA 响应式 */
@media (max-width: 768px) {
  .consult { padding: 84px 0; }
  .consult-actions { gap: 24px; flex-direction: column; }
  .consult-form { padding: 30px 24px 26px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 15. 页脚 ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(1100px 460px at 50% -8%, rgba(204, 0, 0, 0.14), transparent 62%),
    linear-gradient(180deg, var(--black-900) 0%, var(--black) 85%);
  color: rgba(255, 255, 255, 0.60);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
/* 顶缘分光细线 */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.55), transparent);
  pointer-events: none;
}
/* 品牌水印 */
.footer-grid::before {
  content: "S H E N G W O";
  position: absolute;
  right: 0; top: 18px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 7px;
  color: rgba(255, 255, 255, 0.10);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.15fr;
  gap: 52px;
  padding: 92px 0 56px;
}

/* 品牌区 */
.footer-brand { max-width: 360px; }
.footer-brand p {
  font-size: 14px;
  line-height: 2;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  letter-spacing: 0.3px;
}
/* 品牌标语分隔线 */
.footer-brand .logo-footer {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.footer-brand .logo-footer::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-400), var(--red-300));
}

/* 列标题 */
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 26px;
  padding-bottom: 15px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-400), transparent);
  transition: width 0.4s var(--ease-out);
}
.footer-col:hover h4::after { width: 64px; }
.footer-col ul li { margin-bottom: 15px; font-size: 14px; }
.footer-col ul a {
  position: relative;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.52);
}
.footer-col ul a i {
  color: rgba(204, 0, 0, 0.75);
  font-size: 11px;
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.footer-col ul a:hover {
  color: var(--red-300);
  padding-left: 5px;
}
.footer-col ul a:hover i {
  transform: translateX(3px);
  color: var(--red-300);
}

/* 联系卡片 */
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}
.footer-contact li i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 1px solid rgba(204, 0, 0, 0.30);
  border-radius: 50%;
  color: var(--red-300);
  font-size: 12px;
  background: rgba(204, 0, 0, 0.06);
  transition: all 0.3s var(--ease-out);
}
.footer-contact li:hover i {
  background: var(--red-400);
  border-color: var(--red-400);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom p:first-child { letter-spacing: 0.5px; }
.footer-bottom a {
  color: rgba(255, 255, 255, 0.50);
  position: relative;
  transition: color 0.3s var(--ease-out);
}
.footer-bottom a:hover { color: var(--red-300); }
.footer-bottom .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.6);
  margin: 0 13px;
  vertical-align: middle;
}


/* ---------- 16. 悬浮拨号按钮 ---------- */
.call-btn {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 901;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-500);
  color: var(--white);
  border: 1px solid rgba(204, 0, 0, 0.30);
  border-radius: 50%;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
  animation: callPulse 2.2s ease-in-out infinite;
}
.call-btn:hover {
  background: var(--red-400);
  color: var(--black-800);
  transform: translateY(-3px) scale(1.05);
}
@keyframes callPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(204, 0, 0, 0); }
}

/* ---------- 17. 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 92px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--red-500);
  color: var(--white);
  border: 1px solid rgba(204, 0, 0, 0.30);
  border-radius: var(--radius-md);
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.25);
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-top:hover {
  background: var(--red-400);
  color: var(--black-800);
  border-color: var(--red-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35);
}

/* ==========================================================================
   17. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: calc(var(--header-h) + 80px); }
  .hero-sub { max-width: 100%; }
  .advantage-grid,
  .service-grid,
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .header { top: 0; }
  .header.scrolled { top: 0; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(204, 0, 0, 0.18);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  /* 移动端下拉菜单：直接展开，不依赖 hover */
  .nav-item.has-dropdown { padding-bottom: 0; flex-direction: column; align-items: stretch; }
  .nav-arrow { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 4px 16px;
  }
  .nav-dropdown-link {
    padding: 10px 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 80px; }
  .hero-card { padding: 30px 24px 24px; }
  .hero-actions .btn { width: 100%; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 24px; }
  .consult-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials { padding: 80px 0; }
  .consult { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 40px; }
  .footer-grid::before { display: none; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-card-foot { flex-direction: column; gap: 8px; }
  .news-feature h3 { font-size: 19px; }
  .news-feature-overlay { padding: 28px 22px 24px; }
  .news-item { padding: 18px 20px; }
  .news-item-body p { display: none; }
  .advantage-grid,
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .case-grid,
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .logo img { height: 40px; width: auto; }
  .header-cta { display: none; }
  .consult-form { padding: 28px 22px 24px; }
  .news-feature-overlay { padding: 24px 18px 20px; }
  .news-feature-text h3 { font-size: 17px; }
  .news-feature-text > p { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; letter-spacing: 2px; }
  .hero-sub { font-size: 15px; }
  .stats-grid { gap: 16px; }
  .stat-item { padding: 8px 4px; }
  .stat-num { font-size: 28px; }
  .stat-icon { width: 52px; height: 52px; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}