/* QMedic footer 0.21.4-r3 */
.site-footer {
  margin-top: 64px;
  background:
    radial-gradient(circle at 14% 20%, rgba(26, 191, 187, .09), transparent 30%),
    linear-gradient(135deg, #092d3d 0%, #0b3142 55%, #082836 100%);
  color: rgba(255,255,255,.72);
}

.site-footer .footer-inner {
  min-height: 0;
  padding: 28px 0 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(150px, .65fr) minmax(250px, 1fr);
  align-items: start;
  gap: 44px;
}

.footer-about {
  min-width: 0;
}

.site-footer .footer-brand {
  display: inline-block;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.site-footer .footer-about p {
  max-width: 340px;
  margin: 6px 0 13px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer .footer-note {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  line-height: 1.3;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-title {
  margin-bottom: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.footer-column a,
.footer-column .footer-cookie-settings {
  color: rgba(255,255,255,.64);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-column a:hover,
.footer-column .footer-cookie-settings:hover {
  color: #71ddd5;
  transform: translateX(2px);
}

/* На обычном desktop футер должен помещаться в видимую высоту экрана. */
@media (min-width: 900px) and (min-height: 720px) {
  body.check-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  body.check-page > .site-header {
    flex: 0 0 auto;
  }

  body.check-page main {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.check-page .check-hero {
    min-height: 0;
    padding-top: clamp(34px, 4.5vh, 58px);
    padding-bottom: clamp(30px, 4vh, 50px);
  }

  body.check-page .site-footer {
    margin-top: 0;
    flex: 0 0 auto;
  }
}

@media (max-width: 840px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 38px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 48px;
  }

  .site-footer .footer-inner {
    width: min(100% - 30px, 1180px);
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-about {
    grid-column: auto;
  }

  .site-footer .footer-note {
    align-self: flex-start;
  }
}
