.legal-footer {
  background: #10131d !important;
  color: #ffffff;
}

.legal-footer .section-padding {
  padding-top: 56px;
  padding-bottom: 38px;
}

.legal-footer p,
.legal-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.55;
}

.legal-footer a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
}

.legal-footer a:hover {
  color: #ffffff;
}

.legal-footer h4 {
  color: #ffffff !important;
  margin-bottom: 14px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.legal-footer .footer-link-group {
  display: flex;
  gap: 64px;
}

.legal-footer .list-item {
  display: grid;
  gap: 4px;
}

.legal-footer .list-item,
.legal-footer .list-item li {
  margin: 0;
  padding: 0;
}

.legal-footer .btn {
  min-height: 46px;
  border-radius: 8px;
  background: #6e61f5 !important;
  color: #ffffff !important;
}

.legal-footer .legal-copyright {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

@media (max-width: 767px) {
  .legal-footer {
    text-align: center;
  }

  .legal-footer .section-padding {
    padding-top: 40px;
    padding-bottom: 22px;
  }

  .legal-footer .grid {
    gap: 30px !important;
  }

  .legal-footer .single-footer {
    min-width: 0;
  }

  .legal-footer img {
    width: 104px;
    margin-right: auto;
    margin-left: auto;
  }

  .legal-footer .footer-link-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-footer .footer-link-group > * {
    margin-left: 0 !important;
  }

  .legal-footer .list-item {
    gap: 0;
  }

  .legal-footer .list-item a {
    width: 100%;
    min-height: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
  }

  .legal-footer h4 {
    margin-bottom: 8px !important;
  }

  .legal-footer .btn {
    min-height: 48px;
  }

  .legal-footer .legal-copyright {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    font-size: 13px;
  }
}
