.home-elastica .home-elastica__service-carousel {
  margin-top: 48px;
}

.home-elastica .home-elastica__service-viewport {
  overflow: visible;
}

.home-elastica .home-elastica__service-carousel.is-carousel .home-elastica__service-viewport {
  overflow: hidden;
}

.home-elastica .home-elastica__cards {
  display: flex;
  grid-template-columns: none;
  gap: 38px;
  margin-top: 0;
  transition: transform .45s ease;
  will-change: transform;
}

.home-elastica .home-elastica__card {
  position: relative;
  flex: 0 0 calc((100% - 76px) / 3);
  height: 400px;
  text-align: left;
}

.home-elastica .home-elastica__card img {
  transition: transform .35s ease;
}

.home-elastica .home-elastica__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 42%, rgba(0, 0, 0, .82));
  transition: background .3s ease;
}

.home-elastica .home-elastica__card-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  transform: translateY(calc(100% - 32px));
  transition: transform .35s ease;
}

.home-elastica .home-elastica__card h3 {
  position: static;
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.home-elastica .home-elastica__card p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.home-elastica .home-elastica__card b {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 2px solid #fff;
  border-radius: 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.home-elastica .home-elastica__card:hover img,
.home-elastica .home-elastica__card:focus img {
  transform: scale(1.045);
}

.home-elastica .home-elastica__card:hover .home-elastica__card-overlay,
.home-elastica .home-elastica__card:focus .home-elastica__card-overlay {
  background: linear-gradient(rgba(0, 0, 0, .12), rgba(0, 0, 0, .9));
}

.home-elastica .home-elastica__card:hover .home-elastica__card-copy,
.home-elastica .home-elastica__card:focus .home-elastica__card-copy {
  transform: translateY(0);
}

.home-elastica__service-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}

.home-elastica__service-controls > button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--he-accent);
  border-radius: 50%;
  background: #fff;
  color: var(--he-accent);
  cursor: pointer;
}

.home-elastica__service-dots {
  display: flex;
  gap: 8px;
}

.home-elastica__service-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--he-accent);
  opacity: .25;
  cursor: pointer;
}

.home-elastica__service-dots button.is-active {
  opacity: 1;
  transform: scale(1.25);
}

@media (max-width: 1024px) {
  .home-elastica .home-elastica__card {
    flex-basis: calc((100% - 38px) / 2);
  }
}

@media (max-width: 767px) {
  .home-elastica .home-elastica__card {
    flex-basis: 100%;
    height: 360px;
  }

  .home-elastica .home-elastica__card-copy {
    transform: translateY(0);
  }

  .home-elastica .home-elastica__card-overlay {
    background: linear-gradient(transparent 25%, rgba(0, 0, 0, .88));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-elastica .home-elastica__cards,
  .home-elastica .home-elastica__card img,
  .home-elastica .home-elastica__card-copy {
    transition: none;
  }
}

.home-elastica .home-elastica__step-number {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 2px solid var(--he-accent);
  border-radius: 16px;
  color: var(--he-accent);
  font-size: 22px;
  font-weight: 800;
}

.home-elastica .home-elastica__steps article > div {
  min-width: 0;
  text-align: left;
}

.home-elastica .home-elastica__steps h3,
.home-elastica .home-elastica__steps p {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 500px) {
  .home-elastica .home-elastica__steps article {
    grid-template-columns: 60px 1fr;
  }

  .home-elastica .home-elastica__step-number,
  .home-elastica .home-elastica__steps img {
    width: 60px;
    height: 60px;
  }
}
