/* ==========================================================================
   AL-AHED GROUP FREE ZONE — design system
   Institutional maritime trading house. Navy · gold · crimson · ivory.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* ======================================================================
     AL-AHED GROUP — design system rebuilt on GoDaddy's metrics.
     GoDaddy ships proprietary typefaces (gdsherpa / GD Sage) which cannot be
     licensed, so Manrope stands in for Latin and IBM Plex Sans Arabic for
     Arabic. Every size, weight, radius and colour below is taken from the
     measured values on godaddy.com: body 16px/1.5, h1 47px/700, h3 20px/850,
     button radius 6-12px, border #D4DBE0, action teal #09757A.
     ====================================================================== */
  --gd-ink: #111111;
  --gd-black: #000000;
  --gd-white: #ffffff;
  --gd-teal: #09757a;
  --gd-teal-600: #00a4a6;
  --gd-teal-400: #1bdbdb;
  --gd-teal-100: #e4f1ef;
  --gd-border: #d4dbe0;
  --gd-border-soft: #e6eaee;
  --gd-muted: #767676;
  --gd-grey: #2b2b2b;
  --gd-warm: #f5f2f0;
  --gd-cool: #eaf1f8;
  --gd-soft: #eeeff1;
  --gd-orange: #ef6c0f;
  --gd-purple: #744bc4;
  --gd-gold: #aa6d00;
  --gd-magenta: #e20087;
  --gd-red: #db1802;
  --gd-green: #0f7a45;

  /* brand — GoDaddy palette, legacy variable names kept so every existing
     template keeps resolving without a rewrite */
  --navy-950: #0d0d0d;
  --navy-900: #111111;
  --navy-800: #1a1a1a;
  --navy-700: #2b2b2b;
  --navy-600: #3d3d3d;
  --navy-500: #555555;
  --navy-300: #9aa3ad;
  --navy-100: #e6eaee;
  --red-700: #a81100;
  --red-600: #db1802;
  --red-500: #ef3b28;
  --gold-700: #05595d;
  --gold-600: #076f74;
  --gold-500: #09757a;
  --gold-400: #00a4a6;
  --gold-200: #b8e6e4;
  --gold-100: #e4f1ef;
  --ivory: #f7f8f9;
  --ivory-deep: #eef0f3;
  --paper: #ffffff;
  --ink: #111111;
  --slate-700: #4a4a4a;
  --slate-500: #767676;
  --slate-400: #8f8f8f;
  --slate-300: #b7bdc4;
  --line: #d4dbe0;
  --line-cool: #e6eaee;
  --ok: #0f7a45;
  --warn: #aa6d00;

  /* type — GoDaddy uses one sans family for both display and body */
  --font-display: 'Manrope', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-sans: 'Manrope', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  --fs-display-1: clamp(2.3rem, 1.42rem + 3.6vw, 2.95rem);
  --fs-display-2: clamp(1.85rem, 1.28rem + 2.2vw, 2.375rem);
  --fs-display-3: clamp(1.35rem, 1.13rem + .95vw, 1.75rem);
  --fs-h4: 1.25rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-xs: .8125rem;
  --fs-micro: .75rem;

  /* space — 8pt grid */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-8: 4rem;
  --sp-10: 5rem;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --container: 1280px;
  --container-narrow: 860px;

  /* radius — GoDaddy's rounded scale */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 32px;
  --r-full: 999px;

  --shadow-1: 0 1px 2px rgba(17, 17, 17, .06);
  --shadow-2: 0 2px 8px rgba(17, 17, 17, .08);
  --shadow-3: 0 12px 28px -10px rgba(17, 17, 17, .18);
  --shadow-4: 0 28px 60px -24px rgba(17, 17, 17, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 140ms;
  --dur-2: 240ms;
  --dur-3: 420ms;

  --header-h: 72px;
}


/* ---------- 2. Reset ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.68;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[dir='rtl'] { line-height: 1.85; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--navy-900);
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  text-wrap: balance;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3,
[dir='rtl'] h4 { letter-spacing: 0; line-height: 1.32; font-weight: 700; }

h1 { font-size: var(--fs-display-1); }
h2 { font-size: var(--fs-display-2); }
h3 { font-size: var(--fs-display-3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--red-600); }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }
li { margin-bottom: .4em; }

strong, b { font-weight: 700; color: var(--navy-900); }
small { font-size: var(--fs-xs); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--gold-200); color: var(--navy-900); }

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: 1480px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: var(--ivory); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--hairline { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-start { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--wide-end { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-start, .split--wide-end { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: var(--sp-2); }
.stack-lg > * + * { margin-top: var(--sp-5); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 4. Typography helpers --------------------------------------- */
.kicker {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 var(--sp-2);
  display: flex;
  align-items: center;
  gap: .75rem;
}
[dir='rtl'] .kicker { letter-spacing: .06em; }
.kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.kicker--bare::before { display: none; }
.section--navy .kicker { color: var(--gold-400); }

