.site-footer {
  margin-top: var(--section-gap);
  padding-bottom: calc(var(--frame-pad) + var(--safe-bottom));
  background: transparent;
}

.site-footer__card {
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px) 20px;
  background: var(--color-header);
  border-radius: var(--radius-card);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px var(--space-gap);
}

.site-footer__brand,
.site-footer__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-footer__brand {
  gap: 16px;
}

.site-footer__col {
  gap: 10px;
  font-size: var(--fs-nav);
  line-height: normal;
  color: var(--color-text-muted);
}

.site-footer__col:last-child {
  line-height: var(--lh-copy);
}

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

.site-footer__about {
  margin: 0;
  max-width: 300px;
  font-size: var(--fs-nav);
  line-height: var(--lh-copy);
  color: var(--color-text-muted);
}

.site-footer__phone {
  margin: 0;
  font-size: 20px;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}

.site-footer__phone a,
.site-footer__title {
  color: var(--color-text);
}

.site-footer__hours {
  font-size: var(--fs-meta);
  color: var(--color-text-muted);
}

.site-footer__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
}

.site-footer__col a,
.site-footer__phone a,
.site-footer__legal a,
.site-footer__bottom a {
  text-decoration: none;
}

.site-footer__col a {
  color: var(--color-text-muted);
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible,
.site-footer__phone a:hover,
.site-footer__phone a:focus-visible,
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-meta);
  color: var(--color-text-faint);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
  min-width: 0;
  max-width: 100%;
}

.site-footer__credit {
  margin: 0;
  min-width: 0;
  color: var(--color-text-faint);
  font-size: var(--fs-meta);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-footer__credit-link {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-footer__credit-name {
  color: inherit;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__legal a,
.site-footer__bottom a {
  color: var(--color-text-faint);
}

@media (min-width: 1024px) {
  .site-footer__title {
    margin-bottom: 0;
  }
}

@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__meta,
  .site-footer__legal {
    max-width: 100%;
  }
}

.site-messengers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.site-messengers__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1023px) {
  .site-messengers__link {
    min-height: 44px;
  }
}


