/**
 * Our Services page
 */

/* Shared */
.page-services .services-section-header {
  max-width: none;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  text-align: left;
}

.page-services .services-section-header.inner-section-header--center {
  text-align: left;
}

.page-services .services-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(33, 69, 255, 0.08);
  border: 1px solid rgba(33, 69, 255, 0.14);
}

.page-services .services-icon img {
  /*width: 1.25rem;
  height: 1.25rem;*/
      opacity: 0.65;
        mix-blend-mode: multiply;
        width: 80%;
  object-fit: contain;
}

/* Operational service journey */
.page-services .services-journey {
  background: var(--color-white);
}

.page-services .services-journey__layout {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

.page-services .services-journey__intro {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-services .services-journey__title {
  max-width: 14em;
  text-wrap: balance;
}

.page-services .services-journey__title-line {
  display: block;
}

.page-services .services-journey__flow {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-services .services-journey__layout {
  position: relative;
}

.page-services .services-journey__layout::before {
  content: '';
  position: absolute;
  top: clamp(5rem, 12vw, 7rem);
  bottom: 0.5rem;
  left: 1.625rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-light-grey) 4%,
    var(--color-light-grey) 96%,
    transparent 100%
  );
  pointer-events: none;
}

.page-services .services-journey__step {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.page-services .services-journey__step:first-child {
  padding-top: 0;
}

.page-services .services-journey__step + .services-journey__step {
  border-top: 1px solid rgba(217, 219, 227, 0.9);
}

.page-services .services-journey__step + .services-journey__step::after {
  content: '';
  position: absolute;
  top: -1px;
  left: calc(3.25rem + clamp(1.5rem, 3vw, 2.75rem));
  width: clamp(3rem, 10vw, 5rem);
  height: 2px;
  background: var(--color-electric-blue);
  opacity: 0.45;
}

.page-services .services-journey__step-aside {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 0.65rem;
}

.page-services .services-journey__marker {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--color-white);
  border: 2px solid var(--color-electric-blue);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px var(--color-light-grey-22),
    0 2px 6px rgba(7, 29, 73, 0.08);
}

.page-services .services-journey__step:nth-child(even) .services-journey__marker {
  border-color: var(--color-yellow);
}

.page-services .services-journey__step-body {
  min-width: 0;
  max-width: 52rem;
}

.page-services .services-journey__step-title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.5rem);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.page-services .services-journey__step-text {
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
  line-height: 1.78;
  color: var(--color-navy);
}

.page-services .services-journey__step-highlight {
  margin: clamp(1.5rem, 2.5vw, 2rem) 0 0;
  padding-top: clamp(1.25rem, 2vw, 1.5rem);
  border-top: 1px solid var(--color-light-grey);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--color-secondary-blue);
}

.page-services .services-supporting {
  background: var(--color-light-grey-22);
}

.page-services .services-supporting__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}

.page-services .services-supporting__item {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--color-white);
  border: 1px solid rgba(217, 219, 227, 0.85);
  border-radius: var(--radius-md);
}

.page-services .services-supporting__title {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--color-navy);
}

.page-services .services-supporting__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-navy);
}

.page-services .services-supporting__highlight {
  margin: 0;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-light-grey-35);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-secondary-blue);
}

/* HSE + Procurement — one continuous band */
.page-services .services-hse,
.page-services .services-procurement {
  background: var(--color-light-grey-22);
}

/* Operational framework — standalone white section below HSE / Procurement */
.page-services .services-framework {
  background: var(--color-white);
  border-top: 1px solid rgba(217, 219, 227, 0.9);
}

.page-services .services-hse__split,
.page-services .services-procurement__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.page-services .services-procurement__split--reverse .services-procurement__media {
  order: 2;
}

.page-services .services-procurement__split--reverse .services-procurement__body {
  order: 1;
}

.page-services .services-hse__image,
.page-services .services-procurement__image {
  position: relative;
  height: clamp(18rem, 36vw, 26rem);
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(7, 29, 73, 0.1);
}

.page-services .services-hse__image img,
.page-services .services-procurement__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-services .services-hse__header,
.page-services .services-procurement__header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.page-services .services-hse__prose,
.page-services .services-procurement__prose {
  max-width: 38rem;
}

.page-services .services-hse__prose p,
.page-services .services-procurement__prose p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-services .services-hse__stat {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 20rem;
  border-top: 1px solid rgba(217, 219, 227, 0.85);
}

.page-services .services-hse__stat-value {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.page-services .services-hse__stat-label {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-secondary-blue);
}

.page-services .services-framework__header {
  max-width: none;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.page-services .services-framework__title {
  max-width: 26em;
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.page-services .services-framework__title::after {
  margin-top: clamp(0.75rem, 1.25vw, 1rem);
}

.page-services .services-framework__title-line {
  display: block;
  line-height: 1.1;
}

.page-services .services-framework__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.125rem, 2vw, 1.5rem);
  align-items: stretch;
}

.page-services .services-framework__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: clamp(1.375rem, 2.2vw, 1.75rem);
  background: var(--color-white);
  border: 1px solid rgba(217, 219, 227, 0.85);
  border-radius: var(--radius-md);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.page-services .services-framework__card:hover {
  border-color: rgba(33, 69, 255, 0.22);
  box-shadow: 0 10px 28px rgba(7, 29, 73, 0.07);
}

.page-services .services-framework__card-title {
  margin: 0;
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--color-navy);
}

.page-services .services-framework__card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-secondary-blue);
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 1100px) {
  .page-services .services-supporting__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .page-services .services-hse__split,
  .page-services .services-procurement__split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .page-services .services-procurement__split--reverse .services-procurement__media,
  .page-services .services-procurement__split--reverse .services-procurement__body {
    order: unset;
  }

  .page-services .services-framework__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-services .services-journey__layout {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .page-services .services-journey__layout::before {
    display: none;
  }


  .page-services .services-journey__step {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: clamp(2rem, 5vw, 2.5rem) 0;
  }

  .page-services .services-journey__step + .services-journey__step::after {
    left: 0;
  }

  .page-services .services-journey__step-aside {
    justify-content: flex-start;
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .page-services .services-framework__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-services .services-framework__card {
    transition: none;
  }
}
