/* ==========================================================
   0. 全局清零：去掉 ul/li 默认内外边距
   ========================================================== */
ul, li {
  padding: 0;
  margin: 0;
}

/* ==========================================================
   1. 整页版心：1200 px 水平居中
   ========================================================== */
.service {
  width: 1200px;
  margin: 0 auto;
}

/* ==========================================================
   2. 表格头部（service-head）
      弹性布局 + 底线 + 灰背景 + 垂直居中
   ========================================================== */
.service-head {
  position: relative;              /* 用于伪元素绝对定位画底线 */
  background: #f9f9f9;             /* 浅灰背景 */
  display: -webkit-box;            /* 老版 flex 前缀 */
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;                   /* 弹性布局 */
  /* width: 1200px; */            /* 注释掉，由父级 .service 控制 */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 18px;
  -webkit-box-align: center;       /* 垂直居中（老前缀） */
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;             /* 垂直居中 */
}

/* 表格头部底线：1 px 实线，用缩放实现 0.5 px 细线效果 */
.service-head:before {
  position: absolute;
  bottom: 0;
  left: -50%;                     /* 向左偏移 50%，保证整根线贯穿 */
  content: "";
  height: 1px;
  width: 200%;                    /* 200% 宽，缩放后刚好满屏 */
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  -ms-transform: scale(.5);
  transform: scale(.5);           /* 缩放 50%，视觉 0.5 px */
  background: #e5e5e5;            /* 浅灰线色 */
}

/* ==========================================================
   3. 表格左侧边框：1 px 灰线，形成“网格”效果
   ========================================================== */
.service-list {
  border-left: 1px solid #e5e5e5;
}

/* ==========================================================
   4. 头部单元格（service-header_item）
      等分、52 px 高、居中文本、右侧边框
   ========================================================== */
.service-head .service-header_item {
  -webkit-box-flex: 1;            /* 老版 flex: 1 */
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;                        /* 等分列 */
  height: 52px;
  line-height: 52px;              /* 垂直居中 */
  text-align: center;
  border-right: 1px solid #e5e5e5; /* 右侧网格线 */
  font-size: 20px;
  font-weight: bold;
  color: rgba(59,66,107,1);       /* 深蓝文字 */
}

/* ==========================================================
   5. 分组标题行（service-list-title）
      灰背景 + 大字号 + 左侧 20 px 内缩进
   ========================================================== */
.service-list-title {
  padding: 10px 0;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  background: #f9f9f9;
  font-weight: bold;
  font-size: 20px;                /* 覆盖上面 14 px */
  color: rgba(59,66,107,1);
  border-top: 1px solid #e5e5e5;  /* 上边框，与表格线一致 */
}

/* ==========================================================
   6. 普通行（service-item > li）
      弹性布局 + 相对定位 + 底线伪元素
   ========================================================== */
.service-list .service-item > li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  font-family: PingFangSC-Regular;
  color: #333;
}
/* 每行底部 0.5 px 细线（同头部做法） */
.service-list .service-item > li:before {
  position: absolute;
  bottom: 0;
  left: -50%;
  content: "";
  height: 1px;
  width: 200%;
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  -ms-transform: scale(.5);
  transform: scale(.5);
  background: #e5e5e5;
}

/* ==========================================================
   7. 行内单元格通用样式
      等分、右侧边框、居中文字
   ========================================================== */
.service-item > li > div {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-right: 1px solid #e5e5e5;
  text-align: center;
}

/* ==========================================================
   8. 首列“服务名称”（service-item__name）
      占 25% 宽，左内边距 20 px
   ========================================================== */
.service-item__name {
  position: relative;
  width: 25%;
}
.service-item__name > span {
  padding-left: 20px;
  line-height: 46px;
  color: #3B426B;
  font-size: 16px;
}

/* ==========================================================
   9. 勾选/图标列（service-item__check）
      垂直 + 水平居中，图标 20 px 高
   ========================================================== */
.service-item > li .service-item__check {
  color: #3B426B;
  font-size: 16px;
  text-align: center;
  height: auto;
  line-height: 46px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;          /* 图标+文字垂直堆叠 */
}
.service-item > li .service-item__check img {
  display: inline-block;
  vertical-align: middle;
  height: 20px;                    /* 勾选图标统一高度 */
  margin: 0 auto;
}

/* ==========================================================
   10. 子级扩展行（children）
       两栏比例 50% : 60%，左侧灰背景
   ========================================================== */
