.service-detail-page {
  color: #141414;
  background: #fff;
}

.service-detail-hero {
  border-bottom: 1px solid #e5e7eb;
}

.service-detail-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--codexo-grid-gap);
  align-items: center;
}

.service-detail-hero-copy,
.service-detail-hero-media {
  min-width: 0;
}

.service-detail-hero-copy {
  max-width: 690px;
}

.service-detail-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: var(--title-xl);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.service-detail-tagline {
  margin: 12px 0 0;
  color: #146cc9;
  font-size: var(--_typography---titles--h4);
  font-weight: 700;
  line-height: 1.25;
}

.service-detail-lead {
  max-width: 660px;
  margin: 10px 0 0;
  color: #4f5057;
  font-size: var(--codexo-type-lead);
  line-height: 1.6;
}

.service-detail-hero-copy .codexo-button-row {
  margin-top: 24px;
}

.service-detail-hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 650px;
  margin-top: 24px;
}

.service-detail-hero-form > input:not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d8d9de;
  border-radius: var(--codexo-card-radius);
  color: #141414;
  background: #fff;
  font: inherit;
}

.service-detail-hero-form > input:not([type="hidden"]):focus-visible {
  border-color: #146cc9;
  outline: 3px solid rgba(20, 108, 201, .18);
  outline-offset: 1px;
}

.service-detail-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--codexo-card-radius);
  background: #f1f2f4;
}

.service-detail-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.codexo-page-hero .service-detail-hero-media.service-detail-hero-media--service-animation {
  background: #141414;
}

.service-detail-starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #111213;
  pointer-events: none;
  transition: opacity .28s ease;
}

.service-detail-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.service-detail-hero-background--fallback {
  opacity: .7;
}

.service-detail-hero-media--service-animation.is-starfield-ready .service-detail-starfield {
  opacity: 1;
}

.service-detail-hero-media--service-animation.is-starfield-ready .service-detail-hero-background--fallback {
  opacity: 0;
}

.service-detail-hero-media--service-animation picture {
  position: relative;
  z-index: 1;
}

.codexo-page-hero .service-detail-hero-media--service-animation .service-detail-hero-image {
  background: transparent;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.service-detail-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: calc(var(--codexo-grid-gap) + 50px);
}

.service-detail-fact {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #e2e4e8;
  border-radius: var(--codexo-card-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 20, .025), 0 12px 30px rgba(20, 20, 20, .04);
}

.service-detail-fact-top {
  display: flex;
  min-height: 42px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-detail-fact-top strong {
  color: #146cc9;
  font-size: var(--_typography---titles--h3);
  line-height: 1;
  overflow-wrap: anywhere;
}

.service-detail-fact-top img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.service-detail-fact h2 {
  min-height: 2.5em;
  margin: 0 0 8px;
  font-size: var(--_typography---titles--h6);
  line-height: 1.25;
}

.service-detail-fact p {
  margin: 0;
  color: #67676d;
  font-size: var(--codexo-type-label);
  line-height: 1.45;
}

.codexo-page-hero .service-detail-fact-top {
  min-height: 42px;
  margin-bottom: 18px;
}

.codexo-page-hero .service-detail-fact h2 {
  min-height: 2.5em;
  margin: 0 0 8px;
}

.service-detail-section--muted,
.service-detail-process,
.service-detail-faq-section {
  background: #f8f9fa;
}

.service-detail-section--dark {
  color: #fff;
  background: #141414;
}

.section.service-feature-split {
  padding-block: 0 !important;
  background: #fff;
}

.service-feature-split__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: #141414;
}

.service-feature-split__media {
  min-width: 0;
  min-height: 300px;
  margin: 0;
  background: #eceef1;
}

.service-feature-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature-split__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  color: #fff;
}

.service-feature-split__content h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: var(--_typography---titles--h2);
  line-height: 1.16;
}

.service-feature-split__lead {
  max-width: 610px;
  margin: 14px 0 0;
  color: #c6c7cc;
  font-size: var(--codexo-type-lead);
  line-height: 1.55;
}

.service-feature-split__list {
  margin-top: 28px;
  border-top: 1px solid #393a3f;
}

.service-feature-split__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #393a3f;
}

.service-feature-split__item > span {
  color: #4c9aee;
  font-size: var(--codexo-type-label);
  font-weight: 700;
  line-height: 1.5;
}

.service-feature-split__item h3 {
  margin: 0;
  color: #fff;
  font-size: var(--codexo-type-card-title);
  line-height: 1.3;
}

.service-feature-split__item p {
  margin: 5px 0 0;
  color: #bfc0c5;
  font-size: var(--codexo-type-label);
  line-height: 1.5;
}

.service-feature-split--light .service-feature-split__layout {
  background: #fff;
}

.service-feature-split--light .service-feature-split__content,
.service-feature-split--light h2,
.service-feature-split--light h3 {
  color: #141414;
}

.service-feature-split--light .service-feature-split__lead,
.service-feature-split--light .service-feature-split__item p {
  color: #62636a;
}

