.service-page {
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: #17233c;
}

.service-page *,
.service-page *::before,
.service-page *::after {
  box-sizing: border-box;
}

.service-hero {
  display: flex;
  width: min(calc(100% - 4.8rem), 116rem);
  min-height: 40rem;
  margin: 2.4rem auto 0;
  padding: 5rem;
  align-items: center;
  border-radius: 2rem;
  background-color: #edf4f8;
  background-image: url('../assets/rectangle-2-bg-fus.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.service-hero__content {
  width: min(100%, 52rem);
  margin-left: auto;
}

.service-hero__eyebrow,
.service-list__header > span,
.service-process__intro > span {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: #c9223e;
  font-size: 1.5rem;
  font-weight: 800;
}

.service-hero h1 {
  margin: 0;
  color: #17233c;
  font-size: clamp(3rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 1.4;
}

.service-hero p {
  margin: 1.8rem 0 0;
  color: #495770;
  font-size: 1.7rem;
  line-height: 2;
}

.service-hero__actions {
  display: flex;
  margin-top: 2.8rem;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.service-button {
  display: inline-flex;
  min-height: 5rem;
  padding: 1rem 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9223e;
  border-radius: 1rem;
  background: #c9223e;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

.service-button--secondary {
  border-color: #243d69;
  background: rgba(255, 255, 255, 0.78);
  color: #172d50;
}

.service-button:hover,
.service-button:focus-visible {
  border-color: #172d50;
  background: #172d50;
  color: #fff;
  text-decoration: none;
}

.service-list {
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto;
  padding: 8rem 0 7rem;
  scroll-margin-top: 14rem;
}

.service-list__header {
  position: static;
  z-index: auto;
  max-width: 72rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.service-list__header h2,
.service-process__intro h2 {
  margin: 0;
  color: #17233c;
  font-size: clamp(2.7rem, 3vw, 3.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.service-list__header p,
.service-process__intro p {
  margin: 1.4rem auto 0;
  color: #5a667b;
  font-size: 1.65rem;
  line-height: 2;
}

.service-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e0e6ef;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.4rem 3.5rem rgba(23, 35, 60, 0.07);
  overflow: hidden;
}

.service-card__image {
  position: relative;
  height: 22rem;
  background: #eef3f8;
  overflow: hidden;
}

.service-card__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background: linear-gradient(0deg, rgba(23, 35, 60, 0.2), transparent);
  content: '';
  pointer-events: none;
}

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

.service-card__content {
  display: flex;
  padding: 2.6rem 2.4rem 2.8rem;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.service-card__number {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  margin-top: -4.8rem;
  margin-bottom: 2rem;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 0.4rem solid #fff;
  border-radius: 50%;
  background: #c9223e;
  color: #fff;
  direction: ltr;
  font-size: 1.3rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  color: #17233c;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.6;
}

.service-card__description {
  margin: 1.2rem 0 2rem;
  color: #58657b;
  font-size: 1.5rem;
  line-height: 2;
}

.service-card__description > :last-child {
  margin-bottom: 0;
}

.service-card__content > a {
  display: inline-flex;
  margin-top: auto;
  gap: 0.8rem;
  align-items: center;
  color: #b71f38;
  font-size: 1.45rem;
  font-weight: 900;
  text-decoration: none;
}

.service-card__content > a:hover,
.service-card__content > a:focus-visible {
  color: #172d50;
  text-decoration: underline;
}

html[dir='ltr'] .service-card__content > a span {
  transform: rotate(180deg);
}

.service-list__empty {
  padding: 5rem 2.4rem;
  border: 1px dashed #b8c3d2;
  border-radius: 1.6rem;
  background: #f7f9fc;
  text-align: center;
}

.service-list__empty h2 {
  margin: 0;
  font-size: 2.4rem;
}

.service-list__empty p {
  margin: 1rem 0 1.8rem;
  color: #5a667b;
  font-size: 1.6rem;
}

.service-list__empty a {
  color: #b71f38;
  font-size: 1.5rem;
  font-weight: 800;
}

.service-process {
  display: grid;
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto 7rem;
  padding: 4rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 5rem;
  align-items: center;
  border-radius: 2rem;
  background: #f2f5fa;
}

.service-process__steps {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
  list-style: none;
}

.service-process__steps li {
  display: flex;
  padding: 1.8rem;
  gap: 1.6rem;
  align-items: flex-start;
  border: 1px solid #dde4ee;
  border-radius: 1.2rem;
  background: #fff;
}

.service-process__steps li > span {
  display: grid;
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #172d50;
  color: #fff;
  direction: ltr;
  font-size: 1.5rem;
  font-weight: 900;
}

.service-process__steps h3 {
  margin: 0;
  color: #17233c;
  font-size: 1.7rem;
  font-weight: 900;
}

.service-process__steps p {
  margin: 0.6rem 0 0;
  color: #667186;
  font-size: 1.4rem;
  line-height: 1.85;
}

.service-page > .consultation-cta {
  width: min(calc(100% - 4.8rem), 116rem);
  margin: 0 auto 7rem;
}

@media (max-width: 991.98px) {
  .service-hero {
    min-height: 36rem;
    padding: 4rem 3rem;
  }

  .service-hero__content {
    width: 55%;
  }

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

  .service-process {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767.98px) {
  .service-hero {
    min-height: 0;
    padding: 24rem 2.4rem 3.2rem;
    background-position: left top;
    background-size: auto 24rem;
  }

  .service-hero__content {
    width: 100%;
  }

  .service-list {
    padding-top: 6rem;
  }

  .service-list__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .service-hero,
  .service-list,
  .service-process,
  .service-page > .consultation-cta {
    width: min(calc(100% - 3.2rem), 116rem);
  }

  .service-hero {
    margin-top: 1.6rem;
    padding-right: 2rem;
    padding-left: 2rem;
    border-radius: 1.4rem;
  }

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

  .service-list {
    padding-bottom: 5rem;
  }

  .service-list__header {
    margin-bottom: 3rem;
  }

  .service-card__image {
    height: 20rem;
  }

  .service-process {
    margin-bottom: 5rem;
    padding: 3rem 2rem;
  }

  .service-page > .consultation-cta {
    margin-bottom: 5rem;
  }
}
