/* ==========================================================================
   العجلة الماسية للخدمات اللوجستية — Diamond Wheel Logistics
   Shared stylesheet (works for both RTL and LTR via CSS logical properties)
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #0A1029;
  --ink-2:      #101A3F;
  --ink-3:      #18244F;
  --accent:     #00C2CB;
  --accent-2:   #6FE3EA;
  --accent-dim: #0E7C86;
  --silver:     #C9D4E4;

  /* Surfaces */
  --bg:         #FFFFFF;
  --bg-soft:    #F4F7FB;
  --bg-card:    #FFFFFF;
  --line:       #E2E8F2;

  /* Text */
  --text:       #101828;
  --text-soft:  #4A5568;
  --text-mute:  #77839A;
  --on-dark:    #EAF1FA;
  --on-dark-soft: #A6B6CE;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --sh:    0 6px 20px -6px rgba(16, 24, 40, .12);
  --sh-lg: 0 24px 60px -20px rgba(10, 16, 41, .28);

  /* Layout */
  --wrap: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0 0 .5em;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.01em;
}

p  { margin: 0 0 1em; }
a  { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

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

/* Language-specific typography ------------------------------------------- */
html[dir="rtl"] {
  --font-head: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
html[dir="ltr"] {
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[dir="rtl"] body { line-height: 1.9; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--soft { background: var(--bg-soft); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(38px, 5vw, 62px);
}
.section-head p { color: var(--text-soft); margin: 0; font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  background: rgba(0, 194, 203, .1);
  border: 1px solid rgba(0, 194, 203, .22);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }

.h-xl { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
.h-lg { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }

.lead { font-size: 1.1rem; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #00A0B4 100%);
  color: #04212B;
  box-shadow: 0 10px 26px -10px rgba(0, 194, 203, .8);
}
.btn--primary:hover { box-shadow: 0 16px 34px -12px rgba(0, 194, 203, .95); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .28);
  color: var(--on-dark);
  background: rgba(255, 255, 255, .05);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255,255,255,.5); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); box-shadow: var(--sh); }

.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }

.btn .ic { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .btn .ic--arrow { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--sh-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
  transition: color .3s;
  white-space: nowrap;
}
.brand__tag {
  font-size: .68rem;
  color: var(--on-dark-soft);
  letter-spacing: .04em;
  transition: color .3s;
  white-space: nowrap;
}
.is-stuck .brand__name { color: var(--ink); }
.is-stuck .brand__tag  { color: var(--text-mute); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.nav__links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .84);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.is-stuck .nav__links a { color: var(--text-soft); }
.is-stuck .nav__links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  transition: all .2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, .14); }
.is-stuck .lang-switch { border-color: var(--line); color: var(--ink); }
.is-stuck .lang-switch:hover { background: var(--bg-soft); }

.nav__cta { padding: 10px 20px; font-size: .9rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--r-sm);
}
.nav__burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, background .3s;
}
.nav__burger span + span { margin-top: 5px; }
.is-stuck .nav__burger span { background: var(--ink); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 56px) 72px;
  background:
    radial-gradient(1100px 620px at 78% 8%,  rgba(0, 194, 203, .26), transparent 62%),
    radial-gradient(900px 700px at 12% 92%, rgba(52, 96, 220, .24), transparent 60%),
    linear-gradient(165deg, #070C21 0%, var(--ink) 45%, var(--ink-2) 100%);
  color: var(--on-dark);
  overflow: hidden;
}
html[dir="ltr"] .hero {
  background:
    radial-gradient(1100px 620px at 22% 8%,  rgba(0, 194, 203, .26), transparent 62%),
    radial-gradient(900px 700px at 88% 92%, rgba(52, 96, 220, .24), transparent 60%),
    linear-gradient(165deg, #070C21 0%, var(--ink) 45%, var(--ink-2) 100%);
}

/* Faint moving road-lines texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, .05) 0 1px,
    transparent 1px 74px
  );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.4vw, 3.85rem);
  margin-bottom: .38em;
}
.hero h1 .grad {
  background: linear-gradient(105deg, var(--accent-2) 10%, var(--accent) 55%, #9FB4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--on-dark-soft);
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 44px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .88rem;
  color: var(--on-dark-soft);
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Hero visual: live-tracking card ---------------------------------------- */
.hero__visual { position: relative; }

.track-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-lg);
}
.track-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 18px;
}
.track-card__id { font-size: .8rem; color: var(--on-dark-soft); }
.track-card__id strong { display: block; color: #fff; font-size: 1.02rem; letter-spacing: .04em; }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  font-weight: 700;
  color: #6FE3EA;
  background: rgba(0, 194, 203, .14);
  border: 1px solid rgba(0, 194, 203, .3);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.live-dot i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(0, 194, 203, .6); }
  50%      { opacity: .55; box-shadow: 0 0 0 7px rgba(0, 194, 203, 0); }
}

