
  .as-core-services {
    --as-service-navy: #203f67;
    --as-service-navy-dark: #172f4e;
    --as-service-teal: #0799a5;
    --as-service-teal-dark: #087f8a;
    --as-service-title: #172334;
    --as-service-body: #5c6875;
    --as-service-muted: #7c8995;
    --as-service-background: #f4f7f9;
    --as-service-card: #ffffff;
    --as-service-border: #dfe7ec;
    --as-service-soft: #edf3f6;

    width: 100%;
    padding: 46px 24px 52px;
    overflow: hidden;
    background: var(--as-service-background);
    box-sizing: border-box;
  }

  .as-core-services,
  .as-core-services * {
    box-sizing: border-box;
  }

  .as-core-services__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
  }

  /* 标题区域 */

  .as-core-services__header {
    display: grid;
    grid-template-columns:
      minmax(360px, 0.9fr)
      minmax(420px, 1.1fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 25px;
  }

  .as-core-services__title {
    margin: 0;
    color: var(--as-service-title);
    font-size: clamp(32px, 3.3vw, 44px);
    font-weight: 730;
    line-height: 1.14;
    letter-spacing: -0.027em;
  }

  .as-core-services__intro {
    max-width: 670px;
    margin: 0;
    color: var(--as-service-body);
    font-size: 14px;
    line-height: 1.7;
  }

  /* 隐藏单选按钮，但保留切换能力 */

  .as-core-services__switch {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  /* 服务切换栏 */

  .as-core-services__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
    margin-bottom: 16px;
    border: 1px solid var(--as-service-border);
    background: #ffffff;
  }

  .as-core-services__tab {
    position: relative;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 19px;
    color: #687583;
    background: #ffffff;
    border-right: 1px solid var(--as-service-border);
    cursor: pointer;
    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }

  .as-core-services__tab:last-child {
    border-right: 0;
  }

  .as-core-services__tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: transparent;
  }

  .as-core-services__tab-number {
    color: var(--as-service-teal);
    font-size: 11px;
    font-weight: 800;
  }

  .as-core-services__tab-text {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
  }

  #as-service-structural:checked
  ~ .as-core-services__tabs
  label[for="as-service-structural"],

  #as-service-dfma:checked
  ~ .as-core-services__tabs
  label[for="as-service-dfma"] {
    color: var(--as-service-navy);
    background: #f3f8f9;
  }

  #as-service-structural:checked
  ~ .as-core-services__tabs
  label[for="as-service-structural"]::after,

  #as-service-dfma:checked
  ~ .as-core-services__tabs
  label[for="as-service-dfma"]::after {
    background: var(--as-service-teal);
  }

  #as-service-structural:focus-visible
  ~ .as-core-services__tabs
  label[for="as-service-structural"],

  #as-service-dfma:focus-visible
  ~ .as-core-services__tabs
  label[for="as-service-dfma"] {
    outline: 3px solid rgba(7, 153, 165, 0.25);
    outline-offset: 3px;
  }

  /* 面板显示逻辑 */

  .as-core-services__panel {
    display: none;
    grid-template-columns:
      minmax(420px, 0.96fr)
      minmax(0, 1.04fr);
    min-height: 355px;
    overflow: hidden;
    border: 1px solid var(--as-service-border);
    background: var(--as-service-card);
    box-shadow: 0 13px 35px rgba(23, 47, 78, 0.08);
  }

  #as-service-structural:checked
  ~ .as-core-services__panels
  .as-core-services__panel--structural {
    display: grid;
  }

  #as-service-dfma:checked
  ~ .as-core-services__panels
  .as-core-services__panel--dfma {
    display: grid;
  }

  /* 图片区域 */

  .as-core-services__media {
    position: relative;
    min-width: 0;
    min-height: 355px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px;
    overflow: hidden;
    background:
      linear-gradient(
        145deg,
        #edf2f5 0%,
        #f8fafb 100%
      );
  }

  .as-core-services__media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
      linear-gradient(
        rgba(32, 63, 103, 0.09) 1px,
        transparent 1px
      ),
      linear-gradient(
        90deg,
        rgba(32, 63, 103, 0.09) 1px,
        transparent 1px
      );
    background-size: 36px 36px;
  }

  .as-core-services__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 307px;
    object-fit: contain;
    object-position: center;
  }

  .as-core-services__image-label {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    max-width: 245px;
    padding: 11px 14px;
    color: #ffffff;
    background: rgba(32, 63, 103, 0.94);
    box-shadow: 0 10px 25px rgba(18, 42, 70, 0.18);
  }

  .as-core-services__image-label strong {
    display: block;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.4;
  }

  .as-core-services__image-label span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    line-height: 1.4;
  }

  /* 文字区域 */

  .as-core-services__content {
    min-width: 0;
    padding: 33px 42px 31px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .as-core-services__category {
    margin: 0 0 10px;
    color: var(--as-service-teal);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .as-core-services__service-title {
    max-width: 590px;
    margin: 0;
    color: var(--as-service-title);
    font-size: clamp(27px, 2.8vw, 38px);
    font-weight: 730;
    line-height: 1.14;
    letter-spacing: -0.023em;
  }

  .as-core-services__description {
    max-width: 650px;
    margin: 15px 0 0;
    color: var(--as-service-body);
    font-size: 13px;
    line-height: 1.68;
  }

  .as-core-services__description
  + .as-core-services__description {
    margin-top: 7px;
  }

  /* 能力点 */

  .as-core-services__features {
    display: grid;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 19px;
  }

  .as-core-services__feature {
    min-width: 0;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }

  .as-core-services__feature span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--as-service-teal);
    font-size: 10px;
    font-weight: 800;
  }

  .as-core-services__feature p {
    margin: 0;
    color: #4f5e6c;
    font-size: 11px;
    line-height: 1.5;
  }

  /* 按钮 */

  .as-core-services__button {
    width: fit-content;
    min-height: 49px;
    margin-top: 23px;
    padding: 12px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    color: #ffffff !important;
    background: var(--as-service-teal);
    border: 1px solid var(--as-service-teal);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .as-core-services__button:hover,
  .as-core-services__button:focus-visible {
    color: #ffffff !important;
    background: var(--as-service-teal-dark);
    border-color: var(--as-service-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 11px 24px rgba(7, 153, 165, 0.2);
  }

  .as-core-services__button svg {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
  }

  .as-core-services__button:hover svg {
    transform: translateX(4px);
  }

  .as-core-services__button:focus-visible {
    outline: 3px solid rgba(7, 153, 165, 0.25);
    outline-offset: 4px;
  }

  /* 中等屏幕 */

  @media (max-width: 1050px) {
    .as-core-services__panel {
      grid-template-columns:
        minmax(370px, 0.9fr)
        minmax(0, 1.1fr);
    }

    .as-core-services__content {
      padding: 30px 31px;
    }

    .as-core-services__features {
      grid-template-columns: 1fr;
    }
  }

  /* 平板 */

  @media (max-width: 850px) {
    .as-core-services {
      padding: 42px 21px 47px;
    }

    .as-core-services__header {
      grid-template-columns: 1fr;
      gap: 11px;
      margin-bottom: 21px;
    }

    .as-core-services__panel {
      grid-template-columns: 1fr;
    }

    .as-core-services__media {
      min-height: 320px;
    }

    .as-core-services__image {
      max-height: 275px;
    }

    .as-core-services__content {
      padding: 30px;
    }

    .as-core-services__features {
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }
  }

  /* 手机端 */

  @media (max-width: 640px) {
    .as-core-services {
      padding: 35px 16px 39px;
    }

    .as-core-services__title {
      font-size: 30px;
      line-height: 1.18;
    }

    .as-core-services__intro {
      font-size: 13px;
      line-height: 1.65;
    }

    .as-core-services__tabs {
      grid-template-columns: 1fr;
      margin-bottom: 12px;
    }

    .as-core-services__tab {
      min-height: 51px;
      border-right: 0;
      border-bottom: 1px solid var(--as-service-border);
    }

    .as-core-services__tab:last-child {
      border-bottom: 0;
    }

    .as-core-services__media {
      min-height: 245px;
      padding: 14px;
    }

    .as-core-services__image {
      max-height: 220px;
    }

    .as-core-services__image-label {
      right: 11px;
      bottom: 11px;
      padding: 9px 11px;
    }

    .as-core-services__image-label span {
      display: none;
    }

    .as-core-services__content {
      padding: 25px 20px 26px;
    }

    .as-core-services__service-title {
      font-size: 28px;
    }

    .as-core-services__description {
      font-size: 13px;
    }

    .as-core-services__features {
      grid-template-columns: 1fr;
      margin-top: 17px;
    }

    .as-core-services__button {
      width: 100%;
      justify-content: space-between;
      margin-top: 21px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .as-core-services__button,
    .as-core-services__button svg {
      transition: none;
    }
  }
