body > [data-site-footer] {
  order: 9;
}

[data-site-footer] footer {
  padding-block: 0;
  color: #aebbc8;
  background: #15232f;
  border-top: 1px solid #2d4354;
}

.footer__inner {
  gap: 0;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 1.45fr);
  gap: clamp(48px, 7vw, 96px);
  padding-block: 48px 38px;
}

.footer__intro {
  max-width: 420px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5f8fb;
  font-size: 20px;
  font-weight: 700;
}

.footer__brand-mark {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: #ffffff;
}

.footer__brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer__intro p {
  max-width: 38ch;
  margin: 19px 0 23px;
  color: #aebdca;
  font-size: 15px;
  line-height: 1.6;
}

.footer__telegram {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #425b6d;
  border-radius: 10px;
  color: #e9f0f6;
  background: #1d3040;
  font-size: 14px;
  font-weight: 620;
  transition:
    transform 140ms cubic-bezier(.23, 1, .32, 1),
    border-color 160ms ease,
    background-color 160ms ease;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer__group {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer__group strong {
  margin-bottom: 4px;
  color: #f3f7fa;
  font-size: 13px;
  font-weight: 650;
}

.footer__group a {
  width: fit-content;
  color: #aebdca;
  font-size: 14px;
  line-height: 1.35;
  transition: color 160ms ease;
}

.footer__bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-block: 20px 24px;
  border-top: 1px solid #2d4354;
  color: #8fa0ae;
  font-size: 12px;
  line-height: 1.5;
}

.footer__bottom p {
  margin: 0;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .footer__telegram:hover {
    transform: translateY(-1px);
    border-color: #607b90;
    background: #23394b;
  }

  .footer__group a:hover {
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  [data-site-footer] footer .container {
    padding-inline: 18px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 38px 30px;
  }

  .footer__intro {
    max-width: none;
  }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 18px 22px;
  }

  .footer__bottom p {
    text-align: left;
  }
}