.steps { position: relative; }
.steps li {
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
  position: relative;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 11px;
  inset-block: 26px 0;
  width: 2px;
  background: rgba(255, 255, 255, .14);
}
.steps li:last-child::before { display: none; }

.steps .pin {
  width: 24px; height: 24px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 2px solid rgba(255, 255, 255, .22);
  z-index: 1;
}
.steps .pin svg { width: 12px; height: 12px; color: #fff; }
.steps li.done .pin { background: var(--accent); border-color: var(--accent); }
.steps li.done .pin svg { color: #04212B; }
.steps li.active .pin {
  background: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 194, 203, .18);
}
.steps li.active .pin svg { color: var(--accent); }

.steps__label { font-size: .95rem; font-weight: 700; color: #fff; }
.steps__meta  { font-size: .8rem; color: var(--on-dark-soft); }
.steps li.pending .steps__label { color: var(--on-dark-soft); font-weight: 600; }

.track-card__eta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.track-card__eta span { font-size: .82rem; color: var(--on-dark-soft); }
.track-card__eta strong { font-size: 1.25rem; color: var(--accent-2); font-family: var(--font-head); }

/* Floating stat chip */
.float-chip {
  position: absolute;
  inset-block-end: -26px;
  inset-inline-start: -22px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: 14px 20px;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 13px;
  animation: float 5.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
.float-chip__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
}
.float-chip__lbl { font-size: .78rem; color: var(--text-mute); line-height: 1.35; }

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */
.stats {
  background: var(--ink-2);
  color: var(--on-dark);
  padding-block: clamp(40px, 5vw, 60px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: block;
}
.stat__num .unit { color: var(--accent); }
.stat__lbl { font-size: .88rem; color: var(--on-dark-soft); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #6C8CFF);
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform .35s var(--ease);
}
html[dir="rtl"] .card { --origin: right; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 194, 203, .15), rgba(108, 140, 255, .15));
  color: var(--accent-dim);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: .45em; }
.card p  { color: var(--text-soft); font-size: .96rem; margin: 0; }

.card__list { margin-top: 16px; display: grid; gap: 8px; }
.card__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-soft);
}
.card__list svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 5px; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.flow__item { position: relative; padding-top: 8px; }
.flow__item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--silver);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.flow__item h3 { font-size: 1.08rem; margin-bottom: .4em; }
.flow__item p  { font-size: .93rem; color: var(--text-soft); margin: 0; }
.flow__item::after {
  content: "";
  position: absolute;
  inset-block-start: 22px;
  inset-inline-start: 74px;
  inset-inline-end: -24px;
  height: 1px;
  border-top: 2px dashed var(--line);
}
.flow__item:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   Split feature (Why us)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
.split .section-head { text-align: start; margin: 0 0 26px; }

.feat-list { display: grid; gap: 20px; }
.feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat__ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
}
.feat__ic svg { width: 21px; height: 21px; }
.feat h4 { font-size: 1.04rem; margin-bottom: .25em; }
.feat p  { font-size: .93rem; color: var(--text-soft); margin: 0; }

.panel {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: var(--r-lg);
  padding: 34px;
  color: var(--on-dark);
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset-block-start: -60px;
  inset-inline-end: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0, 194, 203, .3), transparent 70%);
}
.panel h3 { color: #fff; font-size: 1.25rem; position: relative; }
.panel > p { color: var(--on-dark-soft); font-size: .95rem; position: relative; }

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  position: relative;
}
.kpi {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  padding: 18px;
}
.kpi__num {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-2);
  line-height: 1.1;
}
.kpi__lbl { font-size: .8rem; color: var(--on-dark-soft); }

