.contactCards {
  position: relative;
  z-index: 3;
  margin-top: -78px;
  padding: 0 0 54px;
  background: transparent;
}

.contactCards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contactCards__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.42)
    );
  box-shadow:
    0 18px 50px rgba(57, 38, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.contactCards__item::before {
  content: "";
  position: absolute;
  inset: auto -42px -54px auto;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(159, 122, 234, 0.1);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.contactCards__item:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 122, 234, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.56)
    );
  box-shadow: 0 24px 64px rgba(57, 38, 96, 0.16);
}

.contactCards__item:hover::before {
  opacity: 0.95;
  transform: scale(1.08);
}

.contactCards__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(159, 122, 234, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(241, 234, 255, 0.7)
    );
  color: var(--color-primary-dark);
  box-shadow: 0 14px 34px rgba(91, 60, 164, 0.1);
}

.contactCards__icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.contactCards__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contactCards__content strong {
  color: #23172f;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.contactCards__content small {
  display: block;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.contactCards__item:focus-visible {
  outline: 3px solid rgba(142, 220, 255, 0.78);
  outline-offset: 5px;
}

@media (max-width: 1080px) {
  .contactCards {
    margin-top: -64px;
  }

  .contactCards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contactCards {
    margin-top: -54px;
    padding-bottom: 38px;
  }

  .contactCards__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contactCards__item {
    min-height: 96px;
    padding: 16px;
    border-radius: 22px;
  }

  .contactCards__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .contactCards__icon svg {
    width: 21px;
    height: 21px;
  }

  .contactCards__content strong {
    font-size: 0.98rem;
  }

  .contactCards__content small {
    font-size: 0.86rem;
  }
}