.sti-services {
  background: #fff;
  color: #1d1d1f;
  overflow: hidden;
  font-family: var(--sbkk-font-family, Inter, "Segoe UI", Arial, sans-serif);
}

.sti-services *,
.sti-services *::before,
.sti-services *::after {
  box-sizing: border-box;
}

.sti-services__header {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 38px 56px 34px;
  text-align: center;
}

.sti-services__title {
  margin: 0;
  color: #1d1d1f;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.sti-services__title span {
  color: #5346a6;
}

.sti-services__subtitle {
  margin: 14px auto 0;
  max-width: 620px;
  color: rgba(29, 29, 31, 0.62);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.sti-services__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sti-services__card {
  min-width: 0;
  background: #fff;
}

.sti-services__media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.sti-services__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 88%);
  pointer-events: none;
}

.sti-services__media img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center center;
}

.sti-services__card h3 {
  min-height: 122px;
  margin: 0;
  padding: 26px 24px 52px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.sti-services__card h3 span {
  display: block;
}

.sti-treatment-options {
  background: #fbf9f8;
  color: #1d1d1f;
  font-family: var(--sbkk-font-family, Inter, "Segoe UI", Arial, sans-serif);
}

.sti-treatment-options *,
.sti-treatment-options *::before,
.sti-treatment-options *::after,
.sti-tested *,
.sti-tested *::before,
.sti-tested *::after {
  box-sizing: border-box;
}

.sti-treatment-options__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 72px 0px 76px;
}

.sti-treatment-options__eyebrow {
  margin: 0 0 22px;
  color: #5346a6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.sti-treatment-options__title {
  margin: 0;
  color: #1d1d1f;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.sti-treatment-options__title span {
  color: #5346a6;
}

.sti-treatment-options__intro {
  margin: 20px 0 0;
  max-width: 700px;
  color: rgba(29, 29, 31, 0.66);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.sti-treatment-options__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.sti-treatment-card {
  min-width: 0;
  background: #ffffff;
}

.sti-treatment-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.95 / 1;
  object-fit: cover;
  object-position: center;
}

.sti-treatment-card__body {
  padding: 24px 22px 30px;
}

.sti-treatment-card__label {
  width: fit-content;
  margin: 0 0 22px;
  padding: 9px 14px;
  background: #5346a6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.sti-treatment-card__title {
  margin: 0;
  color: #5a4aa6;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

.sti-tested {
  background: #4f449a;
  color: #e7f2ff;
  overflow: hidden;
  font-family: var(--sbkk-font-family, Inter, "Segoe UI", Arial, sans-serif);
}

.sti-tested__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 74px 0px 72px;
}

.sti-tested__eyebrow {
  margin: 0 0 28px;
  color: #e7f2ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.sti-tested__title {
  margin: 0;
  color: #e7f2ff;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.sti-tested__intro {
  margin: 28px 0 0;
  max-width: 1040px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: 0;
}

.sti-tested__intro + .sti-tested__intro {
  margin-top: 4px;
}

.sti-tested__body {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: 30px;
  align-items: stretch;
}

.sti-tested__visual {
  min-width: 0;
  align-self: end;
}

.sti-tested__image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}

.sti-tested__grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.sti-tested-card {
  min-width: 0;
  min-height: 188px;
  padding: 28px;
  background: #4430c8;
}

.sti-tested-card__step {
  margin: 0;
  color: #e7f2ff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.sti-tested-card__text {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}

@media (max-width: 1240px) {
  .sti-services__header {
    padding: 36px 32px 28px;
  }

  .sti-services__title {
    font-size: 40px;
  }

  .sti-services__media {
    min-height: 410px;
  }

  .sti-services__media img {
    height: 410px;
  }

  .sti-services__card h3 {
    font-size: 20px;
  }

  .sti-treatment-options__inner,
  .sti-tested__inner {
    padding-inline: 36px;
  }

  .sti-tested__title {
    font-size: 50px;
  }

  .sti-tested-card__text {
    font-size: 22px;
  }
}

@media (max-width: 980px) {
  .sti-services__header {
    padding: 42px 24px 26px;
  }

  .sti-services__title {
    font-size: 36px;
  }

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

  .sti-services__media {
    min-height: 340px;
  }

  .sti-services__media img {
    height: 340px;
  }

  .sti-treatment-options__title {
    font-size: 42px;
  }

  .sti-treatment-options__grid {
    gap: 20px;
  }

  .sti-tested__body {
    grid-template-columns: 1fr;
  }

  .sti-tested__visual {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .sti-tested__grid {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .sti-services__header {
    padding: 36px 22px 24px;
  }

  .sti-services__title {
    font-size: 30px;
    line-height: 1.12;
  }

  .sti-services__subtitle {
    margin-top: 12px;
    font-size: 12px;
  }

  .sti-services__grid {
    grid-template-columns: 1fr;
  }

  .sti-services__media {
    min-height: 320px;
  }

  .sti-services__media img {
    height: 320px;
  }

  .sti-services__card h3 {
    min-height: auto;
    padding: 22px 24px 36px;
    font-size: 20px;
  }

  .sti-treatment-options__inner,
  .sti-tested__inner {
    padding: 56px 22px 58px;
  }

  .sti-treatment-options__eyebrow,
  .sti-tested__eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .sti-treatment-options__title,
  .sti-tested__title {
    font-size: 34px;
    line-height: 1.12;
  }

  .sti-treatment-options__grid,
  .sti-tested__grid {
    grid-template-columns: 1fr;
  }

  .sti-treatment-card__body {
    padding: 22px 20px 28px;
  }

  .sti-treatment-card__title {
    font-size: 18px;
  }

  .sti-tested__intro {
    margin-top: 20px;
    font-size: 15px;
  }

  .sti-tested-card {
    min-height: auto;
    padding: 24px 22px;
  }

  .sti-tested-card__text {
    margin-top: 16px;
    font-size: 21px;
  }
}

@media (max-width: 420px) {
  .sti-services__header {
    padding-inline: 18px;
  }

  .sti-services__title {
    font-size: 28px;
  }

  .sti-services__media {
    min-height: 280px;
  }

  .sti-services__media img {
    height: 280px;
  }

  .sti-treatment-options__inner,
  .sti-tested__inner {
    padding-inline: 18px;
  }

  .sti-treatment-options__title,
  .sti-tested__title {
    font-size: 30px;
  }
}
