.page-services {
  background: #fff;
}

.services-top,
.services-shell {
  max-width: var(--width);
  margin: 0 auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.services-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: clamp(28rem, 43vw, 36rem);
  padding: clamp(3rem, 7vw, 5.25rem) 0 2rem;
}

.services-main__background {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  display: block;
  width: min(71%, 940px);
  height: calc(100% - 1rem);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 44%, rgb(0 0 0 / 18%) 57%, #000 76% 100%);
  mask-image: linear-gradient(90deg, transparent 0 44%, rgb(0 0 0 / 18%) 57%, #000 76% 100%);
}

.services-main__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 70%, rgb(255 255 255 / 82%) 88%, #fff 100%);
}

.services-main__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-main__background img {
  object-position: right top;
}

.service-offering__media .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-hero__content {
  position: relative;
  z-index: 1;
  width: min(58%, 660px);
  min-width: 0;
}

.services-hero h1 {
  max-width: 14.5ch;
  margin-bottom: 1.45rem;
  font-size: var(--type-h1);
  line-height: 1.02;
  overflow-wrap: normal;
}

.services-hero .lead {
  max-width: 60ch;
  margin-bottom: 1.1rem;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.48;
  font-weight: 700;
}

.services-hero__body { display: grid; max-width: 66ch; gap: 0.65rem; }

.services-hero__body p,
.service-offering__body p,
.service-offering__result p,
.service-offering__investment p,
.services-closing p {
  margin: 0;
}

.services-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.55rem; }
.services-hero__button { min-width: 12.8rem; justify-content: center; }

.services-hero__button--secondary,
.service-offering__action .button {
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
}

.services-index {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: -0.25rem 0 1rem;
  scroll-margin-top: 5.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem;
  background: #fff;
  box-shadow: 0 14px 32px rgb(16 42 67 / 6%);
}

.services-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.services-index__item + .services-index__item { border-left: 1px solid var(--line); }

.services-index__number { display: grid; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgb(0 139 174 / 10%); color: var(--blue); font-size: 0.78rem; font-weight: 780; place-items: center; }

.services-index__label { min-width: 0; font-size: 0.82rem; line-height: 1.25; font-weight: 760; }
.services-shell { position: relative; z-index: 1; padding-top: 0; padding-bottom: 4rem; }
.services-list { display: grid; gap: 0.7rem; }

.service-offering {
  display: grid;
  grid-template-columns: minmax(9.5rem, 12.5rem) minmax(0, 1fr) minmax(16rem, 18rem);
  grid-template-areas: "media content result" "media content investment" "media content action";
  align-items: stretch;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  gap: 0.9rem;
  background: #fff;
  box-shadow: 0 16px 36px rgb(16 42 67 / 7%);
  scroll-margin-top: 96px;
}

.service-offering--featured { border-left-color: var(--blue); }
.service-offering__media { grid-area: media; align-self: stretch; }

.service-offering__media .media { width: 100%; height: 100%; min-height: 10rem; margin: 0; aspect-ratio: 16 / 10; background: transparent; }

.service-offering__media .media__surface,
.service-offering__media .media__label,
.service-offering__media .media__meta { display: none; }

.service-offering__content {
  display: grid;
  grid-area: content;
  align-content: center;
  min-width: 0;
}

.service-offering__title-row { display: flex; align-items: baseline; min-width: 0; gap: 0.65rem; }

.service-offering__number { margin: 0; color: var(--teal); font-size: clamp(1.55rem, 2.1vw, 2rem); line-height: 1; font-weight: 780; }

.service-offering h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.14;
}

.service-offering__subtitle { margin: 0.25rem 0 0.5rem; color: var(--blue); font-size: 0.93rem; line-height: 1.38; font-weight: 780; }

.service-offering__body { display: grid; gap: 0.35rem; max-width: 66ch; font-size: 0.93rem; line-height: 1.58; }

.service-offering__included { display: grid; gap: 0.35rem; margin-top: 0.65rem; }

.service-offering__included-label { color: var(--ink); font-size: 0.67rem; font-weight: 760; letter-spacing: 0.05em; text-transform: uppercase; }

.service-offering__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.service-offering__chips span {
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: rgb(244 247 251 / 78%);
  color: var(--blue);
  font-size: 0.7rem;
  line-height: 1.25;
  font-weight: 650;
}

.service-offering__result {
  display: grid;
  grid-area: result;
  align-content: center;
  gap: 0.3rem;
  margin: 0;
  border-radius: var(--radius);
  padding: 0.88rem 0.95rem;
  background: linear-gradient(135deg, rgb(0 139 174 / 10%), rgb(24 111 175 / 7%));
  font-size: 0.86rem;
  line-height: 1.44;
}

.service-offering__result-label { color: var(--ink); font-size: 0.88rem; font-weight: 780; }
.service-offering__investment { display: grid; grid-area: investment; align-content: start; gap: 0; margin-top: 10px; border-top: 1px solid rgba(8, 67, 108, 0.14); padding: 10px 0 0; background: transparent !important; color: #5d7488; }
.service-offering__investment * { background: transparent !important; }
.service-offering__investment-value { display: flex; align-items: baseline; gap: 0.35rem; margin: 0 0 3px; color: #062b49; line-height: 1.15; }
.service-offering__investment-icon { display: block; flex: 0 0 auto; width: 1.55rem; height: 1.55rem; align-self: center; }
.service-offering__investment-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.service-offering__investment-prefix { color: #5d7488; font-size: 12px; font-weight: 500; }
.service-offering__investment-value strong { font-size: 18px; font-weight: 700; }
.service-offering__action { grid-area: action; align-self: start; margin-top: 14px; }
.service-offering__action .button {
  width: 100%;
  min-height: 42px;
  padding: 9px 18px;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.services-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fff, rgb(238 247 252 / 82%));
}

.services-pricing-note { max-width: 980px; margin: 14px auto 22px; color: #5d7488; font-size: 12px; line-height: 1.45; text-align: center; }
.services-closing h2 { margin: 0 0 0.25rem; font-size: 1.15rem; line-height: 1.25; }
.services-closing .button { min-width: 15.75rem; max-width: 100%; border-radius: 8px; padding: 0.85rem 1.25rem; box-shadow: 0 10px 24px rgb(16 42 67 / 16%); }