.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--slate-700); }
.section--navy .lead { color: #c7cede; }
.muted { color: var(--slate-500); }
.mono { font-family: var(--font-mono); font-size: .85em; letter-spacing: .01em; }

.rule {
  width: 48px;
  height: 2px;
  background: var(--gold-500);
  margin: var(--sp-3) 0;
}
.rule--center { margin-inline: auto; }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  text-align: center;
  white-space: nowrap;
}
[dir='rtl'] .btn { letter-spacing: 0; }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-950); --btn-bd: var(--gold-500); }
.btn--gold:hover { --btn-bg: var(--gold-400); }
.btn--red { --btn-bg: var(--red-600); --btn-fg: #fff; --btn-bd: var(--red-600); }
.btn--red:hover { --btn-bg: var(--red-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: rgba(22, 38, 90, .28); }
.btn--ghost:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800); }
.btn--onnavy { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .34); }
.btn--onnavy:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--sm { padding: .62rem 1.05rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.15rem 2.1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--quiet {
  --btn-bg: transparent; --btn-fg: var(--slate-700); --btn-bd: transparent;
  text-transform: none; letter-spacing: 0; font-weight: 600; padding-inline: .5rem;
}
.btn--quiet:hover { --btn-fg: var(--red-600); --btn-bg: transparent; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- 6. Header ---------------------------------------------------- */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { inset-inline-start: 0; }

.util {
  background: var(--navy-950);
  color: #9aa4bd;
  font-size: var(--fs-micro);
  letter-spacing: .06em;
}
.util__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  padding-block: .35rem;
}
.util a { color: #c3cade; }
.util a:hover { color: var(--gold-400); }
.util__group { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.util__dot { color: var(--gold-500); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-2); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .85rem; flex: none; }
.brand__mark { width: 52px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: .01em;
  color: var(--navy-900);
  white-space: nowrap;
}
.brand__sub {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-600);
  white-space: nowrap;
}
[dir='rtl'] .brand__sub { letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .55rem .78rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--r-sm);
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.nav a:hover { color: var(--red-600); background: var(--ivory); }
.nav a[aria-current='page'] { color: var(--navy-900); }
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  inset-inline: .78rem;
  bottom: .18rem;
  height: 2px;
  background: var(--gold-500);
}

.header-actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}
.lang-toggle:hover { border-color: var(--navy-700); color: var(--navy-900); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--navy-900);
  position: relative;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 18px;
  height: 1.6px;
  background: var(--navy-900);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .util__group--hide-sm { display: none; }
}

/* Keep the mobile header on one line: the language switch lives in the drawer. */
@media (max-width: 760px) {
  .header-actions .lang-toggle { display: none; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: .95rem; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; }
  .brand__sub { font-size: .55rem; letter-spacing: .1em; }
  .header-actions .btn { padding: .55rem .75rem; font-size: .72rem; }
  .brand { min-width: 0; flex: 1 1 auto; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy-950);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) var(--gutter) var(--sp-6);
  transform: translateY(-100%);
  transition: transform var(--dur-3) var(--ease-out);
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateY(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.drawer__close {
  background: transparent; border: 1px solid rgba(255,255,255,.24); color: #fff;
  width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; font-size: 1.1rem;
}
.drawer nav { display: flex; flex-direction: column; gap: .15rem; }
.drawer nav a {
  color: #e8ebf3;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.9rem);
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer nav a:hover { color: var(--gold-400); }
.drawer__foot { margin-top: auto; padding-top: var(--sp-5); color: #9aa4bd; font-size: var(--fs-sm); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero--home .hero__media img { object-position: 66% 55%; }
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--navy-950) 6%, rgba(7, 14, 34, .93) 34%, rgba(7, 14, 34, .55) 62%, rgba(7, 14, 34, .35) 100%),
    linear-gradient(0deg, rgba(7, 14, 34, .92), rgba(7, 14, 34, .12) 60%);
}
[dir='rtl'] .hero__media::after {
  background:
    linear-gradient(260deg, var(--navy-950) 6%, rgba(7, 14, 34, .93) 34%, rgba(7, 14, 34, .55) 62%, rgba(7, 14, 34, .35) 100%),
    linear-gradient(0deg, rgba(7, 14, 34, .92), rgba(7, 14, 34, .12) 60%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 8rem) clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  min-height: clamp(520px, 74vh, 780px);
}
.hero--home .hero__inner { min-height: clamp(560px, 80vh, 840px); }
.hero__title { font-size: var(--fs-display-1); color: #fff; max-width: 15ch; }
.hero__lead { color: #c3cade; font-size: var(--fs-lead); max-width: 56ch; margin-top: var(--sp-3); }
.hero__actions { margin-top: var(--sp-5); }
.hero__aside { padding-bottom: .5rem; }
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(7,14,34,.82), rgba(7,14,34,.95) 55%, var(--navy-950)); }
  [dir='rtl'] .hero__media::after { background: linear-gradient(180deg, rgba(7,14,34,.82), rgba(7,14,34,.95) 55%, var(--navy-950)); }
}

