/* MineJobs modern footer */
:root {
  --mj-footer-bg: #0b1220;
  --mj-footer-panel: rgba(20, 30, 48, 0.78);
  --mj-footer-panel-strong: rgba(28, 40, 63, 0.92);
  --mj-footer-line: rgba(148, 163, 184, 0.16);
  --mj-footer-text: #d7deea;
  --mj-footer-muted: #8f9bb0;
  --mj-footer-bright: #ffffff;
  --mj-footer-accent: #3b82f6;
  --mj-footer-accent-soft: rgba(59, 130, 246, 0.16);
  --mj-footer-green: #22c55e;
  --mj-footer-radius: 28px;
}

.mj-footer,
.mj-footer * {
  box-sizing: border-box;
}

.mj-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  direction: rtl;
  color: var(--mj-footer-text);
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.19), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(34, 197, 94, 0.10), transparent 28%),
    linear-gradient(145deg, #0a101d 0%, #101827 48%, #0b1220 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 58px 20px 26px;
  font-family: inherit;
}

.mj-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 85%);
}

.mj-footer__glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.42;
  pointer-events: none;
}

.mj-footer__glow--one {
  width: 260px;
  height: 260px;
  right: -90px;
  top: 60px;
  background: rgba(59, 130, 246, 0.18);
}

.mj-footer__glow--two {
  width: 320px;
  height: 320px;
  left: -110px;
  bottom: 20px;
  background: rgba(34, 197, 94, 0.10);
}

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

.mj-footer__top,
.mj-footer__middle,
.mj-footer__bottom {
  position: relative;
}

.mj-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}

.mj-footer__brand,
.mj-footer__social-wrap,
.mj-footer__cta,
.mj-footer__contacts,
.mj-footer__trust,
.mj-footer__bottom {
  border: 1px solid var(--mj-footer-line);
  background: linear-gradient(145deg, rgba(24, 34, 54, 0.84), rgba(14, 22, 38, 0.66));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.mj-footer__brand {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--mj-footer-radius);
}

.mj-footer__logo {
  width: 82px;
  min-width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 18px 45px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}

.mj-footer__logo:hover,
.mj-footer__logo:focus {
  color: #ffffff;
  transform: translateY(-1px);
}

.mj-footer__logo-img {
  max-width: 74%;
  max-height: 74%;
  object-fit: contain;
  display: block;
}

.mj-footer__logo svg,
.mj-footer__verified svg,
.mj-footer__contact-icon svg,
.mj-footer__action svg,
.mj-footer__social svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mj-footer__logo svg {
  font-size: 45px;
}

.mj-footer__social svg,
.mj-footer__verified svg {
  fill: currentColor;
  stroke: none;
}

.mj-footer__brand-copy {
  min-width: 0;
}

.mj-footer__eyebrow,
.mj-footer__section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9cc2ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.mj-footer__eyebrow::before,
.mj-footer__section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mj-footer-green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.10);
}

.mj-footer__brand-copy h2,
.mj-footer__cta h3 {
  color: var(--mj-footer-bright);
  font-size: clamp(23px, 2.15vw, 34px);
  line-height: 1.55;
  margin: 0 0 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mj-footer__brand-copy p,
.mj-footer__cta p,
.mj-footer__legal p {
  color: var(--mj-footer-muted);
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  font-weight: 600;
}

.mj-footer__brand-copy strong {
  display: block;
  margin-top: 16px;
  color: #eef4ff;
  font-size: 15px;
  line-height: 2;
  font-weight: 900;
}

.mj-footer__social-wrap {
  width: 310px;
  border-radius: var(--mj-footer-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.mj-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.mj-footer__social {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a9b7cc;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mj-footer__social:hover,
.mj-footer__social:focus {
  color: #ffffff;
  background: var(--mj-footer-accent-soft);
  border-color: rgba(59, 130, 246, 0.40);
  transform: translateY(-2px);
  text-decoration: none;
}

.mj-footer__social svg {
  font-size: 20px;
}

.mj-footer__verified {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.18);
  padding: 13px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 900;
}

.mj-footer__verified svg {
  font-size: 18px;
  color: #60a5fa;
}

.mj-footer__middle {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.78fr) minmax(230px, 0.58fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.mj-footer__cta,
.mj-footer__contacts,
.mj-footer__trust {
  border-radius: 24px;
  padding: 24px;
}

.mj-footer__cta p {
  margin-bottom: 20px;
}

.mj-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mj-footer__action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mj-footer__action--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.24);
}

.mj-footer__action--ghost {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mj-footer__action:hover,
.mj-footer__action:focus {
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

.mj-footer__action svg {
  font-size: 17px;
}

.mj-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mj-footer__contact {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  min-height: 66px;
  border-radius: 18px;
  color: var(--mj-footer-text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.mj-footer__contact:hover,
.mj-footer__contact:focus {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-1px);
  text-decoration: none;
}

.mj-footer__contact-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
}

.mj-footer__contact-icon svg {
  font-size: 21px;
}

.mj-footer__contact-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mj-footer__contact-copy span {
  color: var(--mj-footer-muted);
  font-size: 12px;
  font-weight: 800;
}

.mj-footer__contact-copy strong {
  color: #f8fbff;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 900;
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.mj-footer__badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mj-footer__badge {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.mj-footer__badge a,
.mj-footer__badge img,
.mj-footer__badge span,
.mj-footer__badge div {
  max-width: 100%;
}

.mj-footer__badge img {
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.mj-footer__badge-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  color: #334155;
  font-weight: 900;
  font-size: 14px;
  border: 1px dashed rgba(51, 65, 85, 0.20);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #edf2f7);
}

.mj-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
}

.mj-footer__legal {
  min-width: 0;
}

.mj-footer__legal span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.mj-footer__legal p {
  font-size: 12.5px;
  line-height: 1.9;
}

.mj-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
}

.mj-footer__links a {
  color: #b7c2d5;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.mj-footer__links a:hover,
.mj-footer__links a:focus {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.24);
  text-decoration: none;
}

@media (max-width: 1180px) {
  .mj-footer__middle {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  }

  .mj-footer__trust {
    grid-column: 1 / -1;
  }

  .mj-footer__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .mj-footer {
    padding: 42px 15px 22px;
  }

  .mj-footer__top,
  .mj-footer__middle {
    grid-template-columns: 1fr;
  }

  .mj-footer__social-wrap {
    width: 100%;
  }

  .mj-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mj-footer__links {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .mj-footer__brand {
    flex-direction: column;
    padding: 22px;
  }

  .mj-footer__logo {
    width: 72px;
    min-width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .mj-footer__brand-copy h2,
  .mj-footer__cta h3 {
    font-size: 21px;
  }

  .mj-footer__brand-copy p,
  .mj-footer__cta p,
  .mj-footer__brand-copy strong {
    font-size: 14px;
  }

  .mj-footer__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mj-footer__action {
    width: 100%;
  }

  .mj-footer__badges {
    grid-template-columns: 1fr;
  }
}
