/* ======================
   INDEX.CSS ? ??????
   ====================== */

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(212, 175, 55, 0.16), transparent 52%),
    radial-gradient(ellipse 45% 55% at 5% 90%, rgba(212, 175, 55, 0.07), transparent 48%),
    linear-gradient(165deg, var(--color-primary) 0%, var(--gray-800) 100%);
}

/* ===== Hero 轮播（后台可上传配置） ===== */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
  pointer-events: none;
  transform: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero.has-slides .hero-slide.active {
  opacity: 0.72;
}

/* —— 预设效果：淡入淡出（默认） —— */
.hero-effect-fade .hero-slide {
  transition: opacity 0.9s ease;
}

/* —— 预设效果：左右滑动 —— */
.hero-effect-slide .hero-slides {
  overflow: hidden;
}
.hero-effect-slide .hero-slide {
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
}
.hero-effect-slide .hero-slide.active {
  transform: translateX(0);
  z-index: 2;
  opacity: 0.72;
}
.hero-effect-slide .hero-slide.is-prev {
  transform: translateX(-100%);
  z-index: 1;
  opacity: 0.72;
}
.hero-effect-slide .hero-slide.is-next {
  transform: translateX(100%);
  z-index: 1;
  opacity: 0.72;
}
.hero-effect-slide[data-dir="prev"] .hero-slide:not(.active):not(.is-prev):not(.is-next) {
  transform: translateX(-100%);
}

/* —— 预设效果：缩放渐变 —— */
.hero-effect-zoom .hero-slide {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.85s ease, transform 1.1s ease;
}
.hero-effect-zoom .hero-slide.active {
  opacity: 0.72;
  transform: scale(1);
  z-index: 1;
}

/* —— 预设效果：立体翻转 —— */
.hero-effect-flip .hero-slides {
  perspective: 1200px;
  overflow: hidden;
}
.hero-effect-flip .hero-slide {
  opacity: 0;
  transform: rotateY(55deg) scale(0.96);
  transform-origin: center center;
  transition: opacity 0.55s ease, transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  backface-visibility: hidden;
}
.hero-effect-flip .hero-slide.active {
  opacity: 0.72;
  transform: rotateY(0deg) scale(1);
  z-index: 1;
}
.hero-effect-flip[data-dir="prev"] .hero-slide:not(.active) {
  transform: rotateY(-55deg) scale(0.96);
}

.hero-carousel .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  position: relative;
  min-height: 190px;
}

.hero-copy-item {
  display: none;
}

.hero-copy-item.active {
  display: block;
  animation: heroCopyIn 0.7s ease-out;
}

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

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
  pointer-events: auto;
}

.hero-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

/* 圆点视觉不变，用伪元素扩大触控热区（≈38px） */
.hero-dot::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}

.hero-dot.active {
  background: var(--color-accent);
  width: 26px;
  border-radius: 5px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 6;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.hero-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/uploads/design/hero/hero-bg.svg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.15) 0%, rgba(10, 17, 32, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge { margin-bottom: 24px; }

.hero h1 {
  font-size: 42px;
  line-height: 1.35;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-btn-ghost {
  background: transparent !important;
  border: 1px solid var(--text-white) !important;
  color: var(--text-white) !important;
}

.hero-btn-ghost:hover {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-trust-divider { opacity: 0.4; }

.hero-compliance-tip {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.home-compliance-note {
  margin: 28px auto 0;
  max-width: 920px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted, #64748b);
}

.home-compliance-note.adv-compliance {
  margin-top: 32px;
  max-width: 36em;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-light, #A0AEC0);
}

/* ========== ???? ========== */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-gray-light);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  flex: 0 0 auto;
  white-space: nowrap;
}

.service-tab:hover,
.service-tab.active {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--text-title);
}

.service-swipe-area {
  position: relative;
  touch-action: pan-y;
}

.service-swipe-hint {
  display: none;
  margin: 0 0 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-grid.is-switching {
  opacity: 0.35;
  transform: translateX(8px);
}

.service-grid.is-switching-left {
  transform: translateX(-8px);
}

a.service-card,
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), transparent 80%);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

