.stomat-services {
  margin-top: -3px;
}

.stomat-services__container {
  width: 100%;
}

.stomat-services__el {
  margin-top: 16px;
  position: relative;
}

.stomat-services__el:nth-child(1) {
  margin-top: 0;
}

.stomat-services__el--hidden {
  display: none;
}

.stomat-services__cover-image {
  position: absolute;
  left: 0;
  top: 8px;
  display: none;
  height: calc(100% - 16px);
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 16px;
  overflow: hidden;
}

.stomat-services__item {
  background: #ffffff;
  min-height: 372px;
  position: relative;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.7, 0, 0.3, 1);
  border: 1px solid #ffffff;
  z-index: 2;
}

.stomat-services__item--no-posts {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.stomat-services__item:hover {
  border-color: #2f7cf6;
}

.stomat-services__item:hover .stomat-services__figure {
  transform: translate(0, 0);
}

.stomat-services__item:hover .stomat-services__figure.is-hidden {
  opacity: 0;
}

.stomat-services__item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 16px;
  border-bottom: 1px solid #c0c0c0;
}

.stomat-services__item-title span {
  padding-right: 12px;
  transition: all 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.stomat-services__item-title span.text-bg {
  background: transparent !important;
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.stomat-services__item-title .btn {
  padding-right: 0;
  pointer-events: none;
}

.stomat-services__item-title .btn__icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid #04121d;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stomat-services__item-title .btn__icon::before {
  background: #ffffff;
}

.stomat-services__item-title .btn__icon svg {
  width: 28px;
  min-width: 28px;
  height: 28px;
}

.stomat-services__item-title:hover span {
  color: #2f7cf6;
}

.stomat-services__item-title:hover .btn__icon {
  color: #2f7cf6;
  border-color: #2f7cf6;
}

.stomat-services__item-title:hover .btn__icon::before {
  transform: translate(-50%, -50%) scale(1);
}

.stomat-services__item .show-more {
  margin-top: 32px;
}

.stomat-services__figure {
  width: 75%;
  max-width: 377px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  transition: all 0.45s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
  transform: translate(100%, 100%);
}

.stomat-services__figure span {
  display: block;
  border-radius: 50%;
  background: #aefff7;
  width: 100%;
  padding-bottom: 100%;
  margin-left: 25%;
  margin-bottom: -30%;
}

.stomat-services__figure.is-hidden {
  opacity: 0;
}

.stomat-services__items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 5;
}

.stomat-services__items-hidden {
  display: none;
}

.stomat-services__items a {
  margin-top: 13px;
  text-align: left;
  font-weight: 500;
  transition: all 0.45s cubic-bezier(0.7, 0, 0.3, 1);
  font-size: 1.6rem;
}

.stomat-services__items a svg {
  color: #2f7cf6;
}

.stomat-services__items a:hover {
  color: #2f7cf6;
}

.stomat-services__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 129px;
  height: auto;
  z-index: 3;
  transition: all 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

.stomat-services__image.is-hidden {
  opacity: 0;
}

.stomat-services .show-more {
  font-weight: 500;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.stomat-services__show-more {
  margin: 24px auto 0;
  text-align: center;
  display: block;
  padding-bottom: 8px;
}

.stomat-services--slider .splide__arrows {
  display: none;
}

.stomat-services--slider .splide__track {
  overflow: visible;
  margin: 0 -8px;
}

.stomat-services--slider .stomat-services__el {
  margin-top: 0;
  padding: 0 8px;
}

.stomat-services--slider .splide {
  width: 100%;
}

.stomat-services--slider .stomat-services__cover-image {
  display: none;
}

@media only screen and (min-width: 680px) {
  .stomat-services {
    margin-top: 1px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: -7px -8px;
    width: calc(100% + 16px);
  }

  .stomat-services__el--hidden {
    display: block;
  }

  .stomat-services__el {
    width: 50%;
    padding: 8px;
    margin: 0;
  }

  .stomat-services__el--medium,
  .stomat-services__el--large {
    width: 100%;
  }

  .stomat-services__el--medium .stomat-services__item,
  .stomat-services__el--large .stomat-services__item {
    width: calc(50% - 8px);
  }

  .stomat-services__el--medium .stomat-services__cover-image,
  .stomat-services__el--large .stomat-services__cover-image {
    width: calc(50% + 24px);
    left: calc(50% - 32px);
  }

  .stomat-services__cover-image {
    display: inline-block;
  }

  .stomat-services__item {
    height: 100%;
  }

  .stomat-services__show-more {
    display: none;
  }

  .stomat-services--slider .splide__track {
    margin: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .stomat-services__el {
    width: 33.33%;
  }

  .stomat-services__el--medium {
    width: 66.66%;
  }

  .stomat-services__el--medium .stomat-services__item {
    width: calc(50% - 16px);
  }

  .stomat-services__el--medium .stomat-services__cover-image {
    width: calc(50% + 24px);
    left: calc(50% - 32px);
  }

  .stomat-services__el--large {
    width: 100%;
  }

  .stomat-services__el--large .stomat-services__item {
    width: 33.33%;
  }

  .stomat-services__el--large .stomat-services__cover-image {
    width: calc(66.66% + 24px);
    left: calc(33.33% - 32px);
  }

  .stomat-services__item {
    padding: 23px 32px;
    min-height: 492px;
  }

  .stomat-services__item-title {
    align-items: flex-start;
    min-height: 90px;
    margin-bottom: 14px;
  }

  .stomat-services__item-title span {
    padding-right: 24px;
  }

  .stomat-services__item .show-more {
    margin-top: 40px;
  }

  .stomat-services__items a {
    margin-top: 16px;
    font-size: 1.8rem;
  }

  .stomat-services__items a svg {
    margin-top: 5px;
  }

  .stomat-services__image {
    max-width: 224px;
    width: 50%;
  }

  .stomat-services--slider .splide__pagination {
    display: none;
  }
}

@media only screen and (min-width: 1900px) {
  .stomat-services__section .section-head__info {
    padding-top: 50px;
  }

  .stomat-services__section .section-head__info--no-padding {
    padding-top: 0;
  }

  .stomat-services {
    margin: -15px -16px -16px;
    width: calc(100% + 32px);
  }

  .stomat-services__el {
    padding: 16px;
  }

  .stomat-services__el--medium .stomat-services__cover-image {
    width: calc(50% + 32px);
    left: calc(50% - 48px);
  }

  .stomat-services__el--large .stomat-services__cover-image {
    width: calc(66.66% + 32px);
    left: calc(33.33% - 48px);
  }

  .stomat-services__cover-image {
    top: 16px;
    height: calc(100% - 32px);
  }

  .stomat-services__item {
    padding: 40px 47px;
    min-height: 604px;
  }

  .stomat-services__item-title {
    min-height: 112px;
    margin-bottom: 19px;
  }

  .stomat-services__item-title .btn__icon svg {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .stomat-services__item-title .btn__icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
  }

  .stomat-services__item .show-more {
    margin-top: 46px;
  }

  .stomat-services__items a {
    font-size: 2.2rem;
    margin-top: 20px;
  }

  .stomat-services__items a svg {
    margin-top: 7px;
  }

  .stomat-services__image {
    max-width: 250px;
  }

  .stomat-services--slider .stomat-services__el {
    padding: 0 16px;
  }
}