.nm-footer {
  --footer-ink: #08141b;
  --footer-text: #e7f2f5;
  --footer-muted: #a7bec7;
  --footer-cyan: #3bd4f3;
  --footer-line: #263d46;
  background: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  color: var(--footer-text);
  font: 400 14px/1.55 Manrope, system-ui, sans-serif;
}

.nm-footer-inner {
  position: relative;
  box-sizing: border-box;
  width: min(100% - 48px, 1184px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0 24px;
}

.nm-footer-inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--footer-cyan);
}

.nm-footer-grid {
  display: grid;
  grid-template-columns: minmax(185px, 1.2fr) minmax(145px, .75fr) minmax(135px, .7fr) minmax(235px, 1fr);
  gap: 20px clamp(20px, 3.2vw, 52px);
  align-items: start;
}

.nm-footer p, .nm-footer ul { margin: 0; }
.nm-footer ul { padding: 0; list-style: none; }
.nm-footer a { color: inherit; text-decoration: none; text-underline-offset: .26em; }
.nm-footer a:hover { color: var(--footer-cyan); text-decoration: underline; }
.nm-footer a:focus-visible { outline: 2px solid var(--footer-cyan); outline-offset: 4px; }

.nm-footer-brand > p { max-width: 245px; color: var(--footer-muted); }
.nm-footer-logo { display: block; width: min(176px, 100%); margin-bottom: 12px; }
.nm-footer-logo img { display: block; width: 100%; height: auto; }

.nm-footer .nm-footer-label {
  margin-bottom: 8px;
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 700;
}

.nm-footer-group a { display: inline-flex; min-height: 34px; align-items: center; }
.nm-footer-contact > a { display: block; width: fit-content; max-width: 100%; }
.nm-footer-phone { font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -.025em; }
.nm-footer-email { margin-top: 6px; overflow-wrap: anywhere; }
.nm-footer ul.nm-footer-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.nm-footer-social a { display: inline-flex; min-height: 36px; align-items: center; gap: 4px; color: var(--footer-cyan); }

.nm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px 24px;
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: 16px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 12px;
}

#nm-cookie-bar {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 38;
  box-sizing: border-box;
  max-width: min(520px, calc(100% - 32px));
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(8, 18, 24, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #d7e7ec;
  font: 12px/1.35 Manrope, system-ui, sans-serif;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .42);
  border: 1px solid rgba(17, 201, 245, .3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#nm-cookie-bar a { color: #3bd4f3; text-decoration: underline; text-underline-offset: 2px; }

#nm-cookie-ok {
  flex: 0 0 auto;
  background: #11c9f5;
  color: #071318;
  border: 0;
  border-radius: 3px;
  padding: 7px 12px;
  font: 800 11px/1 Manrope, system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 30px;
}
#nm-cookie-ok:focus-visible { outline: 2px solid #e7f2f5; outline-offset: 3px; }

body.no-scroll #nm-cookie-bar { display: none; }

body:has(#nm-cookie-bar) .nm-footer-inner {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

@media (min-width: 801px) {
  body:has(.nm-footer--home) .mobile-cta { display: none; }
}

@media (max-width: 860px) {
  .nm-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .nm-footer-brand { grid-column: 1 / -1; }
  .nm-footer-contact { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--footer-line); }
  .nm-footer-group a, .nm-footer-contact a { min-height: 44px; align-content: center; }
  .nm-footer-contact > a { display: grid; }
}

@media (max-width: 800px) {
  .nm-footer--home .nm-footer-inner { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body:has(#nm-cookie-bar) .nm-footer--home .nm-footer-inner {
    padding-bottom: calc(154px + env(safe-area-inset-bottom));
  }
  #nm-cookie-bar {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    max-width: none;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  body:has(.mobile-cta.is-visible) #nm-cookie-bar {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 470px) {
  .nm-footer-inner { width: calc(100% - 36px); }
  .nm-footer-logo { width: 152px; }
  .nm-footer-legal { display: grid; }
  #nm-cookie-bar { padding: 8px 10px; font-size: 11px; gap: 10px; }
  #nm-cookie-ok { min-height: 36px; padding: 6px 10px; }
}
