/* ==========================================================
   Egy Track Trans — site styles (LTR + RTL)
   ========================================================== */

:root {
  --navy-950: #061226;
  --navy-900: #0a1a33;
  --navy-800: #102746;
  --navy-700: #1a365d;
  --steel-400: #7d9bb8;
  --steel-100: #e3ebf3;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-50: #f6f8fb;
  --white: #ffffff;
  --accent: #f2a33a;      /* signal amber */
  --accent-600: #c97a12;
  --wa: #25d366;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 51, .06), 0 2px 8px rgba(10, 26, 51, .05);
  --shadow-md: 0 10px 30px rgba(10, 26, 51, .10);
  --shadow-lg: 0 24px 60px rgba(6, 18, 38, .28);
  --header-h: 76px;
}

/* Arabic: switch fonts, and never letter-space Arabic script (it breaks letter joining). */
html[lang="ar"] { --font-head: var(--font-ar); --font-body: var(--font-ar); }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] *:not([lang="en"]) { letter-spacing: 0 !important; text-transform: none !important; }
[lang="ar"] { font-family: var(--font-ar); }
html[lang="ar"] [lang="en"] { font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.4; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--navy-950);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-accent { background: var(--accent); color: var(--navy-950); box-shadow: 0 6px 18px rgba(242, 163, 58, .35); }
.btn-accent:hover { background: #f7b457; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--steel-100); }
.btn-wa { background: var(--wa); color: #06301a; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #3ee07a; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(10, 26, 51, .72);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(6, 18, 38, .95); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }

.nav-wrap { height: 100%; display: flex; align-items: center; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); margin-inline-end: auto; }
.brand img { width: 48px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: .72rem; color: var(--steel-400); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .95rem;
  position: relative; padding: .3rem 0; white-space: nowrap;
}
.nav ul a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.nav ul a:hover, .nav ul a.active { color: var(--white); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }

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

.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 40px; padding: 0 .9rem; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: var(--white);
  border: 1px solid rgba(255, 255, 255, .22);
  font: 600 .9rem/1 var(--font-ar);
  transition: background-color .2s, border-color .2s;
}
.lang-toggle[lang="en"] { font-family: "Inter", system-ui, sans-serif; }
.lang-toggle:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.lang-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .08); cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, .85);
  padding: calc(var(--header-h) + 72px) 0 96px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(125, 155, 184, .25), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(242, 163, 58, .10), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--steel-100); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); padding: .4rem .85rem; border-radius: 999px;
  margin-bottom: 1.4rem;
}
html[lang="ar"] .eyebrow { font-size: .92rem; }
.eyebrow .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 163, 58, .2); }
.hero h1 { color: var(--white); max-width: 16ch; }
html[lang="ar"] .hero h1 { max-width: 20ch; }
.hero h1 .hl { color: var(--accent); }
.lead { font-size: 1.12rem; max-width: 56ch; color: rgba(255, 255, 255, .78); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: rgba(242, 163, 58, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2a33a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.logo-orb {
  position: relative; width: min(420px, 100%); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 65%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.logo-orb::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px dashed rgba(125, 155, 184, .35);
  animation: spin 60s linear infinite;
}
/* The logo's wheel hub sits at the exact centre of the image file, so centring the
   image box inside the circle centres the wheel. */
.logo-orb picture { display: block; width: 84%; flex: none; }
.logo-orb img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }

.exp-badge {
  position: absolute; top: 4%; inset-inline-end: -4%; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(150deg, #f7b457, var(--accent) 55%, var(--accent-600));
  color: var(--navy-950); box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 0 6px rgba(242, 163, 58, .18);
}
.exp-badge strong { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 2.1rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.exp-badge span { font-size: .72rem; font-weight: 700; line-height: 1.2; max-width: 11ch; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .exp-badge span { font-size: .8rem; }

.status-card {
  position: absolute; inset-inline-start: -24px; bottom: -28px; width: 250px;
  background: var(--white); color: var(--slate-700); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 18px;
  animation: float 6s ease-in-out infinite;
}
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.status-label { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: .92rem; }
.status-ref { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); background: var(--slate-50); padding: 2px 8px; border-radius: 999px; }
.status-steps { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.status-steps li { position: relative; padding-block: 4px; padding-inline-start: 24px; color: var(--slate-500); }
.status-steps li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; border: 2px solid var(--slate-200); background: var(--white);
}
.status-steps li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 5px; top: calc(50% + 7px); width: 2px; height: calc(100% - 14px); background: var(--slate-200);
}
.status-steps li.done { color: var(--slate-700); }
.status-steps li.done::before { background: var(--navy-700); border-color: var(--navy-700); }
.status-steps li.done::after { background: var(--navy-700); }
.status-steps li.active { color: var(--navy-900); font-weight: 600; }
.status-steps li.active::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 163, 58, .25); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head > p:last-child { color: var(--slate-600); font-size: 1.05rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: .8rem;
}
html[lang="ar"] .kicker { font-size: .95rem; }

/* ---------- Customs clearance ---------- */
.customs { background: var(--white); }
.ar-term {
  display: block; margin-top: .35rem;
  font-size: .62em; font-weight: 700; color: var(--accent-600);
}
.customs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.customs-item {
  position: relative; padding: 22px 22px 22px; padding-inline-start: 64px;
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.customs-item::before {
  content: ""; position: absolute; inset-inline-start: 20px; top: 22px; width: 30px; height: 30px; border-radius: 9px;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.customs-item:hover { background: var(--white); border-color: var(--steel-400); box-shadow: var(--shadow-md); }
.customs-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.customs-item p { margin: 0; font-size: .92rem; color: var(--slate-600); }

/* ---------- Services ---------- */
#services { background: var(--slate-50); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--steel-100); }
.card p { color: var(--slate-600); margin: 0; font-size: .96rem; }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--navy-700); text-decoration: none; }
.card-link:hover { color: var(--accent-600); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-700)); margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-cta {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: transparent;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.card-cta h3 { color: var(--white); }
.card-cta p { color: rgba(255, 255, 255, .75); margin-bottom: 1.3rem; }

/* ---------- WhatsApp tracking ---------- */
.tracking {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: rgba(255, 255, 255, .8); position: relative; overflow: hidden;
}
.tracking::before {
  content: ""; position: absolute; width: 700px; height: 700px; inset-inline-end: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, .12), transparent 65%); pointer-events: none;
}
.tracking-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.tracking h2, .tracking h3 { color: var(--white); }
.kicker-wa { color: var(--wa); }
.kicker-wa svg { width: 18px; height: 18px; fill: currentColor; }
.lead-dark { font-size: 1.1rem; color: rgba(255, 255, 255, .75); max-width: 54ch; margin-bottom: 2rem; }

