/* Tasweeqa public website: dark, cinematic, Arabic first.
   One font (Cairo, variable 200–1000, self-hosted), one accent (saffron). */

@font-face {
  font-family: 'Cairo';
  src: url('../assets/fonts/Cairo-Tasweeqa.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #0d0e0c;
  --bg-2: #121410;
  --surface: #181a17;
  --surface-2: #20231f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f3ec;
  --muted: #a8a59c;
  --faint: #6f6d66;
  --accent: #f4c418;
  --accent-2: #ffd447;
  --accent-ink: #171305;
  --green: #0f5c46;
  --green-2: #19805f;
  --cream: #f2ebdd;
  --danger: #ff7a66;
  --ok: #6fdba4;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ── Type ─────────────────────────────────────────────────────────── */
.display, h1, h2, h3 { font-weight: 900; line-height: 1.08; margin: 0; letter-spacing: 0; }
html[lang="en"] .display, html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] .card-title,
html[lang="en"] .eyebrow, html[lang="en"] .btn, html[lang="en"] .nav-links a {
  text-transform: uppercase; letter-spacing: -0.03em;
}
html[lang="en"] .eyebrow, html[lang="en"] .btn, html[lang="en"] .nav-links a { letter-spacing: 0.02em; }
.display { font-size: clamp(44px, 8.4vw, 118px); }
h2.section-title { font-size: clamp(34px, 5.6vw, 76px); }
.hl { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.muted { color: var(--muted); }

/* ── Buttons & chips ──────────────────────────────────────────────── */
.btn {
  --b: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--b); color: var(--text); border: 1px solid var(--line);
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 10px 40px -12px rgba(244, 196, 24, .6); }
.btn.primary:hover { background: var(--accent-2); }
.btn.light { background: var(--text); color: #111; border-color: transparent; }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }
html[dir="ltr"] .btn .arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-4px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--text);
}
.chip.live { color: var(--ok); }
.chip.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(111, 219, 164, .6); animation: pulse 2s infinite; }
.chip.soon { color: var(--accent); }
.chip.new { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 900; font-size: 11px; padding: 2px 9px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(111, 219, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 219, 164, 0); } }

/* ── Header ───────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 14, 12, .72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.wordmark img { height: 34px; width: auto; transition: transform .4s var(--ease); }
.wordmark:hover img { transform: scale(1.03); }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; }
.nav-links a { display: block; white-space: nowrap; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .08); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line-2); font-weight: 800; font-size: 14px; cursor: pointer; }
.lang-btn:hover { background: rgba(255, 255, 255, .06); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; inset-inline-start: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.sheet { display: none; }

@media (max-width: 1100px) {
  .top nav.desktop, .top-actions .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .sheet {
    display: block; position: fixed; inset: 68px 0 0; z-index: 49;
    background: var(--bg); padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sheet ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .sheet li a { display: block; padding: 14px 0; font-size: 26px; font-weight: 900; text-decoration: none; border-bottom: 1px solid var(--line); }
  .sheet .btn { width: 100%; margin-top: 10px; }
  body.menu-open { overflow: hidden; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 18%, rgba(244, 196, 24, .14), transparent 70%),
    radial-gradient(40% 50% at 18% 30%, rgba(25, 128, 95, .22), transparent 70%);
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .lead { margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero .display .line { display: block; overflow: hidden; padding: .08em 0 .26em; margin-bottom: -.2em; }
.hero .display .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero .display .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }

.rail { position: relative; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.rail:hover .rail-track { animation-play-state: paused; }
html[dir="rtl"] .rail-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.rail-card { position: relative; width: clamp(180px, 20vw, 260px); aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); flex: none; }
.rail-card img { width: 100%; height: 100%; object-fit: cover; }
.rail-card figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font-weight: 900; font-size: 16px; line-height: 1.2;
}

.notice {
  display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap;
  margin: 36px auto 0; padding: 14px 20px; max-width: 760px;
  border: 1px dashed var(--line-2); border-radius: 999px; font-size: 15px; color: var(--muted); text-align: center;
}
.notice strong { color: var(--text); }

/* ── Sections ─────────────────────────────────────────────────────── */
section.block { padding: clamp(72px, 10vw, 140px) 0 0; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.block-head .lead { margin-top: 12px; }

/* Bento of sections */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 260px;
  transition: transform .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .media { position: absolute; inset: 0; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media img { transform: scale(1.06); }
.card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82)); }
.card .body { position: relative; margin-top: auto; padding: 22px; }
.card-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; line-height: 1.15; margin: 8px 0 6px; }
.card p { margin: 0; color: rgba(246, 243, 236, .78); font-size: 15.5px; line-height: 1.6; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* Category photo cards: studio photos with the subject low in the frame. */
.card.photo { min-height: 400px; }
.card.photo .media img { object-position: center 98%; }
.card.wide-photo { grid-column: 1 / -1; min-height: 380px; }
.card.wide-photo .media img { object-position: center 80%; }
.card.wide-photo .body { max-width: 640px; }
/* The wide agriculture photo has its subject on one side: keep it opposite the text. */
html[dir="rtl"] .card .media img.mirror-rtl { transform: scaleX(-1); }
html[dir="rtl"] .card:hover .media img.mirror-rtl { transform: scale(-1.06, 1.06); }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; }
.tall { min-height: 440px; }
@media (max-width: 1020px) {
  .span-7, .span-5, .span-8 { grid-column: span 12; }
  .span-4, .span-3, .span-6 { grid-column: span 6; }
}
@media (max-width: 620px) {
  .span-4, .span-3, .span-6 { grid-column: span 12; }
  .tall { min-height: 380px; }
  .card.photo { min-height: 440px; }
  .card.wide-photo { min-height: 480px; }
  .card.wide-photo .media img { object-position: center 74%; }
}

