.mz84k2p7-footer {
  background: #000;
  color: #fff;
  padding-top: 56px;
}

.mz84k2p7-footer__inner {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.mz84k2p7-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-bottom: 8px;
  text-align: center;
}

.mz84k2p7-footer__logo {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
}

.mz84k2p7-footer__logo img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  object-fit: contain;
}

.mz84k2p7-footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  width: 100%;
}

.mz84k2p7-footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 56px;
}

.mz84k2p7-footer__badge img {
  display: block;
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mz84k2p7-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 6vw, 72px);
  margin-top: 40px;
  padding-bottom: 32px;
}

.mz84k2p7-footer__list {
  column-count: 2;
  column-gap: clamp(20px, 3vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mz84k2p7-footer__list li {
  break-inside: avoid;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
}

.mz84k2p7-footer__list a {
  color: #fff;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.mz84k2p7-footer__list a:hover {
  color: #7777ff;
}

.mz84k2p7-footer__bottom {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 20px 40px;
}

.mz84k2p7-footer__legal {
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.mz84k2p7-offer {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  color: #fff;
  background: linear-gradient(90deg, #1d2ba5 0%, #3d22c4 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
}

.mz84k2p7-offer[hidden] {
  display: none;
}

.mz84k2p7-offer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1200px);
  min-height: 64px;
  padding: 10px 24px;
}

.mz84k2p7-offer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.mz84k2p7-offer__brand img {
  display: block;
  width: auto;
  max-height: 42px;
}

.mz84k2p7-offer__message {
  flex: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.mz84k2p7-offer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  height: 40px;
  padding: 0 20px;
  color: #fff;
  background: #4c4cff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.mz84k2p7-offer__button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.mz84k2p7-offer__close {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.mz84k2p7-offer__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .mz84k2p7-footer__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mz84k2p7-footer {
    padding-top: 40px;
  }

  .mz84k2p7-footer__inner {
    width: min(100% - 32px, 1200px);
  }

  .mz84k2p7-footer__badges {
    gap: 12px 18px;
  }

  .mz84k2p7-footer__badge {
    min-width: 76px;
  }

  .mz84k2p7-footer__badge img {
    max-width: 105px;
    max-height: 42px;
  }

  .mz84k2p7-footer__links {
    margin-top: 30px;
  }

  .mz84k2p7-footer__list {
    column-count: 1;
  }

  .mz84k2p7-footer__bottom {
    padding: 20px 16px 112px;
  }

  .mz84k2p7-offer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px 10px;
    min-height: 84px;
    padding: 8px 12px;
  }

  .mz84k2p7-offer__brand span {
    display: none;
  }

  .mz84k2p7-offer__brand img {
    max-width: 76px;
    max-height: 46px;
  }

  .mz84k2p7-offer__message {
    font-size: 14px;
    line-height: 1.25;
  }

  .mz84k2p7-offer__button {
    grid-column: 2;
    grid-row: 2;
    min-width: 96px;
    height: 32px;
  }

  .mz84k2p7-offer__close {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
