.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-text p {
  margin: 0 0 18px;
}

.home-elastica .home-elastica__benefit-text p,
.home-elastica .home-elastica__check-text p,
.home-elastica .home-elastica__step-text p {
  margin: 0 0 8px;
}

.home-elastica .home-elastica__benefit-text p:last-child,
.home-elastica .home-elastica__check-text p:last-child,
.home-elastica .home-elastica__step-text p:last-child {
  margin-bottom: 0;
}

.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);
}

.home-elastica .home-elastica__text-image {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
}

.home-elastica .home-elastica__text-image.is-image-first {
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr);
}

.home-elastica .home-elastica__heading--eyebrow h2 {
  margin-top: 0;
}

.home-elastica .home-elastica__eyebrow {
  margin: 0 0 6px;
  color: #f0b64b;
  font-size: 15px;
  line-height: 1.35;
}

.home-elastica .home-elastica__heading--eyebrow .home-elastica__content {
  margin-top: 18px;
}

.home-elastica .home-elastica__text-image .home-elastica__image img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.home-elastica .home-elastica__link-cards {
  display: grid;
  gap: 4px;
  margin-top: 34px;
}

.home-elastica .home-elastica__section--has-bg {
  background-image: var(--he-section-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-elastica .home-elastica__link-cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-elastica .home-elastica__link-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-elastica .home-elastica__link-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-elastica .home-elastica__link-card {
  position: relative;
  display: block;
  min-height: clamp(210px, 24vw, 330px);
  overflow: hidden;
  background: #e8e1d8;
  color: #fff !important;
  text-decoration: none !important;
}

.home-elastica .home-elastica__link-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-elastica .home-elastica__link-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .62));
}

.home-elastica .home-elastica__link-card-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  text-align: center;
}

.home-elastica .home-elastica__link-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.15;
}

.home-elastica .home-elastica__link-card p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.home-elastica .home-elastica__link-card-text p {
  margin: 8px 0 0;
}

.home-elastica .home-elastica__link-card:hover img,
.home-elastica .home-elastica__link-card:focus img {
  transform: scale(1.035);
}

.home-elastica .home-elastica__social {
  text-align: center;
}

.home-elastica .home-elastica__social-copy {
  margin: 0 0 14px;
  color: #252b33;
  font-size: 16px;
  line-height: 1.35;
}

.home-elastica .home-elastica__social h3 {
  margin: 0 0 22px;
  color: var(--he-accent);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.1;
}

.home-elastica .home-elastica__social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.home-elastica .home-elastica__social-link {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--he-accent);
  border-radius: 50%;
  color: var(--he-accent);
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.home-elastica .home-elastica__social-link:hover,
.home-elastica .home-elastica__social-link:focus-visible {
  background: var(--he-accent);
  color: #fff;
  transform: translateY(-2px);
}

.home-elastica .home-elastica__social-link svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.home-elastica .home-elastica__social-link--facebook svg,
.home-elastica .home-elastica__social-link--tiktok svg,
.home-elastica .home-elastica__social-link--youtube svg,
.home-elastica .home-elastica__social-link--linkedin svg {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 1024px) {
  .home-elastica .home-elastica__text-image,
  .home-elastica .home-elastica__text-image.is-image-first {
    grid-template-columns: 1fr;
  }

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

  .home-elastica .home-elastica__link-cards--3,
  .home-elastica .home-elastica__link-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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));
  }

  .home-elastica .home-elastica__link-cards,
  .home-elastica .home-elastica__link-cards--2,
  .home-elastica .home-elastica__link-cards--3,
  .home-elastica .home-elastica__link-cards--4 {
    grid-template-columns: 1fr;
  }

  .home-elastica .home-elastica__link-card {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-elastica .home-elastica__cards,
  .home-elastica .home-elastica__card img,
  .home-elastica .home-elastica__card-copy,
  .home-elastica .home-elastica__link-card img {
    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;
  }
}
