@charset "UTF-8";
/* ==========================================================================
   NDM Chrome — global header + footer
   Built on the tokens in ndm-design-system.css. RTL-native (logical
   properties throughout), 44px minimum touch targets, AA contrast.
   ========================================================================== */

/* ---------- Skip link ---------- */
.ndm-skip {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(50%, -150%);
  z-index: 100000;
  padding: .9rem 1.6rem;
  background: var(--ndm-red-cta);
  color: #fff;
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-weight: 700;
  font-size: var(--ndm-fs-sm);
  border-radius: 0 0 var(--ndm-radius-sm) var(--ndm-radius-sm);
  text-decoration: none;
  transition: transform var(--ndm-fast) var(--ndm-ease);
}
.ndm-skip:focus { transform: translate(50%, 0); }

/* ---------- Header shell ---------- */
.ndm-hdr {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  font-family: 'Heebo', system-ui, Arial, sans-serif;
  background: var(--ndm-bg);
  border-block-end: 1px solid var(--ndm-border);
  direction: rtl;
}
body.admin-bar .ndm-hdr { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .ndm-hdr { top: 46px; }
}

.ndm-hdr a { text-decoration: none; }

.ndm-hdr :is(a, button):focus-visible {
  outline: 3px solid var(--ndm-gold);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- Utility bar ---------- */
.ndm-hdr__utility {
  background: var(--ndm-bg-2);
  border-block-end: 1px solid var(--ndm-border);
  font-size: var(--ndm-fs-xs);
}
.ndm-hdr__utility-inner {
  width: min(100%, var(--ndm-max));
  margin-inline: auto;
  padding: .45rem clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ndm-hdr__promise {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: var(--ndm-text-3);
}
.ndm-hdr__promise .ndm-icon { color: var(--ndm-gold); }

.ndm-hdr__utility-links { display: flex; align-items: center; gap: .35rem; }

.ndm-hdr__util-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 34px;
  padding-inline: .7rem;
  border-radius: 999px;
  color: var(--ndm-text-2);
  font-weight: 500;
  transition: background var(--ndm-fast) var(--ndm-ease), color var(--ndm-fast) var(--ndm-ease);
}
.ndm-hdr__util-link:hover { background: var(--ndm-card); color: var(--ndm-text); }
.ndm-hdr__util-link--wa { color: var(--ndm-gold); font-weight: 600; }

/* Hide the marketing line first — the contact links matter more on small screens */
@media (max-width: 900px) { .ndm-hdr__promise { display: none; } }
@media (max-width: 560px) {
  .ndm-hdr__utility-inner { justify-content: center; }
  .ndm-hdr__util-link--wa span { display: none; }
}

/* ---------- Main bar ---------- */
.ndm-hdr__inner {
  width: min(100%, var(--ndm-max));
  margin-inline: auto;
  padding: .55rem clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.ndm-hdr__logo { flex: none; display: block; }
.ndm-hdr__logo img {
  display: block;
  width: auto;
  height: clamp(38px, 5vw, 52px);
  transition: height var(--ndm-base) var(--ndm-ease);
}
/* Compact the bar once the user scrolls — more reading room, no reflow jump */
.ndm-hdr.is-stuck .ndm-hdr__logo img { height: clamp(32px, 4vw, 42px); }

.ndm-hdr__nav { flex: 1 1 auto; }

.ndm-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ndm-nav__item { position: relative; }

.ndm-nav__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding-inline: .85rem;
  border: 0;
  background: none;
  border-radius: 999px;
  color: var(--ndm-text-2);
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ndm-fast) var(--ndm-ease), color var(--ndm-fast) var(--ndm-ease);
}
.ndm-nav__link:hover { background: var(--ndm-card); color: var(--ndm-text); }

/* Current page gets a persistent underline, not just colour (colour alone is
   not a sufficient signal — WCAG 1.4.1) */
.ndm-nav__link[aria-current="page"] {
  color: var(--ndm-text);
  background: var(--ndm-card);
}
.ndm-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: .85rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--ndm-red-2);
}

.ndm-nav__chev {
  width: 15px; height: 15px;
  transition: transform var(--ndm-fast) var(--ndm-ease);
}
.ndm-nav__toggle[aria-expanded="true"] { background: var(--ndm-card); color: var(--ndm-text); }
.ndm-nav__toggle[aria-expanded="true"] .ndm-nav__chev { transform: rotate(180deg); }

/* ---------- Mega menu ---------- */
.ndm-mega {
  position: absolute;
  inset-inline-start: 50%;
  translate: -50% 0;
  top: calc(100% + .6rem);
  width: min(92vw, 880px);
  background: var(--ndm-bg-2);
  border: 1px solid var(--ndm-border-2);
  border-radius: var(--ndm-radius);
  box-shadow: 0 32px 80px -28px rgba(0,0,0,.9);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  animation: ndm-mega-in var(--ndm-base) var(--ndm-ease);
}
.ndm-mega[hidden] { display: none; }

