.service-detail-wrapper {
  background: #fafbfc;
  min-height: 100vh;
  padding-bottom: 40px;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.service-detail-wrapper {
  /* padding-top: 240px; */
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .service-detail-wrapper {
  padding-top: 70px;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-detail-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.sidebar {
  width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.main-content {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 40px 28px 32px;
}

.content-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.content-section.active {
  display: block;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2b6cb0, #4299e1);
  border-radius: 2px;
}

.section-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #1a3c8b;
  margin-bottom: 15px;
  border-left: 4px solid #1a3c8b;
  padding-left: 10px;
}

.new-facility-layout {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.left-vertical-img {
  flex: 1;
  min-width: 260px;
  max-width: calc(33.333% - 12px);
}

.equipment-img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.left-vertical-img img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

.right-content {
  width: calc(66.666% - 12px);
}

.horizontal-images {
  display: flex;
  flex: 2;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.horizontal-images img {
  width: 49%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  border: 1px solid #eee;
}

.facility-list {
  list-style: none;
  padding-left: 18px;
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.facility-list li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.facility-list img {
  width: 16px;
  height: 16px;
}

.commercial-section {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.commercial-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

.tech-empowerment .tech-item,
.market-promotion .promotion-item,
.financial-support .support-category,
.platform-category,
.incubator-section,
.process-section,
.advantages-section .advantage-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.tech-item h3,
.promotion-item h3,
.support-category h3,
.platform-category h4,
.incubator-header h3,
.process-section h3,
.advantage-card h4 {
  color: #1a3c8b;
  margin-bottom: 10px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.advantage-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 空间与设备模块样式补充 */
.space-equip-layout {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.space-card,
.equip-card {
  flex: 1;
  min-width: 280px;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  color: #1a3c8b;
  margin-bottom: 12px;
  font-weight: 600;
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.card-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a3c8b;
  position: absolute;
  left: 0;
  top: 8px;
}

/* 卡片通用样式 */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 孵化器平台部分 */
.incubator-section {
  margin-bottom: 40px;
}

.incubator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.incubator-header h3 {
  font-size: 22px;
  color: #2d3748;
  font-weight: 600;
}

.incubator-tag {
  background: linear-gradient(135deg, #4299e1, #3182ce);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.incubator-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.incubator-text {
  flex: 1;
}

.incubator-image {
  flex: 0 0 300px;
}

.incubator-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #ebf8ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #3182ce;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #2d3748;
}

.feature-content p {
  font-size: 14px;
  color: #718096;
}

/* 创新特点网格 */
.innovation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.innovation-item {
  background: #f7fafc;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #4299e1;
}

.innovation-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #2d3748;
}

.innovation-item p {
  font-size: 14px;
  color: #718096;
}

/* 平台网格 */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.platform-category {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.platform-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-category h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2b6cb0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.platform-category ul {
  list-style: none;
  padding-left: 0;
}

.platform-category li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: #4a5568;
}

.platform-category li::before {
  content: "•";
  color: #4299e1;
  font-weight: bold;
  position: absolute;
  left: 8px;
}

/* 流程步骤 */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4299e1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 8px rgba(66, 153, 225, 0.3);
}

.step-content {
  text-align: center;
  padding: 0 10px;
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #2d3748;
}

.step-content p {
  font-size: 14px;
  color: #718096;
}

/* 优势卡片 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.advantage-card {
  background: white;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: #ebf8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #3182ce;
}

.advantage-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2d3748;
}

.advantage-card p {
  font-size: 14px;
  color: #718096;
  line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .incubator-content {
    flex-direction: column;
  }

  .incubator-image {
    flex: 1;
    width: 100%;
  }

  .innovation-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }
}

/* 园区配套模块样式补充 */
.support-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.support-card {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.support-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a3c8b;
  font-size: 24px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .service-detail-wrapper {
    padding-top: 60px;
  }

  .service-detail-content {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .main-content {
    order: 2;
    padding: 24px 20px;
  }

  .new-facility-layout {
    flex-direction: column;
  }

  .left-vertical-img {
    max-width: 100%;
  }

  .right-content {
    width: 100%;
  }

  .horizontal-images {
    flex-direction: column;
  }

  .horizontal-images img {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .service-detail-wrapper {
    padding-top: 60px;
  }

  .content-container {
    padding: 0 15px;
  }

  .main-content {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-desc {
    font-size: 14px;
  }

  .left-vertical-img img {
    height: 250px;
  }

  .horizontal-images img {
    height: 150px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 15px 10px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-desc {
    font-size: 13px;
  }

  .left-vertical-img img {
    height: 200px;
  }

  .horizontal-images img {
    height: 120px;
  }

  .facility-list {
    font-size: 14px;
  }

  .facility-list img{
    width: 14px;
    height: 14px;
  }

  .support-card {
    padding: 15px;
  }

  .advantage-card {
    padding: 18px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 联系我们按钮 */
#contactUs {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: auto;
  /* 改为自动宽度 */
  min-width: 120px;
  /* 设置最小宽度 */
  height: 50px;
  /* 调整高度 */
  background-color: #1a3c8b;
  color: white;
  border-radius: 25px;
  /* 调整为圆角矩形 */
  display: flex;
  flex-direction: row;
  /* 改为水平排列 */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(26, 60, 139, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
  outline: none;
  padding: 0 20px;
  /* 添加内边距 */
  font-size: 16px;
  font-weight: 500;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  /* 图标和文字间距 */
  text-decoration: none;
  color: inherit;
  width: 100%;
  justify-content: center;
}

#contactUs:hover {
  background-color: #2a4b9a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(26, 60, 139, 0.4);
}

#contactUsp:active {
  transform: translateY(0);
}

#contactUs img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  #contactUs {
    width: auto;
    height: 44px;
    min-width: 100px;
    padding: 0 16px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }

  #contactUs img {
    width: 18px;
    height: 18px;
  }
}