.site-footer,
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: 28px 48px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-company {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-width: 0;
}

.footer-company a {
  max-width: 100%;
}

.site-footer .footer-company-logo,
.footer .footer-company-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.footer-company-note {
  margin: 0;
  color: var(--muted, #617086);
  font-size: 12px;
  line-height: 1.6;
}

.bir-registration {
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  min-width: 0;
}

.bir-registration-title {
  margin: 0;
  color: var(--navy, #062967);
  font-size: 14px;
  font-weight: 750;
}

.bir-registration-link {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 12px;
  color: var(--navy, #062967);
  background: #fff;
  border: 1px solid var(--line, #d9e4ee);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

.bir-registration-link:hover {
  border-color: var(--navy, #062967);
}

.bir-registration-link:focus-visible {
  outline: 3px solid var(--cyan, #10aee8);
  outline-offset: 4px;
}

.site-footer .bir-registration img,
.footer .bir-registration img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-footer .bir-registration-link .bir-registration-hint,
.footer .bir-registration-link .bir-registration-hint {
  width: auto;
  margin: 0;
  color: var(--muted, #617086);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .site-footer,
  .footer {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-company {
    justify-items: center;
    text-align: center;
  }

  .site-footer .footer-company-logo,
  .footer .footer-company-logo {
    width: 240px;
  }
}
