/*
 * ShuiYiYuan service page template v1
 *
 * One clean stylesheet for future bilingual child service pages. It replaces
 * the historical service-pillar and child-component cascade; load it after
 * /styles.css and before the small, page-scoped page.css file.
 */

html.service-child-shell {
  scroll-behavior: smooth;
}

body.service-child-page {
  --service-navy: #0c3658;
  --service-blue: #176ea7;
  --service-pale: #eaf3fb;
  --service-tint: #f7fbff;
  --service-line: #d1e0ea;
  --service-copy: #385468;
  --service-muted: #6c8192;
  --service-dark: #082d4e;
  --service-gutter: 64px;
  --service-content-max: 1792px;
  --service-hero-shell: 1920px;
  --service-radius: 8px;
  margin: 0;
  color: var(--service-copy);
  background: #fff;
}

body.service-child-page main {
  padding-top: 68px;
}

body.service-child-page img {
  display: block;
  max-width: 100%;
}

body.service-child-page figure {
  margin: 0;
}

body.service-child-page .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 10px 24px;
  color: #16364f;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(198, 216, 228, .9);
  box-shadow: 0 8px 28px rgba(12, 54, 88, .055);
  backdrop-filter: blur(16px);
}

body.service-child-page .site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.service-child-page .site-header .brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

body.service-child-page .site-header .brand strong,
body.service-child-page .site-header .brand small {
  display: block;
}

body.service-child-page .site-header .brand strong {
  font-size: 16px;
  line-height: 1.1;
}

body.service-child-page .site-header .brand small {
  color: #6a7786;
  font-size: 11.5px;
  line-height: 1.2;
}

body.service-child-page .site-header .site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #29445d;
  font-size: 12.2px;
  font-weight: 700;
}

body.service-child-page .site-header .site-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

body.service-child-page .site-header .site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-width: 84px;
  min-height: 38px;
  padding: 0 12px;
  color: #fff;
  background: #154f83;
  border-radius: var(--service-radius);
}

body.service-child-page .site-header .header-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

body.service-child-page .site-header .language-switcher {
  min-width: 98px;
  min-height: 40px;
  padding: 0 11px;
  color: #29445d;
  background: #f2f7fa;
  border-color: #cbd9e6;
}

body.service-child-page .site-header .nav-toggle {
  display: none;
}

body.global-tech-page.service-child-page .service-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--service-pale);
  border-bottom: 1px solid var(--service-line);
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  width: min(calc(100% - 64px), 840px);
  margin: 0 auto;
  padding: 48px 0 38px;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 23px;
  color: #668095;
  font-size: 12px;
  font-weight: 750;
}

.service-breadcrumb a {
  color: #3d617b;
}

.service-eyebrow {
  margin: 0 0 12px;
  color: var(--service-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-hero h1 {
  margin: 0;
  color: #0f1726;
  font-size: clamp(40px, 5.2vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-hero__lead {
  margin: 22px 0 0;
  color: #334f65;
  font-size: 17px;
  line-height: 1.68;
}

.service-hero__boundary {
  margin: 14px 0 0;
  padding-left: 14px;
  color: #587186;
  font-size: 14px;
  line-height: 1.6;
  border-left: 3px solid #8ebbd7;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.service-hero__actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 46px;
  padding: 0 20px;
  font-size: 13.5px;
}

.service-hero__media {
  position: relative;
  overflow: hidden;
  background: #f8fcff;
  border: 1px solid #c9dce8;
  border-radius: var(--service-radius);
  box-shadow: 0 18px 42px rgba(8, 45, 78, .12);
}

.service-hero__media::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, #0c3658, #176ea7, #76afcf);
  content: "";
}

.service-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: var(--service-hero-image-fit, cover);
  object-position: var(--service-hero-image-position, center);
}

.service-hero__media figcaption {
  padding: 13px 17px 15px;
  color: #657d8e;
  font-size: 13px;
  line-height: 1.55;
  border-top: 1px solid #dce8ef;
}

.service-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 64px), 840px);
  margin: 0 auto;
  padding-bottom: 30px;
}

.service-signals div {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  box-shadow: 0 12px 28px rgba(8, 45, 78, .06);
}

.service-signals strong,
.service-signals span {
  display: block;
}

.service-signals strong {
  color: var(--service-navy);
  font-size: 14px;
  line-height: 1.3;
}

.service-signals span {
  margin-top: 7px;
  color: #6d8292;
  font-size: 12px;
  line-height: 1.45;
}

body.global-tech-page.service-child-page .service-section {
  padding: 58px 32px 64px;
}

