/* Nile Logistics – base: tokens, ops bar, header, footer */
:root {
  --bg: #F2F4F3;
  --panel: #FFFFFF;
  --ink: #16211E;
  --muted: #5E6B67;
  --line: #DCE2E0;
  --green: #0F7B5F;
  --green-dark: #0A5A45;
  --amber: #E0A100;
  --red: #C8372D;
  --r: 6px;
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.02rem; line-height: 1.7; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.3; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green); }
.wrap { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -50px; right: 1rem; background: var(--green); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { top: .5rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* live operations strip */
.ops-bar { background: var(--ink); color: #D6DEDB; font-size: .85rem; }
.ops-bar__row { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; overflow-x: auto; white-space: nowrap; }
.ops-bar strong { color: #fff; font-weight: 700; }
.ops-bar__sep { width: 1px; height: 14px; background: #44524D; margin-inline: .75rem; flex: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: #3CCB8F; }
.dot--warn { background: var(--amber); }

/* header */
.bar { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.bar__row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; }
.mark svg { width: 34px; height: 34px; }
.bar__nav { display: flex; gap: .2rem; }
.bar__nav a { color: var(--ink); text-decoration: none; padding: .4rem .8rem; border-radius: var(--r); font-weight: 500; }
.bar__nav a:hover { background: var(--bg); }
.bar__nav a:first-child { color: var(--green); font-weight: 700; }
.bar__menu { display: none; font-size: 1.3rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); width: 44px; height: 44px; cursor: pointer; }

/* footer */
.foot { background: var(--ink); color: #AFBBB7; font-size: .85rem; padding: 1.4rem 0; }
.foot__row { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.foot__row span:first-child { color: #fff; font-weight: 700; }

@media (max-width: 860px) {
  .bar__menu { display: block; }
  .bar__nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--panel); flex-direction: column; padding: .5rem 1rem 1rem; border-bottom: 1px solid var(--line); }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { padding: .8rem .6rem; }
}
