:root {
  /* ألوان الشعار: كحلي #0B387C وبرتقالي #F59B21 */
  --ink: #0B387C;
  --ink-2: #082A5E;
  --amber: #F59B21;
  --amber-h: #E08A10;
  --amber-d: #A85F00;
  --ground: #F3F6FA;
  --card: #FFFFFF;
  --text: #14233B;
  --muted: #56647A;
  --line: #D9E1EC;
  --on-dark: #EAF0F8;
  --on-dark-muted: #B4C3DA;
  --rule-dark: rgba(255, 255, 255, .16);
  --r: 14px;
  --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 17px/1.8 var(--body);
  -webkit-font-smoothing: antialiased;
}
html[dir=ltr] body { line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.35; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; color: var(--text); box-shadow: 0 1px 0 var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 46px; width: auto; flex: none; display: block; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 8px; color: var(--text); font-size: 15.5px; }
.nav a:hover { background: var(--ground); }
.nav a.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 0 0; }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 6px 12px; font: 600 14px var(--body); cursor: pointer; }
.lang:hover { border-color: var(--ink); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.lane { height: 4px; background: var(--amber); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font: 600 16px var(--body); text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-h); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-dark { background: var(--ink); color: #fff; }
.hdr-cta { padding: 8px 16px; font-size: 15px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset-block: 0; inset-inline-end: -120px; width: 520px;
  background: linear-gradient(135deg, transparent 49.2%, rgba(245,155,33,.22) 49.2% 50.8%, transparent 50.8%) 0 0 / 64px 64px;
  mask-image: linear-gradient(to left, #000, transparent); -webkit-mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
html[dir=ltr] .hero::after { mask-image: linear-gradient(to right, transparent, #000); -webkit-mask-image: linear-gradient(to right, transparent, #000); }
.hero-in { position: relative; z-index: 1; padding: 84px 0 72px; max-width: 760px; margin-inline: 0 auto; }
.eyebrow { display: inline-block; font: 600 14px var(--body); color: var(--amber); letter-spacing: .02em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { font-size: 19px; color: var(--on-dark-muted); max-width: 620px; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-top { display: flex; align-items: flex-end; gap: 24px; position: relative; z-index: 1; }
.hero-top .hero-in { flex: 1; margin: 0; }
.hero-rider { height: 430px; width: auto; max-width: none; flex: none; display: block; }
@media (max-width: 980px) { .hero-rider { display: none; } }
.card-img { display: block; width: calc(100% + 52px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -26px -26px 20px; border-radius: 13px 13px 0 0; }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); margin-bottom: 18px; }
.page-hero .hero-in { padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 42px); }
.page-hero p { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--rule-dark); border-top: 1px solid var(--rule-dark); position: relative; z-index: 1; }
.stat { background: var(--ink); padding: clamp(16px, 3vw, 26px) clamp(10px, 2.4vw, 20px); display: flex; flex-direction: column; gap: 4px; }
.stat span { line-height: 1.5; }
.stat b { font: 800 clamp(26px, 5vw, 38px)/1.1 var(--display); color: var(--amber); align-self: flex-start; }
.stat span { color: var(--on-dark-muted); font-size: 15.5px; }
.stats.light { grid-template-columns: 1fr 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats.light .stat { background: var(--card); }
.stats.light .stat b { color: var(--ink); }
.stats.light .stat span { color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
.sec-head p { color: var(--muted); margin: 0; }
.kicker { font: 600 14px var(--body); color: var(--amber-d); display: block; margin-bottom: 8px; }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.sec.alt .card { background: var(--ground); }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; stroke: var(--amber); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font: 800 15px var(--display); color: var(--amber-d); display: block; margin-bottom: 10px; }

.list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.list li { position: relative; padding-inline-start: 26px; color: var(--text); font-size: 16px; }
.list li::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: 14px; height: 4px; border-radius: 2px; background: var(--amber); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.prose p { color: var(--muted); }
.prose h2 { font-size: clamp(24px, 3.2vw, 32px); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font: 600 16px var(--display); color: var(--ink); }

.band { background: var(--amber); color: var(--ink); }
.band-in { padding: 48px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 4px; }
.band p { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #C5CED6; border-radius: 10px; background: #fff;
  font: 400 16px var(--body); color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(245,155,33,.45); border-color: var(--amber-d); }
.form-note { color: var(--muted); font-size: 14.5px; margin: 0; }
.form-ok { background: #E8F6EC; border: 1px solid #B5DEC0; color: #1D5B30; border-radius: 10px; padding: 12px 14px; font-size: 15px; }

.contact-list { margin: 0; display: grid; gap: 0; }
.crow { padding: 16px 0; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow dt { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.crow dd { margin: 0; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.crow a { text-decoration: none; }
.crow a:hover { color: var(--amber-d); }
.maplink { font-size: 14.5px; color: var(--amber-d); font-weight: 600; margin-inline-start: 8px; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink-2); color: var(--on-dark-muted); font-size: 15.5px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding: 52px 0 36px; }
.ftr p { margin: 12px 0 0; max-width: 340px; }
.ftr .logo { height: 52px; }
.ftr .ftr-name { color: #fff; font-weight: 600; }
.ftr h4 { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.ftr-links { display: grid; gap: 8px; justify-items: start; }
.ftr-links a { text-decoration: none; color: var(--on-dark-muted); }
.ftr-links a:hover, .ftr-links a.on { color: var(--amber); }
.ftr-bot { border-top: 1px solid var(--rule-dark); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .menu { display: block; }
  .hdr-cta { display: none; }
  .hdr-act { margin-inline-start: auto; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; padding: 10px 16px 18px; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,56,124,.12); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav a.on { box-shadow: none; color: var(--amber-d); }
  .logo { height: 38px; }
  .split, .ftr-in { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .hero-in { padding: 56px 0 48px; }
  .g2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