.service-section--tint {
  background: var(--service-tint);
  border-top: 1px solid #e0eaf0;
  border-bottom: 1px solid #e0eaf0;
}

.service-section--dark {
  color: #dcebf4;
  background: var(--service-dark);
}

.service-section__heading {
  width: min(100%, 1180px);
  margin: 0 auto 32px;
}

.service-section__heading h2,
.service-child-dark-copy h2 {
  margin: 0;
  color: #0f1726;
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-section__heading > p:not(.service-eyebrow) {
  margin: 16px 0 0;
  color: #49657a;
  font-size: 15px;
  line-height: 1.7;
}

.service-section--dark .service-eyebrow {
  color: #9dd1ec;
}

.service-section--dark h2,
.service-section--dark h3 {
  color: #fff;
}

.service-child-card-grid,
.service-child-info-grid,
.service-child-proof-grid,
.service-child-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.service-child-card,
.service-child-info-card,
.service-child-proof,
.service-child-resource {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cadce7;
  border-radius: var(--service-radius);
  box-shadow: 0 12px 28px rgba(12, 54, 88, .06);
}

.service-child-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-child-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: var(--service-child-image-position, center);
  background: #edf4f8;
  border-bottom: 1px solid #d8e5ed;
}

.service-child-card__body,
.service-child-info-card,
.service-child-proof {
  padding: 22px 24px 24px;
  border-top: 3px solid var(--service-blue);
}

.service-child-card__index,
.service-child-info-card > span,
.service-child-proof > span {
  display: block;
  margin-bottom: 10px;
  color: var(--service-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.service-child-card h3,
.service-child-info-card h3,
.service-child-proof h3,
.service-child-resource h3 {
  margin: 0 0 10px;
  color: var(--service-navy);
  font-size: 22px;
  line-height: 1.3;
}

.service-child-card p,
.service-child-info-card p,
.service-child-proof p,
.service-child-resource p {
  margin: 0;
  color: #4d697d;
  font-size: 15px;
  line-height: 1.65;
}

.service-child-dark-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.service-child-dark-copy > p:last-child {
  margin: 22px 0 0;
  color: #d2e5f0;
  font-size: 15px;
  line-height: 1.7;
}

.service-child-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--service-radius);
}

.service-child-process article {
  min-height: 230px;
  padding: 28px 30px;
}

.service-child-process article + article {
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.service-child-process article:nth-child(2) {
  background: rgba(255, 255, 255, .1);
}

.service-child-process span {
  color: #9dd1ec;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.service-child-process h3 {
  margin: 14px 0 10px;
  font-size: 23px;
  line-height: 1.35;
}

.service-child-process p {
  margin: 0;
  color: #d2e5f0;
  font-size: 15px;
  line-height: 1.7;
}

.service-child-support-strip,
.service-child-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 7px;
}

.service-child-support-strip {
  color: #dff2fb;
  background: rgba(255, 255, 255, .07);
  border-left: 3px solid #81c2e3;
}

.service-child-chip-list {
  color: #4d687c;
  background: #fff;
  border: 1px solid #cadce7;
}

.service-child-support-strip strong,
.service-child-chip-list strong {
  margin-right: 6px;
  color: inherit;
  font-size: 14px;
}

.service-child-support-strip span,
.service-child-chip-list span {
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}

.service-child-support-strip span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}

.service-child-chip-list span {
  color: #24526f;
  background: #edf6fb;
  border: 1px solid #c9dfec;
}

.service-child-info-card,
.service-child-proof {
  min-height: 220px;
}

.service-child-info-card h3,
.service-child-proof h3 {
  font-size: 20px;
}

.service-child-proof-grid,
.service-child-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-child-resource-grid {
  gap: 24px;
}

.service-child-resource {
  display: block;
  padding: 24px 26px;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-child-resource:hover,
.service-child-resource:focus-visible {
  border-color: #8fbad3;
  box-shadow: 0 16px 36px rgba(12, 54, 88, .09);
  transform: translateY(-2px);
}

.service-child-resource__label {
  display: block;
  margin-bottom: 12px;
  color: var(--service-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.global-tech-page.service-child-page .service-rfq {
  padding: 72px 32px;
  color: #fff;
  background: #0d253e;
}

.service-rfq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.service-rfq h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-rfq p {
  margin: 22px 0 0;
  color: #dcecf5;
  font-size: 17px;
  line-height: 1.75;
}

.service-rfq__package {
  width: min(100%, 540px);
  padding: 26px 28px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--service-radius);
}

.service-rfq__package strong {
  color: #b8ddf0;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-rfq__package ul {
  margin: 17px 0 23px;
  padding-left: 20px;
  color: #edf7fc;
  font-size: 15px;
  line-height: 1.75;
}

.service-rfq__package .button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  color: #154f83;
  background: #fff;
  border: 1px solid #fff;
}

.service-rfq__package .button.primary:hover,
.service-rfq__package .button.primary:focus-visible {
  color: #fff;
  background: #0f679e;
}

body.service-child-page .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  padding: 24px 72px;
  color: rgba(255, 255, 255, .72);
  background: #15181c;
  font-size: 13.76px;
}

