.hero {
  overflow: hidden;
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .hero {
    border-radius: 15px;
  }
}
.hero__image {
  width: 100%;
  height: auto;
  max-height: 255px;
  object-fit: cover;
  border-radius: 5px;
}
@media screen and (min-width: 768px) {
  .hero__image {
    height: auto;
    max-height: 360px;
    border-radius: 15px;
  }
}

.small-slider {
  border-radius: 15px;
  overflow: hidden;
}
.small-slider__image {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  border-radius: 15px;
}
@media screen and (max-width: 991px) {
  .small-slider__image {
    border-radius: 5px;
  }
}

.mid-slider__image {
  width: 100%;
  height: auto;
  max-height: 208px;
  object-fit: cover;
}
@media screen and (max-width: 575px) {
  .mid-slider__image {
    max-height: 244px;
  }
}

@media screen and (max-width: 450px) {
  .services__container .col {
    flex: 0 1 50%;
    max-width: 50%;
  }
}
.services__item {
  display: block;
  background-color: #F6F6F6;
  border-radius: 15px;
  margin: 8px 0;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
  min-height: 296px;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 576px) {
  .services__item {
    padding: 27px;
  }
}
@media screen and (max-width: 576px) {
  .services__item {
    padding: 10px;
    min-width: calc(33.3333333333vw - 24px);
    min-height: calc(33.3333333333vw - 24px);
    position: relative;
  }
  .services__item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1px);
    z-index: 2;
  }
}
@media screen and (max-width: 450px) {
  .services__item {
    min-width: calc(50vw - 24px);
    min-height: calc(50vw - 24px);
  }
}
@media (hover: hover) {
  .services__item:hover {
    text-decoration: none;
  }
  .services__item:hover .services__title {
    color: #B7D94E;
  }
}
@media (hover: none) {
  .services__item:active {
    text-decoration: none;
  }
  .services__item:active .services__title {
    color: #B7D94E;
  }
}
.services__title {
  position: relative;
  z-index: 2;
  transition: color 0.2s ease-in-out;
  line-height: 1;
  font-weight: 700;
  color: #333;
}
@media screen and (max-width: 576px) {
  .services__title {
    font-size: 14px;
    z-index: 3;
  }
}
@media screen and (min-width: 576px) {
  .services__title {
    font-size: 18px;
  }
}
@media screen and (min-width: 768px) {
  .services__title {
    font-size: 22px;
  }
}
@media screen and (min-width: 1200px) {
  .services__title {
    font-size: 24px;
  }
}
.services__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.index-h1 {
  display: none;
}

.seo-text {
  max-height: 100px;
  overflow: hidden;
  position: relative;
}
.seo-text.active {
  max-height: 100%;
}
.seo-text.active::after {
  display: none;
}
.seo-text.active .seo-text__button {
  position: static;
  margin-left: auto;
  display: block;
}
.seo-text::after {
  content: "";
  position: absolute;
  height: 40%;
  background: linear-gradient(0deg, rgb(255, 255, 255), rgba(255, 255, 255, 0));
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.seo-text__button {
  width: 102px;
  padding: 8px 12px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}