.pg-service-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf4fa 0%, #ffffff 100%);
  perspective: 1400px;
}

.pg-service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(47, 134, 198, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  pointer-events: none;
}

.pg-service-hero-media {
  position: absolute;
  inset: 0;
}

.pg-service-hero-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
}

.pg-service-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 58%;
  transform: scale(1.06);
  filter: saturate(0.88) brightness(0.84) contrast(1.02);
}

.pg-service-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(7, 25, 47, 0.94) 0%, rgba(7, 25, 47, 0.88) 30%, rgba(7, 25, 47, 0.72) 48%, rgba(7, 25, 47, 0.44) 68%, rgba(7, 25, 47, 0.16) 100%),
    linear-gradient(180deg, rgba(11, 43, 79, 0.06) 0%, rgba(11, 43, 79, 0.24) 100%);
}

.pg-service-hero-tech,
.pg-service-hero-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pg-service-hero-tech::before,
.pg-service-hero-tech::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.pg-service-hero-tech::before {
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(133, 191, 244, 0.28) 1.4px, transparent 2.2px);
  background-size: 28px 28px;
  opacity: 0.24;
  mask-image: linear-gradient(90deg, transparent 0, transparent 24%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.84) 72%, transparent 100%);
}

.pg-service-hero-tech::after {
  top: 9%;
  right: 2%;
  width: min(46vw, 540px);
  height: min(60vh, 470px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='148' viewBox='0 0 170 148'%3E%3Cg fill='none' stroke='rgba(124,178,222,0.22)' stroke-width='1.2'%3E%3Cpath d='M42.5 1 L84.5 25 L84.5 73 L42.5 97 L0.5 73 L0.5 25 Z'/%3E%3Cpath d='M127.5 1 L169.5 25 L169.5 73 L127.5 97 L85.5 73 L85.5 25 Z'/%3E%3Cpath d='M84.5 50 L126.5 74 L126.5 122 L84.5 146 L42.5 122 L42.5 74 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 184px 160px;
  background-repeat: repeat;
  opacity: 0.68;
  transform: translateZ(24px);
}

.pg-service-hero-network {
  opacity: 0.92;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.02) 16%, rgba(0, 0, 0, 0.58) 30%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.02) 16%, rgba(0, 0, 0, 0.58) 30%, rgba(0, 0, 0, 1) 100%);
}

.pg-service-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(11px) saturate(0.96);
  -webkit-backdrop-filter: blur(11px) saturate(0.96);
  mask-image: radial-gradient(circle at 45% 49%, transparent 21%, rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.9) 100%);
  -webkit-mask-image: radial-gradient(circle at 45% 49%, transparent 21%, rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
}

.pg-service-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.7rem;
  min-height: clamp(560px, 66vh, 650px);
  padding: clamp(4.6rem, 7vw, 5.9rem) 0 clamp(1.7rem, 3vw, 2.3rem);
}

.pg-service-hero .container {
  width: min(1460px, calc(100% - 84px));
}

.pg-service-hero-shell {
  max-width: 680px;
}

.pg-service-hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 680px;
}

.pg-service-hero-copy .pg-kicker {
  color: rgba(255, 255, 255, 0.84);
}

.pg-service-hero-copy .pg-title {
  max-width: 9.2ch;
  color: #ffffff;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.064em;
  text-wrap: pretty;
}

.pg-service-hero-copy .pg-lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.pg-service-hero-note {
  max-width: 44ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.64;
}

.pg-service-hero .pg-button {
  box-shadow: 0 18px 36px rgba(8, 33, 61, 0.28);
}

.pg-service-hero .pg-button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.pg-service-hero .pg-button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}

.pg-service-hero-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 1100px;
}

.pg-service-hero-summary span {
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(11, 43, 79, 0.1);
  box-shadow: 0 18px 34px rgba(8, 33, 61, 0.1);
  color: var(--pg-navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.pg-service-hero-summary span:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 108, 232, 0.22);
  box-shadow: 0 22px 40px rgba(8, 33, 61, 0.12);
}

