@charset "UTF-8";
/* 赛天集团 - 响应式页面样式 */
:root {
  --red: #c41e3a;
  --red-dark: #a01830;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #999;
  --gray-800: #333;
  --black: #1a1a1a;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: min(900px, 100% - 4rem);
  --bm-top-w: max(1000px, 100% - 32rem);
  --header-h: 64rem;
  --header-w: max(750px, 100% - 4rem);
}
/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html, body {
  font-size: 10px; }

body {
  font-family: var(--font);
  line-height: 1.6;
  color: #333;
  background-color: #f7f8fc; }

/* 导航栏 */
/* 主要内容区 */
.main-content {
  margin-top: 10rem;
  padding: 6rem 0; }

.container {
  max-width: 144rem;
  margin: 0 auto;
  padding: 0 2rem; }

/* 英雄区域 */
.hero {
  position: relative;
  margin-bottom: 3rem; }

.hero-content {
  width: 100%;
  background-color: white;
  border-radius: 10rem 2rem;
  position: relative;
  overflow: hidden; }

/* 轮播样式 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; }

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;aspect-ratio: 1600 / 560;
  justify-content: center; }

.slide.active {
  position: relative;
  opacity: 1; }

.slide img {
  max-width: 100%;
  /* max-height: 100%; */
  object-fit: cover; }

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1; }

.hero-content-inner {
  position: relative;
  z-index: 2; }

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem; }

.hero-description {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 80rem;
  margin-bottom: 3rem; }

.hero-nav {
  display: flex;
  position: absolute;
  z-index: 3;
  gap: 1rem;
  bottom: 5rem;
  right: 10rem; }

.hero-nav-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-left: 1rem;
  background: white;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1); }

.hero-nav-dot.active {
  background: linear-gradient(90deg, #fff, #f74b5f);
  transform: scale(1.2); }
.slide-pc{display: block;}
.slide-mobile{display: none;}

@media (max-width: 768px) {
  .slide-pc{display: none;}
  .slide-mobile{display: block;}
}
/* 服务模块 */
.services {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem;
  margin-bottom: 8rem;
  position: relative;
  padding: 0rem;
  /* overflow: hidden; */
}

.service-card {
  background: #f9f9f9;
  border-radius: 1.2rem;
  padding: 3rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
  /* transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease; */
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  flex: 0 0 calc((100% - 8rem) / 3);
  max-width: calc((100% - 8rem) / 3);
  min-width: 0;
  cursor: pointer;position: relative;

  
  /* 慢速度 + 无弹性缓动 */
  /* transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
   */
}
.service-card.moving {
  display: none;
}

.service-card:hover {

  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
}

.service-title {
  /* font-weight: 600;
  font-size: 2.6rem;
  margin-bottom: 4.5rem;
  color: #333;
  margin-top: 4rem; 
  min-height: 10rem; */

    font-weight: 600;
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
    color: #333;
    /* margin-top: 4rem; */
    /* min-height: 0rem; */
  
}

.service-description {
  font-size: 1.6rem;
  line-height: 2.6rem;
  color: #666; 
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;    
  -webkit-box-orient: vertical;
  height: calc(2.6rem * 3);

  text-align: justify;
  text-justify: inter-ideograph;
/*  text-align-last: justify;  最后一行也两端对齐 */

}

/* 底部区域 */
/* 响应式设计 */
@media (max-width: 1439px) {
  .service-card{padding: 3rem;}
  .service-title{margin-top: 2rem;margin-bottom: 2.5rem;}
}
@media (max-width: 1024px) {
  /* 服务模块 */
  .services{overflow: hidden; margin-bottom: 0rem;}
  .service-title{margin-top: 1rem;margin-bottom: 1.5rem;font-size: 2.5rem;}  
  .service-description{font-size: 1.4rem;}
  .service-card{flex: 0 0 calc((100% - 4rem) / 2);max-width: calc((100% - 4rem) / 2);}

  /* 主要内容区 */
  .main-content .container{padding: 0 6rem;}
  .hero-content {border-radius: 10rem 2rem; }
  .hero-nav {bottom: 5rem;left: 5rem; }
  .hero-nav-dot {height: 1rem;width: 1rem;margin-left: .5rem; }
  .hero-title {font-size: 3rem; }
  .slide{aspect-ratio: 704 / 844;}
  .slide-pc{display: none;}
  .slide-mobile{display: block;}



  /* 页脚模块 */
  .footer-content {
    gap: 1rem;
    align-items: flex-start; }

  .footer-left {
    flex: 2; }

  .footer-right {
    text-align: right; }

  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center; } 
}
@media (max-width: 768px) {
    /* 服务模块 */
  .services{overflow: hidden; margin-bottom: 0rem;}
  .service-title{
    /* margin-top: 1rem;margin-bottom: 1.5rem;font-size: 2.5rem; */
  
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.5rem;
    min-height: 8rem;
    line-height: 3.5rem;
  }  
  .service-description{
    font-size: 1.4rem;
    line-height: 2rem;
    height: calc(2rem * 3);
  }
  .service-card{flex: 0 0 calc((100% - 20rem) );max-width: calc((100% - 20rem) );}
  .service-card {padding: 3rem; }

  /* 英雄区域 */
  .main-content .container{padding: 0 2rem;margin-top: 0rem;}
  .hero {margin-bottom: 3rem; }
  
  /* 主要内容区 */
  .navbar {padding: 1.5rem 0; }
  .nav-links {display: none; }
  .main-content {margin-top: 8rem;padding: 4rem 0; }
  .hero-title {font-size: 2.4rem; }
  .platform-logos {flex-wrap: wrap;gap: 2rem; }
  /* 页脚模块 */
  .footer {padding: 4rem 0 2rem; } 
    
}
@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem; }

  .hero-title {
    font-size: 2rem; }

  .platform-logo {
    width: 6rem;
    font-size: 1.2rem; }


  .footer-links {
    flex-direction: column;
    gap: 1rem; } }

/*# sourceMappingURL=service.css.map */
