.site-footer {
  background: #1b1b1b;
  color: #ffffff;
  padding: 40px 0 28px;
  font-family: "Circe", "Tahoma", "Arial", sans-serif;
}

.site-footer__container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-footer__top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 20px;
}

.site-footer__phone {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}

.site-footer__social {
  display: inline-flex;
  gap: 8px;
}

.site-footer__social a {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2aabee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
}

.site-footer__social a + a {
  background: #25d366;
}

.site-footer__email {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  margin-left: auto;
}

.site-footer__actions {
  display: inline-flex;
  gap: 10px;
}

.site-footer__action {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.site-footer__action svg {
  width: 14px;
  height: 14px;
}

.site-footer__action--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 20px 0 26px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 30px;
}

.site-footer__col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-family: "Metal", "Circe", "Tahoma", "Arial", sans-serif;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__col a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal {
  margin: 24px 0 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 940px;
  line-height: 1.5;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-consult {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.footer-consult.is-open {
  opacity: 1;
  pointer-events: auto;
}

.footer-consult__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 14, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-consult.is-open .footer-consult__backdrop {
  opacity: 1;
}

.footer-consult__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(980px, 92vw);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 24px;
  transform: translate(-50%, -48%) scale(0.98);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.footer-consult.is-open .footer-consult__panel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.footer-consult__appbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.footer-consult__close {
  border: none;
  background: rgba(0, 0, 0, 0.06);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer-consult__close svg {
  width: 22px;
  height: 22px;
}

.footer-consult__body {
  overflow: auto;
  padding: 0;
}

.footer-consult .blog-index__consult {
  margin: 0;
  padding: 20px 24px 24px;
  border-radius: 0;
}

.footer-consult .blog-index__consult::before {
  display: none;
}

.footer-consult .blog-article__reminder {
  margin: 0;
  padding: 24px;
}

@media (max-width: 900px) {
  .footer-consult .blog-index__consult {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-consult__panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    left: 0;
    top: auto;
    bottom: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }

  .footer-consult.is-open .footer-consult__panel {
    transform: translateY(0);
  }

  .footer-consult__appbar {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .footer-consult__body {
    overflow: auto;
  }

  .footer-consult .blog-index__consult {
    padding: 16px;
  }

  .footer-consult .blog-index__consult::before {
    display: none;
  }

  .footer-consult .blog-article__reminder {
    padding: 16px;
  }
}

@media (max-width: 900px) {
  .site-footer__email {
    margin-left: 0;
  }

  .site-footer__actions {
    width: 100%;
    flex-direction: column;
  }

  .site-footer__action {
    justify-content: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}