a.service-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

a.service-card:hover::before { opacity: 1; }

.service-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-gray-light);
  line-height: 1;
}

.service-tag { margin-bottom: 14px; }

.service-card h4 {
  font-size: 16px;
  color: var(--text-title);
  font-weight: 700;
  margin-bottom: 14px;
  transition: color 0.2s;
  padding-right: 36px;
}

a.service-card:hover h4 { color: var(--color-accent); }

.service-card li {
  font-size: 13px;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
  margin: 6px 0;
  line-height: 1.65;
}

.service-card li::before {
  content: "\00B7";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ========== ??? ========== */
.news-ticker {
  background: var(--bg-gray-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-tag {
  background: var(--color-primary);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.ticker-text {
  font-size: 13px;
  color: var(--text-body);
}

/* ========== 服务优势（对齐重点业务卡片体系） ========== */
.advantage-section {
  background: var(--bg-gray-light);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.adv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.adv-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), transparent 80%);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

.adv-card:hover::before { opacity: 1; }

.adv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--color-accent);
  background: rgba(212, 175, 55, 0.1);
  border: none;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.adv-icon svg {
  width: 20px;
  height: 20px;
}

.adv-card:hover .adv-icon {
  transform: none;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-accent-hover);
  box-shadow: none;
}

.adv-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.adv-label {
  font-size: 15px;
  color: var(--text-title);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: color 0.2s;
}

.adv-card:hover .adv-label { color: var(--color-accent); }

.adv-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: none;
}

/* ========== ???? ========== */
.process-section { background: var(--bg-page); }

/* ========== 横向步骤条 + 进度线（美化版） ========== */
.process-stepper {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 44px;
  padding: 18px 10px 10px;
}

.process-track {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* 进度线（分段：已到节点亮金，未到暗灰） */
.process-progress {
  position: absolute;
  top: 44px;
  left: 5%;
  right: 5%;
  height: 3px;
  border-radius: 3px;
  background: var(--gray-200);
  z-index: 1;
  overflow: hidden;
}

.process-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.process-stepper[data-progress="1"] .process-progress::after { width: 16%; }
.process-stepper[data-progress="2"] .process-progress::after { width: 33%; }
.process-stepper[data-progress="3"] .process-progress::after { width: 50%; }
.process-stepper[data-progress="4"] .process-progress::after { width: 66%; }
.process-stepper[data-progress="5"] .process-progress::after { width: 83%; }
.process-stepper[data-progress="6"] .process-progress::after { width: 100%; }

.process-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 64px;
  transition: transform 0.25s ease;
}

.process-node-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gray-200);
  box-shadow: 0 0 0 5px var(--bg-page);
  transition: all 0.35s ease;
}

.process-node-dot svg {
  width: 22px;
  height: 22px;
}

.process-node-stage {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* 悬停态 */
.process-node:hover .process-node-dot {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22), 0 0 0 5px var(--bg-page);
}

.process-node:hover .process-node-stage {
  color: var(--color-accent);
}

/* 激活态 */
.process-node.active .process-node-dot {
  background: linear-gradient(160deg, var(--color-primary) 0%, #2D3A50 100%);
  border-color: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent), 0 0 0 7px var(--bg-page), 0 12px 30px rgba(26, 35, 50, 0.25);
  transform: scale(1.08);
}

.process-node.active .process-node-stage {
  color: var(--color-primary);
  font-weight: 700;
}

.process-click-hint {
  text-align: center;
  margin: -6px 0 28px;
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
}

