.home-footer {
  --footer-surface: #f1f5ef;
  --footer-ink: #183d34;
  --footer-muted: #466358;
  --footer-line: #ccdcd1;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-surface);
  color: var(--footer-ink);
}

.home-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 56px) 27px;
}

.home-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.125rem;
}

.home-footer__brand img {
  flex: 0 0 42px;
}

.home-footer h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.home-footer p {
  margin: 7px 0 0;
  color: var(--footer-muted);
}

.home-footer ul,
.home-footer address {
  display: grid;
  gap: 5px;
  justify-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
  font-style: normal;
  overflow-wrap: anywhere;
}

.home-footer a {
  color: inherit;
  text-decoration: none;
}

.home-footer a:hover {
  text-decoration: underline;
}

.home-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 9px 24px;
  padding-block: 15px 22px;
  border-top: 1px solid var(--footer-line);
  font-size: 0.875rem;
}

.home-footer__bottom p {
  margin: 0;
}

.home-footer__bottom > a {
  font-weight: 700;
  padding-block: 5px;
}

@media (max-width: 640px) {
  .home-footer__main {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 20px 14px;
  }

  .home-footer__main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .home-footer__main {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-footer nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-footer__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
}