/* --------------------------------------------------------------------------
   Coverage
   -------------------------------------------------------------------------- */
.coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.city {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.city:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--sh); }
.city svg { width: 20px; height: 20px; color: var(--accent-dim); flex: none; }
.city b { font-size: 1rem; display: block; }
.city span { font-size: .8rem; color: var(--text-mute); }

/* --------------------------------------------------------------------------
   Platforms we operate on
   -------------------------------------------------------------------------- */
.plats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 15px;
}
.plat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 18px;
  text-align: center;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.plat:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--sh); }
.plat__ic {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 194, 203, .16), rgba(108, 140, 255, .16));
  color: var(--accent-dim);
}
.plat__ic svg { width: 20px; height: 20px; }
.plat b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.04rem;
  color: var(--ink);
  line-height: 1.3;
}
.plat span { font-size: .78rem; color: var(--text-mute); }

.plats__note {
  max-width: 66ch;
  margin: 26px auto 0;
  text-align: center;
  font-size: .84rem;
  color: var(--text-mute);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Dual CTA (companies / couriers)
   -------------------------------------------------------------------------- */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dual__card {
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}
.dual__card h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .4em; }
.dual__card p  { font-size: .98rem; margin-bottom: 24px; }
.dual__card .btn { align-self: flex-start; margin-top: auto; }

.dual__card--dark {
  background:
    radial-gradient(600px 340px at 80% 15%, rgba(0, 194, 203, .3), transparent 62%),
    linear-gradient(140deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--on-dark);
  box-shadow: var(--sh-lg);
}
.dual__card--dark h3 { color: #fff; }
.dual__card--dark p  { color: var(--on-dark-soft); }

.dual__card--light {
  background: #fff;
  border: 1px solid var(--line);
}
.dual__card--light p { color: var(--text-soft); }

.dual__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
  align-self: flex-start;
}
html[dir="rtl"] .dual__tag { letter-spacing: 0; }
.dual__card--dark  .dual__tag { background: rgba(0, 194, 203, .16); color: var(--accent-2); border: 1px solid rgba(0, 194, 203, .3); }
.dual__card--light .dual__tag { background: rgba(0, 194, 203, .1); color: var(--accent-dim); border: 1px solid rgba(0, 194, 203, .22); }

/* Fleet-status panel in the hero */
.fleet__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.fleet__row:last-child { border-bottom: 0; padding-bottom: 0; }
.fleet__name { font-size: .95rem; font-weight: 700; color: #fff; }
.fleet__meta { font-size: .78rem; color: var(--on-dark-soft); }
.fleet__count {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-2);
  white-space: nowrap;
}
.fleet__bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  margin-top: 7px;
  width: 116px;
}
.fleet__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #6C8CFF);
}

/* --------------------------------------------------------------------------
   Branches
   -------------------------------------------------------------------------- */
.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.branch {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.branch::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #6C8CFF);
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform .35s var(--ease);
}
html[dir="rtl"] .branch { --origin: right; }
.branch:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.branch:hover::after { transform: scaleX(1); }

.branch__ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 194, 203, .16), rgba(108, 140, 255, .16));
  color: var(--accent-dim);
  margin-bottom: 16px;
}
.branch__ic svg { width: 24px; height: 24px; }
.branch h3 { font-size: 1.22rem; margin-bottom: .2em; }
.branch__region {
  font-size: .82rem;
  color: var(--accent-dim);
  font-weight: 700;
  margin: 0 0 16px;
}
.branch__meta { display: grid; gap: 11px; }
.branch__meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--text-soft);
}
.branch__meta svg { width: 17px; height: 17px; color: var(--accent-dim); flex: none; margin-top: 4px; }
.branch__meta a { color: var(--ink); font-weight: 600; }
.branch__meta a:hover { color: var(--accent-dim); }

/* --------------------------------------------------------------------------
   Requirement / bullet lists on inner pages
   -------------------------------------------------------------------------- */