@keyframes ndm-mega-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ndm-mega { animation: none; }
}

.ndm-mega__head { margin-block-end: 1rem; }
.ndm-mega__title {
  margin: 0;
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-lg);
  font-weight: 800;
  color: var(--ndm-text);
}
.ndm-mega__sub {
  margin: .2rem 0 0;
  font-size: var(--ndm-fs-xs);
  color: var(--ndm-text-3);
}

.ndm-mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1080px) { .ndm-mega__grid { grid-template-columns: repeat(2, 1fr); } }

.ndm-mega__card {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 56px;
  padding: .55rem .7rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background var(--ndm-fast) var(--ndm-ease),
              border-color var(--ndm-fast) var(--ndm-ease);
}
.ndm-mega__card:hover {
  background: var(--ndm-card);
  border-color: var(--ndm-border);
}
.ndm-mega__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 11px;
  color: var(--ndm-red-2);
  background: linear-gradient(140deg, rgba(230,48,34,.16), rgba(242,177,52,.09));
  border: 1px solid rgba(230,48,34,.32);
}
.ndm-mega__ico .ndm-icon { width: 19px; height: 19px; }

.ndm-mega__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.ndm-mega__label {
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-sm);
  font-weight: 700;
  color: var(--ndm-text);
}
.ndm-mega__blurb {
  font-size: var(--ndm-fs-xs);
  color: var(--ndm-text-3);
  line-height: 1.35;
}
.ndm-mega__count {
  margin-inline-start: auto;
  flex: none;
  min-width: 30px;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--ndm-card);
  border: 1px solid var(--ndm-border);
  color: var(--ndm-text-3);
  font-size: var(--ndm-fs-xs);
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ndm-mega__foot {
  margin-block-start: 1rem;
  padding-block-start: .9rem;
  border-block-start: 1px solid var(--ndm-border);
}
.ndm-mega__all {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding-inline: .9rem;
  border-radius: 999px;
  color: var(--ndm-gold);
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-sm);
  font-weight: 700;
  transition: background var(--ndm-fast) var(--ndm-ease);
}
.ndm-mega__all:hover { background: var(--ndm-card); }
/* RTL: the arrow points to the reading direction */
.ndm-mega__all .ndm-icon { transform: scaleX(-1); }

/* ---------- Header actions ---------- */
.ndm-hdr__actions { flex: none; display: flex; align-items: center; gap: .5rem; }
.ndm-hdr__cta {
  min-height: 44px;
  font-size: var(--ndm-fs-sm);
  padding-inline: 1.15rem;
}

.ndm-hdr__burger {
  display: none;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--ndm-border-2);
  background: var(--ndm-card);
  color: var(--ndm-text);
  cursor: pointer;
}
.ndm-hdr__burger .ndm-icon { width: 22px; height: 22px; }
.ndm-hdr__burger-close { display: none; }
.ndm-hdr__burger[aria-expanded="true"] .ndm-hdr__burger-open { display: none; }
.ndm-hdr__burger[aria-expanded="true"] .ndm-hdr__burger-close { display: block; }

/* ---------- Responsive switch ---------- */
@media (max-width: 1024px) {
  .ndm-hdr__nav { display: none; }
  .ndm-hdr__burger { display: grid; }
  .ndm-hdr__inner { justify-content: space-between; }
}
@media (max-width: 640px) {
  .ndm-hdr__cta span { display: none; }
  .ndm-hdr__cta { padding-inline: 0; width: 46px; min-height: 46px; }
}

/* ---------- Mobile drawer ---------- */
.ndm-drawer {
  position: fixed;
  inset-block-start: var(--ndm-hdr-h, 108px);
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 9998;
  background: var(--ndm-bg);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  animation: ndm-drawer-in var(--ndm-base) var(--ndm-ease);
}
.ndm-drawer[hidden] { display: none; }

@keyframes ndm-drawer-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .ndm-drawer { animation: none; } }

.ndm-drawer__inner {
  padding: 1.25rem clamp(16px, 5vw, 32px) calc(2.5rem + env(safe-area-inset-bottom));
}

.ndm-drawer__list,
.ndm-drawer__cats { list-style: none; margin: 0 0 1.25rem; padding: 0; }

.ndm-drawer__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: .25rem;
  border-block-end: 1px solid var(--ndm-border);
  color: var(--ndm-text);
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-base);
  font-weight: 600;
}
.ndm-drawer__link[aria-current="page"] { color: var(--ndm-red-2); }

.ndm-drawer__heading {
  margin: 0 0 .6rem;
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-xs);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ndm-gold);
}

