/* Site footer */

.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding-block: 3rem;
}

.site-footer__brand .site-logo__text {
  color: var(--primary-foreground);
}

.site-footer__desc {
  margin-top: 0.75rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
}

.site-footer__nav-title,
.site-footer__contacts-title {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer__nav {
  font-size: 0.875rem;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__address {
  font-style: normal;
}

.site-footer__nav-link {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  transition: color var(--transition);
}

.site-footer__nav-link:hover {
  color: var(--accent);
}

.site-footer__contacts {
  font-size: 0.875rem;
}

.site-footer__location {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
}

.site-footer__phone {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--accent);
  transition: filter var(--transition);
}

.site-footer__phone:hover {
  filter: brightness(1.1);
}

.site-footer__email {
  display: block;
  margin-top: 0.375rem;
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  transition: color var(--transition);
}

.site-footer__email:hover {
  color: var(--accent);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: color-mix(in oklch, var(--primary-foreground) 12%, transparent);
  color: var(--primary-foreground);
  transition: background-color var(--transition), color var(--transition);
}

.site-footer__social-link:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.site-footer__bottom {
  padding-block: 1.25rem;
  border-top: 1px solid color-mix(in oklch, var(--primary-foreground) 15%, transparent);
  font-size: 0.75rem;
  color: color-mix(in oklch, var(--primary-foreground) 70%, transparent);
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.site-footer__legal-link {
  color: color-mix(in oklch, var(--primary-foreground) 80%, transparent);
  transition: color var(--transition);
}

.site-footer__legal-link:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