.process-liuzhi-tip {
  margin-top: 28px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body, #334155);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.process-liuzhi-tip strong {
  color: var(--text-title, #0f172a);
}
.process-liuzhi-link {
  color: var(--color-accent, #b45309);
  font-weight: 600;
  text-decoration: none;
}
.process-liuzhi-link:hover { text-decoration: underline; }
.process-liuzhi-btn {
  margin-left: auto;
  padding: 6px 14px !important;
  font-size: 13px !important;
}
@media (max-width: 640px) {
  .process-liuzhi-btn { margin-left: 0; width: 100%; }
}

/* 服务流程详情弹窗 */
.process-modal-box {
  max-width: 560px;
  max-height: min(90vh, 920px);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.process-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.process-modal-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.process-modal-heading h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.process-modal-stage {
  background: rgba(212, 175, 55, 0.95) !important;
  color: #1a2332 !important;
}
.process-modal-body {
  position: relative;
  padding: 28px 28px 8px;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}
.process-modal-num {
  position: absolute;
  right: 18px;
  top: 8px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 175, 55, 0.14);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
  user-select: none;
}
.process-modal-body .process-content-body {
  position: relative;
  z-index: 1;
}
.process-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 28px 24px;
  background: #fff;
  border-top: 1px solid var(--border-color, #e5e7eb);
}
.process-modal-foot .process-content-tip {
  font-size: 12.5px;
  color: var(--text-muted, #94a3b8);
}

/* 步骤内容卡片样式（弹窗内列表复用） */
.process-content {
  max-width: 780px;
  margin: 0 auto;
}

.process-content-item {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 38px 30px;
  box-shadow: 0 10px 36px rgba(26, 35, 50, 0.07);
  overflow: hidden;
  animation: processFadeIn 0.45s ease-out;
}

/* 顶部金色主题线 */
.process-content-item::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 45%, rgba(212, 175, 55, 0.12) 100%);
}

/* 右上角大编号水印 */
.process-content-num {
  position: absolute;
  right: 26px;
  top: 6px;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  color: rgba(212, 175, 55, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
  user-select: none;
}

.process-content-item[hidden] {
  display: none;
}

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

.process-content-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.process-content-stage {
  font-size: 12px;
}

.process-content-title {
  font-size: 21px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.process-content-body {
  position: relative;
  z-index: 1;
}

.process-content-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-content-body li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
  padding: 8px 0 8px 30px;
  position: relative;
  border-bottom: 1px dashed var(--gray-200);
}

.process-content-body li:last-child {
  border-bottom: none;
}

.process-content-body li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

/* 底部操作区 */
.process-content-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.process-content-tip {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.process-consult-btn {
  font-size: 14px;
  padding: 12px 24px;
}

/* ========== ???? ========== */
.detention-section { background: var(--bg-gray-light); }

.detention-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.detention-title {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.detention-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 32px;
}

.detention-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.detention-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detention-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detention-item h4 {
  font-size: 15px;
  color: var(--text-title);
  font-weight: 600;
  margin-bottom: 6px;
}

.detention-item p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.75;
}

.detention-notice {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.detention-notice-head { margin-bottom: 20px; }

.detention-notice h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--text-white);
}

.detention-notice > p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 28px;
}

.detention-hotline {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hotline-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.hotline-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

/* ========== 专业团队 ========== */
.team-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 8% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(26, 35, 50, 0.05), transparent 50%),
    linear-gradient(180deg, #f7f8fa 0%, #fff 42%, #f7f8fa 100%);
  overflow: hidden;
}

.team-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.team-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
}

.team-slider-wrap {
  position: relative;
  padding: 0 52px;
}

.team-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  outline: none;
}
.team-slider-viewport::-webkit-scrollbar { display: none; }
.team-slider-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
  border-radius: 12px;
}

.team-slider {
  display: flex;
  gap: var(--team-gap, 22px);
  width: max-content;
  min-width: 100%;
  padding: 4px 2px 8px;
  --team-card-w: 320px;
  --team-gap: 22px;
}

.team-slider.is-transitioning {
  /* 旧翻页淡入保留空规则，避免缓存样式报错 */
}

