/* ===== 服务栏目页共用样式 service.css ===== */
/* C5图标圆形 - AF石榴红系列 */

/* ===== 服务详情页布局 ===== */
.service-detail { padding: 40px 0 80px; }
.service-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
.service-main { min-width: 0; }
.service-sidebar { position: sticky; top: 100px; height: fit-content; }

/* ===== 服务主内容区 ===== */
.service-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
}
.service-header h1 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.service-header .lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
.service-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.service-content h2 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 36px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  font-weight: 700;
}
.service-content h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 24px 0 12px;
  font-weight: 600;
}
.service-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}
.service-content ul, .service-content ol {
  margin: 16px 0;
  padding-left: 22px;
}
.service-content ul li, .service-content ol li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 8px;
}
.service-content ul li { list-style: disc; }
.service-content ol li { list-style: decimal; }
.service-content strong { color: var(--primary); font-weight: 600; }
.service-content a { color: var(--primary); border-bottom: 1px solid transparent; }
.service-content a:hover { border-bottom-color: var(--primary); }

/* ===== 服务特色卡片 ===== */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(230,74,25,0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.feature-card h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== 侧边栏服务导航 ===== */
.sidebar-nav {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sidebar-nav h3 {
  padding: 18px 22px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(240,213,206,0.4);
  transition: all 0.3s ease;
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 28px;
}
.sidebar-nav a .icon {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.sidebar-nav a:hover .icon, .sidebar-nav a.active .icon {
  background: var(--primary);
  color: #fff;
}

/* 侧边栏联系卡片 */
.sidebar-contact {
  margin-top: 24px;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  color: #fff;
  text-align: center;
}
.sidebar-contact h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.sidebar-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.7;
}
.sidebar-contact .phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-mid);
  margin: 14px 0;
  display: block;
}

/* ===== 相关推荐 ===== */
.related-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.related-section h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 24px;
  font-weight: 600;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.related-card:hover {
  border-color: rgba(230,74,25,0.25);
  box-shadow: var(--shadow-sm);
}
.related-card .num {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}
.related-card h4 {
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.5;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-sidebar { position: static; order: -1; margin-bottom: 30px; }
  .sidebar-nav { max-width: 100%; }
  .feature-cards { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