.pg-service-snapshot {
  margin-top: 0.3rem;
}

.pg-service-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.28fr) minmax(0, 0.72fr);
  gap: 2rem;
  align-items: start;
}

.pg-service-nav {
  position: sticky;
  top: calc(var(--pg-utility-height) + var(--pg-header-height) + 1.8rem);
  display: grid;
  gap: 0.35rem;
  padding-right: 1rem;
}

.pg-service-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(15, 38, 67, 0.1);
  color: var(--pg-navy);
  font-weight: 700;
  line-height: 1.45;
}

.pg-service-nav a:hover {
  color: var(--pg-blue);
}

.pg-service-stack {
  display: grid;
  gap: 2.7rem;
}

.pg-service-section {
  display: grid;
  gap: 1.15rem;
}

.pg-service-section h2 {
  margin: 0;
  color: var(--pg-navy);
  font-size: clamp(1.78rem, 2.65vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.pg-service-section p {
  margin: 0;
  color: var(--pg-ink-soft);
  line-height: 1.72;
}

.pg-service-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  gap: 1.8rem;
  align-items: center;
}

.pg-service-row.reverse {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.pg-service-row.reverse .pg-service-copy {
  order: 2;
}

.pg-service-row.reverse .pg-service-image {
  order: 1;
}

.pg-service-copy {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  transition: transform 280ms ease;
}

.pg-service-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: var(--pg-shadow);
}

.pg-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.pg-service-image--interpreter img {
  object-position: 52% 36%;
}

.pg-service-image--field img {
  object-position: 28% 28%;
}

.pg-service-image--procurement img {
  object-position: 50% 50%;
}

.pg-service-image--interpreter,
.pg-service-image--field {
  aspect-ratio: 4 / 3;
}

.pg-service-image::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.18;
  z-index: 1;
}

.pg-service-section:hover .pg-service-copy {
  transform: translateY(-2px);
}

.pg-service-image:hover img {
  transform: scale(1.04);
}

.pg-service-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.pg-service-points li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--pg-ink-soft);
  line-height: 1.64;
  overflow-wrap: anywhere;
}

.pg-service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pg-blue);
}

.pg-service-anchor-space {
  scroll-margin-top: calc(var(--pg-utility-height) + var(--pg-header-height) + 2rem);
}

