/* =========================================================
   سعد العبدالله — الموقع
   هوية الموقع الثابتة (كلاسيك): أبيض وأسود + لون اللوجو للأيقونات وبعض الأزرار
   مستقلة عن هوية السوشيال الشهرية
   كل الحركات transform / opacity بس عشان تكون سلسة على الفون
   ========================================================= */

@font-face { font-family: "Plex Arabic"; src: url("../assets/fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../assets/fonts/plex-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F6F6F6;
  --line: #E6E6E6;
  --ink: #111111;
  --ink-2: #2B2B2B;
  --body: #4A4A4A;
  --muted: #767676;
  /* لون اللوجو */
  --brand: #087090;
  --brand-2: #18A0C8;
  --brand-soft: #EAF6FA;

  --f: "Plex Arabic", "Segoe UI", Tahoma, sans-serif;
  --hdr: 70px;
  --gut: 16px;
  --r: 10px;
  --r2: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 44px -30px rgba(0, 0, 0, .35);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gut: 24px; --hdr: 78px; } }

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--brand-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

svg.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.skip { position: fixed; top: 8px; right: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }
.crop, .crop-h { position: relative; }

/* ---------- عناصر مشتركة ---------- */
.tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; }
.tag::before { content: ""; width: 28px; height: 1.5px; background: var(--ink); }
.tag .num { color: var(--brand); }
.tag.light { color: #BDBDBD; }
.tag.light::before { background: #fff; }
.tag.light .num { color: var(--brand-2); }

.h-xl { font-weight: 700; font-size: clamp(42px, 6.6vw, 78px); line-height: 1.22; letter-spacing: -.01em; }
.h-lg { font-weight: 700; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.3; }
.h-xl em, .h-lg em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(16px, 1.45vw, 18px); line-height: 1.95; color: var(--body); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background-color .2s, color .2s;
}
.btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(0,0,0,.6); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-brand { background: var(--brand); }
.btn-brand:hover { background: #065D78; box-shadow: 0 14px 26px -16px rgba(8,112,144,.8); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 15px; }
.more .ic { color: var(--brand-2); transition: transform .25s var(--ease); }
.more::after { content: ""; position: absolute; inset: 0; }

/* ---------- الهيدر ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.hdr-in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hdr.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
@media (min-width: 1024px) {
  .hdr.scrolled { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand b { display: block; font-weight: 700; font-size: 17px; line-height: 1.25; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 8px 12px; font-weight: 700; font-size: 15px; color: var(--body); transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.active { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta { display: none; }
/* زرار اللغة */
.hdr-act { display: flex; align-items: center; gap: 8px; }
.lang-sw { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; letter-spacing: .02em; transition: box-shadow .2s, background-color .2s, color .2s; }
.lang-sw .ic { width: 18px; height: 18px; color: var(--brand); transition: color .2s; }
.lang-sw:hover { background: var(--ink); color: #fff; box-shadow: none; }
.lang-sw:hover .ic { color: var(--brand-2); }
@media (max-width: 1023px) { .lang-sw { height: 46px; padding: 0 14px; } }
.nav-extra { display: none; }
@media (max-width: 359px) { .brand small { display: none; } }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r); background: var(--bg); color: var(--ink); place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.burger .ic { width: 22px; height: 22px; }

@media (max-width: 1023px) {
  .hdr-cta { display: none; }
  .burger { display: grid; }
  .nav {
    position: fixed; inset: var(--hdr) 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) calc(24px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 18px 4px; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 24px; height: 56px; font-size: 17px; }
  .hdr.menu { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
  body.lock { overflow: hidden; }
}

/* ---------- الواجهة ---------- */
.hero { position: relative; overflow: clip; padding: calc(var(--hdr) + 22px) 0 56px; }
.hero-in { position: relative; display: grid; gap: 48px; align-items: start; }
.hero-txt { min-width: 0; }
.hero-txt > * { animation: up .8s var(--ease) both; }
.hero-txt > :nth-child(2) { animation-delay: .06s; }
.hero-txt > :nth-child(3) { animation-delay: .14s; }
.hero-txt > :nth-child(4) { animation-delay: .22s; }
.hero-txt > :nth-child(5) { animation-delay: .3s; }
.hero-txt > :nth-child(6) { animation-delay: .36s; }
.hero-txt > :nth-child(7) { animation-delay: .42s; }
.hero .h-xl { margin-top: -.12em; }
.hero .lead { margin-top: 18px; }

.facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.facts .ic { width: 20px; height: 20px; color: var(--brand-2); }

@media (min-width: 1024px) {
  .hero { padding: calc(var(--hdr) + 34px) 0 80px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* ---------- لمسات الواجهة ---------- */
/* خط مرسوم بالإيد تحت "عملنا" */
.h-xl em.ul { position: relative; display: inline-block; }
.scribble { position: absolute; left: -3%; width: 106%; bottom: -.14em; height: .3em; overflow: visible; fill: none; stroke: var(--brand-2); stroke-width: 5; stroke-linecap: round; transform: scaleX(-1); }
.scribble path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .9s var(--ease) .7s forwards; }
.scribble path + path { stroke-width: 3; opacity: .5; animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* اطلب في 3 خطوات */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; margin-top: 30px; }
.flow::before, .flow::after { content: ""; position: absolute; top: 25px; height: 2px; inset-inline: 16.667%; }
.flow::before { background: var(--line); }
.flow::after { background: var(--brand-2); transform: scaleX(var(--p, 0)); transform-origin: right; transition: transform .9s var(--ease); }
.flow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fl-dot { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line), 0 0 0 6px var(--bg); transition: background-color .45s, color .45s, box-shadow .45s, transform .45s var(--ease); }
.fl-dot .ic { width: 22px; height: 22px; }
.flow li.is-done .fl-dot { background: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
.flow li.is-on .fl-dot { background: var(--brand); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px var(--bg), 0 0 0 11px rgba(24,160,200,.16); }
.flow b { margin-top: 12px; font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--body); transition: color .3s; }
.flow li.is-on b, .flow li.is-done b { color: var(--ink); }
.flow small { margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* اطلب مباشرة */
.quick { margin-top: 22px; }
.quick-lbl { display: block; margin-bottom: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.quick-list { display: flex; flex-wrap: wrap; gap: 8px; }
.qk { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s; }
.qk .ic { width: 18px; height: 18px; color: var(--brand); transition: color .2s; }
.qk:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.qk[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.qk[aria-pressed="true"] .ic { color: var(--brand-2); }

/* ---------- صندوق الطلب (في الواجهة) ---------- */
.order-box {
  position: relative; width: 100%; max-width: 520px; justify-self: center;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r2); background: var(--bg);
  border-top: 3px solid var(--brand);
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -46px rgba(0,0,0,.45);
  animation: pop .9s var(--ease) .15s both;
}
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.ob-hd { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.ob-hd h2 { font-weight: 700; font-size: clamp(21px, 2vw, 24px); line-height: 1.4; }
.ob-hd p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.order-box .fld textarea { min-height: 80px; }
.order-box.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 25% { box-shadow: 0 0 0 2px var(--brand-2), 0 0 0 12px rgba(24,160,200,.16), 0 40px 70px -46px rgba(0,0,0,.45); } }
/* تنبيه إرفاق الملفات */
.f-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.85; }
.f-note .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.f-note b { font-weight: 700; color: var(--ink); }
/* شاشة ما بعد الإرسال */
.ob-done:not([hidden]) { display: block; animation: pop .5s var(--ease) both; }
.ob-done:focus { outline: none; }
.ob-done .ok { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
.ob-done .ok .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.ob-done h2 { margin-top: 16px; font-weight: 700; font-size: clamp(21px, 2vw, 24px); line-height: 1.4; }
.ob-done > p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.done-steps { margin-top: 14px; }
.done-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.done-steps li b { flex: none; width: 28px; height: 28px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.done-steps strong { font-weight: 700; color: var(--ink); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.f-row { display: grid; gap: 12px; }
.f-row.split { grid-template-columns: 1fr 1fr; }
.fld input[type="tel"] { text-align: right; }
.fld input.bad { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
/* على الموبايل: الفورم يطلع بعد العنوان على طول */
@media (max-width: 1023px) {
  .hero-in { gap: 28px; }
  .hero .cta-row { display: none; }
  .hero-txt { text-align: center; }
  .flow { margin-inline: auto; }
  .flow small { display: none; }
  .quick-lbl { text-align: center; }
  /* أزرار "اطلب مباشرة" سطر واحد يتسحب بالعرض */
  .quick-list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .quick-list::-webkit-scrollbar { display: none; }
  .qk { flex: none; scroll-snap-align: start; }
}

/* ---------- شريط متحرك ---------- */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 15px 0; }
.tk-track { display: flex; width: max-content; animation: tick 45s linear infinite; }
.tk-group { display: flex; }
.tk-group span { display: inline-flex; align-items: center; gap: 24px; padding-inline-start: 24px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.tk-group span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
@keyframes tick { to { transform: translateX(50%); } }
.ticker:hover .tk-track { animation-play-state: paused; }

/* ---------- السكاشن ---------- */
.sec { padding: clamp(72px, 9vw, 124px) 0; }
.sec-hd { margin-bottom: clamp(34px, 4vw, 54px); }
.sec-hd .h-lg { margin-top: 16px; }
.sec-hd .lead { margin-top: 12px; }
.sec-hd.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- الخدمات: شريط كروت بالصور ---------- */
.services { background: var(--bg); }
.svc-rail {
  --cw: min(74vw, 290px); --gap: 18px; --fade: 5%;
  --pad: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut)));
  position: relative; overflow: hidden; padding: 6px 0 12px;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}
.svc-rail:focus-visible { outline-offset: -3px; }
.svc-rail.dragging { cursor: grabbing; }
.svc-rail.dragging .svc { pointer-events: none; }
@media (min-width: 1024px) { .svc-rail { --cw: calc((min(100vw, 1200px) - 2 * var(--gut) - 3 * var(--gap)) / 4); --fade: 7%; } }
.svc-track { display: flex; gap: var(--gap); width: max-content; padding-inline: var(--pad); will-change: transform; backface-visibility: hidden; }
.svc { position: relative; isolation: isolate; flex: 0 0 var(--cw); width: var(--cw); aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r2); background: #1C1C1C; transition: transform .5s var(--ease); }
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 36%, rgba(0,0,0,.08) 64%, rgba(0,0,0,.3) 100%); }
.svc-body { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 18px 20px 20px; color: #fff; }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: background-color .3s, box-shadow .3s; }
.svc-ic .ic { width: 22px; height: 22px; }
.svc-n { font-weight: 700; font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.svc h3 { margin-top: auto; font-weight: 700; font-size: 22px; line-height: 1.35; }
.svc p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.8); }
.svc-cta { margin-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; transition: background-color .2s, color .2s; }
.svc-cta .ic { width: 18px; height: 18px; color: var(--brand); transition: transform .25s var(--ease), color .2s; }
.svc-cta::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) {
  .svc:hover { transform: translateY(-6px); }
  .svc:hover img { transform: scale(1.06); }
  .svc:hover .svc-ic { background: var(--brand); box-shadow: none; }
  .svc:hover .svc-cta { background: var(--brand); color: #fff; }
  .svc:hover .svc-cta .ic { color: #fff; transform: translateX(-4px); }
}
.svc-progress { height: 2px; margin-top: 24px; overflow: hidden; border-radius: 2px; background: var(--line); }
.svc-progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(.1); transform-origin: right; }

/* ---------- أسهم الشرايط ---------- */
.rail-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .rail-nav { display: flex; } }
.rbtn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .2s, color .2s, opacity .2s; }
.rbtn:hover { background: var(--ink); color: #fff; }
.rbtn:disabled { opacity: .25; pointer-events: none; }
.rbtn .ic { width: 22px; height: 22px; }

/* ---------- المناسبات: قائمة مرقّمة + صورة كبيرة ---------- */
.occasions { background: var(--bg-2); }
.occ { display: grid; gap: 22px; }
@media (min-width: 1024px) { .occ { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }

.occ-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.occ-item {
  position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: start; gap: 0 14px;
  width: 100%; padding: 15px 0; text-align: start; border-top: 1px solid var(--line); color: #A3A3A3; transition: color .3s;
}
.occ-item:hover { color: var(--ink-2); }
.occ-item.is-on { color: var(--ink); }
.occ-n { padding-top: 9px; font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.occ-item.is-on .occ-n { color: var(--brand); }
.occ-t b { display: block; font-weight: 700; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; }
.occ-d { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s; }
.occ-d > span { overflow: hidden; font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.occ-item.is-on .occ-d { grid-template-rows: 1fr; opacity: 1; }
.occ-arr { width: 22px; height: 22px; margin-top: 9px; transition: transform .35s var(--ease), color .3s; }
.occ-item.is-on .occ-arr { color: var(--brand); transform: translateX(-6px); }
.occ-prog { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; }
.occ-item.is-on .occ-prog { animation: occfill 5.5s linear forwards; }
.occ.paused .occ-prog, .occ.off .occ-prog { animation-play-state: paused; }
.occ.static .occ-prog { animation: none !important; }
@keyframes occfill { to { transform: scaleX(1); } }

.occ-stage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r2); background: #1C1C1C; }
@media (min-width: 1024px) { .occ-stage { width: min(100%, 520px); justify-self: center; } }
.occ-fig { position: absolute; inset: 0; margin: 0; z-index: 0; opacity: 0; transform: scale(1.07); transition: opacity .8s ease, transform 1.6s var(--ease); }
.occ-fig.is-on { opacity: 1; transform: none; z-index: 1; }
.occ-fig img { width: 100%; height: 100%; object-fit: cover; }
.occ-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 38%, transparent 60%); }
.occ-count { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 3; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,.42); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .06em; direction: ltr; }
.occ-cap { position: absolute; inset: auto 0 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; color: #fff; }
.occ-cap h3 { font-weight: 700; font-size: 24px; line-height: 1.4; }
.occ-cap p { margin-top: 2px; font-size: 14.5px; color: rgba(255,255,255,.82); }
.occ-cta { margin-top: 14px; height: 46px; padding: 0 20px; font-size: 15px; }
.occ-cta .ic { color: var(--brand); transition: transform .25s var(--ease), color .2s; }
.occ-cta:hover { background: var(--brand); color: #fff; }
.occ-cta:hover .ic { color: #fff; transform: translateX(-4px); }
@media (min-width: 1024px) { .occ-cap h3, .occ-cap p { display: none; } }

/* الموبايل: المناسبات أزرار بتتسحب بالعرض فوق الصورة */
@media (max-width: 1023px) {
  .occ-list { flex-direction: row; gap: 8px; overflow-x: auto; border: 0; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 4px; scrollbar-width: none; }
  .occ-list::-webkit-scrollbar { display: none; }
  .occ-item { display: inline-flex; align-items: center; flex: none; width: auto; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--body); overflow: hidden; }
  .occ-item.is-on { background: var(--ink); color: #fff; box-shadow: none; }
  .occ-n, .occ-arr, .occ-d { display: none; }
  .occ-t b { font-size: 15px; line-height: 1; white-space: nowrap; }
  .occ-prog { opacity: 0; }
}

/* ---------- طريقة الطلب ---------- */
.how { background: var(--bg); }
.how-grid { display: grid; gap: 22px; }
@media (min-width: 1024px) { .how-grid { grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; } }
.steps { position: relative; display: grid; gap: 14px; }
.steps::before { content: ""; position: absolute; inset-inline-start: 53px; top: 50px; bottom: 50px; border-inline-start: 1px dashed #BDBDBD; }
.step { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--r2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.step .n { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; box-shadow: 0 0 0 6px var(--bg); }
.step h3 { font-weight: 700; font-size: 19px; margin-top: 4px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-top: 4px; }

.tips { padding: clamp(26px, 3vw, 36px); border-radius: var(--r2); background: var(--ink); color: #fff; }
.t-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--brand-2); }
.tips h3 { font-weight: 700; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.45; margin-top: 12px; }
.tips ul { display: grid; gap: 0; margin-top: 18px; }
.tips li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; line-height: 1.7; color: #E6E6E6; }
.tips li b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); font-weight: 700; font-size: 14px; color: #fff; }

/* ---------- من شغلنا ---------- */
.works { background: var(--bg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 15px; color: var(--body); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

.w-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; grid-auto-flow: dense; gap: 12px; }
@media (min-width: 720px) { .w-grid { grid-auto-rows: 210px; gap: 16px; } }
@media (min-width: 1024px) { .w-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.w-item { position: relative; overflow: hidden; border-radius: var(--r2); background: #E9E9E9; }
.w-item.tall { grid-row: span 2; }
.w-item.wide { grid-column: span 2; }
.w-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.w-item figcaption {
  position: absolute; inset: auto 0 0; padding: 48px 18px 16px; line-height: 1.5; color: #fff; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.45) 50%, transparent);
}
.w-item figcaption b { display: block; font-weight: 700; font-size: 16px; }
.w-item figcaption span { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255,255,255,.75); }
@media (hover: hover) { .w-item:hover img { transform: scale(1.05); } }
@media (max-width: 479px) { .w-item figcaption { padding: 36px 12px 12px; } .w-item figcaption b { font-size: 14px; } }
.w-more { display: flex; justify-content: center; margin-top: 38px; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* ---------- وين مكانا ---------- */
.location { background: var(--bg); }
.loc-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .loc-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.loc-txt .h-lg { margin-top: 16px; font-size: clamp(28px, 3.8vw, 48px); }
.loc-txt .h-lg em { white-space: nowrap; }
.loc-txt .lead { margin-top: 12px; }
.deliv { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; font-size: 15px; }
.deliv .ic { color: var(--brand-2); }
.map { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r2); box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: box-shadow .3s, transform .35s var(--ease); }
@media (hover: hover) { .map:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--ink), var(--shadow); } }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-pin { position: absolute; left: 26.8%; top: 50%; width: 0; height: 0; }
.m-pin svg { position: absolute; width: 46px; height: 61px; left: -23px; top: -61px; filter: drop-shadow(0 10px 8px rgba(0,0,0,.3)); }
.m-ring { position: absolute; width: 110px; height: 110px; left: -55px; top: -55px; border-radius: 50%; background: rgba(24,160,200,.14); box-shadow: inset 0 0 0 1.5px rgba(24,160,200,.4); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.js .map .m-pin svg { opacity: 0; transform: translateY(-40px); }
.js .map.in .m-pin svg { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.3,1.5,.5,1) .3s, opacity .3s .3s; }
.m-label { position: absolute; top: 6%; right: 5%; padding: 12px 18px; border-radius: var(--r); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.m-label b { display: block; font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.3; }
.m-label span { font-size: 13px; color: #BDBDBD; }

/* ---------- الأسئلة ---------- */
.faq { background: var(--bg-2); }
.faq-in { display: grid; gap: 8px; }
@media (min-width: 1024px) { .faq-in { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } }
.qa details { margin-bottom: 12px; border-radius: var(--r2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.qa details[open] { box-shadow: inset 0 0 0 1px var(--ink); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.qa details[open] summary .ic { transform: rotate(45deg); background: var(--brand); color: #fff; box-shadow: none; }
.qa details p { padding: 0 22px 22px; color: var(--body); font-size: 15.5px; line-height: 1.95; }

/* ---------- تواصل معنا + الفورم ---------- */
.order { background: var(--ink); color: #fff; }
.order-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .order-in { grid-template-columns: 1fr 1fr; gap: 72px; } }
.order .h-lg { margin-top: 16px; }
.order .h-lg em { color: var(--brand-2); }
.order .lead { margin-top: 14px; color: #BDBDBD; }
.c-line { display: inline-block; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.c-line .lbl { display: block; font-size: 15px; color: #BDBDBD; }
.c-line .num { display: block; margin-top: 4px; font-weight: 700; font-size: clamp(36px, 5vw, 54px); line-height: 1.2; text-align: right; }
.c-line .num small { font-weight: 400; font-size: .4em; color: var(--brand-2); }
.contact-box .c-line { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-box .cta-row { margin-top: 26px; }
.c-links { margin-top: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.c-links a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; transition: color .2s; }
.c-links a > .ic:first-child { width: 22px; height: 22px; color: var(--brand-2); }
.c-links span { flex: 1; }
.c-links b { display: block; font-weight: 700; font-size: 16px; }
.c-links small { display: block; font-size: 13.5px; color: #9A9A9A; }
.c-links .arr { width: 20px; height: 20px; color: #9A9A9A; transition: transform .25s var(--ease), color .2s; }
.c-links a:hover .arr { color: #fff; transform: translateX(-4px); }

.form { display: grid; gap: 14px; color: var(--ink); }
.fld { display: block; min-width: 0; border: 0; }
.fld > span, .fld legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 14.5px; }
.fld small { color: var(--muted); font-weight: 400; }
.fld input[type="text"], .fld input[type="tel"], .fld select, .fld textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r); border: 1px solid #D6D6D6; background: var(--bg);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fld textarea { height: auto; min-height: 100px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.fld select {
  padding-left: 44px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(24,160,200,.18); }
.fld ::placeholder { color: #A3A3A3; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: var(--r); border: 1px solid #D6D6D6; background: var(--bg); font-weight: 700; font-size: 15px; transition: border-color .2s, background-color .2s, color .2s; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.f-err { color: #B3261E; font-weight: 700; font-size: 14px; }
.form .btn { width: 100%; margin-top: 4px; }
.form.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 50% { transform: translateX(-6px); } 75% { transform: translateX(3px); } }

/* ---------- الفوتر ---------- */
.ftr { background: #0A0A0A; color: #BDBDBD; padding: 0 0 28px; border-top: 1px solid rgba(255,255,255,.08); }
.ftr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; }
.ftr-brand { display: flex; align-items: center; gap: 14px; }
.ftr-brand img { border-radius: 50%; }
.ftr-brand b { display: block; color: #fff; font-weight: 700; font-size: 19px; }
.ftr-brand span { font-size: 13.5px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.ftr-nav a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; transition: background-color .2s, box-shadow .2s, transform .25s var(--ease); }
.social a:hover { background: var(--brand); box-shadow: none; transform: translateY(-3px); }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #8A8A8A; }

/* ---------- أزرار سريعة ---------- */
.mbar {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mbar.show { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: var(--r); font-weight: 700; font-size: 16px; }
.mb-call { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mb-wa { background: var(--brand); color: #fff; }
.fab { display: none; }
@media (max-width: 1023px) { .ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) {
  .mbar { display: none; }
  .fab {
    position: fixed; left: 28px; bottom: 28px; z-index: 40; width: 60px; height: 60px; display: grid; place-items: center;
    border-radius: 50%; background: var(--brand); color: #fff;
    transform: scale(0); transition: transform .4s var(--ease), background-color .2s;
  }
  .fab.show { transform: scale(1); }
  .fab.show:hover { transform: scale(1.06); background: #065D78; }
  .fab .ic { width: 27px; height: 27px; }
}

/* ---------- ظهور العناصر مع النزول ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .tk-track { animation: none; }
}

/* ---------- النسخة الإنجليزية (من الشمال لليمين) ---------- */
html[lang="en"] .h-xl { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.12; letter-spacing: -.02em; }
html[lang="en"] .h-lg { line-height: 1.2; letter-spacing: -.01em; }
html[dir="ltr"] .ic.arr { scale: -1 1; }
html[dir="ltr"] .scribble { transform: none; }
html[dir="ltr"] .flow::after, html[dir="ltr"] .svc-progress i, html[dir="ltr"] .occ-prog, html[dir="ltr"] .nav a:not(.btn)::after { transform-origin: left; }
html[dir="ltr"] .fld select { padding-left: 16px; padding-right: 44px; background-position: right 16px center; }
html[dir="ltr"] .fld input[type="tel"], html[dir="ltr"] .c-line .num { text-align: left; }
@media (min-width: 1024px) { html[dir="ltr"] .fab { left: auto; right: 28px; } }

/* ---------- قائمة الموبايل (الدراور) ---------- */
@media (max-width: 1023px) {
  .nav { counter-reset: nv; padding-bottom: 0; }
  .nav > a:not(.btn) { display: flex; align-items: baseline; gap: 14px; counter-increment: nv; padding: 17px 2px; font-size: 21px; }
  .nav > a:not(.btn)::before { content: counter(nv, decimal-leading-zero); min-width: 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
  .nav > a.active { color: var(--brand); }
  .nav > a.active::before { color: var(--brand); }
  .nav.open > a:not(.btn) { animation: navIn .5s var(--ease) both; }
  .nav.open > a:nth-child(2) { animation-delay: .04s; } .nav.open > a:nth-child(3) { animation-delay: .08s; }
  .nav.open > a:nth-child(4) { animation-delay: .12s; } .nav.open > a:nth-child(5) { animation-delay: .16s; }
  .nav.open > a:nth-child(6) { animation-delay: .2s; }
  @keyframes navIn { from { opacity: 0; transform: translateY(10px); } }

  /* لوحة التواصل: ثابتة في آخر الشاشة */
  .nav-extra {
    display: block; margin: auto calc(var(--gut) * -1) 0; padding: 20px var(--gut) calc(18px + env(safe-area-inset-bottom));
    background: var(--bg-2); border-top: 1px solid var(--line);
  }
  .nav.open .nav-extra { animation: navIn .55s var(--ease) .18s both; }
  .ne-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ne-actions .btn { height: 54px; padding: 0 14px; font-size: 16px; }
  .ne-actions .btn-ghost { background: var(--bg); }
  .ne-links { margin-top: 14px; }
  .nav .nav-extra .ne-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
  .nav .nav-extra .ne-links a:first-child { border-top: 0; }
  .ne-ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--brand); box-shadow: inset 0 0 0 1px var(--line); }
  .ne-ic .ic { width: 19px; height: 19px; }
  .ne-t { flex: 1; min-width: 0; }
  .ne-t b { display: block; font-weight: 700; font-size: 15px; line-height: 1.4; }
  .ne-t small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--muted); }
  .ne-links .arr { width: 18px; height: 18px; color: var(--muted); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .nav.open > a, .nav.open .nav-extra { animation: none; } }

/* أيقونة واتساب (مليانة) */
svg.ic:has(use[href="#i-chat"]) { stroke: none; }

/* ---------- كل زرارين جنب بعض: نفس المقاس بالظبط (موبايل + كمبيوتر) ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair .btn { width: 100%; min-width: 0; height: 56px; padding: 0 14px; font-size: 16px; }
@media (max-width: 1023px) { .pair .btn { height: 54px; } }
.loc-txt .pair { max-width: 460px; }
