/* 仅用于动物造模服务首页；检测详情仍使用原 service.css。 */
.svc-page {
  --svc-blue: #14699f;
  --svc-dark: #174660;
  --svc-muted: #78909f;
  --svc-line: #dce9f1;
  --svc-soft: #f3f8fb;
}
.svc-shell {
  width: calc(100% - var(--chrome-gutter) - var(--chrome-gutter));
  margin-inline: auto;
}
body[data-page='service'] .site-footer > .container {
  width: calc(100% - var(--chrome-gutter) - var(--chrome-gutter));
  max-width: none;
}
.svc-section {
  padding: 76px 0;
  scroll-margin-top: 100px;
}
.svc-heading {
  display: block;
  margin-bottom: 34px;
}
.svc-heading h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--svc-dark);
  margin: 0;
  line-height: 1.45;
}
.svc-heading > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--svc-muted);
  margin: 12px 0 0;
  max-width: none;
}
.svc-hero {
  position: relative;
  isolation: isolate;
  height: 550px;
  background: #ecf4f8;
  overflow: hidden;
}
.svc-slides,
.svc-slide,
.svc-hero-shade {
  position: absolute;
  inset: 0;
}
.svc-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}
.svc-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.svc-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.svc-slide:nth-child(1) > img {
  object-position: center 45%;
}
.svc-slide:nth-child(4) > img {
  object-position: 70% 48%;
}
.svc-slide figcaption {
  position: absolute;
  right: var(--chrome-gutter);
  bottom: 111px;
  color: #fff;
  text-shadow: 0 1px 8px #183c5680;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: right;
}
.svc-hero-shade {
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #f5fafef5 0%,
      #f5fafeea 27%,
      #f5fafebf 43%,
      #e9f4fb30 65%,
      transparent 85%
    ),
    linear-gradient(0deg, #122e5030, transparent 23%);
}
.svc-hero-content {
  width: min(1400px, calc(100% - 80px));
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 83px;
  pointer-events: none;
}
.svc-hero-content > div {
  width: 100%;
  max-width: 620px;
  min-width: 0;
}
.svc-hero-content h1 {
  font-size: 56px;
  letter-spacing: 0.025em;
  font-weight: 600;
  line-height: 1.25;
  color: #125980;
  margin: 0 0 12px;
}
.svc-hero-intro {
  max-width: 600px;
  font-size: 18px;
  line-height: 2;
  color: #365f7b;
  margin: 0;
}
.svc-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 51px;
}
.svc-hero-signature {
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px #17374fa0;
  font-size: 13px;
  letter-spacing: 0.22em;
}
.svc-hero-signature span {
  margin-inline: 8px;
}
.svc-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.svc-process-card {
  border: 1px solid var(--svc-line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
  box-shadow: 0 6px 20px #163b5504;
}
.svc-process-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  padding: 19px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #25546f;
  white-space: nowrap;
}
.svc-process-card h3 > span {
  font-weight: 400;
  color: #67a2bf;
  font-size: 17px;
  letter-spacing: -0.06em;
}
.svc-process-image {
  aspect-ratio: 1.45;
  background: #edf5fa;
  border-top: 1px solid #e6eff5;
  border-bottom: 1px solid #e6eff5;
}
.svc-process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.svc-image-contain img {
  object-fit: contain;
  background: #eef6fc;
  padding: 8px;
}
.svc-process-card ul {
  list-style: none;
  margin: 0;
  padding: 18px 16px 20px;
  font-size: 12px;
  line-height: 1.85;
  color: #728b9a;
}
.svc-process-card li {
  position: relative;
  padding-left: 11px;
  margin: 0 0 7px;
}
.svc-process-card li:last-child {
  margin-bottom: 0;
}
.svc-process-card li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #70a8c4;
}
.svc-testing {
  background: var(--svc-soft);
  border-top: 1px solid #e7f0f5;
  border-bottom: 1px solid #e7f0f5;
  padding-bottom: 58px;
}
.svc-testing-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.svc-test-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--svc-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.svc-test-card:hover {
  border-color: #9dc6dd;
  box-shadow: 0 8px 24px #2559740d;
  transform: translateY(-3px);
}
.svc-test-card h3 {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin: 0;
  padding: 17px 15px;
  color: #265770;
  line-height: 1.6;
}
.svc-test-image {
  aspect-ratio: 1.45;
  position: relative;
  overflow: hidden;
  background: #eef6fb;
  border-block: 1px solid #eaf1f6;
}
.svc-test-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.svc-test-image.svc-image-contain img {
  object-fit: contain;
}
.svc-test-card p {
  padding: 15px 15px 18px;
  margin: 0;
  color: #78909f;
  font-size: 11px;
  line-height: 1.9;
}
.svc-test-other .svc-test-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #1b547030;
}
.svc-custom {
  background: #eff6fa;
  border-block: 1px solid #e4eef4;
}
.svc-custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid #d7e6ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.svc-custom-visual {
  margin: 0;
  min-height: 380px;
  position: relative;
  background: #edf5fa;
  overflow: hidden;
}
.svc-custom-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-custom-visual figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 28px 21px;
  background: linear-gradient(transparent, #163a529e);
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.04em;
}
.svc-custom-content {
  padding: 36px 38px;
}
.svc-custom-lead {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  color: #2a5974;
  margin: 0 0 24px;
}
.svc-custom-item {
  display: flex;
  gap: 15px;
  margin: 0 0 20px;
}
.svc-custom-item > span {
  font-size: 12px;
  color: #70a5be;
  padding-top: 2px;
  font-weight: 500;
}
.svc-custom-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #315e75;
  margin: 0 0 6px;
}
.svc-custom-item p {
  font-size: 13px;
  line-height: 1.95;
  color: #7b919f;
  margin: 0;
  max-width: 380px;
}
.svc-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  scroll-margin-top: 100px;
}
.svc-advantage-card {
  border: 1px solid var(--svc-line);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  min-width: 0;
}
.svc-advantage-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 11px;
  margin: 0;
  padding: 20px 20px;
  font-size: 17px;
  font-weight: 600;
  color: #27556f;
  white-space: nowrap;
}
.svc-advantage-card h3 span {
  font-size: 11px;
  color: #80abc0;
  font-weight: 400;
}
.svc-advantage-card > img {
  width: 100%;
  aspect-ratio: 1.85;
  object-fit: cover;
  border-block: 1px solid #e4edf4;
}
.svc-advantage-card > p {
  font-size: 13px;
  line-height: 1.95;
  margin: 0;
  padding: 20px 20px 23px;
  color: #78909f;
}
.svc-cases {
  background: #f4f8fb;
  border-top: 1px solid #e6eef4;
}
.svc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.svc-noscript {
  font-size: 13px;
  color: #5b7d91;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--svc-line);
  border-radius: 6px;
}
.svc-noscript a {
  color: #1268a5;
  text-decoration: underline;
}
@media (min-width: 1700px) {
  .svc-hero {
    height: 595px;
  }
  .svc-hero-content {
    padding-top: 99px;
  }
  .svc-hero-content h1 {
    font-size: 60px;
  }
  .svc-test-card h3 {
    padding-inline: 22px;
    font-size: 16px;
  }
  .svc-test-card p {
    padding-inline: 22px;
    font-size: 12px;
  }
  .svc-test-image {
    aspect-ratio: 1.55;
  }
}
@media (max-width: 1180px) {
  .svc-section {
    padding: 62px 0;
  }
  .svc-heading h2 {
    font-size: 29px;
  }
  .svc-process-grid {
    gap: 12px;
  }
  .svc-process-card h3 {
    padding: 17px 12px;
    font-size: 14px;
    gap: 6px;
  }
  .svc-process-card h3 > span {
    font-size: 15px;
  }
  .svc-process-card ul {
    padding: 15px 12px 17px;
    font-size: 11px;
  }
  .svc-test-card h3 {
    padding: 15px 10px;
    font-size: 13px;
  }
  .svc-test-card p {
    padding: 13px 10px 16px;
    font-size: 10px;
  }
  .svc-testing-grid {
    gap: 7px;
  }
  .svc-custom-content {
    padding: 32px;
  }
  .svc-advantages-grid {
    gap: 16px;
  }
  .svc-advantage-card h3 {
    padding: 18px 15px;
    font-size: 15px;
    gap: 7px;
  }
  .svc-advantage-card > p {
    font-size: 12px;
    padding: 18px 15px 20px;
  }
}
@media (max-width: 980px) {
  .svc-hero {
    height: 530px;
  }
  .svc-hero-shade {
    background: linear-gradient(90deg, #f5fafef7, #f5fafedb 45%, #f5fafe50 76%, transparent);
  }
  .svc-slide figcaption {
    right: 24px;
    font-size: 13px;
  }
  .svc-hero-signature {
    display: none;
  }
  .svc-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .svc-process-card h3 {
    padding: 18px 17px;
    font-size: 16px;
  }
  .svc-process-card ul {
    font-size: 12px;
    padding: 18px 17px;
  }
  .svc-process-image {
    aspect-ratio: 1.65;
  }
  .svc-process-card:nth-child(4),
  .svc-process-card:nth-child(5) {
    grid-column: auto;
  }
  .svc-testing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .svc-test-card h3 {
    padding: 17px 15px;
    font-size: 15px;
  }
  .svc-test-card p {
    padding: 15px;
    font-size: 11px;
  }
  .svc-custom-layout {
    grid-template-columns: 1fr 1fr;
  }
  .svc-custom-visual {
    min-height: 390px;
  }
  .svc-custom-content {
    padding: 29px 25px;
  }
  .svc-custom-lead {
    font-size: 22px;
  }
  .svc-custom-item p {
    font-size: 12px;
  }
  .svc-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .svc-advantage-card h3 {
    padding: 20px;
    font-size: 17px;
  }
  .svc-advantage-card > p {
    font-size: 13px;
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .svc-section {
    padding: 43px 0;
  }
  .svc-heading {
    display: block;
    margin-bottom: 25px;
  }
  .svc-heading h2 {
    font-size: 26px;
  }
  .svc-heading > p {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.85;
  }
  .svc-hero {
    height: 570px;
  }
  .svc-hero-shade {
    background: linear-gradient(
      180deg,
      #f5fafef7 0%,
      #f5fafef0 35%,
      #f5fafee0 49%,
      #f5fafe28 82%,
      #0a365155 100%
    );
  }
  .svc-slide > img {
    object-position: 58% center;
  }
  .svc-slide:nth-child(4) > img {
    object-position: 65% center;
  }
  .svc-slide figcaption {
    right: 18px;
    bottom: 91px;
    font-size: 12px;
  }
  .svc-hero-bottom {
    bottom: 21px;
  }
  .svc-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .svc-process-card h3 {
    padding: 15px 12px;
    font-size: 14px;
    gap: 7px;
  }
  .svc-process-card ul {
    font-size: 11px;
    padding: 15px 12px;
  }
  .svc-process-image {
    aspect-ratio: 1.35;
  }
  .svc-process-card:nth-child(5) {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .svc-process-card:nth-child(5) h3 {
    grid-column: 1/-1;
  }
  .svc-process-card:nth-child(5) .svc-process-image {
    aspect-ratio: 1.5;
    border-bottom: 0;
  }
  .svc-process-card:nth-child(5) ul {
    padding: 10px 15px 14px;
  }
  .svc-testing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .svc-test-card h3 {
    font-size: 14px;
    padding: 14px 12px;
  }
  .svc-test-card p {
    font-size: 11px;
    padding: 13px 12px 15px;
  }
  .svc-test-image {
    aspect-ratio: 1.4;
  }
  .svc-test-other {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .svc-test-other h3 {
    grid-column: 1/-1;
  }
  .svc-test-other .svc-test-image {
    aspect-ratio: 1.7;
    border-bottom: 0;
  }
  .svc-test-other p {
    align-self: center;
    padding: 13px 18px;
  }
  .svc-custom-layout {
    display: flex;
    flex-direction: column;
  }
  .svc-custom-visual {
    min-height: 0;
    height: 245px;
  }
  .svc-custom-visual figcaption {
    font-size: 12px;
    padding: 25px 20px 16px;
  }
  .svc-custom-content {
    padding: 27px 23px;
  }
  .svc-custom-lead {
    font-size: 23px;
    margin-bottom: 22px;
  }
  .svc-custom-item p {
    font-size: 12px;
    line-height: 1.9;
  }
  .svc-advantages-grid {
    gap: 13px;
  }
  .svc-advantage-card h3 {
    padding: 16px 12px;
    font-size: 14px;
    gap: 7px;
    white-space: normal;
  }
  .svc-advantage-card h3 span {
    font-size: 9px;
  }
  .svc-advantage-card > img {
    aspect-ratio: 1.45;
  }
  .svc-advantage-card > p {
    padding: 15px 12px 18px;
    font-size: 11px;
    line-height: 1.9;
  }
}
@media (max-width: 360px) {
  .svc-process-card h3 {
    font-size: 12px;
    padding-inline: 10px;
    gap: 5px;
  }
  .svc-test-card h3 {
    font-size: 13px;
  }
  .svc-advantage-card h3 {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-slide,
  .svc-test-card {
    transition: none;
  }
  .svc-test-card:hover {
    transform: none;
  }
}
@media (max-width: 640px) {
  .svc-process-card:nth-child(5) {
    display: block;
  }
  .svc-process-card:nth-child(5) .svc-process-image {
    height: 190px;
    aspect-ratio: auto;
    border-bottom: 1px solid #e6eff5;
  }
  .svc-process-card:nth-child(5) .svc-process-image img {
    object-fit: contain;
    background: #f0f6fa;
  }
  .svc-process-card:nth-child(5) ul {
    padding: 15px 16px 18px;
  }
  .svc-test-other {
    display: block;
  }
  .svc-test-other .svc-test-image {
    height: 168px;
    aspect-ratio: auto;
    border-bottom: 1px solid #eaf1f6;
  }
  .svc-test-other p {
    padding: 13px 14px 16px;
  }
}

/* 轮播文字与产品中心采用相同的内容宽度、位置与字号规则。 */
@media (max-width: 1400px) {
  .svc-hero-content {
    padding-top: 48px;
  }
  .svc-hero-content h1 {
    font-size: 52px;
  }
  .svc-hero-intro {
    font-size: 17px;
    line-height: 1.9;
  }
}
@media (max-width: 1180px) {
  .svc-hero-content {
    width: calc(100% - 48px);
  }
  .svc-hero-content h1 {
    font-size: 48px;
  }
  .svc-hero-intro {
    max-width: 540px;
  }
}
@media (max-width: 980px) {
  .svc-hero-content {
    padding-top: 48px;
  }
  .svc-hero-content h1 {
    font-size: 44px;
  }
  .svc-hero-content > div {
    max-width: 540px;
  }
}
@media (max-width: 700px) {
  .svc-hero-content {
    padding-top: 38px;
  }
  .svc-hero-content > div {
    max-width: 440px;
  }
  .svc-hero-content h1 {
    font-size: 38px;
    margin-bottom: 10px;
  }
  .svc-hero-intro {
    font-size: 15px;
    line-height: 2;
  }
}
@media (max-width: 480px) {
  .svc-hero-content {
    width: calc(100% - 36px);
  }
  .svc-hero-content h1 {
    font-size: 36px;
  }
  .svc-hero-intro {
    font-size: 14.5px;
  }
}
@media (max-width: 360px) {
  .svc-hero-content h1 {
    font-size: 34px;
  }
  .svc-hero-intro {
    font-size: 14px;
  }
}

/* 服务流程卡片：聚焦当前卡片，其余卡片轻度退场。 */
.svc-process-card {
  position: relative;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.svc-process-image {
  overflow: hidden;
}
.svc-process-image img {
  transition: transform 0.45s ease;
}
@media (hover: hover) and (pointer: fine) {
  .svc-process-grid:hover .svc-process-card {
    opacity: 0.46;
    transform: scale(0.985);
    filter: saturate(0.72);
  }
  .svc-process-grid .svc-process-card:hover {
    z-index: 2;
    opacity: 1;
    transform: translateY(-10px) scale(1.018);
    filter: none;
    border-color: #79bee8;
    box-shadow: 0 18px 44px #185b842b;
  }
  .svc-process-grid .svc-process-card:hover .svc-process-image img {
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-process-card,
  .svc-process-image img {
    transition: none;
  }
  .svc-process-grid:hover .svc-process-card,
  .svc-process-grid .svc-process-card:hover,
  .svc-process-grid .svc-process-card:hover .svc-process-image img {
    transform: none;
  }
}
