/* ============================================
  service.html 页面专属样式
  ============================================ */

/* ---- Service Stats Banner ---- */
.service-stats {
  padding: 56px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.service-stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-stats__item {
  text-align: center;
}

.service-stats__num {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  color: #4caf50;
  margin-bottom: 10px;
}

.service-stats__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Core Services ---- */
.service-core {
  padding: 80px 20px;
  background: #ffffff;
}

.service-core__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-core__heading,
.service-process__heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.service-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-tag--light {
  background: rgba(76, 175, 80, 0.16);
  color: #66bb6a;
}

.service-core__heading h2,
.service-process__heading h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  font-family: "Archivo", sans-serif;
  color: #1a1a2e;
  margin: 0 0 14px;
  line-height: 1.25;
}

.service-core__heading p,
.service-process__heading p {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6478;
  margin: 0;
}

.service-core__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-core__item {
  padding: 30px 26px;
  border: 1px solid #e8eef2;
  border-radius: 16px;
  background: #fafbfc;
  transition: all 0.3s ease;
}

.service-core__item:hover {
  transform: translateY(-4px);
  border-color: #4caf50;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.14);
}

.service-core__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.service-core__item:hover .service-core__icon {
  background: #4caf50;
  color: #ffffff;
}

.service-core__item h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  color: #1a1a2e;
  margin: 0 0 10px;
}

.service-core__item p {
  font-size: 14px;
  line-height: 1.7;
  color: #5a6478;
  margin: 0;
}

/* ---- Service Process ---- */
.service-process {
  padding: 80px 20px;
  background: #f5f7fa;
}

.service-process__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-process__step {
  position: relative;
  padding: 26px 24px 26px 92px;
  background: #ffffff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-process__step:hover {
  transform: translateY(-4px);
  border-color: #4caf50;
  box-shadow: 0 10px 28px rgba(76, 175, 80, 0.12);
}

.service-process__icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  font-size: 18px;
}

.service-process__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Archivo", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #eef2f6;
}

.service-process__step h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  color: #1a1a2e;
  margin: 0 0 6px;
  padding-right: 40px;
}

.service-process__step p {
  font-size: 13px;
  line-height: 1.6;
  color: #5a6478;
  margin: 0;
  padding-right: 34px;
}

/* ---- Service CTA ---- */
.service-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.service-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.service-cta h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  font-family: "Archivo", sans-serif;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.25;
}

.service-cta p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 36px;
  max-width: 560px;
}

.service-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.service-cta__btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Archivo", sans-serif;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-cta__btn--primary {
  color: #ffffff;
  background: #4caf50;
  border-color: #4caf50;
}

.service-cta__btn--primary:hover {
  background: #43a047;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.35);
}

.service-cta__btn--outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

.service-cta__btn--outline:hover {
  border-color: #4caf50;
  color: #4caf50;
  transform: translateY(-2px);
}

/* ---- Customer Feedback Showcase ---- */
.service-showcase {
  padding: 60px 20px;
  background: #ffffff;
  text-align: center;
}

.service-showcase__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-showcase__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  color: #1a1a2e;
  margin: 0 0 28px;
}

.service-showcase__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ---- Engineering Cases Gallery ---- */
.service-gallery {
  padding: 60px 20px;
  background: #f5f7fa;
}

.service-gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-gallery__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  color: #1a1a2e;
  margin: 0 0 32px;
  text-align: center;
}

.service-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-gallery__item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-gallery__item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.service-gallery__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 600px) {
  .service-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .service-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .service-stats__inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .service-core__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cta__actions {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .service-core__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .service-process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 599px) {
  .service-showcase,
  .service-gallery {
    padding: 40px 16px;
  }

  .service-core,
  .service-process,
  .service-cta {
    padding: 50px 16px;
  }

  .service-process__step {
    padding: 22px 18px 22px 76px;
  }

  .service-process__icon {
    left: 18px;
    width: 40px;
    height: 40px;
  }

  .service-process__step h3,
  .service-process__step p {
    padding-right: 30px;
  }
}
