.social-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(23, 53, 47, .2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(23, 53, 47, .3);
  filter: brightness(1.06);
}

.social-icon:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #fcb045);
}

.social-icon.instagram svg {
  fill: none;
}

.social-icon.instagram .social-dot {
  fill: currentColor;
  stroke: none;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.linkedin {
  background: #0a66c2;
}

.newsletter-legal {
  margin-top: 18px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

.newsletter-legal a,
.footer-legal-links a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 3px;
}

.footer-legal-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .social-row {
    display: flex;
    align-items: center;
  }

  .social-row > span {
    flex: 1 0 100%;
  }
}
