.footer {
  background: var(--primary);
  color: var(--secondary);
  padding-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand p {
  max-width: 34ch;
  opacity: 0.8;
  margin: 1rem 0 1.5rem;
}
.footer__social {
  display: flex;
  gap: 0.75rem;
}
.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 235, 0.3);
  border-radius: 50%;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}
.footer__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.footer li {
  margin-bottom: 0.6rem;
  opacity: 0.85;
}
.footer li a:hover {
  color: var(--accent);
}
.footer__legal {
  border-top: 1px solid rgba(244, 241, 235, 0.12);
  padding: 1.5rem 0;
  font-size: 0.88rem;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
