:root {
  --footer-bg: #0d1116;
  --footer-bg-deep: #090d12;
  --footer-text: #f5f5f6;
  --footer-muted: #c8c9cc;
  --footer-orange: #ff8500;
  --footer-line: rgba(255, 255, 255, 0.18);
  --footer-max: 1900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
}

.mj-footer {
  position: relative;
  overflow: hidden;
  color: var(--footer-text);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.025);
}

.mj-footer::after { display: none; }

.mj-footer a {
  color: inherit;
  text-decoration: none;
}

.mj-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 76px 77px 0;
}

.mj-footer__grid {
  display: grid;
  grid-template-columns: 458px 325px 366px minmax(0, 453px);
  justify-content: space-between;
  gap: 0;
  align-items: start;
}

.mj-footer__column {
  position: relative;
  min-width: 0;
}

.mj-footer__column--divider::after {
  content: "";
  position: absolute;
  top: 68px;
  right: 0;
  width: 1px;
  height: 288px;
  background: var(--footer-line);
}

.mj-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.mj-footer__logo {
  display: block;
  width: min(100%, 370px);
  height: auto;
}

.mj-footer__description {
  margin: 34px 0 30px;
  color: var(--footer-muted);
  font-size: clamp(17px, 1.12vw, 23px);
  line-height: 1.72;
  letter-spacing: -0.02em;
}

.mj-footer__socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mj-footer__social,
.mj-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 133, 0, 0.72);
  border-radius: 50%;
  transition: 180ms ease;
}

.mj-footer__social {
  width: 58px;
  height: 58px;
  color: #fff;
}

.mj-footer__social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mj-footer__social:hover,
.mj-footer__social:focus-visible,
.mj-footer__contact-item:hover .mj-footer__contact-icon,
.mj-footer__contact-item:focus-visible .mj-footer__contact-icon {
  color: var(--footer-bg);
  background: var(--footer-orange);
  border-color: var(--footer-orange);
  transform: translateY(-2px);
}

.mj-footer__heading {
  position: relative;
  margin: 0 0 31px;
  padding-left: 28px;
  color: #fff;
  font-size: clamp(20px, 1.27vw, 26px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.mj-footer__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 5px;
  height: 24px;
  background: var(--footer-orange);
  box-shadow: 0 0 12px rgba(255, 133, 0, 0.14);
}

.mj-footer__links {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mj-footer__links li {
  min-width: 0;
}

.mj-footer__links a {
  position: relative;
  display: inline-block;
  padding-left: 29px;
  color: var(--footer-muted);
  font-size: clamp(17px, 1.13vw, 23px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.mj-footer__links a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -3px;
  color: var(--footer-orange);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
}

.mj-footer__links a:hover,
.mj-footer__links a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.mj-footer__contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  font-style: normal;
}

.mj-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 21px;
  min-width: 0;
  color: #f1f1f2;
  font-size: clamp(17px, 1.13vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.mj-footer__contact-icon {
  width: 56px;
  height: 56px;
  color: #fff;
}

.mj-footer__contact-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.mj-footer__rule {
  height: 1px;
  margin-top: 49px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,133,0,.8) 42%,
    rgba(255,133,0,.25) 67%,
    rgba(255,255,255,.07) 100%
  );
}

.mj-footer__bottom {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) auto auto;
  align-items: center;
  align-content: start;
  gap: 74px;
  min-height: 132px;
  padding: 32px 0 24px;
}

.mj-footer__copyright,
.mj-footer__legal {
  color: var(--footer-muted);
  font-size: clamp(16px, 1.12vw, 23px);
  letter-spacing: -0.018em;
}

.mj-footer__copyright {
  margin: 0;
  white-space: nowrap;
}

.mj-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  white-space: nowrap;
}

.mj-footer__legal span {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.25);
}

.mj-footer__legal a {
  transition: color 180ms ease;
}

.mj-footer__legal a:hover,
.mj-footer__legal a:focus-visible {
  color: #fff;
}


@media (max-width: 1599px) {
  .mj-footer__inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .mj-footer__grid {
    grid-template-columns: 1.13fr 0.96fr 0.98fr 1.11fr;
    gap: 54px;
  }

  .mj-footer__column--divider::after {
    right: -27px;
  }


  .mj-footer__bottom {
    gap: 36px;
  }
}

@media (max-width: 1260px) {
  .mj-footer__inner {
    padding-top: 64px;
  }

  .mj-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 70px;
    row-gap: 58px;
  }

  .mj-footer__column--divider::after {
    display: none;
  }

  .mj-footer__column:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -35px;
    width: 1px;
    height: 100%;
    background: var(--footer-line);
  }

  .mj-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 26px 40px;
    padding: 28px 0 34px;
  }

  .mj-footer__copyright {
    white-space: normal;
  }

  .mj-footer__legal {
    justify-content: flex-end;
  }

}

