/* SIGMA XPRESS — shared site styles
   Design tokens:
   --navy   #0F2A4D  primary dark (brand, matches app/dashboard)
   --red    #DC2430  accent / CTA (matches app/dashboard)
   --gold   #C99A3E  secondary accent — warmth, signals "route/cargo"
   --sand   #F6F3EC  page background — warm off-white, not sterile white
   --ink    #16202E  body text
   --mute   #6B7686  secondary text
   --line   #E7E1D4  hairline dividers on sand background
*/
:root{
  --navy:#0F2A4D; --navy2:#173C6B; --red:#DC2430; --gold:#C99A3E;
  --sand:#F6F3EC; --ink:#16202E; --mute:#6B7686; --line:#E7E1D4;
  --radius:14px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--sand); color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:16px; line-height:1.6;
}
h1,h2,h3,.display{
  font-family:'Archivo',sans-serif; font-weight:800; letter-spacing:-0.01em;
  color:var(--navy); margin:0;
}
[dir="rtl"] body{ font-family:'Tajawal','Inter',sans-serif; }
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] .display{ font-family:'Tajawal',sans-serif; letter-spacing:0; }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1140px; margin:0 auto; padding:0 24px;}
.section{padding:88px 0;}
.section.tight{padding:56px 0;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:var(--red); margin-bottom:14px;
}
.eyebrow::before{content:''; width:18px; height:2px; background:var(--red); display:inline-block;}

/* ---------- Header / Nav ---------- */
header.site{
  position:sticky; top:0; z-index:50; background:rgba(246,243,236,.92);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
}
.navRow{display:flex; align-items:center; justify-content:space-between; padding:16px 24px; max-width:1140px; margin:0 auto;}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; color:var(--navy);}
.brand img{height:34px; width:34px; border-radius:8px; object-fit:cover;}
nav.links{display:flex; gap:30px; font-size:14.5px; font-weight:600;}
nav.links a{color:var(--navy); opacity:.75; transition:opacity .15s;}
nav.links a:hover, nav.links a.active{opacity:1;}
.navActions{display:flex; align-items:center; gap:12px;}
.langBtn{
  border:1px solid var(--line); background:#fff; border-radius:20px; padding:6px 14px;
  font-size:12.5px; font-weight:700; cursor:pointer; color:var(--navy);
}
.btn{
  display:inline-flex; align-items:center; gap:8px; border-radius:10px; padding:12px 22px;
  font-weight:700; font-size:14.5px; border:none; cursor:pointer; transition:transform .15s, box-shadow .15s;
}
.btn.primary{background:var(--red); color:#fff;}
.btn.primary:hover{transform:translateY(-1px); box-shadow:0 8px 20px rgba(220,36,48,.28);}
.btn.ghost{background:transparent; color:var(--navy); border:1.5px solid var(--navy);}
.btn.small{padding:9px 16px; font-size:13px;}
.mobileToggle{display:none; background:none; border:none; font-size:24px; color:var(--navy); cursor:pointer;}

@media (max-width:860px){
  nav.links{display:none;}
  .mobileToggle{display:block;}
  .navRow.open + nav.linksMobile{display:flex;}
}

/* ---------- Hero ---------- */
.hero{padding:70px 0 40px; overflow:hidden; position:relative;}
.heroGrid{display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(34px,5vw,54px); line-height:1.06;}
.hero h1 .accent{color:var(--red);}
.hero p.lead{font-size:17px; color:var(--mute); margin:20px 0 30px; max-width:480px;}
.heroActions{display:flex; gap:14px; flex-wrap:wrap;}

/* Route-line signature: a horizontal dotted path with 3 waypoints, used in
   the hero and as a recurring section divider — ties visually to the real
   tracking timeline customers see in the app. */
.routeLine{
  display:flex; align-items:center; gap:0; margin:36px 0;
}
.routeLine .dot{
  width:12px; height:12px; border-radius:50%; background:var(--navy); flex:none; position:relative;
}
.routeLine .dot.active{background:var(--red);}
.routeLine .seg{flex:1; height:2px; background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);}
.routeLine .label{font-size:11.5px; font-weight:700; color:var(--mute); position:absolute; top:16px; white-space:nowrap; left:50%; transform:translateX(-50%);}
.routeLine .dot{position:relative;}

