.contact-card {
  width: 320px;
  min-height: 200px;
  box-sizing: border-box;
  padding: 1.5rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f3f4f6 60%, #e0e7ff 100%);
  box-shadow: 0 6px 24px rgba(60, 60, 120, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
  margin: 0 auto;
}

.contact-card:hover {
  box-shadow: 0 12px 36px rgba(60, 60, 120, 0.18);
  transform: translateY(-4px) scale(1.03);
}

.contact-card__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.contact-card__avatar,
.contact-card__initiales {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: #6366f1;
  border: 3px solid #6366f1;
  box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}

.contact-card__initiales {
  background: linear-gradient(135deg, #6366f1 60%, #818cf8 100%);
  color: #fff;
}

.contact-card__main strong {
  font-size: 1.15rem;
  color: #3730a3;
  margin-bottom: 0.2rem;
  text-align: center;
}

.contact-card__main div {
  font-size: 1rem;
  color: #444;
  margin-top: 2px;
  text-align: center;
}

.contact-card__fav-btn {
  margin-top: 1.4rem;
  background: linear-gradient(90deg, #6366f1 60%, #818cf8 100%);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(99,102,241,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  align-self: center;
}

.contact-card__fav-btn:hover {
  background: linear-gradient(90deg, #4338ca 60%, #6366f1 100%);
  box-shadow: 0 4px 16px rgba(99,102,241,0.18);
  transform: scale(1.05);
}