/* ==========================================================================
   Al Markz Al Awal Typing Services — site styles
   Rules: sentence case everywhere except the wordmark and short uppercase
   labels; 4px spacing scale; one gap (24px) for every grid; balanced headings.
   ========================================================================== */
:root {
  --navy: #0b2733;
  --navy-2: #10313f;
  --teal: #148aa3;
  --teal-dark: #0e6b7f;
  --teal-tint: #e6f3f6;
  --gold: #e2a93b;
  --gold-dark: #c9962a;
  --sand: #f5f7f7;
  --ink: #0b2733;
  --muted: #5b6f78;
  --line: #e3e9eb;
  --white: #ffffff;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  --fs-xs: 13px; --fs-sm: 14px; --fs-md: 15px; --fs-base: 16px; --fs-lg: 18px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 28px;

  --track-label: .1em;
  --shadow-sm: 0 1px 2px rgba(11, 39, 51, .06), 0 4px 14px rgba(11, 39, 51, .06);
  --shadow-lg: 0 18px 40px rgba(11, 39, 51, .16);
  --font: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { text-wrap: balance; hyphens: none; }
p, li, dd { text-wrap: pretty; }
img, svg { display: block; }
a { color: var(--teal); text-decoration: none; }
.ar { font-family: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, var(--font); unicode-bidi: isolate; }
.en { font-family: "Plus Jakarta Sans", Arial, sans-serif; unicode-bidi: isolate; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s-6); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons (sentence case) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px var(--s-6); border-radius: var(--r-sm);
  font: 700 var(--fs-md) / 1 var(--font); white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn .icon { font-size: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(226, 169, 59, .35); }
.btn-gold:hover { background: #f0b84c; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(20, 138, 163, .35); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f0f4f5; }
.btn-lg { padding: var(--s-4) 28px; font-size: var(--fs-base); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(11, 39, 51, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex: none;
  background: linear-gradient(145deg, #1aa3bd, #0e6b7f);
  color: #fff; font-weight: 800; font-size: var(--fs-2xl); line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(20, 138, 163, .35);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; flex: none; }
.brand-name { font-weight: 800; font-size: var(--fs-md); letter-spacing: .03em; white-space: nowrap; }
.brand-sub { font-size: 12px; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand .alt-name { font-size: var(--fs-sm); color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: var(--s-1); }
.main-nav a {
  position: relative; padding: var(--s-2) var(--s-3); border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.main-nav a:hover { color: var(--teal); background: var(--teal-tint); }
.main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: var(--s-1); height: 2px;
  background: var(--teal); border-radius: 2px;
}
.main-nav a.btn { padding: 12px var(--s-4); margin-inline-start: var(--s-2); }
.main-nav a.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: var(--s-2); padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); font-weight: 700; }
.main-nav a.lang-switch:hover { background: var(--teal-tint); }
.main-nav a.lang-switch .icon { font-size: 16px; }
@media (max-width: 1500px) { .brand .alt-name { display: none; } }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
@media (max-width: 1140px) {
  .header-inner { height: 68px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 68px;
    background: #fff; padding: var(--s-3) var(--s-6) var(--s-5); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(11, 39, 51, .12);
  }
  .site-header.open .main-nav a { padding: 14px var(--s-3); font-size: var(--fs-base); }
  .site-header.open .main-nav a[aria-current="page"]::after { display: none; }
  .site-header.open .main-nav .btn { margin-top: var(--s-3); justify-content: center; }
  .site-header.open .nav-toggle span { background: transparent; }
  .site-header.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #0b2733 0%, #0f3a49 55%, #0f5a70 100%);
  padding: var(--s-20) 0 var(--s-24);
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { inset: -10% -20% auto auto; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(20, 138, 163, .55), transparent); }
.hero::after { left: -10%; bottom: -30%; width: 50%; height: 60%; background: radial-gradient(closest-side, rgba(226, 169, 59, .22), transparent); }
.hero .dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 75%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.18fr .82fr; gap: var(--s-10); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 br.d { display: none; }
@media (min-width: 1100px) { .hero h1 br.d { display: inline; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226, 169, 59, .25); }
.hero h1 {
  margin: var(--s-6) 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.05;
  font-size: clamp(2.4rem, 1rem + 3vw, 3.6rem);
}
.hl { position: relative; white-space: nowrap; color: var(--gold); }
.hl::after { content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; bottom: .04em; height: .3em; background: rgba(226, 169, 59, .22); border-radius: 6px; transform: skewX(-10deg); }
.hero .lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 0 var(--s-8); }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.trust { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-10) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.trust li { display: flex; align-items: center; gap: var(--s-3); list-style: none; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, .9); }
.trust .icon { font-size: 20px; color: var(--gold); }

/* Hero illustration */
.art { position: relative; width: 100%; max-width: min(520px, 100%); aspect-ratio: 1 / .92; margin: 0 auto; }
.art .glow { position: absolute; inset: -15%; background: radial-gradient(circle at 55% 45%, rgba(20, 138, 163, .6), transparent 62%); filter: blur(18px); }
.doc { position: absolute; left: 4%; top: 5%; width: 62%; background: #fff; color: var(--ink); border-radius: 18px; padding: 22px 22px 26px; box-shadow: 0 40px 80px rgba(0, 0, 0, .38); transform: rotate(-6deg); }
.doc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.doc-title { width: 46%; height: 12px; border-radius: 6px; background: var(--navy); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--teal-tint); color: var(--teal-dark); white-space: nowrap; }
.ln { height: 9px; border-radius: 999px; background: #e6ecef; margin-bottom: 11px; }
.ln.w90 { width: 90%; } .ln.w75 { width: 75%; } .ln.w60 { width: 60%; } .ln.w85 { width: 85%; }
.checks { margin-top: 16px; display: grid; gap: 9px; }
.checks div { display: flex; align-items: center; gap: 9px; }
.checks .box { width: 18px; height: 18px; border-radius: 5px; background: var(--teal); display: grid; place-items: center; color: #fff; }
.checks .box .icon { font-size: 12px; stroke-width: 3; }
.checks i { display: block; height: 7px; border-radius: 999px; background: #e6ecef; }
.idc { position: absolute; right: 0; bottom: 9%; width: 58%; background: linear-gradient(150deg, #1aa3bd, #0e5e73); color: #fff; border-radius: var(--r-md); padding: 18px 18px 20px; box-shadow: 0 34px 70px rgba(0, 0, 0, .42); transform: rotate(7deg); }
.idc .chip { background: rgba(255, 255, 255, .18); color: #fff; }
.idc-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.idc .avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .9); flex: none; display: grid; place-items: center; color: var(--teal-dark); }
.idc .avatar .icon { font-size: 28px; }
.idc .ln { background: rgba(255, 255, 255, .45); margin-bottom: var(--s-2); }
.idc .lines { flex: 1; }
.stamp { position: absolute; right: 1%; top: -7%; width: 36%; transform: rotate(-14deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }
.badge { position: absolute; display: inline-flex; align-items: center; gap: var(--s-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 14px; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; box-shadow: 0 16px 36px rgba(0, 0, 0, .28); }
.badge .icon { font-size: 18px; color: var(--teal); }
.badge-1 { left: -4%; top: 44%; animation: float 6s ease-in-out infinite; }
.badge-2 { right: 6%; bottom: -3%; animation: float 7s ease-in-out 1s infinite; }
.badge-2 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(226, 169, 59, .6); animation: pulse 1.8s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 169, 59, .6); } 100% { box-shadow: 0 0 0 10px rgba(226, 169, 59, 0); } }
@media (max-width: 980px) {
  .hero { padding: var(--s-14) 0 var(--s-16); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .art { max-width: 440px; }
  .badge-1 { left: 0; } .badge-2 { right: 0; }
}
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--s-24) 0; }
.section.sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: var(--s-12); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--teal); font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-head.center .kicker::after { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
h2 { margin: 0 0 var(--s-3); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.75rem); color: var(--navy); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); margin: 0; }
.grid { display: grid; gap: var(--s-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Service cards */
.card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-6) 28px; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.icon-box { width: 52px; height: 52px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); margin-bottom: var(--s-5); transition: background .25s ease, color .25s ease, transform .25s ease; }
.icon-box .icon { font-size: 26px; }
a.card:hover .icon-box { background: var(--teal); color: #fff; transform: scale(1.06); }
.card h3 { margin: 0 0 var(--s-2); font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.card p { margin: 0 0 var(--s-4); color: var(--muted); font-size: var(--fs-md); }
.more { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--teal); font-weight: 700; font-size: var(--fs-sm); }
.more .icon { transition: transform .2s ease; }
a.card:hover .more .icon { transform: translateX(4px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); position: relative; }
.step { position: relative; padding: 0 var(--s-2); }
.step .num { font-weight: 800; font-size: var(--fs-3xl); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--teal); margin-bottom: var(--s-4); }
.step h3 { margin: 0 0 var(--s-2); font-size: var(--fs-xl); font-weight: 700; line-height: 1.3; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-md); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 14px; inset-inline-end: calc(var(--s-6) * -1); width: var(--s-6); height: 2px; background-image: linear-gradient(90deg, var(--teal) 50%, transparent 50%); background-size: 10px 2px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .step:not(:last-child)::after { display: none; } }
@media (min-width: 861px) and (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

/* Why choose us */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-12); align-items: start; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.tile .icon-box { width: 44px; height: 44px; margin-bottom: var(--s-4); }
.tile .icon-box .icon { font-size: 22px; }
.tile h3 { margin: 0 0 6px; font-size: var(--fs-base); font-weight: 700; line-height: 1.35; }
.tile p { margin: 0; font-size: var(--fs-md); color: var(--muted); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: var(--s-8); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* Audience panels */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.panel { position: relative; overflow: hidden; color: #fff; border-radius: var(--r-xl); padding: var(--s-10) 40px; box-shadow: var(--shadow-lg); }
.panel.teal { background: linear-gradient(160deg, #1aa3bd 0%, #0e5e73 100%); }
.panel.navy { background: linear-gradient(160deg, #16465a 0%, #0b2733 100%); }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side at 100% 100%, #000, transparent); mask-image: radial-gradient(closest-side at 100% 100%, #000, transparent); }
.panel > * { position: relative; }
.panel .kicker { color: rgba(255, 255, 255, .8); }
.panel .kicker::before { background: var(--gold); }
.panel h3 { margin: 0 0 var(--s-3); font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.panel p { color: rgba(255, 255, 255, .82); margin: 0 0 var(--s-6); max-width: 460px; font-size: var(--fs-base); }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-3); }
.ticks li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; font-size: var(--fs-md); }
.ticks .icon { font-size: 20px; color: var(--gold); stroke-width: 2.4; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } .panel { padding: var(--s-8) var(--s-6); } }

/* CTA band */
.cta { position: relative; overflow: hidden; color: #fff; padding: var(--s-20) 0; background: linear-gradient(135deg, #0b2733 0%, #0f3a49 60%, #0f5a70 100%); }
.cta::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(20, 138, 163, .5), transparent); }
.cta::after { content: ""; position: absolute; left: -10%; bottom: -50%; width: 50%; height: 120%; background: radial-gradient(closest-side, rgba(226, 169, 59, .2), transparent); }
.cta .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-8); }
.cta h2 { color: #fff; margin-bottom: var(--s-3); }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; font-size: var(--fs-base); max-width: 520px; }
.cta .actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.cta .addr { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: rgba(255, 255, 255, .75); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: var(--s-16) 0 var(--s-14); background: linear-gradient(180deg, #eef5f7 0%, var(--sand) 100%); }
.page-hero::after { content: ""; position: absolute; right: -5%; top: -60%; width: 45%; height: 200%; background: radial-gradient(closest-side, rgba(20, 138, 163, .18), transparent); }
.page-hero .container { position: relative; }
.crumbs { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-bottom: var(--s-6); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .crumbs a:hover { color: var(--teal); }
.crumbs .icon { font-size: 14px; }
.page-hero h1 { margin: 0 0 var(--s-4); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.4rem); color: var(--navy); max-width: 820px; }
.page-hero .lead { max-width: 720px; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }

.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: var(--s-10); align-items: start; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.svc .icon-box { width: 44px; height: 44px; margin-bottom: var(--s-4); }
.svc .icon-box .icon { font-size: 22px; }
.svc h3 { margin: 0 0 var(--s-2); font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; }
.svc p { margin: 0; color: var(--muted); font-size: var(--fs-md); }
.aside-card { position: sticky; top: 100px; color: #fff; border-radius: var(--r-lg); padding: 28px var(--s-6); background: linear-gradient(160deg, #16465a 0%, #0b2733 100%); box-shadow: var(--shadow-lg); }
.aside-card h3 { margin: 0 0 var(--s-3); font-size: var(--fs-xl); font-weight: 800; line-height: 1.3; }
.aside-card p { color: rgba(255, 255, 255, .78); font-size: var(--fs-md); margin: 0 0 var(--s-5); }
.aside-card .ticks { margin-bottom: var(--s-6); }
.aside-card .ticks li { font-weight: 500; font-size: var(--fs-sm); }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .mini { margin-top: var(--s-4); font-size: var(--fs-xs); color: rgba(255, 255, 255, .6); text-align: center; }
.note { background: var(--teal-tint); border: 0; border-inline-start: 4px solid var(--teal); padding: var(--s-4) var(--s-5); border-radius: 0; border-start-end-radius: var(--r-sm); border-end-end-radius: var(--r-sm); margin-top: var(--s-6); color: var(--ink); font-size: var(--fs-md); }
@media (max-width: 1024px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }

/* About */
.prose p { font-size: var(--fs-base); color: var(--muted); margin: 0 0 var(--s-5); max-width: 62ch; }
.prose p strong { color: var(--ink); }
.prose .name-line { font-size: var(--fs-xl); color: var(--teal-dark); margin: calc(var(--s-3) * -1) 0 var(--s-4); font-weight: 600; }
.detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px var(--s-6); box-shadow: var(--shadow-sm); }
.detail-card h3 { margin: 0 0 var(--s-5); font-size: var(--fs-xl); font-weight: 800; line-height: 1.3; }
.detail-card dl { margin: 0; display: grid; gap: var(--s-4); }
.detail-card dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.detail-card dd { margin: 0; font-weight: 600; font-size: var(--fs-base); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.contact-cards .card { padding: 28px var(--s-6); }
.contact-cards .card h3 { font-size: var(--fs-base); margin-bottom: var(--s-1); }
.contact-cards .card p, .contact-cards .card a { font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin: 0; }
.map-card { margin-top: var(--s-6); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.map-card iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-card .cap { padding: var(--s-3) var(--s-5); font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; gap: var(--s-2); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #081c25; color: rgba(255, 255, 255, .72); padding: var(--s-16) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-10); }
.site-footer .brand-name { color: #fff; font-size: var(--fs-base); }
.site-footer .brand-sub { color: rgba(255, 255, 255, .5); }
.site-footer .brand-mark { box-shadow: none; }
.site-footer .brand .alt-name { display: block; color: rgba(255, 255, 255, .8); font-size: var(--fs-md); margin-top: var(--s-2); }
.site-footer p { font-size: var(--fs-md); line-height: 1.7; margin: var(--s-5) 0 0; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; margin: var(--s-2) 0 var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.site-footer li a { color: rgba(255, 255, 255, .72); font-size: var(--fs-md); }
.site-footer li a:hover { color: #fff; }
.site-footer .contact li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-md); }
.site-footer .contact .icon { font-size: 18px; color: var(--teal); margin-top: 3px; }
.site-footer .contact a { color: rgba(255, 255, 255, .72); font-weight: 600; }
.footer-bottom { margin-top: var(--s-12); border-top: 1px solid rgba(255, 255, 255, .08); padding: var(--s-5) 0; font-size: var(--fs-sm); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); }
@media (max-width: 980px) { .section { padding: var(--s-20) 0; } .section-head { margin-bottom: var(--s-10); } .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .section { padding: var(--s-16) 0; } .container { padding: 0 var(--s-5); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge-1, .badge-2, .badge-2 .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.nf { padding: var(--s-24) 0; text-align: center; }
.nf .code { font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--teal); margin-bottom: var(--s-3); }
.nf .lead { margin-bottom: 28px; }

/* ---------- Arabic (RTL) typography ---------- */
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="ar"] body { font-size: 17px; line-height: 1.8; }
html[lang="ar"] * { letter-spacing: 0 !important; }                 /* letter-spacing breaks Arabic joining */
html[lang="ar"] .brand-name { letter-spacing: .03em !important; }   /* Latin wordmark keeps its tracking */
html[lang="ar"] .en { font-family: "Plus Jakarta Sans", Arial, sans-serif !important; }
html[lang="ar"] .step .num, html[lang="ar"] .nf .code { font-family: "Plus Jakarta Sans", Arial, sans-serif; letter-spacing: -.04em !important; }
html[lang="ar"] .hero h1 { line-height: 1.25; }
html[lang="ar"] h2 { line-height: 1.3; }
html[lang="ar"] h3 { line-height: 1.4; }
html[lang="ar"] .btn { line-height: 1.3; }
html[lang="ar"] .btn, html[lang="ar"] .more, html[lang="ar"] .chip, html[lang="ar"] .badge, html[lang="ar"] .eyebrow, html[lang="ar"] .kicker { font-weight: 600; }
html[lang="ar"] .tile h3, html[lang="ar"] .card h3, html[lang="ar"] .svc h3 { font-size: 17px; }
html[lang="ar"] .hero .lead, html[lang="ar"] .lead { font-size: 17px; }
/* directional icons follow the reading direction */
html[dir="rtl"] .icon-arrow, html[dir="rtl"] .icon-chevron { transform: scaleX(-1); }
html[dir="rtl"] a.card:hover .more .icon { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .hl::after { transform: skewX(10deg); }
