.footer-links {
  align-items: center;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.footer-links .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 5px 14px 5px 6px;
  border: 1px solid #d6e1df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 36, 43, .06);
  color: #20383d;
  font-size: .92rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.footer-links .footer-social a:hover {
  border-color: #8ca9ab;
  box-shadow: 0 5px 14px rgba(16, 36, 43, .12);
  color: #102b31;
  text-decoration: none;
  transform: translateY(-2px);
}

.footer-links .footer-social a:focus-visible {
  outline: 3px solid #d96a23;
  outline-offset: 3px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  overflow: hidden;
  border-radius: 7px;
}

.footer-social-icon.instagram {
  background: linear-gradient(135deg, #d9417a, #f47738);
}

.footer-social-icon.instagram img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.footer-social-icon.red-note img {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

@media (max-width: 700px) {
  .footer-social {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-links .footer-social a {
    transition: none;
  }
}