.heroCard{
  background:var(--navy); border-radius:20px; padding:34px; color:#fff; position:relative; overflow:hidden;
}
.heroCard::after{
  content:''; position:absolute; inset:0; background:radial-gradient(circle at 80% 0%, rgba(201,154,62,.25), transparent 55%);
}
.heroCard .stat{font-family:'Archivo',sans-serif; font-size:38px; font-weight:800;}
.heroCard .statLabel{font-size:12.5px; color:#B9C6DA; margin-top:2px;}
.heroCard .statRow{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:22px; position:relative;}

@media (max-width:860px){ .heroGrid{grid-template-columns:1fr;} }

/* ---------- Cards / services ---------- */
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
@media (max-width:860px){ .grid3{grid-template-columns:1fr;} .grid2{grid-template-columns:1fr;} }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px;
  transition:transform .18s, box-shadow .18s;
}
.card:hover{transform:translateY(-3px); box-shadow:0 14px 30px rgba(15,42,77,.08);}
.card .icon{
  width:46px; height:46px; border-radius:11px; background:var(--sand); display:flex;
  align-items:center; justify-content:center; font-size:22px; margin-bottom:16px;
}
.card h3{font-size:18px; margin-bottom:10px;}
.card p{color:var(--mute); font-size:14.5px; margin:0;}

.sectionHead{max-width:620px; margin:0 auto 44px; text-align:center;}
.sectionHead.left{margin:0 0 44px; text-align:left;}
[dir="rtl"] .sectionHead.left{text-align:right;}
.sectionHead h2{font-size:clamp(26px,3.4vw,38px);}
.sectionHead p{color:var(--mute); font-size:16px; margin-top:12px;}

/* ---------- App promo band ---------- */
.appBand{
  background:var(--navy); border-radius:24px; padding:56px; color:#fff;
  display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center;
}
.appBand h2{color:#fff;}
.appBand p{color:#C9D3E0; margin-top:14px; max-width:440px;}
.appBadges{display:flex; gap:12px; margin-top:26px; flex-wrap:wrap;}
.appBadge{
  border:1.5px solid rgba(255,255,255,.35); border-radius:10px; padding:10px 18px;
  font-size:13px; font-weight:700; display:flex; align-items:center; gap:8px;
}
.appPhone{
  background:#fff; border-radius:20px; padding:14px; justify-self:center;
  box-shadow:0 30px 60px rgba(0,0,0,.35); max-width:220px;
}
@media (max-width:860px){ .appBand{grid-template-columns:1fr; padding:32px;} }

/* ---------- Footer ---------- */
footer.site{background:var(--navy); color:#B9C6DA; padding:56px 0 28px; margin-top:40px;}
.footGrid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px;}
.footGrid h4{color:#fff; font-size:14px; margin-bottom:14px;}
.footGrid a{display:block; color:#B9C6DA; font-size:13.5px; margin-bottom:9px; opacity:.85;}
.footGrid a:hover{opacity:1;}
.footBottom{border-top:1px solid rgba(255,255,255,.12); margin-top:36px; padding-top:22px; font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}
@media (max-width:860px){ .footGrid{grid-template-columns:1fr 1fr;} }

/* ---------- Utility ---------- */
.tag{display:inline-block; background:rgba(220,36,48,.1); color:var(--red); font-size:12px; font-weight:700; padding:4px 10px; border-radius:6px;}
.muted{color:var(--mute);}
.centerBtn{display:flex; justify-content:center; margin-top:36px;}

/* ---------- Reveal-on-scroll (subtle, respects reduced motion) ---------- */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none; transition:none;} }
