/*======================================
  Service 页专用样式（管理服务 service.html）
========================================*/

/* ---------- 核心优势区块 ---------- */
.core-advantage {
  padding: 50px 0 40px;
}

.core-advantage .col-12 h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 32px;
  text-align: center;
}

.core-advantage .row:not(:first-child) > [class*="col-"] {
  margin-bottom: 20px;
  display: flex;
}

.core-advantage-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.core-advantage-item:hover {
  box-shadow: 0 4px 24px rgba(6, 87, 207, 0.15);
}

.core-advantage-item-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}

.core-advantage-item-content {
  max-width: 100%;
}

.core-advantage-item-content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #0657cf;
}

.core-advantage-item-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
}

/* ---------- 服务类型（自适应 Tab 栏）---------- */
.adaptive-tab-bar {
  padding: 44px 0 56px;
}

.adaptive-tab-bar .container > .row:first-child .col-12 h2 {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 28px;
  text-align: center;
}

.adaptive-tab-bar .tab-bar-wrap {
  max-width: 100%;
}

.adaptive-tab-bar .tab-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.adaptive-tab-bar .tab-btn {
  display: inline-block;
  padding: 14px 26px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: #353535;
  background: #fff;
  border: none;
  border-radius: 6px;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.adaptive-tab-bar .tab-btn:hover,
.adaptive-tab-bar .tab-btn:focus,
.adaptive-tab-bar .tab-btn:active {
  outline: none;
  border: none;
}

.adaptive-tab-bar .tab-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  box-shadow: 0 4px 16px rgba(6, 87, 207, 0.3);
}

.adaptive-tab-bar .tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  box-shadow: 0 4px 16px rgba(6, 87, 207, 0.3);
}

.adaptive-tab-bar .tab-panels {
  min-height: 0;
}

.adaptive-tab-bar .tab-panel {
  display: none;
  padding: 0;
}

.adaptive-tab-bar .tab-panel.active {
  display: block;
}

.adaptive-tab-bar .tab-panel-inner {
  border-radius: 10px;
  padding: 28px 24px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  line-height: 1.75;
  color: #444;
  font-size: 15px;
}

.adaptive-tab-bar .tab-panel-inner .tab-panel-text p {
  margin: 0 0 18px;
  line-height: 1.85;
  color: #555;
  text-align: center;
}

.adaptive-tab-bar .tab-panel-inner .tab-panel-text p:last-of-type {
  margin-bottom: 20px;
}

.adaptive-tab-bar .tab-panel-inner .tab-panel-img img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.adaptive-tab-bar .tab-panel-inner .more {
  display: inline-block;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #0657cf 0%, #0a7aff 50%, #2889e4 100%);
  box-shadow: 0 2px 10px rgba(6, 87, 207, 0.3);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.adaptive-tab-bar .tab-panel-inner .more:hover,
.adaptive-tab-bar .tab-panel-inner .more:focus {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(6, 87, 207, 0.4);
  transform: translateY(-1px);
}

.adaptive-tab-bar .tab-panel-inner .more:active {
  transform: translateY(0);
}

/* ---------- 合作流程 ---------- */
.cooperation-flow {
  padding-top: 34px;
  padding-bottom: 40px;
}

.cooperation-flow .row > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}

.flow-card {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 32px 24px 26px;
  border-radius: 12px;
  border: 1px solid #eef2fb;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(6, 87, 207, 0.12);
}

.flow-step {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #d9e7ff;
}

.flow-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1f2d3d;
}

.flow-card p {
  margin: 0;
  color: #5c6574;
  line-height: 1.85;
  font-size: 15px;
}

/* 服务类型区块响应式 */
@media (max-width: 576px) {
  .core-advantage {
    padding: 32px 0 24px;
  }

  .core-advantage-item {
    padding: 20px;
  }

  .core-advantage-item-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .adaptive-tab-bar {
    padding: 28px 0 40px;
  }

  .adaptive-tab-bar .container > .row:first-child .col-12 h2 {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .adaptive-tab-bar .tab-nav {
    gap: 10px;
    margin-bottom: 22px;
  }

  .adaptive-tab-bar .tab-btn {
    padding: 12px 18px;
    font-size: 14px;
  }

  .adaptive-tab-bar .tab-panel-inner {
    padding: 20px 18px;
    font-size: 14px;
  }

  .adaptive-tab-bar .tab-panel-inner .more {
    padding: 10px 20px;
    font-size: 13px;
  }

  .cooperation-flow {
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .flow-card {
    padding: 24px 20px 22px;
  }
}

