/* ==========================================================================
   Digital Corner Courier — main stylesheet
   Brand: Navy #092341 / #102F52 · Orange #FF651A · Light Gray #F5F7FA
   Logical properties are used throughout so the layout mirrors in RTL.
   ========================================================================== */

:root {
  --navy: #092341;
  --navy-2: #102F52;
  --navy-3: #1a3f6b;
  --orange: #FF651A;
  --orange-600: #E9530A;
  --orange-50: #FFF3EC;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --gray-2: #EDF1F6;
  --line: #E2E8F0;
  --ink: #0B1B2E;
  --text: #33445A;
  --muted: #64748B;
  --wa: #25D366;
  --wa-dark: #128C4B;
  --danger: #D92D20;
  --success: #12805C;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Cairo", "Inter", system-ui, "Segoe UI", Tahoma, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(9, 35, 65, .06), 0 2px 8px rgba(9, 35, 65, .05);
  --shadow: 0 10px 30px -12px rgba(9, 35, 65, .18), 0 4px 10px -6px rgba(9, 35, 65, .08);
  --shadow-lg: 0 30px 60px -20px rgba(9, 35, 65, .30), 0 10px 24px -12px rgba(9, 35, 65, .15);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { display: block; outline: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
html[dir="rtl"] .icon-dir { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-accent { color: var(--orange); }
.h3 { font-size: 1.35rem; margin-top: 2rem; }

/* ------------------------------------------------------------- type bits */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #FFB38C; }
.section-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.section-title span { color: var(--orange); }
.section-title span[id] { color: inherit; }
.section-lead { font-size: 1.075rem; color: var(--muted); max-width: 62ch; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }
.section-head-center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head-split .section-head-text { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 0 40px; flex: 1; }
.section-head-split .eyebrow { grid-column: 1 / -1; }
.section-head-split .section-title { margin: 0; }
.section-head-split .section-lead { margin: 0; padding-inline-start: 32px; border-inline-start: 1px solid var(--line); font-size: 1rem; }
.section-head .section-lead:last-child { margin-bottom: 0; }

.section { padding-block: clamp(56px, 7vw, 100px); position: relative; }
.section-alt { background: var(--gray); }
.section-navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(255,101,26,.16), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255,255,255,.82); }
.section-navy .section-title, .section-navy h2, .section-navy h3 { color: #fff; }

/* --------------------------------------------------------------- buttons */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 12px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; line-height: 1.2;
  white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  position: relative; text-align: center;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon-dir { transition: transform .25s var(--ease); }
.btn:hover .icon-dir { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .icon-dir { transform: scaleX(-1) translateX(3px); }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .875rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: .9em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--orange); --fg: #fff; box-shadow: 0 10px 22px -10px rgba(255,101,26,.65); }
.btn-primary:hover { --bg: var(--orange-600); }
.btn-dark { --bg: var(--navy); }
.btn-dark:hover { --bg: var(--navy-2); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: #fff; --bd: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--navy); }
.btn-whatsapp { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 22px -12px rgba(37,211,102,.8); }
.btn-whatsapp:hover { --bg: #1EBE5A; }
.btn-outline-wa { --bg: transparent; --fg: var(--wa-dark); --bd: var(--wa); }
.btn-outline-wa:hover { --bg: var(--wa); --fg: #fff; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--orange); }
.link-arrow:hover { gap: .7em; color: var(--orange-600); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(9,35,65,.35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { color: inherit; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 62px; height: 36px; }
.logo-d { stroke: var(--navy); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font); font-weight: 800; font-size: 1.12rem; color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.logo-tag { font-family: var(--font); font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 6px; white-space: nowrap; }
.logo-inverse .logo-d { stroke: #fff; }
.logo-inverse .logo-name { color: #fff; }
.logo-inverse .logo-tag { color: rgba(255,255,255,.6); }
html[dir="rtl"] .logo { direction: ltr; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: .94rem;
  color: var(--ink); border-radius: 10px; position: relative; transition: color .2s, background-color .2s;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--orange); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-caret { width: 16px; height: 16px; transition: transform .25s; }

.has-mega { position: static; }
.mega {
  position: absolute; inset-inline: 0; top: 100%; padding-top: 0; visibility: hidden; opacity: 0;
  transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { visibility: visible; opacity: 1; transform: none; }
.has-mega:hover .nav-caret, .has-mega.is-open .nav-caret { transform: rotate(180deg); }
.mega-inner {
  max-width: var(--container); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr) 260px; gap: 24px;
}
.mega-title { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding-inline: 10px; }
html[lang="ar"] .mega-title { letter-spacing: 0; font-size: .85rem; }
.mega-col a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; transition: background-color .2s; }
.mega-col a:hover { background: var(--gray); color: inherit; }
.mega-col strong { display: block; font-size: .92rem; color: var(--ink); }
.mega-col small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--orange-50); color: var(--orange); flex: none; }
.mega-ico .icon { width: 20px; height: 20px; }
.mega-promo { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: var(--radius); padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mega-promo .eyebrow { margin: 0; }
.mega-promo-title { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin: 0 0 4px; }
.mega-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-weight: 600; font-size: .88rem; }
.mega-link:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--muted); }
.lang-switch .icon { width: 18px; height: 18px; color: var(--navy); }
.lang-switch a { padding: 4px 2px; color: var(--muted); }
.lang-switch a.is-active { color: var(--navy); font-weight: 800; }
.lang-switch a:hover { color: var(--orange); }
.lang-switch a[lang="ar"] { font-family: var(--font-ar); }
.header-cta .icon { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

/* mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 300; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(9,35,65,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.mobile-nav-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
  padding-bottom: env(safe-area-inset-bottom);
}
html[dir="rtl"] .mobile-nav-panel { transform: translateX(-100%); }
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav-head .logo-mark { width: 52px; height: 30px; }
.mobile-nav-head .logo-name { font-size: 1rem; }
.mobile-nav-body { overflow-y: auto; padding: 12px 20px 28px; flex: 1; overscroll-behavior: contain; }
.mobile-nav-body > ul > li > a, .m-acc > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px; font-weight: 700; font-size: 1.05rem;
  color: var(--ink); border: 0; border-bottom: 1px solid var(--gray-2); background: none; text-align: start;
}
.mobile-nav-body a.is-active { color: var(--orange); }
.m-acc > button .icon { transition: transform .25s; }
.m-acc > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-acc ul { padding: 6px 0 10px; }
.m-acc ul a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; font-weight: 500; color: var(--text); border-radius: 8px; }
.m-acc ul a .icon { color: var(--orange); width: 18px; height: 18px; }
.mobile-nav-ctas { display: grid; gap: 10px; margin-top: 22px; }
.mobile-nav-lang { margin-top: 22px; display: flex; justify-content: center; }
body.nav-open { overflow: hidden; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #EAF1F8 0%, #F6F9FC 55%, #FFFFFF 100%);
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,249,252,.97) 0%, rgba(246,249,252,.86) 34%, rgba(246,249,252,0) 60%);
}
html[dir="rtl"] .hero-bg::after { background: linear-gradient(270deg, rgba(246,249,252,.97) 0%, rgba(246,249,252,.86) 34%, rgba(246,249,252,0) 60%); }
.hero-scene { position: absolute; inset-inline-end: -4%; bottom: 0; width: min(1500px, 108%); height: 100%; object-fit: cover; object-position: 70% 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; padding-block: 56px 72px; }
.hero-copy { max-width: 680px; }
.hero-eyebrow { color: var(--navy); opacity: .75; }
.hero-eyebrow::before { background: var(--orange); }
.hero-title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 20px; }
.hero-title span { display: block; color: var(--orange); }
html[lang="ar"] .hero-title { line-height: 1.3; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text); max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-wa:hover { color: var(--wa-dark); }
.hero-wa-ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; }
.hero-wa-ico .icon { width: 18px; height: 18px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(9,35,65,.1); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.hero-trust .icon { color: var(--orange); width: 20px; height: 20px; }

.track-card {
  background: rgba(255,255,255,.96); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.8); position: relative; backdrop-filter: blur(8px);
}
.track-card-head { display: flex; gap: 14px; margin-bottom: 18px; }
.track-card-head h2 { font-size: 1.3rem; margin: 0 0 4px; }
.track-card-head p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.track-card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; flex: none; }
.track-card-icon .icon { width: 24px; height: 24px; }
.track-form .btn { margin-top: 4px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; pointer-events: none; }
.input-icon input { padding-inline-start: 46px !important; }
.track-card-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.track-card-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.track-card-foot a:hover { color: var(--orange); }
.track-card-foot .icon { width: 17px; height: 17px; color: var(--orange); }
.track-card-script {
  position: absolute; inset-inline-end: -8px; bottom: -58px; margin: 0; font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.35rem; color: var(--navy); transform: rotate(-4deg); opacity: .75; white-space: nowrap;
}
html[lang="ar"] .track-card-script { font-family: var(--font-ar); font-size: 1rem; font-weight: 600; }

/* -------------------------------------------------------- service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: grid; grid-template-columns: 1fr 42%; min-height: 200px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,101,26,.35); }
.service-card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-50); color: var(--orange); margin-bottom: 16px; transition: background-color .3s, color .3s; }
.service-icon .icon { width: 24px; height: 24px; }
.service-card:hover .service-icon { background: var(--orange); color: #fff; }
.service-title { font-size: 1.08rem; margin-bottom: 8px; }
.service-text { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--orange); }
.service-more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .service-more .icon { transform: translateX(4px); }
html[dir="rtl"] .service-card:hover .service-more .icon { transform: scaleX(-1) translateX(4px); }
.service-art { position: relative; background: linear-gradient(160deg, #EEF3F9, #DCE6F2); overflow: hidden; }
.service-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 30%); z-index: 1; }
html[dir="rtl"] .service-art::before { background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 30%); }
.service-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); }
.service-card:hover .service-art img { transform: scale(1.06); }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------- how + coverage */
.how-coverage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.coverage-block { padding-inline-start: 48px; border-inline-start: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 8px 6px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; inset-inline-start: calc(50% + 40px); width: calc(100% - 60px); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(9,35,65,.25) 0 6px, transparent 6px 12px);
}
.step-num { position: absolute; top: 0; inset-inline-start: calc(50% - 44px); width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; z-index: 1; border: 3px solid var(--gray); }
.step-icon { width: 72px; height: 72px; margin: 6px auto 16px; border-radius: 50%; background: linear-gradient(145deg, #1d4f8a, var(--navy)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -12px rgba(9,35,65,.55); }
.step-icon .icon { width: 30px; height: 30px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .87rem; color: var(--muted); line-height: 1.5; margin: 0; }
.section:not(.section-alt) .step-num { border-color: #fff; }

.coverage-mini { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 18px; }
.emirate-list { display: grid; gap: 10px; }
.emirate-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--ink); white-space: nowrap; }
.emirate-list .icon { color: var(--orange); width: 18px; height: 18px; }

/* ------------------------------------------------------------------ map */
.uae-map { margin: 0; position: relative; }
.uae-map svg { width: 100%; height: auto; overflow: visible; }
.uae-land { filter: drop-shadow(0 18px 24px rgba(9,35,65,.25)); }
.uae-coast { stroke: rgba(255,255,255,.25); stroke-width: 2; }
.uae-routes path { stroke: var(--orange); stroke-width: 2.2; stroke-dasharray: 6 8; opacity: .8; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.uae-pin .pin-glow { animation: pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.uae-pin:nth-child(2n) .pin-glow { animation-delay: .8s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.uae-map-badge { position: absolute; inset-inline-end: 4%; bottom: 4%; display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: #fff; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow); }
html[lang="ar"] .uae-map-badge { letter-spacing: 0; font-size: .85rem; }
.flag { display: grid; grid-template-columns: 8px 1fr; grid-template-rows: repeat(3, 6px); width: 30px; border-radius: 2px; overflow: hidden; }
.flag i:nth-child(1) { grid-row: 1 / 4; background: #EF3340; }
.flag i:nth-child(2) { background: #00843D; }
.flag i:nth-child(3) { background: #fff; outline: 1px solid #ddd; }
.flag i:nth-child(4) { background: #000; }
.uae-map-on-dark .uae-land { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.25); filter: none; }
.uae-map-compact .uae-map-badge { display: none; }

/* -------------------------------------------------------------- AI band */
.ai-section {
  position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(600px 300px at 10% 20%, rgba(255,101,26,.10), transparent 70%),
    radial-gradient(700px 400px at 90% 80%, rgba(16,47,82,.12), transparent 70%),
    linear-gradient(180deg, #F3F6FB, #EAF0F8);
}
.ai-section::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(9,35,65,.08) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.ai-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge .icon { width: 16px; height: 16px; }
.badge-soon { background: var(--navy); color: #fff; margin-bottom: 16px; }
.badge-soon .icon { color: var(--orange); }
.ai-intro .eyebrow { display: flex; }
.ai-intro .section-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 4px; }
.ai-tagline { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.ai-window { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); max-width: 520px; margin-inline-start: auto; }
.ai-window-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.ai-window-head strong { display: block; font-size: .98rem; }
.ai-window-head small { display: block; font-size: .76rem; color: rgba(255,255,255,.65); }
.ai-bot { width: 42px; height: 42px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; }
.ai-bot .icon { width: 24px; height: 24px; }
.ai-dots { margin-inline-start: auto; display: flex; gap: 5px; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); }
.ai-window-body { padding: 20px; display: grid; gap: 12px; background: linear-gradient(180deg, #FAFBFD, #F4F7FB); }
.bubble { max-width: 85%; padding: 11px 15px; border-radius: 16px; font-size: .9rem; line-height: 1.5; }
.bubble-bot { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; color: var(--ink); }
.bubble-user { background: var(--navy); color: #fff; justify-self: end; border-start-end-radius: 4px; }
.ai-window-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .88rem; background: #fff; }
html[dir="rtl"] .ai-window-input { padding: 8px 16px 8px 8px; }
.ai-send { width: 36px; height: 36px; border-radius: 10px; background: var(--gray-2); display: grid; place-items: center; color: var(--muted); }
.ai-send .icon { width: 18px; height: 18px; }
html[dir="rtl"] .ai-send .icon { transform: scaleX(-1); }
.ai-features { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.ai-features li { display: flex; gap: 14px; padding: 20px; background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.ai-features h3 { font-size: .98rem; margin-bottom: 4px; }
.ai-features p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.ai-feat-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--orange-50); color: var(--orange); }
.ai-feat-icon .icon { width: 22px; height: 22px; }

/* ------------------------------------------------------------ corporate */
.corporate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.corporate-visual { position: relative; }
.corporate-visual > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.corporate-float { position: absolute; inset-inline-start: -20px; bottom: 28px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.corporate-float strong { display: block; color: var(--ink); }
.corporate-float small { color: var(--muted); font-size: .82rem; }
.cf-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.audience-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--gray); border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.audience-grid .icon { color: var(--orange); }
.check-list { display: grid; gap: 10px; margin-bottom: 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--orange); color: #fff; margin-top: 2px; stroke-width: 3; }
.check-list-light li { color: rgba(255,255,255,.88); }

/* -------------------------------------------------------------- results */
.section-results { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.results { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px 48px; align-items: center; }
.results-head .section-lead { margin-bottom: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-grid li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--gray); }
.stat-grid strong { font-size: 2.2rem; line-height: 1; color: var(--navy); font-weight: 800; letter-spacing: -.03em; }
.stat-grid span:last-child { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.stat-icon { color: var(--orange); margin-bottom: 8px; }
.stat-icon .icon { width: 26px; height: 26px; }
.results-banner { grid-column: 1 / -1; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, var(--navy), var(--navy-3)); min-height: 180px; display: flex; align-items: center; }
.results-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.script-text { position: relative; margin: 0 0 0 auto; padding: 24px 40px; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); color: #fff; max-width: 420px; text-align: end; line-height: 1.2; }
html[dir="rtl"] .script-text { margin: 0 auto 0 0; font-family: var(--font-ar); font-weight: 700; }

/* ------------------------------------------------------------- CTA band */
.cta-band { position: relative; color: rgba(255,255,255,.82); background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #163d69 100%); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../img/skyline.svg") center bottom / 1600px auto no-repeat; opacity: .1; }
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 28px 40px; align-items: center; padding-block: 56px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band .eyebrow { margin-bottom: 10px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band-list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.cta-band-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: #fff; }
.cta-band-list .icon { color: var(--orange); }

/* --------------------------------------------------------------- footer */
.site-footer { position: relative; background: #061A31; color: rgba(255,255,255,.7); padding-top: 64px; overflow: hidden; }
.footer-skyline { position: absolute; inset-inline: 0; top: 0; height: 100%; background: url("../img/skyline.svg") center bottom / 1800px auto no-repeat; opacity: .035; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: 36px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0 20px; font-size: .92rem; max-width: 36ch; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .98rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-static { display: inline-flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--orange); }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--orange); }
.footer-contact a span { word-break: break-word; }
.social-list { display: flex; gap: 10px; }
.social-list a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, transform .2s; }
.social-list a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.social-list .icon { width: 18px; height: 18px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); flex-wrap: wrap; font-size: .85rem; }
.footer-bottom-inner { padding-inline-end: 84px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .lang-switch, .footer-bottom .lang-switch a { color: rgba(255,255,255,.6); }
.footer-bottom .lang-switch .icon { color: rgba(255,255,255,.6); }
.footer-bottom .lang-switch a.is-active { color: #fff; }

/* ------------------------------------------------------------ page hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 0%, rgba(255,101,26,.18), transparent 65%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%, #16406d 100%); color: rgba(255,255,255,.82); }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
img.page-hero-skyline { position: absolute; bottom: 0; inset-inline-end: 0; width: min(1500px, 120%); opacity: .2; }
.page-hero-cargo::after { content: ""; position: absolute; inset-inline-end: 4%; bottom: 0; width: min(560px, 46%); aspect-ratio: 560 / 230; background: url("../img/veh-trailer.svg") center bottom / contain no-repeat; opacity: .95; }
.page-hero-inner { position: relative; padding-block: clamp(48px, 7vw, 92px) clamp(52px, 7vw, 96px); max-width: calc(var(--container) + var(--gutter) * 2); }
.page-hero-inner > *:not(.breadcrumb) { max-width: 760px; }
.page-title { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); line-height: 1.1; margin-bottom: 16px; }
.page-title span { color: var(--orange); }
html[lang="ar"] .page-title { line-height: 1.35; }
.page-lead { font-size: 1.1rem; max-width: 62ch; margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 26px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------- split / misc */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-reverse .split-visual { order: -1; }
.split-visual img { border-radius: var(--radius-lg); width: 100%; }
.section-navy .split-visual { text-align: center; }
.section-navy .split-visual .btn { margin-top: 18px; }
.coverage-mini-title { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.tagline-line { display: flex; align-items: center; gap: 14px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); font-size: .85rem; margin-top: 24px; direction: ltr; justify-content: flex-start; }
html[dir="rtl"] .tagline-line { justify-content: flex-end; }
.tagline-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.lead-text { font-size: 1.12rem; color: var(--text); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: clamp(56px, 7vw, 88px); }
.mv-card { padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.mv-card h2 { font-size: 1.6rem; }
.mv-card p { font-size: 1.05rem; margin: 0; }
.mv-card-dark { background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.85); border: 0; }
.mv-card-dark h2 { color: #fff; }
.mv-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.mv-icon .icon { width: 28px; height: 28px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.value-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-50); color: var(--orange); margin-bottom: 16px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.why-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: linear-gradient(145deg, #1d4f8a, var(--navy)); color: #fff; display: grid; place-items: center; }
.why-icon .icon { width: 26px; height: 26px; }

/* ----------------------------------------------------- service detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.detail-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.detail-intro .section-title { margin: 0; }
.detail-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.detail-icon .icon { width: 30px; height: 30px; }
.detail-art { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #EEF3F9, #DCE6F2); margin: 28px 0 8px; aspect-ratio: 16 / 7; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--gray); border-radius: 12px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.fl-icon { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.fl-icon .icon { width: 15px; height: 15px; stroke-width: 3; }
.ideal-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ideal-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.ideal-list .icon { color: var(--orange); width: 18px; height: 18px; }
.detail-main .steps { margin-top: 20px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }

.side-card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card-dark { background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.82); border: 0; display: grid; gap: 10px; }
.side-card-dark h2, .side-card-dark .side-title { color: #fff; }
.side-card-dark h2 { font-size: 1.4rem; margin: 0; }
.side-card-dark p { margin: 0 0 6px; font-size: .94rem; }
.side-card-dark .eyebrow { margin: 0; }
.side-card-soft { background: var(--gray); box-shadow: none; }
.side-title { font-size: 1.05rem; margin-bottom: 14px; }
.side-links { display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.side-links a span { flex: 1; }
.side-links a .icon:first-child { color: var(--orange); width: 20px; height: 20px; }
.side-links a .icon-dir { width: 16px; height: 16px; color: var(--muted); opacity: 0; transition: opacity .2s, transform .2s; }
.side-links a:hover, .side-links a[aria-current] { background: var(--gray); color: var(--orange); }
.side-links a:hover .icon-dir { opacity: 1; }
.side-note { display: flex; gap: 10px; font-size: .86rem; margin: 0; color: var(--muted); }
.side-note .icon { color: var(--navy); flex: none; margin-top: 3px; }
.side-note a { color: var(--orange); font-weight: 600; }

/* --------------------------------------------------------------- forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.form-layout > *, .detail-grid > *, .track-layout > *, .prose-layout > *, .split > *, .corporate-grid > *, .ai-grid > * { min-width: 0; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.form-card-head { margin-bottom: 18px; }
.form-card-head .section-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-card-head p a { color: var(--orange); font-weight: 600; }
.form-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.next-steps { display: grid; gap: 12px; counter-reset: n; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: rgba(255,255,255,.88); }
.next-steps span { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.form-required-note { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.req { color: var(--orange); font-weight: 800; margin-inline-start: 3px; }
.form-section { padding-block: 22px; border-top: 1px solid var(--gray-2); }
.form-section:first-of-type { border-top: 0; padding-top: 6px; }
.form-section[hidden] { display: none; }
.form-section-title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.fs-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; }
.fs-icon .icon { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 18px; }
.field { grid-column: span 6; min-width: 0; }
.field-half { grid-column: span 3; }
.field-third { grid-column: span 2; }
.field[hidden] { display: none; }
.field-label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; padding: 0; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .track-form input {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder, .track-form input::placeholder { color: #98A4B5; }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }
html[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
.field input:hover, .field select:hover, .field textarea:hover, .track-form input:hover { border-color: #C5D0DE; }
.field input:focus, .field select:focus, .field textarea:focus, .track-form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,101,26,.14); }
.select-wrap { position: relative; }
.select-wrap select { padding-inline-end: 44px; cursor: pointer; }
.select-caret { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 20px; height: 20px; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .track-form.has-error input { border-color: var(--danger); background: #FFF8F7; }
.field-error { margin: 6px 0 0; font-size: .82rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .9rem; color: var(--text); }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { width: 22px; height: 22px; flex: none; border: 1.5px solid #B8C4D3; border-radius: 6px; display: grid; place-items: center; background: #fff; transition: background-color .2s, border-color .2s; margin-top: 1px; }
.check-box .icon { width: 14px; height: 14px; color: #fff; opacity: 0; stroke-width: 3.2; }
.check input:checked + .check-box { background: var(--orange); border-color: var(--orange); }
.check input:checked + .check-box .icon { opacity: 1; }
.check input:focus-visible + .check-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.field.has-error .check-box { border-color: var(--danger); }
.check-label a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.choice-group, .checks-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-inner { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s; height: 100%; }
.choice-inner strong { display: block; color: var(--ink); }
.choice-inner small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.choice-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--gray); color: var(--navy); transition: background-color .2s, color .2s; }
.choice-check { width: 24px; height: 24px; flex: none; margin-inline-start: auto; border-radius: 50%; border: 1.5px solid #C5D0DE; display: grid; place-items: center; }
.choice-check .icon { width: 14px; height: 14px; opacity: 0; color: #fff; stroke-width: 3.2; }
.choice-card input:checked + .choice-inner { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 4px rgba(255,101,26,.1); }
.choice-card input:checked + .choice-inner .choice-icon { background: var(--orange); color: #fff; }
.choice-card input:checked + .choice-inner .choice-check { background: var(--orange); border-color: var(--orange); }
.choice-card input:checked + .choice-inner .choice-check .icon { opacity: 1; }
.choice-card input:focus-visible + .choice-inner { outline: 3px solid var(--orange); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text); transition: all .2s; }
.chip .icon { width: 16px; height: 16px; display: none; stroke-width: 3; }
.chip input:checked + span { border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }
.chip input:checked + span .icon { display: block; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--gray-2); margin-top: 6px; }
.form-mode-note { display: flex; gap: 10px; margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--gray); font-size: .86rem; color: var(--muted); line-height: 1.55; }
.form-mode-note .icon { flex: none; color: var(--navy); margin-top: 2px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.form-status.is-error { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.form-status.is-info { background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }
.btn-spinner { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
.btn-label { display: inline-flex; align-items: center; gap: .55em; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 48px 24px; }
.form-success[hidden] { display: none; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #ECFDF3; color: var(--success); margin: 0 auto 18px; }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.6; }
.success-ref { font-weight: 700; color: var(--navy); }
.notice { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; }
.notice-info { background: var(--gray); }

/* ---------------------------------------------------------------- track */
.track-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.track-panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); }
.track-input-row { display: flex; gap: 12px; }
.track-input-row .input-icon { flex: 1; }
.track-form-lg input { min-height: 58px; font-size: 1.1rem; font-weight: 600; letter-spacing: .04em; }
.track-result { margin-top: 26px; }
.track-status-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; background: linear-gradient(180deg, #FAFBFD, #fff); }
.track-status-card .h3 { margin-top: 16px; }
.tsc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.tsc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; }
.tsc-label { margin: 0; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.tsc-number { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: .04em; }
html[dir="rtl"] .tsc-number { text-align: right; }
.track-preview { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--gray-2); }
.track-preview-title { font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; opacity: .55; }
.timeline li:first-child { opacity: 1; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 22px; inset-inline-start: calc(50% + 26px); width: calc(100% - 44px); height: 2px; background: var(--line); }
.tl-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gray); color: var(--navy); border: 2px solid var(--line); }
.timeline li:first-child .tl-dot { background: var(--orange); color: #fff; border-color: var(--orange); }
.timeline strong { display: block; font-size: .86rem; color: var(--ink); }
.timeline small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.track-preview .muted .icon { display: inline; width: 16px; height: 16px; vertical-align: -3px; }

/* -------------------------------------------------------------- cargo */
.vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vehicle-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; transition: transform .3s var(--ease), box-shadow .3s; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vehicle-art { height: 130px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(180deg, #F4F7FB, #E8EEF6); border-radius: 12px; padding: 10px; }
.vehicle-art img { max-height: 110px; width: auto; }
.vehicle-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.vehicle-cap { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--orange); margin-bottom: 8px; }
.vehicle-cap .icon { width: 16px; height: 16px; }
.vehicle-card p:last-child { margin: 0; font-size: .9rem; color: var(--muted); }

/* ----------------------------------------------------------- business */
.segment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.segment-card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.segment-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(255,101,26,.35); }
.segment-card h3 { font-size: 1.1rem; margin: 10px 0 2px; }
.segment-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.segment-card .link-arrow { font-size: .88rem; }
.segment-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; }
.segment-icon .icon { width: 26px; height: 26px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.benefit-grid li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.benefit-grid strong { display: block; color: #fff; font-size: .95rem; }
.benefit-grid small { color: rgba(255,255,255,.65); font-size: .84rem; }
.benefit-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.benefit-icon .icon { width: 20px; height: 20px; }

/* ----------------------------------------------------------- coverage */
.coverage-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.emirate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.emirate-card { background: #fff; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.emirate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.emirate-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.emirate-head h3 { margin: 0; font-size: 1.12rem; }
.emirate-pin { width: 38px; height: 38px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.emirate-pin .icon { width: 20px; height: 20px; }
.emirate-card p { font-size: .9rem; color: var(--muted); flex: 1; }
.emirate-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.emirate-tags li { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gray); color: var(--navy); }
.emirate-card-cta { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border: 0; color: rgba(255,255,255,.8); }
.emirate-card-cta h3 { color: #fff; font-size: 1.1rem; }
.emirate-card-cta p { color: rgba(255,255,255,.75); }
.emirate-card-cta .btn { align-self: flex-start; }

/* ------------------------------------------------------------ contact */
.section-contact-top { padding-bottom: clamp(40px, 5vw, 64px); }
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-method { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.contact-method:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; border-color: rgba(255,101,26,.35); }
.cm-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.cm-icon .icon { width: 26px; height: 26px; }
.cm-wa .cm-icon { background: var(--wa); }
.cm-mail .cm-icon { background: var(--orange); }
.cm-text { display: flex; flex-direction: column; }
.cm-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.cm-value { font-weight: 800; color: var(--ink); font-size: 1.1rem; word-break: break-word; }
html[dir="rtl"] .cm-value { text-align: right; }
.cm-action { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--orange); }
.cm-wa .cm-action { color: var(--wa-dark); }
.cm-action .icon { width: 16px; height: 16px; }
.contact-methods.is-compact { grid-template-columns: 1fr; gap: 10px; }
.contact-methods.is-compact .contact-method { flex-direction: row; align-items: center; padding: 12px 14px; gap: 12px; box-shadow: none; }
.contact-methods.is-compact .cm-icon { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.contact-methods.is-compact .cm-icon .icon { width: 20px; height: 20px; }
.contact-methods.is-compact .cm-value { font-size: .92rem; }
.contact-methods.is-compact .cm-text { min-width: 0; flex: 1; }
.contact-methods.is-compact .cm-action { display: none; }
.side-card-dark .contact-method { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.wa-topics { margin-top: 28px; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #E9FBF0, #F5FDF8); border: 1px solid #C9F2D9; }
.wa-topics-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.wa-topics-head .h3 { margin: 0 0 2px; }
.wa-topics-head p { margin: 0; }
.wa-topics-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-topics-icon .icon { width: 28px; height: 28px; }
.wa-topic-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wa-topic { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #C9F2D9; font-weight: 700; color: var(--ink); font-size: .92rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.wa-topic .icon { color: var(--wa-dark); }
.wa-topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--wa); color: var(--ink); }
.info-list { display: grid; gap: 12px; }
.info-list li { display: flex; gap: 10px; font-size: .93rem; }
.info-list .icon { color: var(--orange); flex: none; margin-top: 3px; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--gray-2); aspect-ratio: 16 / 11; position: relative; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder, .map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder-text { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; }
.map-placeholder-text span { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,101,26,.18); }
.map-placeholder-text p { margin: 0; font-weight: 700; color: var(--navy); background: rgba(255,255,255,.9); padding: 6px 12px; border-radius: 8px; font-size: .88rem; }

/* --------------------------------------------------------------- prose */
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose h2:first-of-type { margin-top: .5em; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose-meta { display: inline-block; font-size: .85rem; color: var(--muted); padding: 6px 12px; background: var(--gray); border-radius: 8px; }

.notfound { text-align: center; display: flex; flex-direction: column; align-items: center; }
.notfound img { width: 280px; border-radius: var(--radius-lg); margin-bottom: 24px; }
.notfound .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }

/* --------------------------------------------------------- WhatsApp FAB */
/* inset-inline-end = bottom-right on English (LTR) pages, bottom-left on Arabic (RTL) pages */
.wa-widget { position: fixed; z-index: 200; inset-inline-end: 20px; bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px)); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
html[dir="ltr"] .wa-widget { right: max(20px, env(safe-area-inset-right)); }
html[dir="rtl"] .wa-widget { left: max(20px, env(safe-area-inset-left)); }
.wa-widget > * { pointer-events: auto; }
.wa-fab {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -8px rgba(18,140,75,.6), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .3s var(--ease), box-shadow .3s, background-color .2s;
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.8s ease-out infinite; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.wa-fab:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -8px rgba(18,140,75,.7); background: #1EBE5A; }
.wa-fab-icon { width: 32px; height: 32px; transition: transform .3s var(--ease), opacity .2s; }
.wa-fab-close { position: absolute; width: 26px; height: 26px; opacity: 0; transform: rotate(-90deg); transition: transform .3s var(--ease), opacity .2s; }
.wa-fab[aria-expanded="true"] { background: var(--navy); box-shadow: var(--shadow-lg); }
.wa-fab[aria-expanded="true"]::before { display: none; }
.wa-fab[aria-expanded="true"] .wa-fab-icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa-fab[aria-expanded="true"] .wa-fab-close { opacity: 1; transform: none; }
.wa-fab-label {
  position: absolute; inset-inline-end: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap;
  background: var(--navy); color: #fff; font-size: .82rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
html[dir="rtl"] .wa-fab-label { transform: translateY(-50%) translateX(-6px); }
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label { opacity: 1; transform: translateY(-50%); }
.wa-fab[aria-expanded="true"] .wa-fab-label { display: none; }
.wa-fab.is-disabled { background: #94A3B8; cursor: help; box-shadow: var(--shadow); }
.wa-fab.is-disabled::before { display: none; }
.wa-fab.is-disabled .wa-fab-label { opacity: 1; transform: translateY(-50%); background: #475569; }
.wa-panel {
  width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -12px rgba(9,35,65,.35), 0 0 0 1px rgba(9,35,65,.06);
  overflow: hidden; transform-origin: bottom right; animation: wa-in .28s var(--ease);
}
html[dir="rtl"] .wa-panel { transform-origin: bottom left; }
.wa-panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-panel-head { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: linear-gradient(135deg, #075E54, #128C4B); color: #fff; }
.wa-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.wa-avatar .icon { width: 24px; height: 24px; }
.wa-panel-title { font-weight: 800; margin: 0; font-size: 1rem; }
.wa-panel-sub { margin: 2px 0 0; font-size: .82rem; opacity: .85; line-height: 1.4; }
.wa-close { margin-inline-start: auto; width: 34px; height: 34px; flex: none; border-radius: 10px; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.wa-close:hover { background: rgba(255,255,255,.28); }
.wa-close .icon { width: 18px; height: 18px; }
.wa-options { padding: 10px; display: grid; gap: 4px; }
.wa-options a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; transition: background-color .2s; color: var(--ink); }
.wa-options a:hover, .wa-options a:focus-visible { background: #EEFBF3; color: var(--ink); }
.wa-opt-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #E7F8EE; color: var(--wa-dark); display: grid; place-items: center; }
.wa-opt-ico .icon { width: 20px; height: 20px; }
.wa-opt-text { flex: 1; min-width: 0; }
.wa-opt-text strong { display: block; font-size: .92rem; }
.wa-opt-text small { display: block; font-size: .78rem; color: var(--muted); }
.wa-opt-arrow { width: 18px; height: 18px; color: var(--wa-dark); }
.wa-panel-foot { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px; background: var(--gray); font-size: .76rem; color: var(--muted); }
.wa-panel-foot .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------- reveal animations */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .nav-link { padding-inline: 10px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
  .ai-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
  :root { --header-h: 70px; }
  .main-nav, .header-actions > .lang-switch { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head-split .section-head-text { grid-template-columns: 1fr; }
  .section-head-split .section-lead { padding-inline-start: 0; border-inline-start: 0; margin-top: 10px; }
  .how-coverage { grid-template-columns: 1fr; gap: 48px; }
  .coverage-block { padding-inline-start: 0; border-inline-start: 0; padding-top: 40px; border-top: 1px solid var(--line); }
  .coverage-mini { grid-template-columns: auto minmax(0, 420px); }
  .results { grid-template-columns: 1fr; }
  .detail-grid, .form-layout, .track-layout, .prose-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .vehicle-grid, .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .emirate-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .wa-topic-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* Hero: copy → scene → tracking card */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: linear-gradient(180deg, #EEF3F9, #fff); }
  .hero-grid { display: contents; }
  .hero-copy { order: 1; width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding: 36px var(--gutter) 28px; }
  .hero-bg { order: 2; position: relative; inset: auto; z-index: 0; height: clamp(220px, 52vw, 400px); }
  .hero-bg::after { display: block; background: linear-gradient(180deg, #F3F6FA 0%, rgba(243,246,250,0) 22%); }
  html[dir="rtl"] .hero-bg::after { background: linear-gradient(180deg, #F3F6FA 0%, rgba(243,246,250,0) 22%); }
  .hero-scene { inset-inline-end: 0; width: 100%; height: 100%; object-position: 72% 100%; }
  .track-card { order: 3; z-index: 1; margin: -48px var(--gutter) 48px; }
  .track-card-script { display: none; }
  .section-head-split .section-head-text { grid-template-columns: 1fr; }
  .section-head-split .section-lead { padding-inline-start: 0; border-inline-start: 0; margin-top: 10px; }
  .ai-grid, .corporate-grid, .split, .coverage-layout { grid-template-columns: 1fr; }
  .split-reverse .split-visual { order: 0; }
  .ai-window { margin-inline: 0; max-width: none; }
  .corporate-float { inset-inline-start: 12px; }
  .detail-grid, .form-layout, .track-layout, .prose-layout { grid-template-columns: 1fr; }
  .detail-side, .form-aside { position: static; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { flex-direction: row; text-align: start; padding-bottom: 18px; }
  .timeline li:not(:last-child)::after { top: 46px; inset-inline-start: 22px; width: 2px; height: calc(100% - 46px); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .logo-mark { width: 50px; height: 30px; }
  .logo-name { font-size: .98rem; }
  .logo-tag { font-size: .5rem; letter-spacing: .26em; }
  .header-cta { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { padding-inline: 12px; min-height: 52px; font-size: .92rem; }
  .hero-actions .btn:first-child { grid-column: 1 / -1; }
  .hero-actions .btn .icon-dir { display: none; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-trust li { font-size: .84rem; }
  .service-grid, .service-grid-3 { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr 38%; min-height: 180px; }
  .service-card-body { padding: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; text-align: start; padding: 0 0 26px; }
  .step-icon { grid-row: 1 / 3; width: 60px; height: 60px; margin: 0; }
  .step-icon .icon { width: 26px; height: 26px; }
  .step-num { inset-inline-start: 40px; top: -4px; }
  .step h3 { align-self: end; margin: 4px 0 2px; }
  .step:not(:last-child)::after { display: block; top: 66px; inset-inline-start: 29px; width: 2px; height: calc(100% - 70px); background: repeating-linear-gradient(180deg, rgba(9,35,65,.25) 0 6px, transparent 6px 12px); }
  .step:nth-child(2)::after { display: block; }
  .coverage-mini { grid-template-columns: 1fr; }
  .emirate-list { grid-template-columns: 1fr 1fr; }
  .ai-features { grid-template-columns: 1fr; }
  .audience-grid, .benefit-grid, .feature-list { grid-template-columns: 1fr; }
  .values-grid, .why-grid, .vehicle-grid, .segment-grid, .emirate-grid, .wa-topic-list { grid-template-columns: 1fr; }
  .why-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .field, .field-half, .field-third { grid-column: 1 / -1; }
  .choice-cards { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .track-input-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; padding-inline-end: 0; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .cta-band-actions .btn { width: 100%; }
  .results-banner { min-height: 150px; }
  .script-text { padding: 18px 22px; font-size: 1.3rem; }
  .wa-fab { width: 56px; height: 56px; }
  .wa-fab-icon { width: 30px; height: 30px; }
  .wa-fab-label { display: none; }
  .detail-intro .section-title { font-size: 1.5rem; }
  .page-hero-cargo::after { opacity: .35; width: 70%; }
  .section-head { margin-bottom: 26px; }
  .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .logo-tag { display: none; }
  .hero-actions { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-grid li { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1600px) {
  .hero { min-height: 780px; }
}

@media print {
  .site-header, .wa-widget, .site-footer, .cta-band, .mobile-nav { display: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