.team-card {
  flex: 0 0 var(--team-card-w);
  width: var(--team-card-w);
  max-width: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(15, 24, 37, 0.06);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 48px rgba(15, 24, 37, 0.12);
}

.team-card:hover .team-photo-real,
.team-card:hover .team-photo > img {
  transform: scale(1.04);
}

.team-card:hover .team-link {
  color: var(--color-accent-hover);
  letter-spacing: 0.04em;
}

.team-photo {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--gray-800) 100%);
  overflow: hidden;
}

.team-photo--alt  { background: linear-gradient(165deg, #1e2d42 0%, var(--color-primary) 100%); }
.team-photo--alt2 { background: linear-gradient(165deg, var(--color-primary) 0%, #243044 100%); }

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 22, 0.55));
  z-index: 2;
  pointer-events: none;
}

.team-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: var(--radius-xs);
}

.team-avatar {
  width: 70%;
  height: auto;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.team-photo-real,
.team-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 16%;
  display: block;
  z-index: 1;
  transition: transform 0.55s ease;
}

.team-avatar-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.team-info {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 148px;
  flex: 1;
}

.team-name {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.01em;
}

.team-role {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 500;
}

.team-bio {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-bio:empty,
.team-role:empty,
.team-badge:empty,
.team-years:empty {
  display: none !important;
}

.team-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(26, 35, 50, 0.06);
}

.team-years {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.team-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.team-link::after {
  content: " →";
}

/* 旧结构兼容（若缓存未刷新） */
.team-photo-shine,
.team-accent-bar,
.team-affiliations,
.team-card-intro-title,
.team-header,
.team-title {
  /* no-op leftovers intentionally restyled or ignored */
}

.team-title {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  z-index: 2;
}

.slider-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
}

.slider-btn:disabled,
.slider-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.slider-status {
  display: none;
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.slider-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 圆点视觉不变，用伪元素扩大触控热区（≈36px） */
.slider-dot::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}

.slider-dot.active {
  width: 28px;
  background: var(--color-accent);
}

/* ========== 律师动态 / 专业内容卡片 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.section-more .btn-ghost {
  text-decoration: none;
  min-width: 148px;
  text-align: center;
}

a.news-card,
.news-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.news-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent), transparent 80%);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

a.news-card:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

a.news-card:hover::before {
  opacity: 1;
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2233;
  flex-shrink: 0;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
a.news-card:hover .news-card-media img {
  transform: scale(1.04);
}
.news-card-media.article-card-img-variant1 {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.28), transparent 55%),
    linear-gradient(180deg, #1a2233 0%, #2c3a4f 100%);
}
.news-card-media.article-card-img-variant2 {
  background:
    linear-gradient(145deg, rgba(148, 163, 184, 0.35), transparent 50%),
    linear-gradient(180deg, #334155 0%, #475569 100%);
}
.news-card-media.article-card-img-variant3 {
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.18), transparent 50%),
    linear-gradient(180deg, #e8edf3 0%, #c5ced9 100%);
}

.news-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.news-tag {
  margin-bottom: 14px;
  width: fit-content;
  flex-shrink: 0;
  pointer-events: none;
}

.news-card h4 {
  font-size: 17px;
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.2s;
}

a.news-card:hover h4 {
  color: var(--color-accent);
}

.news-card p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 35, 50, 0.06);
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  border-top: none;
  padding-top: 0;
}

.news-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: transform 0.2s, gap 0.2s;
}

a.news-card:hover .news-more {
  transform: translateX(3px);
  gap: 8px;
}

/* ========== ???? ========== */
.about-section {
  background: var(--bg-gray-light);
  padding-bottom: 80px;
}

/* ========== ???? ========== */
.testimonial-section {
  background: var(--bg-page);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  min-width: 260px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 35, 50, 0.09);
  border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #2d3a52);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
}

.testimonial-info {
  flex: 1;
  min-width: 0;
}

.testimonial-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonial-role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-rating {
  color: var(--color-accent);
  letter-spacing: 2px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.testimonial-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  font-size: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.testimonial-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
  flex-shrink: 0;
}