.steps { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; gap: 22px; }
.steps > li { display: flex; gap: 16px; align-items: flex-start; }
.steps h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.steps p { margin: 0; color: rgba(255, 255, 255, .7); }
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--navy-950); background: var(--wa);
}
.ref-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: .7rem 0 0; }
.ref-tags li {
  font-size: .85rem; font-weight: 600; color: var(--white);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  padding: .3rem .75rem; border-radius: 8px;
}
.ref-tags abbr { text-decoration: none; }

.tracking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.wa-number { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 700; color: var(--white); letter-spacing: .02em; }

.qr-panel { position: relative; display: flex; flex-direction: column; align-items: center; }
.qr-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px 26px 18px;
  box-shadow: var(--shadow-lg); text-align: center; width: min(340px, 100%);
  border: 6px solid rgba(37, 211, 102, .9);
}
.qr-card img { width: 100%; }
.qr-caption { margin: 12px 0 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }

.chat-preview {
  margin-top: -6px; width: min(300px, 92%); position: relative; z-index: 1;
  background: #0b141a; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg);
  transform: translateX(40px); font-size: .86rem; line-height: 1.5;
}
[dir="rtl"] .chat-preview { transform: translateX(-40px); }
.bubble { max-width: 88%; padding: 8px 11px; border-radius: 10px; margin-bottom: 6px; }
.bubble.out { margin-inline-start: auto; background: #005c4b; color: #e9fdf3; border-start-end-radius: 3px; width: fit-content; }
.bubble.in { background: #202c33; color: #e9edef; border-start-start-radius: 3px; }
.bubble.in strong { color: var(--wa); }
.chat-note { margin: 4px 0 0; font-size: .7rem; text-align: center; color: #8696a0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.about-copy > p { color: var(--slate-600); font-size: 1.04rem; }
.values { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 14px; }
.values li { position: relative; padding-inline-start: 30px; color: var(--slate-600); }
.values li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.values strong { color: var(--navy-900); }

.group-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center; box-shadow: var(--shadow-md);
}
.group-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: .4rem 0 1.4rem; }
.group-logos figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 10px; border-radius: var(--radius); background: var(--slate-50);
}
.group-logos picture { display: block; width: 110px; }
.group-logos img { width: 100%; border-radius: 10px; }
.group-logos figcaption { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 700; font-size: .82rem; color: var(--navy-900); line-height: 1.3; }
.group-card > p:last-child { color: var(--slate-600); font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--slate-50), var(--steel-100)); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 28px; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--steel-100); margin-bottom: 14px;
}
.contact-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-500); }
html[lang="ar"] .contact-label { font-size: .9rem; }
.contact-value { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-value[dir="ltr"] { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.contact-sub { font-size: .88rem; color: var(--slate-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 56px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 56px; flex: none; }
.footer-brand strong { font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--white); font-size: 1.1rem; }
.footer-brand p { margin: 2px 0 0; }
.footer-sister { font-size: .86rem; color: var(--steel-400); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .78); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; overflow-wrap: anywhere; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--navy-950); padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav ul a::after { display: none; }
  .nav-cta { width: 100%; }
  .card-grid, .customs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .tracking-grid, .about-grid { gap: 40px; }
}

@media (max-width: 880px) {
  .hero { padding: calc(var(--header-h) + 48px) 0 88px; }
  .hero-grid, .tracking-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1, html[lang="ar"] .hero h1 { max-width: none; }
  .hero-visual { max-width: 400px; margin: 0 auto; width: 100%; }
  .status-card { inset-inline-start: 0; bottom: -28px; }
  .section { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-preview, [dir="rtl"] .chat-preview { transform: none; }
  .group-card { max-width: 460px; margin: 0 auto; width: 100%; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .card-grid, .customs-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { flex-direction: column; align-items: center; }
  .logo-orb { width: 86%; }
  .exp-badge { width: 92px; height: 92px; inset-inline-end: -6%; }
  .exp-badge strong { font-size: 1.6rem; }
  .exp-badge span { font-size: .6rem; }
  html[lang="ar"] .exp-badge span { font-size: .68rem; }
  .status-card { position: relative; inset-inline-start: auto; bottom: auto; width: 260px; margin-top: -48px; }
  .brand img { width: 40px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  .lang-toggle { padding: 0 .7rem; }
  .lang-toggle svg { display: none; }
  .tracking-actions .btn { width: 100%; }
}

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