/* price advantage stamp */
.stamp {
  border: 1px solid rgba(201, 162, 39, .45);
  background: rgba(201, 162, 39, .08);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  backdrop-filter: blur(4px);
  max-width: 340px;
}
.stamp__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.stamp__label { font-size: var(--fs-sm); color: #dfe4ef; margin-top: .6rem; }

/* ---------- 8. Stats bar ------------------------------------------------- */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statbar__item {
  padding: var(--sp-4) var(--sp-3);
  border-inline-end: 1px solid var(--line);
}
.statbar__item:last-child { border-inline-end: 0; }
.statbar__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: .25rem;
}
.statbar__value sup { font-size: .45em; color: var(--gold-600); }
.statbar__label { font-size: var(--fs-xs); color: var(--slate-500); margin-top: .7rem; max-width: 22ch; }
@media (max-width: 900px) { .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar__item:nth-child(2n) { border-inline-end: 0; }
  .statbar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 460px) { .statbar { grid-template-columns: minmax(0, 1fr); }
  .statbar__item { border-inline-end: 0; border-bottom: 1px solid var(--line); } }

/* ---------- 9. Cards ----------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease),
    transform var(--dur-2) var(--ease);
  position: relative;
  overflow: hidden;
}
.card--hover:hover { border-color: var(--navy-300); box-shadow: var(--shadow-3); transform: translateY(-3px); }
.card--flush { padding: 0; }
.card--navy { background: var(--navy-900); border-color: rgba(255,255,255,.1); color: var(--ivory); }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--gold-edge { border-top: 2px solid var(--gold-500); }
.card__title { font-size: 1.12rem; margin-bottom: .55rem; }
.card__body { font-size: var(--fs-sm); color: var(--slate-700); }
.card__num {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: .05em;
  display: block;
  margin-bottom: .75rem;
}
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--navy-700); margin-bottom: var(--sp-2); background: var(--ivory);
}
.card--navy .card__icon { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: var(--gold-400); }

/* ---------- 10. Badges & pills ------------------------------------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .55rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  line-height: 1.2;
}
[dir='rtl'] .badge { letter-spacing: 0; }
.badge--gold { background: var(--gold-500); color: var(--navy-950); }
.badge--red { background: var(--red-600); color: #fff; }
.badge--navy { background: var(--navy-800); color: #fff; }
.badge--ok { background: #e6f4ec; color: var(--ok); border-color: #bfe3cd; }
.badge--warn { background: #fdf1e0; color: var(--warn); border-color: #f0d7b0; }
.badge--muted { background: var(--ivory-deep); color: var(--slate-700); border-color: var(--line); }
.badge--outline { border-color: var(--line); color: var(--slate-700); }

/* ---------- 11. Brand marquee ------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-4);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: clamp(2rem, 5vw, 4.5rem);
  width: max-content;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 600;
  color: var(--navy-300);
  white-space: nowrap;
  letter-spacing: .02em;
  transition: color var(--dur-2) var(--ease);
}
.marquee__item:hover { color: var(--navy-900); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir='rtl'] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- 12. Brand grid ---------------------------------------------- */
.brandcard {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.brandcard:hover { border-color: var(--gold-500); box-shadow: var(--shadow-2); }
.brandcard__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy-900); }
.brandcard__owner { font-size: var(--fs-xs); color: var(--slate-500); }
.brandcard__meta { margin-top: auto; padding-top: .8rem; font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }

