/* ================================================================
   项目案例页 Hero（全屏背景图）
================================================================ */
.proj-hero {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.proj-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.proj-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.proj-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.proj-hero p {
  font-size: 15px;
  color: var(--text-gray);
}

/* ================================================================
   政法委区块
================================================================ */
.proj-zhengfa {
  padding: 80px 0;
  background: #fff;
}
.proj-zhengfa-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 60px;
  flex-direction: column;
}
.proj-zhengfa-left {
  flex: 1;
}
.proj-zhengfa-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.proj-zhengfa-left .en {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.proj-zhengfa-left p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 24px;
}
.proj-zhengfa-img {
  flex: 0 0 480px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: -20%;
}
.proj-zhengfa-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.proj-zhengfa-img:hover img {
  transform: scale(1.05);
}

/* ================================================================
   公安 dark 区块
================================================================ */
.proj-dark {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.proj-dark img.proj-dark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-dark::after {
  content: '';
  position: absolute;
  inset: 0;
}
.proj-dark-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.proj-dark-left h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.proj-dark-left .en {
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.proj-dark-left p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  max-width: 420px;
}
.proj-dark-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-dark-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}
.proj-dark-tag:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ================================================================
   法院卡片区（图片 + 底部标签叠加）
================================================================ */
.proj-cards-section {
  padding: 80px 0;
  background: var(--bg-white);
}
.proj-cards-section .sec-wrap {
  padding: 0;
}
.proj-cards-container {
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0;
  background: #fff;
  scrollbar-width: none;
}
.proj-cards-container::-webkit-scrollbar {
  display: none;
}
.proj-cards {
  display: flex;
  gap: 10px;
  padding: 0 20px;
  box-sizing: border-box;
}
.proj-card {
  flex: 0 0 230px;
  height: 260px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.proj-card-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 230px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.proj-card-img:hover {
  height: 260px;
}
.proj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.proj-card:hover .proj-card-img img {
  transform: scale(1.08);
}
.proj-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(4, 16, 80, 0.78) 0%, transparent 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* 旧版卡片 body 兼容 */
.proj-card-body {
  background: #fff;
  padding: 22px;
}
.proj-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.proj-card-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ================================================================
   司法大图区
================================================================ */
.proj-sifa {
  padding: 80px 0;
  background: #fff;
}
.proj-sifa-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.proj-sifa-banner {
  overflow: hidden;
  height: 340px;
  position: relative;
}
.proj-sifa-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proj-sifa-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 18, 50, 0.78) 0%, transparent 60%);
}
.proj-sifa-text {
  position: absolute;
  top: 50%;
  left: 52px;
  transform: translateY(-50%);
  z-index: 2;
}
.proj-sifa-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.proj-sifa-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 360px;
}

/* ================================================================
   低空经济 dark
================================================================ */
.proj-dijing {
  position: relative;
  height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.proj-dijing img.proj-dijing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.proj-dijing::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 26, 0.4);
}
.proj-dijing-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px 56px;
  width: 100%;
}
.proj-dijing-inner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.proj-dijing-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 3;
  max-width: 480px;
  text-transform: uppercase;
}
.proj-dijing-inner img {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 300px;
}

.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #fff;
}

.timeline-item {
  position: relative;
  text-align: right;
  padding-right: 15px;
  padding-bottom: 40px;
  font-size: 11px;
  color: #fff;
}
.timeline-item.bold {
  font-weight: 600;
  font-size: 16px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  right: -6px;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}
.timeline-item:first-child::before {
  top: 0;
}
.timeline-item:last-child::before {
  bottom: 0;
  top: auto;
}
.timeline-item:nth-child(n + 2):nth-last-child(n + 2)::before {
  top: 4%;
}