.checks { display: grid; gap: 13px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: .98rem;
}
.checks svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 4px;
  color: var(--accent-dim);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(0, 194, 203, .3), transparent 60%),
    linear-gradient(140deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 66px);
  text-align: center;
  box-shadow: var(--sh-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p  { color: var(--on-dark-soft); max-width: 620px; margin-inline: auto; margin-bottom: 30px; }
.cta-band__btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.info-list { display: grid; gap: 22px; margin-top: 26px; }
.info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.info__ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--accent-dim);
}
.info__ic svg { width: 20px; height: 20px; }
.info b { display: block; font-size: .82rem; color: var(--text-mute); font-weight: 600; }
.info a, .info span { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.info a:hover { color: var(--accent-dim); }
.info small { display: block; font-size: .82rem; color: var(--text-mute); font-weight: 400; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sh);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .87rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
}
.field label .req { color: #E04A5F; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
  font-size: .96rem;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 194, 203, .13);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA6BC; }

/* Honeypot. Must not use `left:-9999px` — in an RTL document the inline-end
   side is the left, so an off-screen-left element adds ~10000px of horizontal
   scroll to <html>. This clip-based hide takes up no layout space at all. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: .8rem; color: var(--text-mute); text-align: center; margin: 14px 0 0; }

.form__status {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
}
.form__status.ok   { display: block; background: #E6F8F4; color: #0A6B52; border: 1px solid #A9E5D5; }
.form__status.err  { display: block; background: #FDECEE; color: #A02334; border: 1px solid #F6C3CA; }

/* --------------------------------------------------------------------------
   Legal / inner pages
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, #070C21 0%, var(--ink) 60%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding-block: calc(var(--nav-h) + 56px) 56px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .3em; }
.page-hero p  { color: var(--on-dark-soft); margin: 0; }

.legal { max-width: 800px; margin-inline: auto; }
.legal h2 {
  font-size: 1.3rem;
  margin-top: 2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { list-style: disc; padding-inline-start: 1.4em; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--accent-dim); text-decoration: underline; }
.legal .updated {
  display: inline-block;
  font-size: .85rem;
  color: var(--text-mute);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.err-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(160deg, #070C21 0%, var(--ink) 55%, var(--ink-2) 100%);
  color: var(--on-dark);
  padding: 40px 22px;
}
.err-page .code {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(105deg, var(--accent-2), var(--accent) 55%, #9FB4FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-page h1 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.err-page p  { color: var(--on-dark-soft); max-width: 44ch; margin-inline: auto; margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding-block: clamp(48px, 6vw, 70px) 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--accent-2); }
.footer__links { display: grid; gap: 10px; }
.footer__about { max-width: 40ch; margin: 16px 0 20px; line-height: 1.85; }

.footer__brand { display: flex; align-items: center; gap: 11px; }
.footer__brand .brand__name { color: #fff; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
}
.socials a:hover { background: var(--accent); color: #04212B; border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}
.footer__bar nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   WhatsApp floating button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .75);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.09); }
.wa-float svg { width: 29px; height: 29px; }

/* Email variant, used while there is no public WhatsApp number */
.wa-float--mail {
  background: var(--accent);
  color: #04212B;
  box-shadow: 0 10px 28px -8px rgba(0, 194, 203, .75);
}
.wa-float--mail svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
/* Scoped to html.js (set by an inline script in <head>) so that if JavaScript
   is blocked or fails to load, the content is simply visible rather than
   permanently stuck at opacity 0. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid    { grid-template-columns: 1fr; }
  .hero__visual  { max-width: 520px; margin-inline: auto; width: 100%; }
  .float-chip    { inset-inline-start: 0; }
  .flow          { grid-template-columns: 1fr 1fr; }
  .flow__item:nth-child(2n)::after { display: none; }
  .split         { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .dual          { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 14px 20px 24px;
    box-shadow: var(--sh-lg);
    border-top: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    margin: 0;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { color: var(--ink); padding: 13px 14px; border-radius: var(--r-sm); }
  .nav__links a:hover { background: var(--bg-soft); }
  .nav__burger { display: block; margin-inline-start: auto; order: 3; }
  .nav__actions { order: 2; }
  .nav__cta { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow__item::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .float-chip { position: static; margin-top: 18px; animation: none; }
  .kpi-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .hero__cta, .form { display: none; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero h1, .brand__name { color: #000; }
}