.children div > span {
  width: calc(60% - 25px);         /* 右侧描述栏 */
  display: inline-block;
  color: #3B426B;
}
.children div > span:nth-child(2) {
  line-height: inherit;
  padding: 15px 0;
  padding-left: 20px;
}
.children div > span:nth-child(1) {
  height: auto;
  text-align: center;
  width: calc(50% - 25px);         /* 左侧序号/名称栏 */
  background: rgba(249,249,249,1); /* 浅灰背景 */
}
/* 子级行底线偏移量缩小，避免与父级线重叠 */
.children_li:before {
  left: -35% !important;
  width: 180% !important;
}

/* ==========================================================
   11. 工具类：快速 flex 横向排列
   ========================================================== */
.flex {
  display: flex;
}

/* ==========================================================
   12. 表格底部间距 & 备注区域
   ========================================================== */
.service-list {
  margin-bottom: 40px;             /* 表格与下一模块间距 */
}
.service-remarks {
  border: 1px solid #e5e5e5;       /* 整体边框 */
}
.service-remarks .service-list-title {
  border-bottom: 1px solid #e5e5e5; /* 标题底边线 */
  border-top: 0;                    /* 去掉顶部重复线 */
}
.service-remarks_content {
  box-sizing: border-box;
  padding: 23px;                    /* 内容内边距 */
}
.service-remarks_content p {
  margin-top: 0;
  margin-bottom: 10px;              /* 段间距 */
  color: #3B426B;
  font-size: 16px;
}

/* ==========================================================
   13. 顶部大 Banner
      430 px 高，背景图全覆盖，白字居中
   ========================================================== */
.banner {
  background: url(../img/version/service-banner.png) no-repeat 100% 100%;
  height: 430px;
  width: 100%;
  color: #FFFFFF;
  text-align: center;
  background-size: cover;
}
.banner .title {
  font-size: 38px;
  padding: 158px 0 41px;            /* 大标题上下留白 */
}
.banner .sub-title {
  font-size: 26px;
}

/* ==========================================================
   14. 价格卡片区（service-header）
      三栏卡片，366*234，白底阴影，圆角 8 px
   ========================================================== */
.service-header_title {
  font-size: 32px;
  font-family: PingFang SC;
  color: rgba(59,66,107,1);
  line-height: 63px;
  text-align: center;
  padding: 56px 0;                  /* 区段大标题上下留白 */
}
.service-header .service-header_item {
  width: 366px;
  height: 234px;
  background: rgba(255,255,255,1);
  box-shadow: 0px 4px 14px 2px rgba(122,153,209,0.17); /* 淡蓝阴影 */
  border-radius: 8px;
  margin: 0 10px;                   /* 卡片左右间距 */
}
.service-header {
  margin-bottom: 70px;              /* 与下一模块间距 */
}
.service-header .service-header_item p {
  text-align: center;
  margin: 0;
  color: #3B426B;
}
/* 卡片内第一行：24 px 大标题 */
.service-header .service-header_item p:nth-child(1) {
  font-size: 24px;
  padding-top: 40px;
}
/* 卡片内第二行：20 px 中标题（原价，可划线） */
.service-header .service-header_item p:nth-child(2) {
  font-size: 20px;
  padding: 30px 0 15px;
}
/* 卡片内第三行：28 px 红色现价 */
.service-header .service-header_item p:nth-child(3) {
  color: #F23821;
  font-size: 28px;
}
/* 现价符号“¥”缩小 22 px */
.service-header .service-header_item p:nth-child(3) span:nth-child(1) {
  font-size: 22px;
}
/* 现价数字 28 px 红色 */
.service-header .service-header_item p:nth-child(3) span:nth-child(2) {
  color: #F23821;
  font-size: 28px;
}
/* 现价单位“元”放大 48 px，突出视觉冲击 */
.service-header .service-header_item p:nth-child(3) span:nth-child(3) {
  color: #F23821;
  font-size: 48px;
}

/* ==========================================================
   15. 热销标签（service-item__tag）
      红底白字，右上角小角标
   ========================================================== */
.service-item__tag {
  color: #F23821 !important;
  padding-left: 0 !important;
  position: absolute;
  width: 72px;
  height: 23px;
  background: rgba(255,231,228,1); /* 淡红背景 */
  border-radius: 2px 2px 2px 12px; /* 左下角大圆角 */
  top: 0;
  right: 0;
  font-size: 12px !important;
  line-height: 23px !important;
}

/* ==========================================================
   16. 表格头部吸顶（isTop）
      fixed + 1200 px 宽 + 最高层级
   ========================================================== */
.service .isTop {
  position: fixed;
  top: 0;
  width: 1200px;
  z-index: 100;                   /* 保证在最上层 */
}
