/* 国外�?�?服务说明（服务宗�?+ 服务内容�?*/

.g-service-banner .g-service-banner__desc {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.55;
  max-width: 35vw;
  margin: -8px auto 0;
  padding: 0 16px 2.08vw;
}

/* ========== 中文服务内容卡片（参考 g-pd-adv-row）========== */

.g-service-cn-zigzag {
  width: 100%;
}

.g-service-cn-row {
  position: relative;
  display: block;
  margin-bottom: clamp(4.17vw, 12vw, 5.21vw);
  aspect-ratio: 1680 / 596;
}

.g-service-cn-zigzag > .g-service-cn-row:last-of-type {
  margin-bottom: 0;
}

/* 奇数行：图片在左 */
.g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__media {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(1012 / 1680 * 100%);
  z-index: 1;
}

.g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__body {
  position: absolute;
  right: 0;
  top: 3.96vw;
  width: calc(1240 / 1680 * 100%);
  padding-left: calc((1012 / 1680 + 1240 / 1680 - 1) * 100% + 3.54vw);
  z-index: 0;
  background: #f6f6f7;
  padding-right: clamp(1.04vw, 3vw, 2.08vw);
  border-radius: 8px;
  box-sizing: border-box;
}

/* 偶数行：图片在右 */
.g-service-cn-zigzag > .g-service-cn-row:nth-child(even) .g-service-cn-row__media {
  position: absolute;
  right: 0;
  top: 0;
  width: calc(1012 / 1680 * 100%);
  z-index: 1;
}

.g-service-cn-zigzag > .g-service-cn-row:nth-child(even) .g-service-cn-row__body {
  position: absolute;
  left: 0;
  top: 3.96vw;
  width: calc(1240 / 1680 * 100%);
  z-index: 0;
  background: #f6f6f7;
  padding: clamp(1.04vw, 3vw, 2.08vw);
  border-radius: 8px;
  box-sizing: border-box;
}

.g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__heading,
.g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__lead,
.g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__sub {
  max-width: 100%;
}

.g-service-cn-row__media {
  width: calc(1012 / 1680 * 100%);
}

.g-service-cn-row__figure {
  overflow: hidden;
  aspect-ratio: 39 / 20;
  
  width: 100%;
  border-radius: 8px;
}

.g-service-cn-row__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-service-cn-row__body {
  width: calc(1012 / 1680 * 100%);
  aspect-ratio: 124 / 52;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.g-service-cn-row__heading {
  max-width: 50%;
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(0.94vw, 2.2vw, 1.88vw);
  color: #2b2b2b;
  margin: 0 ;
  line-height: 1.3;
}

.g-service-cn-row__lead {
  max-width: 50%;
  font-family: 'Source Han Sans', sans-serif;
  font-size: clamp(15px, 1.6vw, 1.15vw);
  line-height: 1.65;
  color: #313447;
  margin: 0;
  margin-bottom: 16px;
  white-space: pre-line;
}

.g-service-cn-row__rule {
  width: 48%;
  height: 1px;
  margin: clamp(8px, 4vw, 2.08vw) 0 clamp(8px, 4vw, 2.08vw);
  background: #e0e0e0;
  position: relative;
}

.g-service-cn-row__rule::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 5.83vw;
  height: 3px;
  background: #f5a200;
}

.g-service-cn-row__sub {
  max-width: 50%;
  font-family: 'Source Han Sans', sans-serif;
  font-size: clamp(14px, 1.4vw, 0.89vw);
  line-height: 1.6;
  color: #6A6D81;
  margin: 0;
  white-space: pre-line;
  margin-bottom: 1.04vw;
}

@media (max-width: 1236px) {
  .g-service-cn-row__heading,
  .g-service-cn-row__lead,
  .g-service-cn-row__sub {
    max-width: 100%;
  }

  .g-service-cn-row__heading {
    margin-top: 1.04vw;
  }

  .g-service-cn-row {
    margin-bottom: 1.04vw;
  }

  .g-service-cn-row__rule {
    width: 100%;
  }
}

@media (max-width: 1236px) {
  .g-service-cn-zigzag > .g-service-cn-row {
    flex-direction: column !important;
    aspect-ratio: unset;
    display: flex;
    position: static;
  }

  .g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__media,
  .g-service-cn-zigzag > .g-service-cn-row:nth-child(odd) .g-service-cn-row__body,
  .g-service-cn-zigzag > .g-service-cn-row:nth-child(even) .g-service-cn-row__media,
  .g-service-cn-zigzag > .g-service-cn-row:nth-child(even) .g-service-cn-row__body {
    position: static;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    padding: 0;
    background: transparent;
    aspect-ratio: unset;
  }

  .g-service-cn-row__media {
    max-width: none;
    order: -1;
  }

  .g-service-cn-row__body {
    max-width: none;
    padding: 16px 0 0;
  }

  .g-service-cn-row__figure {
    aspect-ratio: 16 / 9;
  }
}

