.services-section {
  background: #ffffff;
  font-family: Inter, Arial, sans-serif;
  margin: 0 auto;
  max-width: 1424px;
  padding: 64px 32px;
  scroll-margin-top: 104px;
}

.services-section__heading,
.service-card__mobile-subtitle {
  display: none;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 1px minmax(360px, .9fr);
  height: 360px;
  overflow: hidden;
}

.service-card + .service-card {
  border-top: 1px solid #d9d9d9;
}

.service-card__visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.service-card__picture {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.service-card__image {
  display: block;
  max-height: 353px;
  max-width: min(596px, 100%);
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.service-card__shadow {
  bottom: 66px;
  max-width: 276px;
  position: absolute;
  width: 48%;
}

.service-card__divider {
  align-self: center;
  background: #f0f0f0;
  height: 296px;
}

.service-card__content {
  align-self: center;
  padding: 0 16px 0 32px;
}

.service-card__content h2 {
  color: #202020;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.25;
  margin: 0;
  max-width: 400px;
}

.service-card__content h2 small {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
}

.service-card__content p {
  color: #535353;
  font-size: 18px;
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 400px;
}

.service-card__content a {
  align-items: center;
  background: #0f2332;
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 20px;
  margin-top: 36px;
  padding: 18px 26px;
  text-decoration: none;
}

.service-card__content a:hover,
.service-card__content a:focus-visible {
  background: #0f2332;
}

.service-card__content a img {
  display: block;
}

.service-card--reverse {
  box-sizing: border-box;
  grid-template-columns: minmax(360px, .9fr) 1px minmax(0, 1.1fr);
  padding-top: 16px;
}

.service-card--reverse .service-card__visual {
  grid-column: 3;
  grid-row: 1;
}

.service-card--reverse .service-card__divider {
  grid-column: 2;
  grid-row: 1;
  height: 296px;
  transform: translateY(-8px);
  width: 1px;
}

.service-card--reverse .service-card__content {
  grid-column: 1;
  grid-row: 1;
  padding: 0 32px 0 16px;
  text-align: right;
}

.service-card--reverse .service-card__content h2,
.service-card--reverse .service-card__content p {
  margin-left: auto;
}

.service-card--road .service-card__image {
  max-height: 320px;
  max-width: 519px;
  width: min(100%, 519px);
}

.service-card--air .service-card__picture {
  flex: 0 1 592px;
  height: 268px;
  max-width: 592px;
}

.service-card--air .service-card__image {
  height: 268px;
  max-height: none;
  max-width: none;
  object-fit: contain;
  width: 592px;
}

.service-card--air .service-card__shadow {
  bottom: 24px;
  max-width: none;
  width: 276px;
}

.service-card--fractioned .service-card__picture {
  flex: 0 0 430px;
  height: 256px;
  max-width: 430px;
  transform: translateX(-10px);
}

.service-card--fractioned .service-card__image {
  height: 256px;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 430px;
}

.service-card--hotline .service-card__picture {
  flex: 0 0 519px;
  height: 290px;
  max-width: 519px;
  transform: translateX(10px);
}

.service-card--hotline .service-card__image {
  height: 290px;
  max-height: none;
  max-width: none;
  object-fit: cover;
  width: 519px;
}

.service-card--hotline .service-card__shadow {
  bottom: auto;
  max-width: none;
  top: 254px;
  transform: translateX(10px);
  width: 319px;
}

.service-card--hotline .service-card__content a,
.service-card--hotline .service-card__content a:hover,
.service-card--hotline .service-card__content a:focus-visible {
  background: #0f2332 !important;
}

/* At tablet widths the desktop columns remain in use, but the narrower text
 * column can wrap beyond the fixed desktop card height. Let the card grow so
 * the following service never covers its content. */
@media (min-width: 768px) and (max-width: 900px) {
  .service-card,
  .service-card--reverse {
    height: auto !important;
    min-height: 460px !important;
  }

  .service-card--road {
    position: relative;
    z-index: 2;
  }

  .service-card--fractioned {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  .services-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin: 0;
    max-width: none;
    padding: 48px 24px;
    scroll-margin-top: 73px;
  }

  .services-section__heading {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6.5px;
    padding-top: 5.5px;
    text-align: center;
    width: 100%;
  }

  .services-section__heading p {
    color: #eb5f02;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 16px;
    margin: 0;
    text-transform: uppercase;
  }

  .services-section__heading h2 {
    color: #0f2332;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    margin: 0;
  }

  .service-card,
  .service-card--reverse {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    overflow: hidden;
    padding: 21px;
    width: 100%;
  }

  .service-card--air {
    padding-top: 1px;
  }

  .service-card + .service-card {
    border-top: 1px solid #f1f5f9;
  }

  .service-card__visual,
  .service-card--reverse .service-card__visual {
    align-items: flex-start;
    height: 220px;
    justify-content: flex-start;
    order: 0;
    width: 100%;
  }

  .service-card--air .service-card__visual,
  .service-card--hotline .service-card__visual {
    height: 149px;
  }

  .service-card--road .service-card__visual {
    height: 198px;
  }

  .service-card--fractioned .service-card__visual {
    height: 251px;
  }

  .service-card__picture {
    align-items: flex-start;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    width: 100%;
  }

  .service-card__image {
    height: auto;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 298px;
  }

  .service-card--air .service-card__image {
    height: 199px;
    width: 298px;
  }

  .service-card--air .service-card__picture {
    height: auto;
    max-width: none;
  }

  .service-card--road .service-card__image {
    height: 187px;
    width: 298px;
  }

  .service-card--fractioned .service-card__image {
    height: 298px;
    width: 298px;
  }

  .service-card--fractioned .service-card__picture {
    height: auto;
    max-width: none;
    transform: none;
  }

  .service-card--hotline .service-card__picture,
  .service-card--hotline .service-card__image {
    width: 100%;
  }

  .service-card--hotline .service-card__image {
    aspect-ratio: 1774 / 887;
    height: auto;
  }

  .service-card--hotline .service-card__picture {
    flex: 1 1 auto;
    height: auto;
    max-width: none;
    transform: none;
  }

  .service-card__shadow {
    display: none;
  }

  .service-card__divider {
    display: none;
  }

  .service-card__content,
  .service-card--reverse .service-card__content {
    order: 1;
    padding: 0;
    text-align: left;
    width: 100%;
  }

  .service-card__content h2 {
    color: #0f2332;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 28px;
    max-width: none;
  }

  .service-card__content h2 br,
  .service-card__content h2 small,
  .service-card__desktop-title-suffix {
    display: none;
  }

  .service-card__content p {
    color: #535353;
    font-size: 14px;
    line-height: 1.6;
    margin: 11.125px 0 0;
    max-width: none;
  }

  .service-card__content .service-card__mobile-subtitle {
    color: #64748b;
    display: block;
    font-family: Manrope, Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    margin: 2.5px 0 0;
  }

  .service-card__content a {
    border-radius: 8px;
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 20px;
    width: 100%;
  }

  .service-card__cta-icon,
  .service-card__cta-icon img {
    display: block;
    height: 16px;
    width: 16px;
  }
}