@media (max-width: 1080px) {
  .pg-service-layout,
  .pg-service-row,
  .pg-service-row.reverse {
    grid-template-columns: 1fr;
  }

  .pg-service-hero-inner {
    min-height: auto;
  }

  .pg-service-nav {
    position: static;
    padding-right: 0;
  }

  .pg-service-row .pg-service-copy,
  .pg-service-row.reverse .pg-service-copy {
    order: 1;
  }

  .pg-service-row .pg-service-image,
  .pg-service-row.reverse .pg-service-image {
    order: 2;
  }

  .pg-service-hero-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pg-service-hero .container {
    width: min(100%, calc(100% - 44px));
  }

  .pg-service-anchor-space {
    scroll-margin-top: 96px;
  }

  .pg-service-hero-shell,
  .pg-service-hero-copy {
    max-width: 100%;
  }

  .pg-service-hero-copy .pg-title {
    max-width: 10ch;
    font-size: clamp(2.5rem, 7vw, 3.9rem);
  }

  .pg-service-section h2 {
    max-width: 12.6ch;
    font-size: clamp(1.62rem, 4.6vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.034em;
  }
}

@media (max-width: 640px) {
  .pg-service-hero-bg {
    object-position: 54% 58%;
  }

  .pg-service-hero-inner {
    gap: 1rem;
    min-height: 500px;
    padding-top: 2.8rem;
    padding-bottom: 1.15rem;
  }

  .pg-service-hero-copy .pg-title {
    max-width: 9.5ch;
    font-size: clamp(1.72rem, 7vw, 2.14rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .pg-service-hero-copy .pg-lead {
    max-width: 29ch;
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .pg-service-hero-note {
    max-width: 29ch;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .pg-service-hero-network {
    mask-image: linear-gradient(90deg, transparent 0, transparent 44%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 1) 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 44%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 1) 100%);
  }

  .pg-service-hero-summary {
    grid-template-columns: 1fr;
  }

  .pg-service-section h2 {
    max-width: 14ch;
    font-size: clamp(1.28rem, 5.6vw, 1.52rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .pg-service-row {
    gap: 1rem;
  }

  .pg-service-copy {
    gap: 0.8rem;
  }

  .pg-service-image {
    aspect-ratio: 4 / 3;
  }

  .pg-service-nav a {
    padding: 0.72rem 0;
    font-size: 0.96rem;
  }

  .pg-service-points li {
    line-height: 1.58;
  }

  .pg-service-hero-tech::after {
    width: 68vw;
    height: 50vh;
    top: 15%;
    right: -4%;
    opacity: 0.52;
  }
}

/* ======================================================================
   V16 MOBILE SERVICE ROW STABILITY
   ====================================================================== */

.pg-service-copy,
.pg-service-image,
.pg-service-section h2,
.pg-service-section p,
.pg-service-points li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pg-service-image--interpreter img {
  object-position: 48% 42%;
}

.pg-service-image--field img {
  object-position: 44% 28%;
}

@media (max-width: 980px) {
  .pg-service-row,
  .pg-service-row.reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .pg-service-row .pg-service-copy,
  .pg-service-row.reverse .pg-service-copy {
    order: 1 !important;
    width: 100%;
  }

  .pg-service-row .pg-service-image,
  .pg-service-row.reverse .pg-service-image {
    order: 2 !important;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .pg-service-section h2 {
    max-width: 12.5ch;
    font-size: clamp(1.18rem, 5vw, 1.42rem);
    line-height: 1.18;
    letter-spacing: -0.016em;
  }

  .pg-service-points li {
    line-height: 1.55;
  }
}

/* ======================================================================
   V17 FINAL SERVICES MOBILE / IMAGE CLEANUP
   ====================================================================== */

.pg-service-section h2,
.pg-service-copy p,
.pg-service-points li,
.pg-service-nav a {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.pg-service-image--interpreter img {
  object-position: 50% 42% !important;
}

.pg-service-image--procurement img {
  object-position: 50% 26% !important;
}

@media (max-width: 980px) {
  .pg-service-section h2 {
    max-width: 13.2ch !important;
  }
}

@media (max-width: 640px) {
  .pg-service-section h2 {
    max-width: 13.4ch !important;
    font-size: clamp(1.22rem, 5vw, 1.46rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.018em !important;
  }

  .pg-service-copy p,
  .pg-service-points li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* ======================================================================
   V18 FINAL SERVICES PROCUREMENT / MOBILE TITLE CLEANUP
   ====================================================================== */

.pg-service-image--procurement {
  aspect-ratio: 4 / 3;
}

@media (max-width: 640px) {
  .pg-service-copy p,
  .pg-service-points li,
  .pg-service-nav a {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

/* ======================================================================
   V20 FINAL SERVICE MOBILE / IMAGE LOCK
   ====================================================================== */

.pg-service-image {
  overflow: hidden !important;
}

.pg-service-image--interpreter img {
  object-position: 50% 48% !important;
}

.pg-service-image--field img {
  object-position: 50% 32% !important;
}

@media (max-width: 640px) {
  .pg-service-section h2 {
    max-width: 15.6ch !important;
    font-size: clamp(1.12rem, 4.8vw, 1.34rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.015em !important;
  }
}

/* ======================================================================
   V21 FINAL SERVICE IMAGE FRAMING
   ====================================================================== */

.pg-service-image--interpreter img {
  object-position: 52% 56% !important;
}

.pg-service-image--procurement img {
  object-position: 50% 44% !important;
}

@media (max-width: 980px) {
  .pg-service-image--interpreter img {
    object-position: 50% 58% !important;
  }

  .pg-service-image--procurement img {
    object-position: 50% 46% !important;
  }
}
