.home-services-7__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.home-services-7__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 38px 34px 30px;
  border-radius: 28px;
  background: var(--color-surface-subtle);
  text-align: center;
}

.home-services-7__card:nth-child(2n) {
  background: var(--color-background-dark);
}

.home-services-7__card:nth-child(2n) .home-services-7__icon {
  background: rgba(var(--color-white-rgb), 0.14);
  color: var(--color-text-light);
}

.home-services-7__card:nth-child(2n) h3,
.home-services-7__card:nth-child(2n) p,
.home-services-7__card:nth-child(2n) .home-7-text-link,
.home-services-7__card:nth-child(2n) .home-7-text-link::before {
  color: var(--color-text-light);
}

.home-services-7__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: -64px auto 24px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--color-surface-subtle) 78%, transparent);
  color: var(--color-text-dark);
}

.home-services-7__icon svg {
  width: 48px;
  height: 48px;
}

.home-services-7__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-services-7__card h3 {
  margin: 0;
  color: var(--color-text-dark);
  font-family: var(--font-family-display);
  font-size: var(--subsection-heading-size);
  line-height: 1.2;
  font-weight: 800;
}

.home-services-7__card h3 a {
  color: inherit;
  text-decoration: none;
}

.home-services-7__card p {
  margin: 22px 0 0;
  color: var(--color-text-dark);
  font-size: var(--font-size-body);
  line-height: 1.45;
}

.home-services-7__card .home-7-text-link {
  margin: auto auto 0;
  padding-top: 22px;
}

.home-services-7__actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 1080px) {
  .home-services-7__grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }
}

@media (max-width: 767px) {
  .home-services-7__card {
    padding: 34px 22px 26px;
  }

  .home-services-7__grid {
    gap: 52px;
  }
}
.home-services-7 .home-7-hidden {
  display: none !important;
}
