.site-footer {
  width: 100%;
  font-family: var(--auth-font-body, var(--font-body, "Source Sans 3", system-ui, sans-serif));
  color: var(--site-footer-color, var(--search-primary, var(--auth-primary-color, #192356)));
}

.site-footer__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}

.site-footer--install .site-footer__content {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
  margin-inline: auto;
}

.site-footer__card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(25, 35, 86, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 35, 86, 0.06);
}

.site-footer__icon {
  flex: 0 0 52px;
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer__text {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-footer__title {
  margin: 0 0 0.25rem;
  font-family: var(--auth-font-body, var(--font-body, "Source Sans 3", system-ui, sans-serif));
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--site-footer-color, var(--search-primary, var(--auth-primary-color, #192356)));
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-footer a {
  display: inline-block;
  max-width: 100%;
  color: var(--site-footer-link-color, var(--search-link, var(--auth-link-color, #c9494a)));
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transition: color 0.2s;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-footer a:hover {
  color: var(--site-footer-link-hover-color, var(--search-primary, var(--auth-primary-color, #192356)));
}

.site-footer__copyright {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(25, 35, 86, 0.62);
}

.site-footer .site-footer__copyright {
  margin-top: 2rem;
}

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

  .site-footer__card {
    height: auto;
    align-items: flex-start;
    padding: 0.75rem 0.95rem;
  }

  .site-footer__icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .site-footer p {
    font-size: 0.86rem;
  }
}