.g-service-page .g-main {
  background: #fff;
}

:root {
  --g-service-accent: #f5a200;
  --g-service-dark-panel: #3c3f4d;
  --g-service-light-panel: #f5f5f5;
  --g-service-philosophy-bg: #f9f9f9;
  --g-service-text: #424558;
  --g-service-muted: #555;
}

.g-service-content .g-section-title {
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.04vw, 3vw, 2.08vw);
  line-height: 1.2;
  color: #424558;
  letter-spacing: 0.04em;
  margin: 0 0 clamp(1.25vw, 2vw, 2.5vw) 0;
}

html[lang="cn"] .g-service-content .g-section-title {
  position: relative;
  display: inline-block;
}

html[lang="cn"] .g-service-content .g-section-title__subtitle {
  display: block;
  font-size: clamp(14px, 4vw, 1.67vw);
  font-weight: 400;
  background: linear-gradient(to top, #E6E6E6, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: -0.2em;
  line-height: 1;
  font-style: italic;
}
.g-service-philosophy__title .g-section-title__subtitle {
  display: block;
  font-size: clamp(14px, 4vw, 1.67vw);
  font-weight: 400;
  background: linear-gradient(to top, #E6E6E6, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: -0.2em;
  line-height: 1;
  font-style: italic;
}



/* ---------- 服务宗旨 ---------- */
.g-service-philosophy {
  background: #fff;
  padding: clamp(2.08vw, 6vw, 3.75vw) 0;
}

.g-service-philosophy .container {

}

.g-service-philosophy__title {
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.04vw, 3vw, 2.08vw);
  color: var(--g-service-text);
  margin: 0 0 2.5vw;
  line-height: 1.2;
  position: relative;
}



.g-service-philosophy__lead {
  max-width: 72.92vw;
  margin: 0 0 2.08vw;
  font-size: 16px;
  line-height: 1.65;
  color: var(--g-service-muted);
}

/* 布局：Bootstrap .row + row-cols-2 / row-cols-md-5（service.hbs�?*/
.g-service-philosophy__stats {
  padding-bottom: 4px;
}

.g-service-philosophy__stat {
  min-width: 0;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  border-right: 1px solid #ddd;
}

.g-service-philosophy__stat:last-child {
  border-right: none;
}

.g-service-philosophy__value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.40px;
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: bold;
  font-size: clamp(1.25vw, 3.5vw, 2.5vw);
  color: var(--g-service-accent);
  line-height: 1.15;
  margin-bottom: 1.60px;
}

@media (min-width: 768px) {
  .g-service-philosophy__stat:first-child {
    text-align: left;
  }

  .g-service-philosophy__stat:last-child {
    text-align: right;
  }

  .g-service-philosophy__stat:first-child .g-service-philosophy__value {
    align-items: flex-start;
  }

  .g-service-philosophy__stat:last-child .g-service-philosophy__value {
    align-items: flex-end;
  }
}

.g-service-philosophy__value-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: inherit;
  gap: 0.05em;
}

/* �?：主数字 | 右侧列（�?+、下 Millions，与数字等高、底对齐�?*/
.g-service-philosophy__value-line--suffix-stack {
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0.06em;
}

.g-service-philosophy__value-num-wrap {
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.g-service-philosophy__suffix-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  line-height: 1;
  min-height: 0;
}

.g-service-philosophy__suffix--stack-top {
  font-size: 0.52em;
  font-weight: bold;
  line-height: 1;
  color: inherit;
}

.g-service-philosophy__sub-suffix--stack {
  display: block;
  font-size: 0.38em;
  font-weight: bold;
  line-height: 1.05;
  color: inherit;
  margin: 0;
}

.g-service-philosophy__suffix {
  font-weight: bold;
  color: inherit;
  top: -1.56vw;
  position: relative;
  font-size: 0.94vw;
}

@media (max-width: 1236px) {
  .g-service-philosophy__suffix {
    top: -11px;
  }
}
span.g-service-philosophy__suffix.g-service-philosophy__suffix--stack-top{
  font-weight: bold;
  color: inherit;
  top: -2px;
  position: relative;
  font-size: 16px;
}
.g-service-philosophy__suffix--sup {
  font-size: 1.25vw;
  font-weight: bold;
  line-height: 0;
  vertical-align: super;
  position: relative;
  top: 0px;
}

@media (max-width: 1236px) {
  .g-service-philosophy__suffix--sup {
    font-size: 14px;
  }
}

.g-service-philosophy__sub-suffix {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  color: inherit;
  margin-top: 0;
}

