/* Footer artwork, content and proportions follow freshauto.ru. */
.journal-footer {
  display: flow-root;
}
.site-footer {
  margin-top: 32px;
  padding: 40px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
}
.footer-logo {
  width: 160px;
  height: 19px;
  margin-bottom: 40px;
  object-fit: contain;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  width: min(202px, 22%);
  min-width: 0;
  gap: 32px;
  font-size: 14px;
  line-height: 1.3;
}
.footer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-group > p {
  color: #ffffff80;
}
.site-footer a:hover {
  color: #b9caff;
}
.site-footer a:focus-visible {
  outline-color: #fff;
}
.footer-contact-text {
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.social-links {
  display: flex;
  gap: 24px;
}
.social-links a {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  min-height: 24px;
}
.social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.footer-app-links {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-app-qr {
  flex: none;
  padding: 1px;
  border: 1px solid #c9ced5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.footer-app-qr img {
  display: block;
  width: 108px;
  height: 108px;
}
.footer-store-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-store-links a,
.footer-store-links img {
  display: block;
  width: 32px;
  height: 32px;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  color: #ffffff80;
  font-size: 10px;
  line-height: 1.3;
}
.footer-legal > p {
  max-width: 960px;
}
.footer-founder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 220px;
  gap: 20px;
}
.age-label {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 2px solid #ffffff26;
  border-radius: 50%;
  color: #a1aab6;
  font-size: 14px;
  font-weight: 600;
}
.footer-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 40px -40px 0;
  padding: 32px 40px 0;
  border-top: 1px solid #ffffff1a;
  font-size: 14px;
  line-height: 1.3;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.3;
}
.footer-dealers {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-dealers a {
  display: block;
}
.footer-dealers img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100px;
  object-fit: contain;
}
.legal-below {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.legal-below p:first-child {
  max-width: 680px;
}
.legal-below p:last-child {
  max-width: 430px;
}
@media (max-width: 1023px) {
  .site-footer {
    padding: 32px;
    border-radius: 30px;
  }
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .footer-column {
    width: auto;
  }
  .footer-policy {
    margin-right: -32px;
    margin-left: -32px;
    padding-right: 32px;
    padding-left: 32px;
  }
  .footer-legal {
    align-items: flex-start;
    gap: 24px;
  }
  .footer-founder {
    flex-basis: 180px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    margin-right: 0;
    margin-left: 0;
    padding: 40px 16px 24px;
    border-radius: 24px 24px 0 0;
  }
  .footer-columns {
    gap: 32px 12px;
  }
  .social-links {
    gap: 12px;
  }
  .social-links a {
    min-height: 32px;
  }
  .footer-app-qr {
    display: none;
  }
  .footer-store-links {
    flex-direction: row;
  }
  .footer-store-links a,
  .footer-store-links img {
    width: 40px;
    height: 40px;
  }
  .footer-legal {
    display: none;
  }
  .footer-policy {
    flex-direction: column;
    gap: 12px;
    margin: 32px -16px 0;
    padding: 24px 16px 0;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
  }
  .footer-dealers img {
    height: 28px;
    max-width: 70px;
  }
  .legal-below {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 0 16px 24px;
  }
}