.testimonial-result {
  color: var(--text-muted);
  line-height: 1.5;
  min-width: 0;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.5fr;
  gap: 40px;
  align-items: start;
}

.about-img {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.about-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.about-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--text-white);
  font-size: 13px;
  z-index: 1;
}

.about-content h3 {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-license {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
}

.contact-list { margin-top: 8px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 14px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.about-qr { text-align: center; }

.qr-box {
  width: 140px;
  height: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.qr-placeholder {
  width: 110px;
  height: 110px;
  background: repeating-conic-gradient(#333 0% 25%, #fff 0% 50%) 0 0 / 12px 12px;
  border-radius: var(--radius-xs);
  position: relative;
}

.qr-placeholder::after {
  content: "";
  position: absolute;
  inset: 30%;
  background: #fff;
  border-radius: var(--radius-xs);
}

.qr-tip {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====================== ????????? ====================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .process-stepper { max-width: 100%; }
  .detention-wrap { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr 1fr; }
  .about-qr { grid-column: 1 / -1; }
  .team-slider-wrap { padding: 0 40px; }
  .testimonial-card { flex: 1 1 calc(50% - 12px); max-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-copy { min-height: 220px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 16px; }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .news-card-body { padding: 12px 10px 12px; }
  .news-tag { margin-bottom: 8px; font-size: 10px; padding: 2px 6px; }
  .news-card h4 {
    font-size: 13px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-card p {
    font-size: 11px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-card-footer { font-size: 11px; }
  .news-card-media { aspect-ratio: 16 / 9; }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  a.service-card,
  .service-card {
    padding: 18px 14px 16px;
  }
  .service-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    padding-right: 28px;
  }
  .service-num { font-size: 22px; top: 12px; right: 12px; }
  .service-card li { font-size: 12px; margin: 4px 0; }

  .service-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin: 0 -8px 28px;
    padding: 2px 8px 10px;
    scrollbar-width: none;
  }
  .service-tabs::-webkit-scrollbar { display: none; }
  /* 移动端页签触控目标 ≥44px */
  .service-tab { padding: 12px 20px; }
  .service-swipe-hint { display: block; }
  .service-swipe-area { touch-action: pan-y; }

  /* 步骤条移动端：横向滑动 */
  .process-stepper { padding: 0; }
  .process-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 14px;
    justify-content: flex-start;
    gap: 16px;
  }
  .process-node {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 58px;
  }
  .process-node-dot { width: 48px; height: 48px; }
  .process-node-dot svg { width: 19px; height: 19px; }
  .process-node-stage { font-size: 11px; }
  .process-progress { display: none; }

  /* 横滑提示：文案补充 + 右侧边缘渐隐（示意还有更多阶段） */
  .process-click-hint::after {
    content: '（可左右滑动查看更多阶段）';
    color: var(--color-accent);
  }
  .process-stepper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 32px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(270deg, var(--bg-page), transparent);
  }
  .process-content-item { padding: 26px 22px 22px; }
  .process-content-num { font-size: 64px; right: 18px; }
  .process-content-title { font-size: 18px; }
  .process-content-foot { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* 律师：原生横滑，露出下一张边缘；箭头隐藏，用手势 */
  .team-slider-wrap { padding: 0; }
  .team-slider-viewport {
    margin: 0 -8px;
    padding: 0 8px 6px;
  }
  .team-slider { gap: 14px; --team-gap: 14px; }
  .team-photo { aspect-ratio: 4 / 5; }
  .team-info { padding: 18px 18px 16px; min-height: 0; }
  .slider-btn { display: none; }
  .slider-status { display: block; }
  .slider-dots { margin-top: 12px; }

  .about-wrap { grid-template-columns: 1fr; }
  .testimonial-grid { gap: 12px; }
  .testimonial-card {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    min-width: 0;
    padding: 16px 12px;
    gap: 10px;
  }
  .testimonial-avatar { width: 36px; height: 36px; font-size: 14px; }
  .testimonial-info h4 { font-size: 14px; }
  .testimonial-role { font-size: 11px; }
  .testimonial-content { font-size: 12px; line-height: 1.65; }
  .testimonial-footer { flex-wrap: wrap; gap: 6px; }
  .testimonial-tag,
  .testimonial-result { font-size: 11px; }

  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .adv-card { padding: 22px 16px 20px; }
  .adv-icon { width: 36px; height: 36px; margin-bottom: 14px; border-radius: 8px; }
  .adv-icon svg { width: 18px; height: 18px; }
  .adv-num { font-size: 26px; }
  .adv-label { font-size: 14px; }
  .adv-desc { font-size: 12px; }
  .home-compliance-note.adv-compliance { margin-top: 24px; }
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  a.service-card,
  .service-card {
    padding: 14px 10px 12px;
  }
  .service-card h4 {
    font-size: 13px;
    padding-right: 22px;
    margin-bottom: 8px;
  }
  .service-num { font-size: 18px; top: 10px; right: 8px; }
  .service-card li {
    font-size: 11px;
    margin: 3px 0;
    padding-left: 12px;
  }
  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .adv-card { padding: 18px 14px 16px; }
  .adv-icon { width: 32px; height: 32px; margin-bottom: 12px; border-radius: 8px; }
  .adv-icon svg { width: 16px; height: 16px; }
  .adv-num { font-size: 22px; }
  .adv-label { font-size: 13px; margin-bottom: 8px; }
  .adv-desc { font-size: 11px; line-height: 1.6; }
  .testimonial-grid { gap: 10px; }
  .testimonial-card {
    flex: 1 1 calc(50% - 5px);
    max-width: calc(50% - 5px);
    min-width: 0;
    padding: 14px 10px;
    gap: 8px;
  }
  .testimonial-avatar { width: 32px; height: 32px; font-size: 13px; }
  .testimonial-info h4 { font-size: 13px; }
  .testimonial-role { font-size: 10px; }
  .testimonial-content { font-size: 11px; line-height: 1.6; }
  .testimonial-rating { font-size: 11px; }
  .testimonial-tag,
  .testimonial-result { font-size: 10px; }
}

/* ========== 团队 intro_title（可选角标，新版已改用 badge） ========== */
.team-card-intro-title { display: none; }

/* ========== Hero Trust ???? ========== */
.hero-trust strong {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
  margin: 0 2px;
}

/* ========== ??????????????? ========== */
.certs-overview-section {
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}
.certs-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.overview-cert-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}
.overview-cert-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: rgba(220,38,38,0.3);
  z-index: 2;
}
.overview-cert-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.overview-cert-card:hover .overview-cert-thumb {
  transform: scale(1.08);
}
.overview-cert-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,24,37,0) 40%, rgba(15,24,37,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.25s;
}
.overview-cert-card:hover .overview-cert-mask {
  opacity: 1;
}
.overview-cert-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.overview-cert-lawyer {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
}

/* ========== ??????? intro_title & stats ========== */
.lawyer-card-intro {
  margin: 0 -16px 12px;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(220,38,38,0.08), rgba(220,38,38,0.02));
  color: var(--color-accent);
  border-left: 3px solid var(--color-accent);
  border-right: 3px solid transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.lawyer-list-card {
  padding-top: 16px;
}
.lawyer-card-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  border-top: 1px dashed var(--border-color);
  background: var(--bg-gray-light);
  border-radius: 0 0 8px 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.lawyer-card-stats strong {
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 2px;
}
.lawyer-card-stats span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== ????????????? ========== */
.lawyer-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sort-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.lawyer-sort-item {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}
.lawyer-sort-item:hover {
  background: var(--bg-gray-light);
  color: var(--text-title);
}
.lawyer-sort-item.sort-active {
  background: linear-gradient(135deg, var(--color-primary), #1e2f4a);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15,24,37,0.15);
}
