/* 资质服务模块通用样式 */
.zzfw-section { padding: 60px 0; background: linear-gradient(to bottom, #f7f9fc 0%, #ffffff 100%); border-bottom: 1px solid #f0f0f0; }
.zzfw-container { width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 32px; color: #2c3e50; margin-bottom: 10px; font-weight: 700; letter-spacing: 1px; }
.section-desc { text-align: center; color: #7f8c8d; margin-bottom: 40px; font-size: 15px; }

/* 导航选项卡 */
.zzfw-tabs { text-align: center; margin-bottom: 40px; }
.zzfw-tab-item { 
  display: inline-block; 
  padding: 10px 28px; 
  margin: 0 6px 10px; 
  background: #fff; 
  border: 1px solid #e1e8ed; 
  border-radius: 30px; 
  color: #5a6a7a; 
  text-decoration: none; 
  transition: all 0.3s ease; 
  font-size: 15px; 
  cursor: pointer; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.zzfw-tab-item.active, .zzfw-tab-item:hover { 
  background: linear-gradient(135deg, #1e9fff 0%, #0066cc 100%); 
  color: #fff; 
  border-color: transparent; 
  box-shadow: 0 6px 15px rgba(30, 159, 255, 0.35); 
  transform: translateY(-2px);
}

/* 内容面板联动控制 */
.zzfw-panel { display: none; }
.zzfw-panel.active { display: block; animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* 列表容器与卡片 (每行3个) */
.zzfw-list { display: flex; flex-wrap: wrap; gap: 25px; }
.zzfw-card { 
  width: calc(33.333% - 16.66px); 
  background: #fff; 
  padding: 30px; 
  box-sizing: border-box; 
  border-radius: 12px; 
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
  transition: all 0.35s ease; 
  border: 1px solid transparent; 
  display: flex; 
  flex-direction: column; 
  position: relative;
  overflow: hidden;
}
.zzfw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #1e9fff, #00c6ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.zzfw-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 30px rgba(30, 159, 255, 0.12); 
  border-color: #e1e8ed;
}
.zzfw-card:hover::before {
  opacity: 1;
}

.card-content { flex-grow: 1; }
.card-title { 
  font-size: 18px; 
  color: #2c3e50; 
  margin: 0 0 10px 0; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  font-weight: 600; 
}
.card-company { 
  font-size: 13px; 
  color: #1e9fff; 
  margin-bottom: 15px; 
  font-weight: 600; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  display: inline-block;
  background: rgba(30, 159, 255, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
}
.card-desc { 
  font-size: 13px; 
  color: #8995a1; 
  line-height: 1.8; 
  margin-bottom: 25px; 
  height: 70px; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  display: -webkit-box; 
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical; 
}

/* 底部按钮区，靠右对齐 */
.card-footer {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
}
.card-btn { 
  display: inline-flex;
  align-items: center;
  padding: 8px 24px; 
  background: linear-gradient(135deg, #1e9fff 0%, #0066cc 100%); 
  color: #fff; 
  text-decoration: none; 
  border-radius: 30px; 
  font-size: 13px; 
  transition: all 0.3s; 
  box-shadow: 0 4px 10px rgba(30, 159, 255, 0.25);
}
.card-btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 159, 255, 0.4);
}


/* 案例轮播模块容器 */
.swiper-case-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px 0;
    font-family: 'Microsoft YaHei', sans-serif;
    position: relative;
}

/* 模块标题 */
.swiper-case-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.swiper-case-section .section-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.swiper-case-section .section-title span {
    color: #ff6b00; /* 主题强调色 */
}
.swiper-case-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b00;
}

/* Swiper 容器内边距，为了给阴影留出空间 */
.case-swiper {
    padding: 20px 10px 60px; /* 底部留给分页器空间 */
    overflow: hidden;
}

/* 单个卡片样式 */
.case-slide-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

/* 卡片顶部装饰条 */
.case-slide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b00, #ff9f55);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.case-slide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.15);
}
.case-slide-card:hover::before {
    transform: scaleX(1);
}

.card-inner {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 卡片标题 */
.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}
.case-slide-card:hover .card-title {
    color: #ff6b00;
}

/* 标签区域 */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    min-height: 28px;
}
.card-tag {
    background: #fff5ee;
    color: #ff6b00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #ffe0c4;
}

/* 占位推开底部 */
.spacer { flex-grow: 1; }

/* 底部信息 */
.card-footer {
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.status-badge {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #28a745;
    font-weight: 600;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}
.detail-link {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}
.case-slide-card:hover .detail-link {
    color: #ff6b00;
    gap: 8px; /* 箭头动画 */
}

/* Swiper 分页器样式调整 */
.case-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}
.case-swiper .swiper-pagination-bullet-active {
    background: #ff6b00;
    width: 30px;
    border-radius: 6px;
    transition: all 0.3s;
}

/* 左右导航箭头 (默认隐藏，悬停显示) */
.case-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #666;
    transition: all 0.3s;
    opacity: 0;
}
.swiper-case-section:hover .case-nav-btn {
    opacity: 1;
}
.case-nav-btn:hover {
    background: #ff6b00;
    color: #fff;
}
.case-nav-prev { left: -20px; }
.case-nav-next { right: -20px; }