@charset "UTF-8";

/* ==========================================
   MK体育在线官网 - 服务栏目页共用样式
   ========================================== */

/* ---- 服务页Hero ---- */
.service-hero {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--dark) 0%, #2A4A2A 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,47,26,0.9) 0%, rgba(26,47,26,0.6) 100%);
}
.service-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.service-hero h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 14px;
}
.service-hero p {
  font-size: 1.05rem;
  color: rgba(212,226,212,0.8);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- 服务详情区 ---- */
.service-detail { padding: 60px 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
}
.service-detail-content h2 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.service-detail-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}
.service-detail-content ul {
  margin: 16px 0;
  padding-left: 20px;
  list-style: none;
}
.service-detail-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  line-height: 1.7;
}
.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ---- 服务侧边栏 ---- */
.service-sidebar {}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px var(--shadow);
}
.sidebar-title {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.service-menu { list-style: none; padding: 0; }
.service-menu li { margin-bottom: 4px; }
.service-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
}
.service-menu a:hover, .service-menu a.active {
  background: var(--primary);
  color: var(--dark);
}
.service-menu a.active { border-left: 3px solid var(--secondary); }

/* 联系卡片 */
.contact-card p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-card i { color: var(--secondary); font-style: normal; margin-top: 2px; }
.contact-card .btn { width: 100%; margin-top: 10px; justify-content: center; }

/* ---- 服务特色条 ---- */
.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.feature-box {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px var(--shadow);
  border-color: var(--secondary);
}
.feature-box .icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--secondary);
  box-shadow: 0 4px 12px var(--shadow);
}
.feature-box h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.feature-box p { font-size: 0.85rem; color: #7A9A7A; line-height: 1.6; }

/* ---- 服务FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: var(--light-bg);
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.faq-question:hover { background: var(--primary); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--secondary); transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 16px 20px;
}
.faq-answer p { font-size: 0.9rem; line-height: 1.75; color: #5A7A5A; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr 300px; gap: 30px; }
  .service-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .service-hero { height: 340px; }
  .service-hero h1 { font-size: 2rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { order: -1; }
  .service-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .service-hero { height: 300px; }
  .service-hero h1 { font-size: 1.6rem; }
  .sidebar-card { padding: 20px; }
}
