#colophon.site-footer {
  background: #316285;
  color: #fff;
  font-family: Arial, sans-serif;
  min-height: 323px;
}

.site-footer__inner {
  width: min(100% - 40px, 1096px);
  margin: 0 auto;
  padding: 24px 0 52px;
}

.site-footer__logo-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.site-footer__logo {
  display: block;
  width: min(100%, 248px);
  height: auto;
}

.site-footer__rule {
  width: 100%;
  height: 1px;
  margin: 9px 0 10px;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer__rule--short {
  width: min(100%, 536px);
  margin: 14px 0 12px;
}

.site-footer__address,
.site-footer__contact-row p {
  color: #fff;
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}

.site-footer__address {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 17px 17px;
}

.site-footer__address-line,
.site-footer__contact-row,
.site-footer__phone,
.site-footer__emergency p {
  display: flex;
  align-items: center;
}

.site-footer__address-line {
  gap: 6px;
  font-weight: 700;
}

.site-footer__icon--location {
  position: relative;
  width: 8px;
  height: 8px;
  margin-left: 1px;
  border-radius: 50% 50% 50% 0;
  background: currentColor;
  transform: rotate(-45deg);
}

.site-footer__icon--location::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #316285;
}

.site-footer__contact-row {
  gap: 6px;
  margin-left: 15px;
}

.site-footer__contact-row--info {
  margin-top: 0;
}

.site-footer__contact-row p {
  margin: 0;
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.site-footer__phone {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__phone:hover,
.site-footer__phone:focus-visible {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__phone:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-footer__phone svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.site-footer__emergency {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__emergency p {
  gap: 4px;
}

.site-footer__emergency p:nth-child(n+2) {
  padding-left: 32px;
}
/* Legal footer */
.legal-footer
{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  padding: 16px clamp(24px, 5vw, 100px);
  box-sizing: border-box;
  background-color: #35373a;
  position: relative;
  z-index: 1;
}
.legal-footer .content
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.legal-footer .content p,
.legal-footer .content a
{
  margin: 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}
.legal-footer .content a:hover
{
  text-decoration: underline;
}
.legal-footer > img
{
  width: auto;
  max-height: 28px;
  object-fit: contain;
}
@media (max-width: 700px) {
  #colophon.site-footer {
    min-height: auto;
  }

  .site-footer__inner {
    width: min(100% - 32px, 1096px);
    padding: 24px 0 42px;
  }

  .site-footer__logo {
    width: min(100%, 248px);
  }

  .site-footer__address,
  .site-footer__contact-row {
    margin-left: 0;
  }

  .site-footer__contact-row {
    align-items: flex-start;
  }

  .site-footer__contact-row p,
  .site-footer__emergency p {
    flex-wrap: wrap;
    line-height: 1.55;
  }

  .site-footer__rule--short {
    width: 100%;
  }

  .site-footer__emergency p:nth-child(n+2) {
    padding-left: 0;
  }
  .legal-footer
  {
    flex-direction: column;
    padding: 14px 18px;
    gap: 10px;
  }
}
