
/* =========================================================
   3️⃣ 首页三大区块（公司业务、关于我们、我们的优势）
========================================================= */

/* ========================================
   首页三大区块基础样式
========================================= */
.jumiao-home-section {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #fff;
  color: #111;
  width: 100%;
  overflow-x: hidden; /* 移除横向滚动 */
}

/* ===== 标题统一风格 ===== */
.jumiao-home-section .section-title {
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  color: #0b6cff;
  margin-bottom: 40px;
  position: relative;
}

.jumiao-home-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #0b6cff;
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ========================================
   一、公司业务
========================================= */
.business {
  padding: 80px 20px;
  background: #f9fafc;
  position: relative;
  overflow: hidden;
}

.business::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(11,108,255,0.1) 0%, transparent 70%);
  transform: translate(-40%, -40%);
  z-index: 0;
}

.business-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* 公司业务卡片（图片占满无留白） */
.business-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* 图片完全占满卡片上半部分，无空白 */
.business-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

/* 文字与按钮在下半部分 */
.business-card h3 {
  font-size: 20px;
  color: #111;
  margin: 16px 0 8px;
  text-align: center;
}

.business-card p {
  font-size: 15px;
  color: #555;
  margin: 0 0 20px;
  line-height: 1.8;
  text-align: center;
  padding: 0 12px;
}

.business-card .btn {
  background: #0b6cff;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all .3s ease;
  align-self: center;
  margin-bottom: 20px;
}

.business-card .btn:hover {
  background: #005ce6;
}

/* ========================================
   二、关于我们
========================================= */
.about {
  position: relative;
  background: #fff;
  padding: 80px 20px;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right bottom, rgba(11,108,255,0.05), transparent 60%);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: #333;
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 16px;
}

.about-text .btn {
  background: #0b6cff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all .3s ease;
}

.about-text .btn:hover {
  background: #005ce6;
}

.about-img img {
  width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform .3s ease;
}

.about-img img:hover {
  transform: scale(1.03);
}

/* ========================================
   三、我们的优势
========================================= */
.advantages {
  background: linear-gradient(135deg, #eef4ff 0%, #f5f9ff 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.advantages::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(11,108,255,0.08), transparent 70%);
  transform: translate(40%, -40%);
}

.advantage-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.adv-item {
  background: #fff;
  padding: 40px 24px;
  border-radius: 12px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04), 0 3px 12px rgba(0,0,0,0.08);
  transition: all .3s ease;
}

.adv-item:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 3px 12px rgba(0,0,0,0.05), 0 8px 20px rgba(0,0,0,0.12);
}

.adv-item .icon {
  display: block;
  font-size: 38px;
  margin-bottom: 15px;
  color: #0b6cff;
}

.adv-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.adv-item p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

/* ========================================
   响应式布局
========================================= */
@media (max-width: 1024px) {
  .business-container,
  .advantage-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img img {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .business-container,
  .advantage-container {
    grid-template-columns: 1fr;
  }

  .jumiao-home-section .section-title {
    font-size: 26px;
  }

  .business {
    padding: 20px 20px 40px;
  }
  .about {
    padding: 20px 20px 40px;
  }
  .advantages {
    padding: 20px 20px 40px;
  }

  .about-img img {
    width: 100%;
    margin-top: 20px;
  }
}