@charset "UTF-8";

.site-footer {
  color: #5f7187;
  background: #050505;
}

.site-footer .container {
  max-width: 94%;
}

.site-footer-main {
  padding: 48px 0 44px;
  display: grid;
  grid-template-columns: repeat(5, minmax(118px, 1fr)) minmax(260px, 1.45fr);
  gap: 36px;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 22px;
  color: #dfe8f2;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.site-footer-col a,
.site-footer-text {
  display: block;
  width: fit-content;
  margin-top: 13px;
  color: #5f7187;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer-col a:hover {
  color: #dfe8f2;
}

.site-footer-contact strong {
  display: block;
  margin-bottom: 8px;
  color: #dfe8f2;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.site-footer-contact > p {
  margin: 0;
  color: #5f7187;
  font-size: 13px;
}

.site-footer-qrs {
  margin-top: 24px;
  display: flex;
  gap: 20px;
}

.site-footer-qr {
  min-width: 90px;
}

.qr-placeholder,
.footer-qr-img {
  width: 92px;
  height: 92px;
  display: block;
}

.footer-qr-img {
  padding: 6px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.qr-placeholder {
  border: 6px solid #ffffff;
  background:
    linear-gradient(90deg, #111827 10px, transparent 10px) 0 0 / 18px 18px,
    linear-gradient(#111827 10px, transparent 10px) 0 0 / 18px 18px,
    #ffffff;
}

.site-footer-qr p {
  margin: 10px 0 0;
  color: #5f7187;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.site-footer-bottom {
  padding: 24px 0 20px;
  border-top: 1px solid rgba(95, 113, 135, .22);
  background: #171717;
  text-align: center;
}

.site-footer-bottom p {
  margin: 0;
  color: #5f7187;
  font-size: 12px;
  line-height: 2;
}

.site-footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer-bottom a:hover {
  color: #dfe8f2;
}

.site-footer-mobile {
  display: none;
}

@media screen and (max-width: 991px) {
  .site-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }

  .site-footer-contact {
    grid-column: 1 / -1;
  }

  .site-footer-qrs {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 767px) {
  .site-footer-main {
    display: none;
  }

  .site-footer-mobile {
    display: block;
    padding: 20px 0 34px;
    color: #ffffff;
    background: #050505;
  }

  .mobile-footer-links {
    border-bottom: 0;
  }

  .mobile-footer-item {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .mobile-footer-item:first-child {
    border-top: 0;
  }

  .mobile-footer-toggle {
    min-height: 56px;
    width: 100%;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-footer-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }

  .mobile-footer-item.is-open .mobile-footer-toggle::after {
    transform: rotate(135deg);
  }

  .mobile-footer-submenu {
    display: none;
    padding: 0 0 20px;
  }

  .mobile-footer-item.is-open .mobile-footer-submenu {
    display: grid;
    gap: 14px;
  }

  .mobile-footer-submenu a,
  .mobile-footer-submenu .site-footer-text {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
  }

  .mobile-footer-contact {
    padding-top: 24px;
  }

  .mobile-footer-contact strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
  }

  .mobile-footer-contact p {
    margin: 10px 0 0;
    color: #d4d8df;
    font-size: 13px;
    line-height: 1.45;
  }

  .mobile-footer-mails {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mobile-footer-mails h3,
  .mobile-footer-qr h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
  }

  .mobile-footer-mails a,
  .mobile-footer-qr p {
    margin: 0;
    color: #d4d8df;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
  }

  .mobile-footer-qrs {
    margin-top: 24px;
    display: grid;
    gap: 24px;
  }

  .mobile-footer-qr {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 16px;
    align-items: center;
  }

  .mobile-footer-qr .qr-placeholder,
  .mobile-footer-qr .footer-qr-img {
    width: 104px;
    height: 104px;
  }

  .mobile-footer-qr .footer-qr-img {
    padding: 7px;
  }

  .mobile-footer-qr .qr-placeholder {
    border-width: 7px;
  }

  .site-footer-bottom {
    display: block;
    padding: 18px 0 20px;
    background: #171717;
    text-align: left;
  }

  .site-footer-bottom p {
    color: #7b8797;
    line-height: 1.8;
  }
}