@media (max-width: 760px) {
  .mj-footer__inner {
    padding: 48px 24px 0;
  }

  .mj-footer__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .mj-footer__column:nth-child(odd)::after {
    display: none;
  }

  .mj-footer__brand {
    padding-bottom: 4px;
  }

  .mj-footer__logo {
    width: min(100%, 330px);
  }

  .mj-footer__description {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.65;
  }

  .mj-footer__socials {
    gap: 14px;
  }

  .mj-footer__social {
    width: 52px;
    height: 52px;
  }

  .mj-footer__heading {
    margin-bottom: 24px;
    font-size: 21px;
  }

  .mj-footer__links {
    gap: 17px;
  }

  .mj-footer__links a,
  .mj-footer__contact-item {
    font-size: 17px;
    white-space: normal;
  }

  .mj-footer__contact-icon {
    width: 52px;
    height: 52px;
  }

  .mj-footer__rule {
    margin-top: 42px;
  }

  .mj-footer__bottom {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    min-height: 0;
    padding: 30px 0 38px;
  }

  .mj-footer__legal {
    justify-content: flex-start;
    gap: 18px;
    white-space: normal;
  }

  .mj-footer__legal span {
    height: 28px;
  }

}

@media (max-width: 420px) {
  .mj-footer__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mj-footer__description br {
    display: none;
  }

  .mj-footer__contact-item {
    align-items: flex-start;
  }

  .mj-footer__contact-icon {
    margin-top: -2px;
  }
}

/* Compact responsive footer refinement — 2026-08-10 */
.mj-footer .mj-footer__inner {
  padding-top: 52px !important;
}

.mj-footer .mj-footer__column--divider::after {
  top: 48px !important;
  height: 250px !important;
}

.mj-footer .mj-footer__logo {
  width: min(100%, 310px) !important;
}

.mj-footer .mj-footer__description {
  margin: 20px 0 18px !important;
  line-height: 1.58 !important;
}

.mj-footer .mj-footer__socials {
  gap: 16px !important;
}

.mj-footer .mj-footer__social,
.mj-footer .mj-footer__contact-icon {
  color: var(--footer-orange);
  background: rgba(255, 133, 0, 0.08);
  border-color: rgba(255, 133, 0, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 8px 20px rgba(0, 0, 0, 0.16);
}

.mj-footer .mj-footer__social {
  width: 50px !important;
  height: 50px !important;
}

.mj-footer .mj-footer__social svg,
.mj-footer .mj-footer__contact-icon svg {
  width: 24px;
  height: 24px;
}

.mj-footer .mj-footer__social:hover,
.mj-footer .mj-footer__social:focus-visible,
.mj-footer .mj-footer__contact-item:hover .mj-footer__contact-icon,
.mj-footer .mj-footer__contact-item:focus-visible .mj-footer__contact-icon {
  color: #090d12;
  background: var(--footer-orange);
  border-color: var(--footer-orange);
  box-shadow: 0 10px 24px rgba(255, 133, 0, 0.2);
  transform: translateY(-2px) scale(1.03);
}

.mj-footer .mj-footer__heading {
  margin-bottom: 22px !important;
  padding-left: 24px;
}

.mj-footer .mj-footer__heading::before {
  width: 4px;
  height: 22px;
  border-radius: 2px;
}

.mj-footer .mj-footer__links {
  gap: 15px !important;
}

.mj-footer .mj-footer__links a {
  padding-left: 24px;
}

.mj-footer .mj-footer__links a::before {
  font-size: 30px;
}

.mj-footer .mj-footer__contact-list {
  gap: 14px;
}

.mj-footer .mj-footer__contact-item {
  gap: 16px;
}

.mj-footer .mj-footer__contact-icon {
  width: 48px;
  height: 48px;
}

.mj-footer .mj-footer__rule {
  margin-top: 32px !important;
}

.mj-footer .mj-footer__bottom {
  gap: 24px !important;
  min-height: 90px !important;
  padding: 19px 0 17px !important;
}

.mj-footer .mj-footer__powered {
  margin: 0;
  color: var(--footer-muted);
  font-size: clamp(15px, 1vw, 20px);
}

.mj-footer .mj-footer__powered a {
  color: var(--footer-orange);
  font-weight: 700;
}

@media (max-width: 1260px) {
  .mj-footer .mj-footer__inner {
    padding-top: 44px !important;
  }

  .mj-footer .mj-footer__grid {
    row-gap: 38px !important;
  }

  .mj-footer .mj-footer__bottom {
    padding: 20px 0 24px !important;
  }
}

@media (max-width: 760px) {
  .mj-footer .mj-footer__inner {
    padding: 32px 20px 0 !important;
  }

  .mj-footer .mj-footer__grid {
    gap: 28px !important;
  }

  .mj-footer .mj-footer__brand {
    padding-bottom: 0;
  }

  .mj-footer .mj-footer__logo {
    width: min(100%, 280px) !important;
  }

  .mj-footer .mj-footer__description {
    margin: 18px 0 16px !important;
    line-height: 1.55 !important;
  }

  .mj-footer .mj-footer__social {
    width: 46px !important;
    height: 46px !important;
  }

  .mj-footer .mj-footer__heading {
    margin-bottom: 18px !important;
  }

  .mj-footer .mj-footer__links {
    gap: 12px !important;
  }

  .mj-footer .mj-footer__contact-list {
    gap: 12px;
  }

  .mj-footer .mj-footer__contact-icon {
    width: 46px;
    height: 46px;
  }

  .mj-footer .mj-footer__rule {
    margin-top: 26px !important;
  }

  .mj-footer .mj-footer__bottom {
    gap: 12px !important;
    padding: 18px 0 22px !important;
  }
}

@media (max-width: 420px) {
  .mj-footer .mj-footer__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mj-footer .mj-footer__description {
    white-space: normal;
  }
}