.g-service-philosophy__label {
  font-size: 14px;
  color: #2b2b2b;
  line-height: 1.35;
}
@media (max-width: 1236px) {
  .g-service-philosophy__suffix {
    display: none!important;
  }
  .g-service-philosophy__sub-suffix{
     display: none!important;
  }
}
@media (max-width: 767px) {
  .g-service-philosophy__lead {
    max-width: 100%;
  }
 

  .g-service-philosophy__stats {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

  .g-service-philosophy__stat {
    border-right: none;
    padding: 6px 4px;
    text-align: center;
  }

  /* 统计�?5 条时末行仅一项，占满一行并居中 */
  .g-service-philosophy__stats.row-cols-2 > .g-service-philosophy__stat:nth-child(5):last-child {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .g-service-philosophy__stat .g-service-philosophy__value,
  .g-service-philosophy__stat:first-child .g-service-philosophy__value,
  .g-service-philosophy__stat:last-child .g-service-philosophy__value {
    align-items: center;
  }

  .g-service-philosophy__value {
    font-size: clamp(1.08vw, 5.5vw, 1.58vw);
  }

  .g-service-philosophy__label {
    font-size: 13px;
    word-break: break-word;
  }
}

/* ---------- 服务内容总标�?---------- */
.g-service-content {
  padding: clamp(1.67vw, 5vw, 2.92vw) 0 0;
}

@media (max-width: 1236px) {
  .g-service-content {
    padding: 0;
    padding-top: 16px;
  }
}

.g-service-content .container {
  
}

.g-service-content__title {
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: bold;
  font-size: clamp(1.25vw, 3.5vw, 1.67vw);
  color: var(--g-service-text);
  margin: 0 0 1.46vw;
  line-height: 1.2;
}

/* ---------- 双栏卡片 ---------- */
.g-service-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: clamp(1.25vw, 4vw, 1.88vw);
}

.g-service-card:last-of-type {
  margin-bottom: 0;
}

.g-service-card__media {
  flex: 1 1 50%;
  min-height: 14.58vw;
  position: relative;
  background: #e8eaef;
}

.g-service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-service-card__img--placeholder {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}

.g-service-card__panel {
  flex: 1 1 50%;
  position: relative;
  padding: clamp(1.25vw, 4vw, 2.29vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 14.58vw;
}

/* 奇数项：图左文右（DOM：media �?panel）；偶数项：文左图右 */
.g-service-card--img-left {
  flex-direction: row;
}

.g-service-card--img-right {
  flex-direction: row-reverse;
}

.g-service-card--dark .g-service-card__panel {
  background: var(--g-service-dark-panel);
  color: #fff;
}

.g-service-card--light .g-service-card__panel {
  background: var(--g-service-light-panel);
  color: var(--g-service-text);
}

.g-service-card__big-title {
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: bold;
  font-size: clamp(1.04vw, 2.8vw, 10.94vw);
  color: var(--g-service-accent);
  margin: 0 0 1.04vw;
  line-height: 1.25;
}

.g-service-card--light .g-service-card__big-title {
  color: var(--g-service-accent);
}

.g-service-card__blocks {
  flex: 1;
}

.g-service-card__sub-title {
  font-family: 'Source Han Sans', system-ui, sans-serif;
  font-weight: bold;
  font-size: 0.88vw;
  margin: 0 0 8px;
  line-height: 1.35;
}

.g-service-card--dark .g-service-card__sub-title {
  color: #fff;
}

.g-service-card--light .g-service-card__sub-title {
  color: var(--g-service-text);
}

.g-service-card__sub-title--second {
  margin-top: 1.04vw;
}

.g-service-card__text--second-block {
  margin-top: 1.04vw;
}

.g-service-card__text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
}

.g-service-card--dark .g-service-card__text {
  color: rgba(255, 255, 255, 0.92);
}

.g-service-card--light .g-service-card__text {
  color: #333;
}

.g-service-card__text--standalone {
  margin-bottom: 0;
}

.g-service-card__accent {
  position: absolute;
  bottom: 1.04vw;
  width: 2.5vw;
  height: 4px;
  background: var(--g-service-accent);
  border-radius: 2px;
}

.g-service-card--dark .g-service-card__accent {
  right: clamp(1.04vw, 4vw, 2.29vw);
  left: auto;
}

.g-service-card--light .g-service-card__accent {
  left: clamp(1.04vw, 4vw, 2.29vw);
  right: auto;
}

@media (max-width: 767px) {
  .g-service-card,
  .g-service-card--img-left,
  .g-service-card--img-right {
    flex-direction: column;
  }

  .g-service-card__media {
    flex: 0 0 auto;
    min-height: 11.46vw;
    order: -1;
  }
  .g-service-philosophy__title{
    margin-bottom: 16px;
  }

  .g-service-card__panel {
    min-height: 0;
    padding-bottom: 2.08vw;
  }

  .g-service-card__accent {
    bottom: 16px;
  }
}