/* Vehicle split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.panel { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.panel h3 { font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 10px; }
.panel ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.panel li::before { content: ''; flex: none; margin-top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* How it works */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.tabs button { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; counter-reset: s; }
.step { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 28px 24px 26px; min-height: 230px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-size: 64px; font-weight: 1000; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); margin-bottom: 22px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tabpanel[hidden] { display: none; }
.tabpanel .cta-row { margin-top: 20px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

/* Cities */
.city-stage { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; min-height: clamp(560px, 64vw, 820px); display: flex; align-items: flex-end; border: 1px solid var(--line); }
.city-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.city-stage.in > img { transform: scale(1); }
.city-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,12,0) 30%, rgba(13,14,12,.7) 58%, rgba(13,14,12,.97)); }
.city-stage .inner { position: relative; z-index: 1; width: 100%; padding: clamp(22px, 4vw, 48px); }
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 26px; }
.city {
  border-radius: var(--radius-sm); padding: 18px 20px; background: rgba(24, 26, 23, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line);
  display: grid; gap: 6px;
}
.city strong { font-size: 22px; font-weight: 900; line-height: 1.2; }
.city span.gov { color: var(--muted); font-size: 14px; }
.city .chip { justify-self: start; }

/* Join panels */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 48px); min-height: 460px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.promo h3 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; }
.promo ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; max-width: min(420px, 62%); }
.promo li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.promo li::before { content: '✓'; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 900; margin-top: 4px; }
.promo .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
.promo .art { position: absolute; inset-block-end: 24px; inset-inline-end: 24px; width: 38%; height: auto; max-width: 230px; border-radius: 20px; transform: rotate(-4deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); pointer-events: none; transition: transform .6s var(--ease); }
.promo:hover .art { transform: rotate(0) translateY(-6px); }
.promo.driver { background: radial-gradient(120% 90% at 100% 100%, rgba(244, 196, 24, .25), transparent 60%), var(--surface); }
.promo.business { background: radial-gradient(120% 90% at 100% 100%, rgba(25, 128, 95, .55), transparent 60%), var(--surface); }
.promo > *:not(.art) { position: relative; z-index: 1; }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } .promo { min-height: 0; padding-bottom: 150px; } .promo .art { width: 150px; } .promo ul { max-width: none; } }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.app .app-logo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 640 / 420; margin: -8px -8px 6px; transition: transform .6s var(--ease); }
.app .app-logo img { width: 100%; height: 100%; object-fit: cover; }
.app:hover .app-logo { transform: scale(1.02); }
.app h3 { font-size: 24px; margin-top: 8px; }
.app p { margin: 0; color: var(--muted); font-size: 15.5px; }
.app .stores { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 12px; background: #000; border: 1px solid var(--line-2); text-decoration: none; font-size: 12px; line-height: 1.25; }
.store-btn b { display: block; font-size: 15px; }
.store-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } .app { min-height: 0; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); padding: 0 22px; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Big closing band */
.band { margin-top: clamp(72px, 10vw, 140px); border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.band-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-size: clamp(40px, 7vw, 96px); font-weight: 1000; line-height: 1; white-space: nowrap; }
html[dir="rtl"] .band-track { animation-name: marquee-rtl; }
.band-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }

/* Footer */
.foot { padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; color: var(--muted); font-weight: 800; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--text); opacity: .86; }
.foot a:hover { opacity: 1; color: var(--accent); }
.foot .foot-logo { width: clamp(160px, 18vw, 220px); height: auto; margin: 0 0 18px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ── Inner pages (apply, contact, legal) ─────────────────────────── */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); position: relative; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 85% 0%, rgba(244, 196, 24, .12), transparent 70%); }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 92px); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.apply-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.apply-aside { display: grid; gap: 16px; position: sticky; top: 88px; order: 2; }
.apply-aside .panel h3 { font-size: 22px; }
.apply-aside .media-card { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.apply-aside .media-card img { width: 100%; height: 100%; object-fit: cover; }
.apply-aside .media-card.logo { aspect-ratio: 640 / 420; background: none; border: 1px solid var(--line); }
@media (max-width: 960px) { .apply-grid { grid-template-columns: 1fr; } .apply-aside { position: static; } }

.form-card { border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 40px); }
.stepper { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.stepper li { flex: 1; display: grid; gap: 8px; font-size: 13px; font-weight: 800; color: var(--faint); }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--surface-2); transition: background .4s var(--ease); }
.stepper li.done, .stepper li.current { color: var(--text); }
.stepper li.done::before, .stepper li.current::before { background: var(--accent); }
.form-step h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 6px; }
.form-step > p.muted { margin: 0 0 22px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 800; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line-2); font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(244, 196, 24, .14); }
.input[aria-invalid="true"] { border-color: var(--danger); }
textarea.input { min-height: 96px; resize: vertical; }
.input.ltr { direction: ltr; text-align: left; }
html[dir="rtl"] .input.ltr { text-align: right; }
.phone-row { display: flex; gap: 8px; direction: ltr; }
.phone-row .prefix { display: grid; place-items: center; padding: 0 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 800; }
.otp { letter-spacing: .5em; font-size: 24px; text-align: center !important; font-weight: 800; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.choice label:hover { border-color: rgba(244, 196, 24, .5); }
.choice input:checked + label { border-color: var(--accent); background: rgba(244, 196, 24, .08); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + label { opacity: .45; cursor: not-allowed; }
.choice b { font-size: 17px; font-weight: 900; }
.choice small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.group-title { font-size: 13px; color: var(--muted); font-weight: 800; margin: 18px 0 8px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-top: 26px; }
.alert { border-radius: 14px; padding: 14px 16px; font-size: 15px; margin: 0 0 18px; border: 1px solid; }
.alert.error { color: #ffd2ca; background: rgba(255, 122, 102, .1); border-color: rgba(255, 122, 102, .35); }
.alert.info { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.alert.ok { color: #d5f7e5; background: rgba(111, 219, 164, .1); border-color: rgba(111, 219, 164, .35); }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 34px; font-weight: 900; margin-bottom: 18px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.summary { display: grid; gap: 0; margin: 18px 0; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 800; text-align: end; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.next-steps li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; }
.next-steps li::before { content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 900; font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#tasweeqa-recaptcha { position: fixed; bottom: 0; inset-inline-start: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 8px; align-content: start; }
.contact-card h3 { font-size: 22px; }
.contact-card a.big-link { font-size: 20px; font-weight: 900; text-decoration: none; color: var(--accent); direction: ltr; unicode-bidi: isolate; justify-self: start; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.person { display: flex; gap: 16px; align-items: center; }
.initials { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 900; }
@media (max-width: 900px) { .contact-grid, .people { grid-template-columns: 1fr; } }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-toc { position: sticky; top: 88px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 20px; max-height: calc(100vh - 110px); overflow: auto; }
.legal-toc h3, .legal-toc h2 { font-size: 15px; color: var(--muted); margin: 0 0 10px; font-weight: 800; }
.legal-toc ul, .legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { overflow-wrap: anywhere; display: block; padding: 6px 10px; border-radius: 10px; text-decoration: none; font-size: 14.5px; color: var(--muted); }
.legal-toc a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.legal-body { overflow-wrap: anywhere; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 48px); }
.legal-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 36px 0 12px; scroll-margin-top: 96px; }
.legal-body section:first-child h2, .legal-body > h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 19px; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: #d9d5cb; }
.legal-body ul, .legal-body ol { padding-inline-start: 22px; }
.legal-body a { color: var(--accent); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { border: 1px solid var(--line-2); padding: 10px; text-align: start; vertical-align: top; }
.legal-body th { background: var(--surface-2); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.legal-body .note, .legal-body .legal-note, .legal-body .legal-highlight, .legal-body .highlight-box { border-radius: 14px; padding: 14px 16px; background: rgba(244, 196, 24, .07); border: 1px solid rgba(244, 196, 24, .25); margin: 14px 0; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; max-height: none; } }

/* Language views for pages that carry both texts (legal) */
html[lang="ar"] .lang-view-en, html[lang="en"] .lang-view-ar { display: none !important; }

/* ── Motion ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rail-track, .band-track { animation: none !important; }
}

/* Legal text carried over from the earlier site */
.legal-body .legal-callout { border-radius: 14px; padding: 16px 18px; background: rgba(244, 196, 24, .07); border: 1px solid rgba(244, 196, 24, .25); margin: 16px 0; }
.legal-body .legal-callout strong { display: block; margin-bottom: 4px; color: var(--accent); }
.legal-body .legal-callout p { margin: 0; }
.legal-body .sec-num { color: var(--accent); margin-inline-end: 6px; }
.legal-body code { font-family: inherit; color: var(--accent); }

.promo .chip, .app .chip { align-self: flex-start; }
@media (max-width: 620px) {
  .city-stage > img { height: 62%; object-position: center 30%; }
  .city-stage .inner { padding-top: 46vw; }
  .city-stage::after { background: linear-gradient(180deg, rgba(13,14,12,0) 10%, rgba(13,14,12,.85) 40%, rgba(13,14,12,.98)); }
}
.legal-meta .chip { display: inline-block; }
.contact-card .chip, .city .chip { justify-self: start; }