/* ---------- 13. Steps --------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.section--navy .step { border-color: rgba(255,255,255,.12); }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.step h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: var(--fs-sm); margin: 0; }
.step { border-top: 1px solid var(--line); }
.section--navy .step { border-top-color: rgba(255,255,255,.12); }
.step:first-child { border-top: 0; }

/* ---------- 14. Compliance banner --------------------------------------- */
.notice {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--red-600);
  background: var(--ivory);
  padding: var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--slate-700);
}
.notice--gold { border-inline-start-color: var(--gold-500); }
.notice--navy { border-inline-start-color: var(--navy-700); }

/* ---------- 15. Footer -------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #96a0b8; font-size: var(--fs-sm); }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: var(--sp-8) var(--sp-6);
}
.site-footer h5 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
[dir='rtl'] .site-footer h5 { letter-spacing: .04em; }
.site-footer a { color: #b9c1d2; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.site-footer__mark { width: 74px; flex: none; }
.site-footer__name { font-family: var(--font-display); color: #fff; font-size: 1.15rem; font-weight: 700; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: var(--sp-3);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: #7f8aa3;
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 16. Forms --------------------------------------------------- */
.field { display: block; margin-bottom: var(--sp-3); }
.field__label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: .5rem;
}
[dir='rtl'] .field__label { letter-spacing: 0; }
.field__hint { font-size: var(--fs-xs); color: var(--slate-500); margin-top: .4rem; }
.field__error { font-size: var(--fs-xs); color: var(--red-600); margin-top: .4rem; font-weight: 600; }

input:not([type]), input[type='text'], input[type='email'], input[type='tel'], input[type='number'],
input[type='password'], input[type='date'], input[type='search'], input[type='url'],
select, textarea {
  width: 100%;
  padding: .8rem .9rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233c4459' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 11px;
  padding-inline-end: 2.4rem;
}
[dir='rtl'] select { background-position: left .9rem center; }
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(34, 53, 111, .1);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--slate-400); }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input[aria-invalid='true'], textarea[aria-invalid='true'], select[aria-invalid='true'] { border-color: var(--red-500); }

.check { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--navy-700); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-3); }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid, .form-grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 17. Tables -------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
table.data th, table.data td { padding: .85rem 1rem; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data thead th {
  background: var(--ivory);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-700);
  position: sticky;
  top: 0;
  z-index: 2;
}
[dir='rtl'] table.data thead th { letter-spacing: 0; }
table.data tbody tr:hover { background: #fbfaf7; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- 18. Scroll reveal ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 80ms; }
.reveal[data-delay='2'] { transition-delay: 160ms; }
.reveal[data-delay='3'] { transition-delay: 240ms; }
.reveal[data-delay='4'] { transition-delay: 320ms; }
.reveal[data-delay='5'] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- 19. Utilities ---------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--sp-2) !important; }
.mt-3 { margin-top: var(--sp-3) !important; }
.mt-4 { margin-top: var(--sp-4) !important; }
.mt-5 { margin-top: var(--sp-5) !important; }
.mb-0 { margin-bottom: 0 !important; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.w-100 { width: 100%; }
.text-end { text-align: end; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════ */
/*  الأرقام والأكواد: لاتينية ومعزولة اتجاهياً                                */
/*                                                                            */
/*  في صفحة عربية (RTL) قد يُعيد المتصفح ترتيب الأرقام والرموز اللاتينية داخل  */
/*  الجملة فيظهر «123 USD» مقلوباً أو يلتصق بالكلمة التالية. العزل يضمن أن     */
/*  يقرأها القارئ كما كُتبت، وأن تبقى النقطة والفاصلة في موضعها.               */
/* ═══════════════════════════════════════════════════════════════════════════ */
.num,
.mono,
.codechip,
.price,
[data-ltr],
[dir='ltr'] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* الأرقام في الجداول والبطاقات تبقى محاذاة صحيحة في الاتجاهين */
.num,
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
body[dir='rtl'] table .num { text-align: left; }

/* روابط الاتصال والبريد تُقرأ من اليسار لليمين دائماً.
   مقصورة على الهاتف والبريد فقط — لا تُفرض على كل رابط خارجي كي لا
   تُقفل ترتيب عناصر الترويسة والأزرار. */
a[href^='tel:'],
a[href^='mailto:'] { direction: ltr; unicode-bidi: isolate; }

/* أكواد المنتجات والتصنيفات */
.sku,
.impa,
.itemcode { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
