.sm-footer {
  background-image: linear-gradient(97deg, var(--sm-main-100) 0%, var(--sm-main-300) 100%);
  padding: 64px 0 0;
  margin-top: auto;
}

.sm-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.sm-footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.sm-footer__about {
  color: var(--sm-grey-900);
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 16px;
  max-width: 280px;
}

.sm-footer__title {
  font-family: var(--sm-font-body);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
}

.sm-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-footer__menu a {
  color: var(--sm-grey-600);
  font-size: 16px;
}

.sm-footer__menu a:hover {
  color: #006f62;
}

.sm-footer__contact {
  color: var(--sm-grey-600);
  font-size: 16px;
  line-height: 1.45;
}

.sm-footer__contact p {
  margin: 0 0 12px;
}

.sm-footer__contact a {
  color: var(--sm-grey-600);
  text-decoration: underline;
}

.sm-footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.sm-footer__bottom {
  border-top: 1px solid rgba(76, 74, 75, 0.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--sm-grey-500);
  font-size: 14px;
}

@media (max-width: 900px) {
  .sm-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .sm-footer {
    padding: 40px 0 0;
  }

  .sm-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sm-footer__about {
    max-width: none;
  }

  .sm-footer__socials,
  .sm-footer__menu {
    align-items: center;
  }

  .sm-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
