/**
 * Service 单页样式（对照设计图）
 * - 白底、黑字、大留白
 * - 主列表左右交替
 * - OTHER SERVICE：标题+简介横排，下方四图网格
 */

.service_page {
  background: #fff;
  padding: 40px 0 100px;
  color: #111;
}

.service_page .layout {
  max-width: 1400px;
}

/* 面包屑 */
.service_crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  font-size: 14px;
  color: #666;
  font-family: Arial, Helvetica, sans-serif;
}
.service_crumbs li {
  display: inline-flex;
  align-items: center;
}
.service_crumbs li + li::before {
  content: '>';
  margin: 0 8px 0 2px;
  color: #999;
}
.service_crumbs a {
  color: #666;
  text-decoration: none;
}
.service_crumbs a:hover {
  color: #111;
  text-decoration: underline;
}
.service_crumbs li:last-child,
.service_crumbs li:last-child a {
  color: #111;
}

/* 页大标题 SERVICE */
.service_page_title {
  margin: 0 0 72px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
}

/* 交替图文列表 */
.service_list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service_item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: center;
}

/* 奇数：文左图右（默认 DOM 顺序） */
.service_item:nth-child(odd) .service_item_text {
  order: 1;
}
.service_item:nth-child(odd) .service_item_img {
  order: 2;
}

/* 偶数：图左文右 */
.service_item:nth-child(even) .service_item_img {
  order: 1;
}
.service_item:nth-child(even) .service_item_text {
  order: 2;
}

.service_item_icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: #111;
}
.service_item_icon img,
.service_item_icon .service_icon_svg {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}

.service_item_title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.service_item_desc {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
}
.service_item_desc p {
  margin: 0 0 1em;
}
.service_item_desc p:last-child {
  margin-bottom: 0;
}

.service_item_img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 4 / 4;
}
.service_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  position: absolute;
  left: 0;
  top: 0;
}
.service_item_img:hover img {
  transform: scale(1.04);
}

/* OTHER SERVICE */
.other_service {
  margin-top: 110px;
  padding-top: 20px;
}

.other_service_head {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.4fr;
  gap: 40px 60px;
  align-items: start;
  margin-bottom: 48px;
}

.other_service_title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #111;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
}

.other_service_desc {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
}
.other_service_desc p {
  margin: 0 0 1em;
}
.other_service_desc p:last-child {
  margin-bottom: 0;
}

.other_service_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.other_service_item {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
}
.other_service_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.other_service_item:hover img {
  transform: scale(1.05);
}

/* 响应式 */
@media only screen and (max-width: 1200px) {
  .service_item {
    gap: 36px;
  }
  .other_service_head {
    gap: 28px 40px;
  }
}

@media only screen and (max-width: 950px) {
  .service_page {
    padding: 24px 0 60px;
  }
  .service_crumbs {
    margin-bottom: 28px;
  }
  .service_page_title {
    margin-bottom: 40px;
  }
  .service_list {
    gap: 48px;
  }
  .service_item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* 移动端统一：先图后文，更易扫读 */
  .service_item:nth-child(odd) .service_item_img,
  .service_item:nth-child(even) .service_item_img {
    order: 1;
  }
  .service_item:nth-child(odd) .service_item_text,
  .service_item:nth-child(even) .service_item_text {
    order: 2;
  }
  .service_item_img {
    aspect-ratio: 3 / 4;
  }
  .service_item_title {
    font-size: 22px;
  }
  .other_service {
    margin-top: 64px;
  }
  .other_service_head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .other_service_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media only screen and (max-width: 480px) {
  .other_service_grid {
    grid-template-columns: 1fr 1fr;
  }
}