.ndm-drawer__cat {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 52px;
  padding: .4rem .5rem;
  border-radius: 13px;
  color: var(--ndm-text-2);
  font-size: var(--ndm-fs-sm);
  font-weight: 600;
}
.ndm-drawer__cat:hover { background: var(--ndm-card); }
.ndm-drawer__cat-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  color: var(--ndm-red-2);
  background: rgba(230,48,34,.13);
  border: 1px solid rgba(230,48,34,.3);
}
.ndm-drawer__cat-ico .ndm-icon { width: 18px; height: 18px; }
.ndm-drawer__cat-label { flex: 1 1 auto; }
.ndm-drawer__cat-count {
  flex: none;
  color: var(--ndm-text-3);
  font-size: var(--ndm-fs-xs);
  font-variant-numeric: tabular-nums;
}

.ndm-drawer__all {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 48px;
  margin-block-end: 1.5rem;
  color: var(--ndm-gold);
  font-weight: 700;
  font-size: var(--ndm-fs-sm);
}
.ndm-drawer__all .ndm-icon { transform: scaleX(-1); }

.ndm-drawer__contact { display: grid; gap: .6rem; }
.ndm-drawer__contact .ndm-btn { width: 100%; }

/* Lock the page behind the drawer without losing scroll position */
body.ndm-drawer-open { overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ndm-ftr {
  background: var(--ndm-bg);
  border-block-start: 1px solid var(--ndm-border);
  color: var(--ndm-text-2);
  font-family: 'Heebo', system-ui, Arial, sans-serif;
  direction: rtl;
}
.ndm-ftr a { text-decoration: none; color: inherit; }
.ndm-ftr :is(a, button):focus-visible {
  outline: 3px solid var(--ndm-gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.ndm-ftr__inner {
  width: min(100%, var(--ndm-max));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(16px, 4vw, 48px) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
@media (max-width: 1080px) {
  .ndm-ftr__inner { grid-template-columns: 1fr 1fr 1fr; }
  .ndm-ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ndm-ftr__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .ndm-ftr__inner { grid-template-columns: 1fr; }
}

.ndm-ftr__logo img {
  display: block;
  width: auto;
  height: 48px;
  margin-block-end: 1rem;
}
.ndm-ftr__pitch {
  margin: 0 0 1.25rem;
  font-size: var(--ndm-fs-sm);
  line-height: 1.75;
  color: var(--ndm-text-3);
  max-width: 42ch;
}

.ndm-ftr__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.ndm-ftr__contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding-inline: .5rem;
  margin-inline-start: -.5rem;
  border-radius: 10px;
  font-size: var(--ndm-fs-sm);
  font-weight: 600;
  color: var(--ndm-text-2);
  transition: background var(--ndm-fast) var(--ndm-ease), color var(--ndm-fast) var(--ndm-ease);
}
.ndm-ftr__contact a:hover { background: var(--ndm-card); color: var(--ndm-text); }
.ndm-ftr__contact .ndm-icon { color: var(--ndm-red-2); }

.ndm-ftr__heading {
  margin: 0 0 .85rem;
  font-family: 'Rubik', 'Heebo', sans-serif;
  font-size: var(--ndm-fs-sm);
  font-weight: 800;
  color: var(--ndm-text);
}

.ndm-ftr__links,
.ndm-ftr__cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }

.ndm-ftr__links a,
.ndm-ftr__cats a {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  padding-inline: .5rem;
  margin-inline-start: -.5rem;
  border-radius: 9px;
  /* text-3 is 4.6:1 on --ndm-bg — passes AA for this size */
  color: var(--ndm-text-3);
  font-size: var(--ndm-fs-sm);
  line-height: 1.4;
  transition: background var(--ndm-fast) var(--ndm-ease), color var(--ndm-fast) var(--ndm-ease);
}
.ndm-ftr__links a:hover,
.ndm-ftr__cats a:hover { background: var(--ndm-card); color: var(--ndm-text); }

.ndm-ftr__badge {
  flex: none;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: rgba(230,48,34,.18);
  border: 1px solid rgba(230,48,34,.4);
  color: var(--ndm-red-2);
  font-size: .68rem;
  font-weight: 700;
}
.ndm-ftr__count {
  margin-inline-start: auto;
  flex: none;
  color: rgba(255,255,255,.45);
  font-size: var(--ndm-fs-xs);
  font-variant-numeric: tabular-nums;
}

/* ---------- Legal bar ---------- */
.ndm-ftr__bar { border-block-start: 1px solid var(--ndm-border); }
.ndm-ftr__bar-inner {
  width: min(100%, var(--ndm-max));
  margin-inline: auto;
  padding: 1.1rem clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.ndm-ftr__copy { margin: 0; font-size: var(--ndm-fs-xs); color: var(--ndm-text-3); }
.ndm-ftr__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.ndm-ftr__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: .6rem;
  border-radius: 9px;
  font-size: var(--ndm-fs-xs);
  color: var(--ndm-text-3);
}
.ndm-ftr__legal a:hover { background: var(--ndm-card); color: var(--ndm-text); }
