.fv-home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 28px);
}

.fv-home-services__card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(430px, 34vw, 540px);
  grid-template-columns: minmax(0, 1fr) minmax(120px, .85fr);
  grid-template-rows: auto 1fr auto;
  gap: 18px 8px;
  overflow: hidden;
  padding: clamp(20px, 2vw, 32px);
  border: 1px solid var(--fv-color-border);
  border-radius: clamp(20px, 1.8vw, 28px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 24, 31, .08);
}

.fv-home-services__card-header {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 12px;
}

.fv-home-services__card-header img {
  width: 40px;
  height: 40px;
}

.fv-home-services__card-header h3 {
  margin: 0;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.02;
}

.fv-home-services__list {
  position: relative;
  z-index: 2;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-home-services__list li + li {
  margin-top: 7px;
}

.fv-home-services__list a {
  display: flex;
  min-height: 31px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-size: clamp(11px, .78vw, 13px);
  line-height: 1.2;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.fv-home-services__list a:hover,
.fv-home-services__list a:focus-visible {
  background: var(--fv-home-warm);
  color: var(--fv-color-accent-dark);
  transform: translateX(3px);
}

.fv-home-services__list img {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  object-fit: contain;
}

.fv-home-services__art {
  width: 100%;
  height: 100%;
  align-self: end;
  object-fit: contain;
  object-position: right bottom;
}

.fv-home-services__card > .fv-home__button {
  width: 100%;
  min-height: 48px;
  grid-column: 1 / -1;
  align-self: end;
  padding-inline: 16px;
  font-size: clamp(12px, .85vw, 14px);
}

@media (min-width: 961px) {
  .fv-home-services__card {
    height: clamp(500px, 30.6vw, 587px);
    min-height: 0;
  }

  .fv-home-services__art {
    min-height: 0;
  }
}

@media (max-width: 960px) {
  .fv-home-services__grid {
    grid-template-columns: 1fr;
  }

  .fv-home-services__card {
    min-height: 420px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr);
  }
}

@media (max-width: 760px) {
  .fv-home-services .fv-home__section-header {
    margin-bottom: 20px;
  }

  .fv-home-services__grid {
    width: calc(100% - 10px);
    gap: 20px;
    margin-inline: auto;
  }

  .fv-home-services__card {
    min-height: 0;
    grid-template-columns: minmax(0, 1.08fr) minmax(110px, .92fr);
    gap: 12px 4px;
    padding: 20px;
    border-radius: 20px;
  }

  .fv-home-services__card:nth-child(1) { min-height: 398px; }
  .fv-home-services__card:nth-child(2) { min-height: 375px; }
  .fv-home-services__card:nth-child(3) { min-height: 342px; }

  .fv-home-services__card-header h3 {
    font-size: 21px;
  }

  .fv-home-services__list a {
    min-height: 29px;
    font-size: 11px;
  }

  .fv-home-services__art {
    min-height: 190px;
  }
}

@media (max-width: 350px) {
  .fv-home-services__card {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .fv-home-services__art {
    display: block;
    min-height: 160px;
  }
}
