.site-footer {
  margin: 0;
  padding: 52px 32px 28px;
  background: #3b0f2f;
  color: #f3f2ed;
  font-family: 'Lato', sans-serif;
  text-align: center;
}

.site-footer__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 36px;
  justify-items: center;
}

.site-footer__brand h2,
.site-footer__section h2 {
  margin: 0 0 14px;
  color: #f3f2ed;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer__brand p {
  max-width: 32ch;
  margin: 0 auto;
  color: #f3f2ed;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
}

.site-footer__section a {
  display: block;
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 8px;
  color: #f3f2ed;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
  text-decoration: none;
}

.site-footer__section a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 242, 237, 0.18);
  color: #f3f2ed;
  font-size: 12.5px;
  opacity: 0.65;
  text-align: center;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 40px 22px 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}
