/*
 * Footer in the iProff website's look (iproff.ee, "iProff Website" project, site-footer.tsx and
 * home-sections.module.css): light grey, link columns, a logo + Apple Independent Repair Provider row,
 * and a legal line with the languages.
 */
.site-footer {
  background: #f5f5f7;
  padding-top: 80px;
  font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #5b5b66;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: #000;
}

.site-footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}

.site-footer-columns > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer-heading {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: #000;
}

.site-footer-follow {
  margin-top: 20px;
}

.site-footer-phone {
  margin-top: 20px;
  color: #24242e !important;
}

.site-footer-phone:hover {
  color: #000 !important;
}

.site-footer-socials {
  display: flex;
  gap: 16px;
}

.site-footer-socials a {
  display: inline-flex;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-footer-socials a:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.site-footer-socials img {
  display: block;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid #e3e3e8;
}

.site-footer-brand a,
.site-footer-brand img {
  display: block;
}

.site-footer-brand span {
  margin-left: 8px;
}

.site-footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  line-height: 24px;
}

.site-footer-legal p {
  margin: 0;
}

.site-footer-langs {
  display: flex;
  align-items: center;
  gap: 19px;
}

.site-footer-langs b {
  color: #000;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 40px;
  }

  .site-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .site-footer-columns > div {
    gap: 8px;
  }

  .site-footer-columns a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
  }

  .site-footer-follow,
  .site-footer-phone {
    margin-top: 8px;
  }

  .site-footer-brand {
    flex-wrap: wrap;
  }

  .site-footer-brand span {
    margin-left: 0;
  }

  .site-footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer-langs a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
  }
}

@media (max-width: 359px) {
  .site-footer-columns {
    grid-template-columns: 1fr;
  }
}