/* Tablet: fluid layout, two-column cards, compact navigation.
 * The shell declarations are intentionally important because /styles.css uses
 * important fixed-desktop values at the same breakpoints. Component rules stay
 * in the normal cascade.
 */
@media (min-width: 768px) and (max-width: 1181px) {
  html.service-child-shell,
  html.service-child-shell body.global-tech-page.service-child-page {
    overflow-x: hidden !important;
    overflow-x: clip !important;
  }

  html.service-child-shell,
  html.service-child-shell body.global-tech-page.service-child-page,
  html.service-child-shell body.global-tech-page.service-child-page main,
  html.service-child-shell body.global-tech-page.service-child-page main > section,
  html.service-child-shell body.global-tech-page.service-child-page .site-header,
  html.service-child-shell body.global-tech-page.service-child-page .site-footer {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: none !important;
    max-inline-size: none !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header {
    position: fixed !important;
    display: flex !important;
    grid-template-columns: none !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 10px 24px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand {
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 148px) !important;
    height: 42px !important;
    flex: 0 1 auto !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .header-tools {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    margin-left: auto !important;
    gap: 8px !important;
    flex: 0 0 148px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher {
    width: 98px !important;
    min-width: 98px !important;
    max-width: 98px !important;
    flex: 0 0 98px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher .language-menu-toggle {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav {
    position: absolute !important;
    top: 68px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 50 !important;
    display: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(255, 255, 255, .99) !important;
    border-bottom: 1px solid #cbdce7 !important;
    box-shadow: 0 20px 38px rgba(12, 54, 88, .12) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav {
    display: grid !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav a,
  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav .nav-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav .nav-cta {
    justify-content: center !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .header-tools {
    margin-left: auto !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .nav-toggle {
    display: flex !important;
    flex: 0 0 42px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 42px !important;
    height: 42px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .nav-toggle span {
    margin: 0 !important;
  }

  .service-child-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-child-dark-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-rfq__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Desktop: 1920px is the reference composition, not a fixed minimum canvas.
 * Background surfaces remain fluid while the inner composition is capped and
 * centered. This also neutralizes the historical fixed-canvas rules in
 * /styles.css without creating horizontal scrolling below 1920px.
 */
@media (min-width: 1181px) {
  html.service-child-shell {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: none !important;
    max-inline-size: none !important;
    overflow-x: clip !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page,
  html.service-child-shell body.global-tech-page.service-child-page main,
  html.service-child-shell body.global-tech-page.service-child-page main > section,
  html.service-child-shell body.global-tech-page.service-child-page .site-header,
  html.service-child-shell body.global-tech-page.service-child-page .site-footer {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: none !important;
    max-inline-size: none !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page {
    --service-hero-left: clamp(64px, 6.98vw, 134px);
    overflow-x: clip !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page main {
    padding-top: 0;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header {
    position: sticky;
    top: 0;
    display: grid !important;
    grid-template-columns: clamp(200px, 15.625vw, 300px) minmax(0, 1fr) clamp(96px, 5.833vw, 112px) !important;
    align-items: center;
    height: 72px;
    min-height: 72px;
    padding: 0 max(clamp(32px, 2.813vw, 54px), calc((100% - var(--service-hero-shell)) / 2 + 54px)) !important;
    column-gap: clamp(18px, 1.771vw, 34px) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand {
    width: clamp(200px, 15.625vw, 300px) !important;
    min-width: 0 !important;
    height: 42px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav {
    justify-content: flex-end;
    width: auto !important;
    min-width: 0 !important;
    height: 38px;
    margin: 0 !important;
    gap: clamp(8px, 1.146vw, 22px) !important;
    font-size: clamp(10.5px, .635vw, 12.2px) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav .nav-cta {
    width: auto !important;
    min-width: clamp(100px, 6.146vw, 118px) !important;
    padding: 0 clamp(12px, .833vw, 16px) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .header-tools,
  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher {
    width: clamp(96px, 5.833vw, 112px) !important;
    min-width: clamp(96px, 5.833vw, 112px) !important;
    max-width: clamp(96px, 5.833vw, 112px) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .header-tools {
    justify-content: flex-end;
    height: 48px;
    margin: 0 !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher {
    justify-content: center;
    height: 46px;
    min-height: 46px;
    padding: 0 12px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher > span,
  html.service-child-shell body.global-tech-page.service-child-page .site-header .nav-toggle {
    display: none;
  }

  body.global-tech-page.service-child-page .service-hero {
    height: 710px;
    min-height: 710px;
    padding: 0;
    border: 0;
  }

  .service-hero__inner {
    grid-template-columns: minmax(460px, .9535fr) minmax(0, 1fr);
    gap: clamp(32px, 3.75vw, 72px);
    width: min(100%, var(--service-hero-shell));
    min-width: 0;
    max-width: var(--service-hero-shell);
    height: 710px;
    margin: 0 auto;
    padding: 54px clamp(24px, 1.771vw, 34px) 138px var(--service-hero-left);
  }

  .service-breadcrumb {
    margin-bottom: 18px;
  }

  .service-hero h1 {
    width: 100%;
    max-width: 820px;
    margin: 0 0 22px;
    font-size: clamp(46px, 3vw, 57.6px);
  }

  .service-hero__lead,
  .service-hero__boundary {
    width: 100%;
    max-width: 800px;
  }

  .service-hero__lead {
    margin: 0;
    font-size: 16px;
  }

  .service-hero__actions {
    flex-wrap: nowrap;
    height: 46px;
  }

  .service-hero__media {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 484px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 54px rgba(8, 45, 78, .15);
  }

  .service-hero__media img {
    width: 100%;
    height: 484px;
    aspect-ratio: auto;
    object-fit: var(--service-hero-image-fit, cover);
    object-position: var(--service-hero-image-position, center 50%);
  }

  .service-hero__media figcaption {
    display: none;
  }

  .service-signals {
    position: absolute;
    bottom: 30px;
    left: max(var(--service-hero-left), calc((100% - var(--service-hero-shell)) / 2 + 134px));
    z-index: 3;
    grid-template-columns: repeat(4, 198px);
    gap: 16px;
    width: min(840px, calc(100% - var(--service-hero-left) - 64px));
    margin: 0;
    padding: 0;
  }

  .service-signals div {
    min-height: 88px;
    padding: 15px 14px;
    background: rgba(255, 255, 255, .84);
    border-color: rgba(123, 166, 194, .32);
  }

  .service-signals strong {
    font-size: 14px;
    line-height: 1.22;
  }

  .service-signals span {
    font-size: 11.5px;
    line-height: 1.35;
  }

  body.global-tech-page.service-child-page .service-section {
    padding: 54px var(--service-gutter) 64px;
  }

  .service-section--tint {
    border: 0;
  }

  .service-section__heading,
  .service-child-card-grid,
  .service-child-info-grid,
  .service-child-proof-grid,
  .service-child-resource-grid,
  .service-child-dark-layout,
  .service-rfq__inner {
    width: 100%;
    max-width: var(--service-content-max);
    margin-right: auto;
    margin-left: auto;
  }

  .service-section__heading {
    margin-bottom: 32px;
    padding: 0 0 18px 22px;
  }

  .service-section__heading h2 {
    width: 780px;
    max-width: 780px;
    font-size: 38.4px;
    line-height: 1.06;
  }

  .service-section__heading > p:not(.service-eyebrow) {
    width: 900px;
    max-width: 900px;
  }

  .service-child-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-child-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-child-dark-layout {
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 90px;
  }

  .service-child-dark-copy h2 {
    font-size: 48px;
    line-height: 1.12;
  }

  .service-child-process article {
    min-height: 230px;
  }

  .service-child-proof-grid,
  .service-child-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.global-tech-page.service-child-page .service-rfq {
    padding: 84px var(--service-gutter);
  }

  .service-rfq__inner {
    grid-template-columns: minmax(0, .837fr) minmax(430px, 1fr);
    gap: 64px;
  }

  .service-rfq h2 {
    font-size: 44.8px;
  }

  .service-rfq__package {
    width: 100%;
    max-width: none;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-footer {
    height: 68.6px !important;
    min-height: 68.6px !important;
    padding: 24px max(72px, calc((100% - var(--service-hero-shell)) / 2 + 72px)) !important;
  }
}

/* Mobile: a 430px reference composition that remains fluid below 430px.
 * The width bridge overrides the global desktop minimum before content flows.
 */
@media (max-width: 768px) {
  html.service-child-shell {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow-x: auto !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page,
  html.service-child-shell body.global-tech-page.service-child-page main,
  html.service-child-shell body.global-tech-page.service-child-page main > section,
  html.service-child-shell body.global-tech-page.service-child-page .site-header,
  html.service-child-shell body.global-tech-page.service-child-page .site-footer {
    width: 100% !important;
    inline-size: 100% !important;
    min-width: 0 !important;
    min-inline-size: 0 !important;
    max-width: none !important;
    max-inline-size: none !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page main {
    padding-top: 66px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header {
    position: fixed !important;
    display: flex !important;
    grid-template-columns: none !important;
    height: 66px !important;
    min-height: 66px !important;
    padding: 10px 18px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand {
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 116px) !important;
    height: 42px !important;
    gap: 10px !important;
    flex: 0 1 auto !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand strong {
    font-size: 15px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .brand small {
    display: none;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .header-tools {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    margin-left: auto !important;
    gap: 8px !important;
    flex: 0 0 116px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    flex: 0 0 66px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher > span {
    display: none;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher select {
    width: 48px;
    max-width: 48px;
    padding: 0;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .language-switcher .language-menu-toggle {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav {
    position: absolute !important;
    top: 66px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 50 !important;
    display: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px !important;
    background: rgba(255, 255, 255, .99) !important;
    border-bottom: 1px solid #cbdce7 !important;
    box-shadow: 0 20px 38px rgba(12, 54, 88, .12) !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav {
    display: grid !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav a,
  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav .nav-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .site-nav .nav-cta {
    justify-content: center;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .nav-toggle {
    display: flex !important;
    flex: 0 0 42px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 42px !important;
    height: 42px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header .nav-toggle span {
    margin: 0;
  }

  .service-hero__inner {
    gap: 28px;
    width: calc(100% - 36px);
    max-width: 394px;
    padding: 38px 0 32px;
  }

  .service-hero h1,
  html[lang^="zh"] .service-hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .service-hero__lead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.72;
  }

  .service-hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero__actions .button {
    width: 100%;
  }

  .service-hero__media img {
    object-fit: var(--service-hero-image-fit, contain);
  }

  .service-signals {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 36px);
    max-width: 394px;
    padding-bottom: 30px;
  }

  body.global-tech-page.service-child-page .service-section,
  body.global-tech-page.service-child-page .service-rfq {
    padding: 50px 18px;
  }

  .service-section__heading {
    margin-bottom: 28px;
  }

  .service-section__heading h2,
  .service-child-dark-copy h2 {
    font-size: 29px;
    line-height: 1.34;
  }

  .service-section__heading > p:not(.service-eyebrow) {
    font-size: 16px;
    line-height: 1.75;
  }

  .service-child-card-grid,
  .service-child-info-grid,
  .service-child-proof-grid,
  .service-child-resource-grid,
  .service-child-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .service-child-card__body,
  .service-child-info-card,
  .service-child-proof,
  .service-child-resource {
    padding: 21px 20px 22px;
  }

  .service-child-card h3,
  .service-child-resource h3 {
    font-size: 20px;
  }

  .service-child-process article {
    min-height: 0;
    padding: 23px 21px;
  }

  .service-child-process article + article {
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-left: 0;
  }

  .service-child-support-strip,
  .service-child-chip-list {
    align-items: flex-start;
  }

  .service-child-support-strip strong,
  .service-child-chip-list strong {
    flex-basis: 100%;
  }

  .service-child-info-card,
  .service-child-proof {
    min-height: 0;
  }

  .service-rfq__package {
    width: 100%;
    padding: 24px 22px;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: start !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 24px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-child-resource {
    transition: none;
  }
}

/* Shared service-page header dropdown. Global navigation provides the visual
 * language; these rules preserve it across the service template breakpoints. */
body.service-child-page .site-header .site-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

body.service-child-page .site-header .site-nav-dropdown-toggle {
  min-height: 38px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.service-child-page .site-header .site-nav-dropdown-menu a {
  display: grid;
  min-height: 0;
  padding: 12px 14px;
  white-space: normal;
}

@media (max-width: 1181px) {
  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav {
    max-height: calc(100dvh - 68px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav .site-nav-dropdown {
    display: grid !important;
    width: 100% !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav .site-nav-dropdown-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav .site-nav-dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav .site-nav-dropdown.is-open > .site-nav-dropdown-menu {
    display: grid !important;
  }

  html.service-child-shell body.global-tech-page.service-child-page .site-header.is-open .site-nav .site-nav-dropdown-menu a {
    display: grid !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
  }
}
