/* Zadkom landing v2 (#207, option A): shared styles. Arabic first (RTL), Cairo. Logical properties throughout,
   so the English pages mirror without extra rules. Tokens follow the #191 app design. */
:root {
  --o: #FF4500; --o-ink: #C93400; --o-soft: #FFEDE5; --o-line: #FFD0BD;
  --night: #0E2F33; --night-2: #1B4A4F; --sea: #0B7A75; --sea-soft: #DFF1EE;
  --bg: #F2F5F4; --card: #FFFFFF; --line: #E2E9E7; --ink: #142326; --mute: #55666A;
  --wa: #0E7C43;   /* WhatsApp green, darkened so white text is 4.5:1 or more */
  --f: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --r-xl: 34px; --r-l: 24px; --r-m: 14px;
  --wrap: 1180px; --pad: clamp(18px, 4vw, 40px);
  --float: 0 14px 34px rgba(14, 47, 51, .18);
  --head: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; font-family: var(--f); font-size: 1.0625rem; line-height: 1.8; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="en"] body { line-height: 1.65; }
img, video, canvas, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--o); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.skip { position: fixed; inset-block-start: -80px; inset-inline-start: 12px; z-index: 100; background: var(--night); color: #fff;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { inset-block-start: 12px; }

/* the section mark: the speed lines of the logo */
.mark { display: inline-flex; flex-direction: column; gap: 5px; align-items: flex-start; margin-block-end: 14px; }
.mark b { display: block; height: 5px; border-radius: 5px; background: var(--o); width: 44px; }
.mark b:nth-child(2) { width: 30px; margin-inline-start: 0; }
.mark b:nth-child(3) { width: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 24px;
  border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s; }
.btn:active { transform: scale(.97); }
.btn-o { background: var(--o); color: #fff; }
.btn-o:hover { background: var(--o-ink); }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-2); }
.btn-wa { background: var(--wa); color: #fff; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 18px; border-radius: 16px;
  background: var(--night); color: #fff; text-decoration: none; transition: transform .15s; direction: ltr; }
.store:hover { transform: translateY(-2px); }
.store .ic { width: 28px; height: 28px; }
.store span { display: grid; line-height: 1.15; text-align: start; white-space: nowrap; }
.store small { font-size: .72rem; font-weight: 500; opacity: .8; }
.store b { font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; }
html[dir="rtl"] .store small { direction: rtl; text-align: left; }
.store-ghost { background: rgba(255, 255, 255, .1); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.top { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 50; color: #fff; transition: background-color .25s, color .25s, box-shadow .25s; }
.top-in { display: flex; align-items: center; gap: 22px; height: var(--head); }
.logo { display: inline-flex; padding: 6px 0; }
.logo-mark { display: block; width: 104px; aspect-ratio: 560 / 248; background: currentColor;
  -webkit-mask: url(../img/brand/logo-mask.png) center / contain no-repeat; mask: url(../img/brand/logo-mask.png) center / contain no-repeat; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { background: rgba(255, 255, 255, .16); }
.top-act { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.lang:hover { background: rgba(255, 255, 255, .16); }
.btn-web { background: #fff; color: var(--o-ink); min-height: 44px; padding-inline: 20px; }
.burger-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: inherit; cursor: pointer;
  align-items: center; justify-content: center; }
.burger-btn .ic { width: 24px; height: 24px; }
.burger-btn .ic-x, .burger-btn[aria-expanded="true"] .ic-list { display: none; }
.burger-btn[aria-expanded="true"] .ic-x { display: block; }
.top.is-stuck, .top.is-solid, .top.is-open { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top.is-stuck .logo, .top.is-solid .logo, .top.is-open .logo { color: var(--o); }
.top.is-stuck .nav a:hover, .top.is-solid .nav a:hover, .top.is-stuck .lang:hover, .top.is-solid .lang:hover,
.top.is-solid .nav a[aria-current], .top.is-stuck .nav a[aria-current] { background: var(--o-soft); color: var(--o-ink); }
.top.is-stuck .btn-web, .top.is-solid .btn-web, .top.is-open .btn-web { background: var(--o); color: #fff; }
.top.is-stuck .burger-btn, .top.is-solid .burger-btn, .top.is-open .burger-btn { background: var(--bg); }
@media (max-width: 980px) {
  :root { --head: 64px; }
  .burger-btn { display: inline-flex; }
  .nav { position: absolute; inset-inline: 0; inset-block-start: var(--head); margin: 0; padding: 10px var(--pad) 22px; flex-direction: column; gap: 2px;
    background: #fff; color: var(--ink); box-shadow: 0 24px 30px rgba(14, 47, 51, .14); display: none; }
  .top.is-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav a:hover { background: var(--o-soft); }
  .top-act { margin-inline-start: auto; }
  .lang span { display: none; }
  .logo-mark { width: 88px; }
}
@media (max-width: 520px) { .btn-web { display: none; } .lang span { display: inline; } }

/* ---------- option A hero: the orange wall and the Omani door of the app's splash ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: clip;
  background: radial-gradient(120% 95% at 28% 46%, #F4560F 0%, #EE4C0A 44%, #CC3B04 100%); }
html[dir="ltr"] .hero { background: radial-gradient(120% 95% at 72% 46%, #F4560F 0%, #EE4C0A 44%, #CC3B04 100%); }
.hero::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 13.5%; z-index: -1;
  background: linear-gradient(to bottom, rgba(255, 170, 110, .34), rgba(255, 110, 40, 0) 55%), linear-gradient(to bottom, #EC5310, #E2470B); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(10px, 3vw, 48px);
  min-height: min(100svh, 900px); padding-block-start: var(--head); }
.hero-copy { padding-block: 40px 70px; }
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 7rem); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
html[lang="en"] .hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; }
.hero .lead { margin-block: 22px 30px; max-width: 34em; font-size: clamp(1.06rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.85; }
.hero .store { background: var(--night); }
.hero-web { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 22px; font-weight: 700; text-underline-offset: 5px; }
.hero-door { position: relative; align-self: end; justify-self: center; height: min(100svh, 900px); margin-block-start: calc(var(--head) * -1); aspect-ratio: 9 / 16; }
.door-video { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 24%, #000 76%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%); mask-composite: intersect; }
.door-replay { position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(50%); display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 18px; border: 0; border-radius: 999px; background: rgba(14, 47, 51, .78); color: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; white-space: nowrap; }
html[dir="ltr"] .door-replay { transform: translateX(-50%); }
.door-replay[hidden] { display: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-door { order: -1; height: min(64svh, 560px); margin-block-start: 0; }
  .hero-copy { padding-block: 6px 56px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .hero::after { display: none; }
  .door-video { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%); }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-h { max-width: 44rem; margin-block-end: clamp(28px, 4vw, 48px); }
.sec-h h2, .prose h1 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 900; line-height: 1.28; letter-spacing: -.005em; text-wrap: balance; }
html[lang="en"] .sec-h h2, html[lang="en"] .prose h1 { line-height: 1.12; letter-spacing: -.02em; }
.sec-h p { margin-block-start: 10px; color: var(--mute); font-size: 1.12rem; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.45; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.svc { position: relative; padding: clamp(24px, 3vw, 40px); padding-block-start: clamp(110px, 14vw, 170px); border-radius: var(--r-xl); overflow: visible; }
.svc-food { background: var(--o-soft); }
.svc-courier { background: var(--sea-soft); }
.svc-art { position: absolute; inset-block-start: clamp(-60px, -5vw, -34px); inset-inline-end: clamp(8px, 2vw, 28px); width: clamp(170px, 22vw, 270px);
  filter: drop-shadow(0 18px 18px rgba(14, 47, 51, .2)); }
.svc h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; }
.svc > p { margin-block: 6px 22px; max-width: 28em; color: #2B3C3F; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .78); font-weight: 700; font-size: .95rem; }
html[dir="rtl"] .chips li { padding: 5px 8px 5px 14px; }
.chips img { width: 34px; height: 34px; }
.chips .more { padding-inline: 14px; color: var(--o-ink); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; gap: 70px; } }

/* categories rail (moves with the scroll position, not on its own) */
.crave { background: var(--card); overflow: clip; }
.rail { display: grid; gap: 14px; }
.rail-row { display: flex; gap: clamp(10px, 1.6vw, 20px); width: max-content; padding-inline: var(--pad); will-change: transform; }
.rail-row li { display: grid; justify-items: center; gap: 4px; width: clamp(104px, 11vw, 138px); padding: 14px 8px 12px; border-radius: var(--r-l); background: var(--bg);
  font-weight: 700; font-size: .95rem; text-align: center; line-height: 1.4; }
.rail-row img { width: 78%; filter: drop-shadow(0 8px 8px rgba(14, 47, 51, .16)); transition: transform .25s; }
.rail-row li:hover img { transform: translateY(-6px) scale(1.06); }
html:not(.js) .rail, .rail.is-static { overflow-x: auto; }

/* how to order: the route */
.route { position: relative; }
.route-line { position: absolute; inset-inline: 0; inset-block-start: 6px; width: 100%; height: 190px; overflow: visible; }
.route-line path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-base { stroke: var(--o-line); stroke-width: 5; stroke-dasharray: 2 14; }
.route-done { stroke: var(--o); stroke-width: 5; }
.route-rider { position: absolute; top: 0; left: 0; width: 92px; margin: -58px 0 0 -46px; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 10px 8px rgba(14, 47, 51, .22)); will-change: transform; }
html[dir="ltr"] .route-line { scale: -1 1; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); padding-block-start: 220px; counter-reset: s; }
.step { position: relative; padding: 26px 26px 28px; border-radius: var(--r-l); background: var(--card); }
.step img { width: 96px; margin-block: -74px 6px; filter: drop-shadow(0 12px 10px rgba(14, 47, 51, .18)); }
.step-n { position: absolute; inset-block-start: 18px; inset-inline-end: 22px; font-size: 3.4rem; font-weight: 900; line-height: 1; color: var(--o-soft); -webkit-text-stroke: 1.5px var(--o-line); }
.step p { color: var(--mute); margin-block-start: 4px; }
@media (max-width: 760px) {
  .route-line, .route-rider { display: none; }
  .steps { grid-template-columns: 1fr; padding-block-start: 44px; gap: 64px; }
}

/* why */
.why { background: var(--night); color: #fff; }
.why .sec-h h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-grid li { padding: 6px clamp(14px, 2vw, 30px) 10px; border-inline-start: 1px solid rgba(255, 255, 255, .16); }
.why-grid li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.why-grid img { width: 104px; margin-block-end: 12px; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.why-grid p { margin-block-start: 4px; color: #C4D4D3; font-size: 1rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .why-grid li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 460px) { .why-grid img { width: 80px; } .why-grid li { padding-inline: 12px 0; } }

/* areas + numbers */
.areas-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.places { display: flex; flex-wrap: wrap; gap: 10px; }
.places li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--card); font-weight: 700; }
.places .ic { color: var(--o); }
.note { margin-block-start: 20px; color: var(--mute); max-width: 34em; }
.nums { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-radius: var(--r-xl); background: var(--card); overflow: hidden; }
.nums div { display: flex; flex-direction: column-reverse; padding: clamp(20px, 3vw, 34px); border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.nums div:nth-child(even) { border-inline-end: 0; }
.nums div:nth-last-child(-n+2) { border-block-end: 0; }
.nums dd { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.2; color: var(--o-ink); }
.nums dt { color: var(--mute); font-weight: 500; }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; } }

/* join */
.join { background: var(--card); }
.join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.join-card { display: grid; grid-template-columns: clamp(110px, 15vw, 190px) 1fr; gap: clamp(14px, 2vw, 28px); align-items: center; padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-xl); background: var(--bg); }
.join-card img { filter: drop-shadow(0 16px 14px rgba(14, 47, 51, .2)); }
.kick { color: var(--o-ink); font-weight: 700; font-size: .95rem; }
.join-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 900; }
.join-card p:not(.kick) { color: var(--mute); margin-block: 6px 18px; }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .join-card { grid-template-columns: 1fr; } .join-card img { width: 130px; } }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 70px); align-items: start; }
.faq .sec-h { position: sticky; inset-block-start: calc(var(--head) + 24px); }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-l); background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.14rem; }
.faq summary .ic { width: 22px; height: 22px; color: var(--o); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: #33474A; max-width: 46em; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } .faq .sec-h { position: static; } }

/* download */
.dl { padding-block-start: 0; }
.dl-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; min-height: 420px; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(110% 120% at 70% 40%, #F5540E, #D94006); color: #fff; }
.dl-copy { padding: clamp(28px, 5vw, 70px); }
.dl-copy h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.2; }
.dl-copy p { margin-block: 8px 26px; font-size: 1.2rem; font-weight: 500; }
.dl-art { align-self: stretch; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 62%;
  -webkit-mask-image: linear-gradient(to left, #000 60%, transparent); mask-image: linear-gradient(to left, #000 60%, transparent); }
html[dir="rtl"] .dl-art { -webkit-mask-image: linear-gradient(to right, #000 60%, transparent); mask-image: linear-gradient(to right, #000 60%, transparent); }
@media (max-width: 760px) { .dl-card { grid-template-columns: 1fr; } .dl-art { min-height: 300px; height: 300px; order: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent) !important; mask-image: linear-gradient(to bottom, #000 60%, transparent) !important; } .dl-copy { padding-block-start: 8px; text-align: center; } .dl .stores { justify-content: center; } }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #D5E2E1; padding-block: clamp(48px, 7vw, 84px) 110px; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.25fr; gap: clamp(22px, 4vw, 56px); }
.foot .logo-mark { color: #fff; width: 120px; margin-block-end: 16px; }
.foot-brand p { max-width: 30em; }
.foot-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 18px; }
.foot-stores .store { min-height: 50px; padding: 6px 16px 6px 14px; }
.foot-col { display: grid; align-content: start; gap: 8px; }
.foot h2 { font-size: 1rem; font-weight: 700; color: #fff; margin-block-end: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-contact a, .foot-contact address { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-block-start: .3em; color: #fff; }
.foot-social { display: flex; gap: 10px; margin-block-start: 8px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.foot-social .ic { margin: 0; width: 22px; height: 22px; }
.news { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-block: 26px; border-block: 1px solid rgba(255, 255, 255, .14); }
.news label { font-size: 1.2rem; font-weight: 700; color: #fff; }
.news-row { display: flex; gap: 8px; flex: 1 1 320px; max-width: 480px; }
.news input { flex: 1; min-width: 0; min-height: 48px; padding: 8px 20px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-align: start; }
html[dir="rtl"] .news input { text-align: right; }
.news input::placeholder { color: #9DB3B2; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-block-start: 22px; font-size: .88rem; color: #9DB3B2; }
.proto { color: #FFB899; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand, .foot-contact { grid-column: 1 / -1; } }

/* ---------- the floating links ---------- */
.dock { position: fixed; z-index: 60; inset-inline-end: 18px; inset-block-start: 50%; transform: translateY(-50%); display: grid; gap: 8px; padding: 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--float); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dock-b { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--night); text-decoration: none; background: var(--bg); transition: transform .15s; }
.dock-b:hover { transform: scale(1.08); }
.dock-b .ic { width: 26px; height: 26px; }
.dock-app { background: var(--o); color: #fff; }
.dock-wa { background: var(--wa); color: #fff; }
.dock-ig { background: #C13584; background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
.dock-b span { position: absolute; inset-inline-end: calc(100% + 14px); white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--night); color: #fff; font-size: .88rem; font-weight: 700;
  opacity: 0; pointer-events: none; transform: translateX(-6px); transition: opacity .15s, transform .15s; }
html[dir="ltr"] .dock-b span { transform: translateX(6px); }
.dock-b:hover span, .dock-b:focus-visible span { opacity: 1; transform: none; }
.dock-pop { position: absolute; inset-inline-end: calc(100% + 14px); inset-block-start: 0; display: grid; gap: 8px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--float); }
.dock-pop[hidden] { display: none; }
.dock-pop { width: max-content; }
.dock-app[aria-expanded="true"] > span { opacity: 0 !important; }
@media (max-width: 760px) {
  .dock { inset-inline: 12px; inset-block: auto calc(12px + env(safe-area-inset-bottom)); transform: none; grid-template-columns: 1fr auto auto auto; align-items: center; padding: 7px; }
  .dock-b { width: 50px; height: 50px; }
  .dock-app { width: auto; grid-auto-flow: column; gap: 8px; padding-inline: 18px; border-radius: 999px; }
  .dock-app span { position: static; opacity: 1; transform: none !important; padding: 0; background: none; font-size: 1.02rem; }
  .dock-b:not(.dock-app) span { display: none; }
  .dock-pop { inset-inline: 0; inset-block: auto calc(100% + 10px); grid-template-columns: 1fr 1fr; }
  .dock-pop .store { padding-inline: 12px; min-height: 54px; }
}

/* ---------- sub pages ---------- */
.sub { padding-block: calc(var(--head) + clamp(40px, 7vw, 90px)) clamp(60px, 8vw, 110px); min-height: 70svh; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.prose > p { margin-block-start: 16px; max-width: 38em; }
.prose .stores, .prose .btn { margin-block-start: 26px; }
.admin-note { padding: 12px 18px; border-radius: var(--r-m); background: var(--o-soft); color: #5B2A12; font-size: .95rem; }
.sub-art { position: relative; aspect-ratio: 1; }
.sub-art img { position: absolute; width: 68%; filter: drop-shadow(0 20px 18px rgba(14, 47, 51, .2)); }
.sub-art img:first-child { inset-block-start: 0; inset-inline-start: 0; }
.sub-art img:last-child { inset-block-end: 0; inset-inline-end: 0; width: 60%; }
.contact-list { margin-block-start: 26px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; }
.contact-list .ic { grid-row: span 2; margin-block-start: .35em; color: var(--o); }
.contact-list span { font-size: .9rem; color: var(--mute); }
.contact-list a { font-weight: 700; text-decoration: none; }
.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 34px); border-radius: var(--r-xl); background: var(--card); }
.form label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
.form input, .form textarea { min-height: 50px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--bg); font-weight: 400; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--o); background: #fff; }
.prose-legal { max-width: 760px; }
.updated { color: var(--mute); }
@media (max-width: 860px) { .sub-grid { grid-template-columns: 1fr; } .sub-art { max-width: 340px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ======================================================================================================
   Live build additions (#207): status messages, the legal text, testimonials and banners, the preview bar,
   and the owner's side dishes (a burger and a pizza that build themselves while the visitor scrolls).
   ====================================================================================================== */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 12px 18px; border-radius: var(--r-m); font-weight: 700; }
.status-ok { background: var(--sea-soft); color: #064E4A; }
.status-err { background: var(--o-soft); color: #7A2400; }
.foot .status { margin-block-start: 4px; flex-basis: 100%; }
.foot .status-ok { background: rgba(223, 241, 238, .14); color: #DFF1EE; }
.foot .status-err { background: rgba(255, 237, 229, .14); color: #FFD0BD; }
.form .err { color: #A32A00; font-size: .9rem; font-weight: 700; }
.form [aria-invalid="true"] { border-color: #C93400; }
.preview-bar { position: fixed; z-index: 70; inset-block-end: 12px; inset-inline-start: 12px; padding: 6px 14px; border-radius: 999px;
  background: #142326; color: #fff; font: 700 .85rem/1.4 "Segoe UI", system-ui, sans-serif; direction: ltr; pointer-events: none; opacity: .9; }

/* the legal pages keep the admin's text as it is (English for now) */
.legal-body { margin-block-start: 26px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--card); line-height: 1.75; overflow-wrap: anywhere; }
.legal-body h1, .legal-body h2, .legal-body h3 { font-size: 1.3rem; line-height: 1.4; margin-block: 1.2em .4em; }
.legal-body h1:first-child, .legal-body h2:first-child { margin-block-start: 0; }
.legal-body p, .legal-body ul, .legal-body ol { margin-block: .6em; }
.legal-body ul, .legal-body ol { padding-inline-start: 1.4em; list-style: revert; }
.legal-body a { color: var(--o-ink); }
.legal-body img, .legal-body table { max-width: 100%; }
.lang-note { margin-block-start: 14px; color: var(--mute); }

/* testimonials and promotion banners (hidden while their admin lists are empty) */
.cards-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.quote { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--bg); }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption small { display: block; color: var(--mute); font-weight: 500; }
.promo { overflow: hidden; border-radius: var(--r-xl); background: var(--o-soft); }
.promo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo div { padding: 18px 22px 22px; }
.promo h3 { font-size: 1.2rem; }
.promo p { color: var(--mute); }
.testimonials { background: var(--card); }

/* ---------- the side dishes ----------
   Wide screens (1440 px and up, and at least 640 px high): one dish in each free side margin, at the bottom, outside
   the 1180 px content column, so it never covers text, buttons or pictures. The burger sits on the side where the text
   starts (right in Arabic, left in English), the pizza on the other side (below the floating links). They build with
   the page's scroll and hide while a full-width row (the category rows) passes behind them.
   Narrower screens: no side dishes; one dish at a time sits in its own reserved place beside a section heading,
   burger and pizza in turn, and builds while that heading scrolls into view.
   "Reduce motion": the finished dishes stand still. No JavaScript: no dishes. */
.dish { pointer-events: none; user-select: none; }
.dish img { position: absolute; display: block; width: 100%; height: auto; max-width: none; }
.dish-stage { position: absolute; inset: 0; }
.dish-burger { aspect-ratio: 942 / 579; }
.dish-pizza { aspect-ratio: 1; }
.dish-burger .dl { left: 0; will-change: transform, opacity; opacity: 0; }
.dish-pizza .dp { inset: 0; width: 100%; height: 100%; opacity: 0; will-change: transform, opacity; }
.dish-pizza .dp-sauce { -webkit-mask-image: conic-gradient(from -90deg, #000 var(--sweep, 0deg), transparent calc(var(--sweep, 0deg) + 14deg));
  mask-image: conic-gradient(from -90deg, #000 var(--sweep, 0deg), transparent calc(var(--sweep, 0deg) + 14deg)); }
.dish .dish-still { inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.dish.is-still .dish-stage { display: none; }
.dish.is-still .dish-still { opacity: 1; }
.dish-shadow { position: absolute; inset-inline: 12%; inset-block-end: -6%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 47, 51, .22), transparent); opacity: var(--shadow, 0); }
html.no-js .dish { display: none !important; }

.dish-side { position: fixed; z-index: 40; inset-block-end: 26px; width: min(180px, calc((100vw - 1180px) / 2 - 30px)); display: none;
  transition: opacity .35s ease, visibility .35s; filter: drop-shadow(0 14px 14px rgba(14, 47, 51, .18)); }
.dish-side.dish-burger { inset-inline-start: calc((100vw - 1180px) / 4 - min(180px, calc((100vw - 1180px) / 2 - 30px)) / 2); }
.dish-side.dish-pizza { inset-inline-end: calc((100vw - 1180px) / 4 - min(180px, calc((100vw - 1180px) / 2 - 30px)) / 2); }
.dish-side.is-hidden { opacity: 0; visibility: hidden; transition: none; }   /* hides at once, fades back in */
.sec-h.has-dish { display: grid; grid-template-columns: minmax(0, 44rem) auto; justify-content: space-between; align-items: end; column-gap: 18px; max-width: none; }
.sec-h.has-dish > .dish-inline { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.sec-h.has-dish > :not(.dish-inline) { grid-column: 1; }
.dish-inline { position: relative; width: clamp(76px, 11vw, 132px); filter: drop-shadow(0 10px 10px rgba(14, 47, 51, .18)); }
.why .dish-inline { filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
@media (min-width: 1440px) and (min-height: 640px) {
  html.js .dish-side { display: block; }
  .sec-h.has-dish { display: block; max-width: 44rem; }
  .sec-h.has-dish > .dish-inline { display: none; }
}
@media (max-width: 460px) { .dish-inline { width: 72px; } .sec-h.has-dish { column-gap: 12px; } }

/* The vertical floating links (computer widths) sit in the side margin. Where that margin is narrower than the links
   (761 to 1439 px), the content column keeps a free lane on both sides so the links never cover text or buttons. */
@media (min-width: 761px) and (max-width: 1439px) {
  .wrap { width: min(var(--wrap), 100% - 2 * 96px); }
}

/* Access (G8): white text on the brand orange (#FF4500 / the orange wall) is about 3.4:1, enough only for large text
   (WCAG: 18.66 px bold or 24 px). So every white-on-orange text is large and bold, and focus rings turn white on
   orange surfaces (an orange ring on orange cannot be seen). */
.btn-o, .top.is-stuck .btn-web, .top.is-solid .btn-web, .top.is-open .btn-web { font-size: 1.17rem; font-weight: 700; }
.hero .lead { font-size: clamp(1.17rem, 1.5vw, 1.3rem); font-weight: 700; }
.hero-web { font-size: 1.17rem; }
.dl-copy p { font-weight: 700; font-size: max(1.2rem, 18.7px); }
.hero :focus-visible, .dl-card :focus-visible, .top:not(.is-stuck):not(.is-solid):not(.is-open) :focus-visible { outline-color: #fff; }
@media (max-width: 760px) { .dock-app span { font-size: 1.17rem !important; font-weight: 700; } }

/* Phones: the two store buttons always share one row in two equal columns, whatever the font. Before, the fallback
   font made them wrap to two rows and they jumped up when Cairo arrived (layout shift 0.07 on the about page). */
@media (max-width: 460px) {
  .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .stores .store { min-width: 0; padding: 8px 10px; gap: 8px; justify-content: center; }
  .stores .store .ic { width: 24px; height: 24px; }
  .stores .store b { font-size: 1rem; }
  .stores .store span { overflow: hidden; }
}

/* Access: the transparent header sits on the orange wall at the top of the home page; a soft dark band behind it
   keeps its white links at 4.5:1 or more (the same band fades out before the headline). */
.hero { background: linear-gradient(to bottom, rgba(110, 22, 0, .34) 0, rgba(110, 22, 0, .34) 84px, rgba(110, 22, 0, 0) 170px),
  radial-gradient(120% 95% at 28% 46%, #F4560F 0%, #EE4C0A 44%, #CC3B04 100%); }
html[dir="ltr"] .hero { background: linear-gradient(to bottom, rgba(110, 22, 0, .34) 0, rgba(110, 22, 0, .34) 84px, rgba(110, 22, 0, 0) 170px),
  radial-gradient(120% 95% at 72% 46%, #F4560F 0%, #EE4C0A 44%, #CC3B04 100%); }

/* Access: the form fields keep a clear focus ring for keyboard users (the border colour alone was too thin). */
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--o); outline-offset: 2px; }