.service-feature-split--light .service-feature-split__list,
.service-feature-split--light .service-feature-split__item {
  border-color: #d9dbe0;
}

.service-feature-split--light .service-feature-split__item > span {
  color: #146cc9;
}

.service-detail-heading {
  max-width: 760px;
  margin-bottom: var(--codexo-content-space);
}

.service-detail-heading h2 {
  margin: 0;
  font-size: var(--_typography---titles--h2);
  line-height: 1.16;
}

.service-detail-heading > p:last-child {
  max-width: 700px;
  margin: 14px 0 0;
  color: #67676d;
  font-size: var(--codexo-type-lead);
  line-height: 1.55;
}

.service-detail-heading--center {
  margin-inline: auto;
  text-align: center;
}

.service-detail-heading--center > p:last-child {
  margin-inline: auto;
}

.service-detail-section--dark .service-detail-heading > p:last-child {
  color: #c6c7cc;
}

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

.service-detail-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--codexo-grid-gap);
}

.service-detail-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e1e3e7;
  border-radius: var(--codexo-card-radius);
  background: #fff;
}

.service-detail-section--muted .service-detail-card {
  box-shadow: 0 12px 30px rgba(20, 20, 20, .035);
}

.service-detail-section--dark .service-detail-card {
  border-color: #33343a;
  background: #1d1d20;
}

.service-detail-card-number {
  margin-bottom: 28px;
  color: #146cc9;
  font-size: var(--codexo-type-label);
  font-weight: 700;
  line-height: 1;
}

.service-detail-card h3 {
  margin: 0 0 8px;
  font-size: var(--codexo-type-card-title);
  line-height: 1.25;
}

.service-detail-card p,
.service-detail-card li {
  color: #5c5d64;
  font-size: var(--codexo-type-lead);
  line-height: 1.55;
}

.service-detail-section--dark .service-detail-card p,
.service-detail-section--dark .service-detail-card li {
  color: #c6c7cc;
}

.service-detail-card p {
  margin: 0;
}

.service-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 19px;
}

.service-detail-card-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #141414;
  font-size: var(--codexo-type-label);
  font-weight: 700;
  text-decoration: none;
}

.service-detail-section--dark .service-detail-card-link {
  color: #fff;
}

.service-detail-card-link span {
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.service-detail-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid #d9dbe0;
}

.service-detail-process-step {
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid #d9dbe0;
}

.service-detail-process-step > span {
  display: block;
  margin-bottom: 28px;
  color: #146cc9;
  font-size: var(--codexo-type-label);
  font-weight: 700;
}

.service-detail-process-step h3 {
  margin: 0 0 8px;
  font-size: var(--codexo-type-card-title);
  line-height: 1.3;
}

.service-detail-process-step p {
  margin: 0;
  color: #62636a;
  font-size: var(--codexo-type-lead);
  line-height: 1.55;
}

/* Rich legacy service pages use the same visual contract while their forms and data remain intact. */
.service-detail-legacy {
  --sw-serif: var(--_fonts---font-family--primary-font);
  --sw-mono: var(--_fonts---font-family--primary-font);
}

.service-detail-legacy .sw-h2 em,
.service-detail-legacy .sw-h3 em,
.service-detail-legacy .sw-statement-headline em,
.service-detail-legacy .sw-mcard em,
.service-detail-legacy .sw-antitext em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.service-detail-legacy :is(.sw-perfcard, .sw-mcard, .sw-ocard, .sw-statement, .sw-compare-card, .sw-crosscard, .swdev-card, .swdev-counter, .swdev-build-card, .swdev-form-shell, .swdev-ms-option) {
  border-radius: var(--codexo-card-radius);
}

.service-detail-legacy :is(.swdev-problem, .swdev-form) {
  background: #f8f9fa;
}

.service-detail-legacy .swdev-card {
  border: 1px solid #e1e3e7;
  background: #fff;
}

.service-detail-legacy .swdev-build-card {
  border-color: #33343a;
  background: #1d1d20;
}

@media screen and (min-width: 580px) {
  .service-detail-facts,
  .service-detail-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-card-grid .service-detail-card h3 {
    min-height: 3.75em;
  }

  .service-detail-hero-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media screen and (min-width: 760px) {
  .service-detail-facts {
    gap: var(--codexo-grid-gap);
  }

  .service-detail-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #d9dbe0;
  }

  .service-detail-process-step {
    padding: 28px;
    border-right: 1px solid #d9dbe0;
  }

  .service-feature-split__content {
    padding: 44px;
  }
}

@media screen and (min-width: 1020px) {
  .service-detail-hero-layout {
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    column-gap: 5%;
  }

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

  .service-detail-card-grid .service-detail-card h3 {
    min-height: 2.5em;
  }

  .service-feature-split__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
    min-height: 560px;
  }

  .service-feature-split__content {
    padding: 52px;
  }

}

@media screen and (min-width: 1280px) {
  .service-detail-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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