:root {
  --color-primary: #00BFAF;
  --color-primary-rgb: 0, 191, 175;
  --color-text: #303032;
}

.keen-slider__slide {
  flex-shrink: 0;
}
.keen-slider-wrapper {
  position: relative;
}
.keen-slider__pagination {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-inline: 12px;
  gap: 10px;
}
.keen-slider__dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
}
.keen-slider__dot:not(.keen-slider__dot_active) {
  opacity: 0.3;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}
.features__item {
  position: relative;
  padding: 1em 0.875em 1em 4em;
  border-radius: 100px;
  background-color: rgba(var(--color-primary-rgb), 0.08);
  align-content: center;
  color: var(--color-text);
  text-align: center;
}
.features__item:only-child {
  width: fit-content;
  margin-inline: auto;
}
.features__item:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.features__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3.125em;
  max-height: 100%;
  aspect-ratio: 1;
  background: url("../img/star-alt.svg") center/1.375em no-repeat var(--color-primary);
  border-radius: 50%;
}

.benefits {
  display: flex;
  column-gap: 1.5em;
}
.benefits__item {
  position: relative;
  padding-top: 1.125em;
}
.benefits__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.125em;
  height: 1.125em;
  transform: translate(-50%, -50%);
  background: url("../img/star-alt-primary.svg") center/contain no-repeat;
}
.benefits__item::before {
  content: "";
  top: 0;
  position: absolute;
  height: 1px;
  background-color: #c1e9e7;
}
.benefits__item:first-child::before {
  left: 50%;
  width: 50%;
}
.benefits__item:not(:first-child):not(:last-child)::before {
  left: -1.5em;
  right: -1.5em;
}
.benefits__item:last-child::before {
  right: 50%;
  width: 50%;
}

.showcase {
  text-align: center;
  line-height: normal;
  background: var(--bg);
  overflow: hidden;
}
.showcase_variant_1 {
  --text-max-w: clamp(260px, 46.6666666667vw + 92px, 540px);
}
.showcase_variant_2 {
  --text-max-w: clamp(230px, 51.6666666667vw + 44px, 540px);
}
.showcase_variant_3 {
  --text-max-w: clamp(230px, 51.6666666667vw + 44px, 540px);
}
.showcase_variant_4 {
  --text-max-w: clamp(230px, 51.6666666667vw + 44px, 540px);
}
.showcase_variant_5 {
  --text-max-w: clamp(260px, 46.6666666667vw + 92px, 540px);
}
.showcase_theme_1 {
  --bg: url("../img/circles.svg") right calc(50% + clamp(194px, 14.3333333333vw + 142.4px, 280px)) top clamp(136px, 10.6666666667vw + 97.6px, 200px) / clamp(320px, 51.5vw + 134.6px, 629px) no-repeat;
}
.showcase_theme_2 {
  --bg-size: clamp(1033px, 147.8333333333vw + 500.8px, 1920px);
  --bg: url("../img/waves.svg") center bottom / var(--bg-size) no-repeat;
}
.showcase_theme_3 {
  --bg: url("../img/lines.svg") center / cover no-repeat;
}
.showcase__inner {
  position: relative;
  isolation: isolate;
  max-width: min(940px, 100% - 40px);
  padding-block: 50px;
  margin-inline: auto;
  height: 100%;
  min-height: clamp(310px, 25.3333333333vw + 218.8px, 462px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase_theme_1 .showcase__inner {
  align-items: flex-end;
}
.showcase__img {
  position: absolute;
  z-index: -1;
  width: auto;
  max-height: 100%;
}
.showcase_variant_1 .showcase__img {
  top: 0;
  right: calc(50% + clamp(-68px, -13.5vw + 61.6px, 13px));
}
.showcase_variant_2 .showcase__img {
  bottom: 0;
  right: calc(50% + clamp(11px, 6.5vw - 12.4px, 50px));
}
.showcase_variant_3 .showcase__img {
  bottom: 0;
  left: calc(50% - 21px);
}
.showcase_variant_4 .showcase__img {
  bottom: calc(0% + clamp(-25px, 4.1666666667vw - 40px, 0px));
  left: calc(50% + clamp(-13px, -1.3333333333vw - 0.2px, -5px));
}
.showcase_variant_5 .showcase__img {
  top: 0;
  right: calc(50% + clamp(-68px, -13.5vw + 61.6px, 13px));
}
.showcase__text {
  max-width: var(--text-max-w);
  font-size: clamp(8px, 1.3333333333vw + 3.2px, 16px);
}
.showcase_theme_2 .showcase__text {
  transform: translateY(clamp(-24px, -4vw + 14.4px, 0px));
}
.showcase_theme_3 .showcase__text {
  margin-left: auto;
  margin-right: 50px;
}
.showcase__title {
  margin: 0;
  font-size: clamp(17px, 3vw + 6.2px, 35px);
  font-weight: 700;
  line-height: 1.142857143;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  font-optical-sizing: none;
}
.showcase_theme_3 .showcase__title {
  margin-bottom: 0.6em;
}
.showcase__features, .showcase__benefits {
  max-width: 468px;
  margin-inline: auto;
  list-style: none;
}
.showcase__features {
  margin-top: 1.25em;
}
.showcase__benefits {
  margin-top: 1em;
}
.showcase__btn {
  margin-top: 1.25em;
  padding: 1em 3em;
  display: inline-block;
  background-color: var(--color-primary);
  border-radius: 100px;
  color: #fff;
  user-select: none;
  text-decoration: none;
  text-align: center;
  transition: filter 0.3s;
  font-weight: 700;
  font-size: clamp(8px, 1.3333333333vw + 3.2px, 16px);
}
.showcase__btn:focus {
  color: #fff;
  outline: none;
  text-decoration: none;
}
.showcase_theme_3 .showcase__subtext {
  margin-bottom: 1.25em;
}
.showcase__items {
  max-width: 412px;
}
@media (hover: hover) {
  .showcase__btn:hover {
    text-decoration: none;
    color: #fff;
    filter: brightness(115%);
  }
}
@media (max-width: 991.98px) {
  .showcase_theme_3 {
    --bg: url("../img/lines-mob.svg") top right / cover no-repeat;
  }
  .showcase_theme_3 .showcase__text {
    margin-left: auto;
    margin-right: 0;
  }
}
@media (min-width: 1920px) {
  .showcase_theme_2 {
    --bg-size: 100%;
  }
}

.showcase-slider {
  color: var(--color-text);
}

.item-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}
.item-showcase__li {
  list-style: none;
  position: relative;
  padding-left: 1.5em;
}
.item-showcase__li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.125em;
  height: 1.125em;
  transform: translate(0, -50%);
  background: url("../img/star-alt-primary.svg") center/contain no-repeat;
}

@media (max-width: 991.98px) {
  .item-showcase {
    gap: 0.75em;
  }
}