/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.services {
  display: flex;
  width: 100%;
  max-width: 1120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
  padding-top: 120px;
  padding-bottom: 120px;
}

.services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card img {
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.5rem;
}

.service-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

.snow {
  padding: 24px;
  width: 100%;
}

/* 手机端响应式设计 */
@media (max-width: 768px) {
  main {
    padding: 24px;
  }

  .service-card img {
    width: 100%;
  }

  .snow {
    padding: 0;
    padding-bottom: 24px;
    text-align: center;
  }
}
