@charset "utf-8";


/* 服务Banner样式 */
.service-header {
  width: 100%;
  height: 400px;
  background: linear-gradient(rgba(0, 102, 179, 0.8), rgba(0, 102, 179, 0.8)), url('../img/anli_banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.service-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
}
.service-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* 服务详情卡片 */
.services-detail {
  padding: 0 0 80px;
  background: #fff;
}
.services-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.service-item {
  flex: 1;
  min-width: 300px;
  padding: 30px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: var(--transition-base); /* 调用全局过渡变量 */
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.service-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #e8f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.service-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 无用类名，删除 */
/* .service-container-grp { gap: 1.5rem; } */

/* 服务模块容器（仅定义高度，宽度用全局.container） */
.service-container {
  height: 25rem; /* 400px */
  display: flex;
  align-items: stretch; 
}

/* ================= 案例展示模块（去重+统一变量） ================= */
.case-module {
  width: 100%;
}

/* 筛选标签区（灰色背景，铺满全屏） */
.case-filter-wrapper {
  width: 100%;
  background: var(--bg-light-gray);
  padding: 4rem 0;
}
.case-filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.filter-tag {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: #e5e5e5;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}
.filter-tag.active,
.filter-tag:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* 案例展示区（白色背景） */
.case-list-wrapper {
  width: 100%;
  background: #fff;
  padding: 4rem 0;
}
.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.case-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.case-img-wrap {
  width: 100%;
  height: 15rem;
  overflow: hidden;
}
.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-img-wrap img {
  transform: scale(1.05);
}
.case-tag-group {
  padding: 1.5rem 1.5rem 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.case-tag {
  padding: 0.25rem 0.75rem;
  background: #e8f8f7;
  color: var(--primary-green);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.case-title {
  padding: 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.case-content {
  padding: 0 1.5rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.case-challenge,
.case-result {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.case-challenge strong,
.case-result strong {
  color: #6b7280;
}
.case-btn {
  margin: 0 1.5rem 1.5rem;
  padding: 0.75rem 0;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}
.case-btn:hover {
  background: var(--primary-blue-deep);
}

/* ================= 定制方案CTA模块（修复颜色错误） ================= */
.cta-section {
  width: 100%;
  padding: 3rem 0;
  background: #fafbfc;
  position: relative;
  border-bottom: 2px solid #0066B3;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8%;
  height: 100%;
  background: linear-gradient(to right, #eee, transparent);
  pointer-events: none;
}
.cta-container {
  text-align: center;
}
.cta-title {
  font-size: 2.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.cta-desc {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn {
  background: var(--primary-orange); /* 修复：改为设计图的橙色 */
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  border-radius: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}
.cta-btn:hover {
  background: #e56000; /* 橙色加深（hover） */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.2);
}

/* ================= 响应式适配（合并所有768px/992px规则，避免重复） ================= */
@media (max-width: 992px) {
  /* 案例模块：平板2列 */
  .case-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 案例模块适配 */
  .case-filter-wrapper {
    padding: 1.5rem 0;
  }
  .filter-tag {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  .case-list-wrapper {
    padding: 2.5rem 0;
  }
  .case-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .case-img-wrap {
    height: 12rem;
  }

  /* CTA模块适配 */
  .cta-section {
    padding: 3rem 0;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-desc {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
  }
}