/* =========================
   FOOTER
========================= */
.site-footer {
  background-color: var(--color-footer-bg);
  padding-top: 72px;
  padding-bottom: 60px;
}

.site-footer__grid {
  align-items: start;
}

.site-footer__brand {
  grid-column: 1 / span 3;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
}

.site-footer__logo img {
  width: 120px;
  height: auto;
  display: block;
}

.site-footer__description {
  max-width: calc(((100% - 24px) / 3) * 2 + 12px);
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #71717A;
}

.site-footer__column--products {
  grid-column: 4 / span 2;
}

.site-footer__column--company {
  grid-column: 7 / span 2;
}

.site-footer__column--updates {
  grid-column: 10 / span 3;
}

.site-footer__heading {
  margin: 0 0 22px;
  font-family: "Barlow", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111111;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li + li {
  margin-top: 14px;
}

.site-footer__list a {
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  color: #71717A;
  transition: color var(--transition);
}

.site-footer__list a:hover {
  color: #111111;
}

.site-footer__newsletter {
  margin: 0 0 24px;
}

.site-footer__newsletter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__newsletter-field {
  flex: 1;
  border: 1.5px solid #c8c8c8;
  background-color: transparent;
}

.site-footer__newsletter input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  color: #71717A;
  margin: 0;
}

.site-footer__newsletter input::placeholder {
  color: #71717A;
}

.site-footer__newsletter-button {
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
}

.site-footer__newsletter-button img {
  width: 14px;
  height: auto;
  display: block;
  opacity: 0.5;
}

.site-footer__social {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  opacity: 0.5;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: opacity var(--transition), transform var(--transition);
}

.site-footer__social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer__social img {
  width: auto;
  height: 14px;
  display: block;
}

.site-footer__copyright {
  margin: 64px 0 0;
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #71717A;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {

  .site-footer__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .site-footer__brand,
  .site-footer__column--products,
  .site-footer__column--company,
  .site-footer__column--updates {
    grid-column: 1 / -1;
  }

  .site-footer__column--updates {
    justify-self: start;
    max-width: 340px;
  }

  .site-footer__description {
    max-width: 100%;
  }
}

@media (max-width: 640px) {

  .site-footer {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .site-footer__grid {
    row-gap: 32px;
  }

  .site-footer__description {
    max-width: 100%;
  }

  .site-footer__newsletter-row {
    max-width: 100%;
  }

  .site-footer__social {
    gap: 20px;
  }

  .site-footer__copyright {
    margin-top: 40px;
  }
}

@media (max-width: 400px) {

  .site-footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .site-footer__logo img {
    width: 96px;
    height: auto;
  }

  .site-footer__description,
  .site-footer__list a,
  .site-footer__newsletter input,
  .site-footer__copyright {
    font-size: 0.92rem;
  }

  .site-footer__social {
    gap: 16px;
  }

  .site-footer__social img {
    height: 12px;
  }

  .site-footer__copyright {
    margin-top: 32px;
  }
}