.home-services {
  background: #f3f6f6;
}

.home-services__card {
  border: 1px solid #dbe6e4;
  border-radius: 0.625rem;
  color: #485364;
}

.home-services__card--service {
  border-color: transparent;
  --lkl-heading-color: #fff;
  background-color: var(--lkl-link-color);
  color: #fff;
}

.home-services__top {
  min-height: 4.625rem;
  gap: 0.75rem;
}

.home-services__icon {
  flex-shrink: 0;
  width: 3.625rem;
  height: 3.625rem;
  padding: 0.625rem;
  box-sizing: border-box;
  border-radius: 0.5rem;
  background: #e7f4f0;
}

.home-services__card--service .home-services__icon {
  background: #99ddc8;
}

.home-services__stat {
  max-width: 16ch;
  color: #155b4e;
  font-size: 0.8125rem;
  line-height: 1.25;
}

.home-services__card--service .home-services__stat {
  color: inherit;
}

.home-services__stat strong {
  display: block;
  margin-bottom: 0.15em;
  font-size: clamp(1.75rem, 3.25vw, 2.5rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-services__stat-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.home-services__top + .lkl-card-title,
.home-services__description > :first-child {
  margin-top: 0;
}

.home-services__description > :last-child {
  margin-bottom: 0;
}

.home-services__description p {
  color: inherit;
}

.home-services__link {
  gap: 0.75rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding-top: 0.875rem;
  border-top: 1px solid #dbe6e4;
  color: var(--lkl-link-color);
  font-weight: 600;
}

.home-services__card--service .home-services__link {
  border-color: rgb(255 255 255 / 45%);
  color: inherit;
}

.home-services__link:hover {
  color: var(--lkl-link-hover);
}

.home-services__card--service .home-services__link:hover {
  color: inherit;
  text-decoration: underline;
}

.home-services__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-services__card--entered {
    animation: home-service-enter 360ms ease-out both;
  }

  .home-services__arrow {
    transition: transform 180ms ease-out;
  }

  .home-services__link:focus-visible .home-services__arrow {
    transform: translateX(4px);
  }

  @media (hover: hover) {
    .home-services__link:hover .home-services__arrow {
      transform: translateX(4px);
    }
  }
}

@keyframes home-service-enter {
  from {
    opacity: 0.8;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
