/* النسخة أ: على أسلوب House of Yellow، والأزرق مكان الأصفر والكحلي مكان الأسود. مسودة. */
/* الخطوط مضمنة هنا بدل @import عشان ما تتأخر (ملاحظة المالك 27 نوفمبر: الخط يتغير لحظة عند التحديث). */
/* خطوط مُغاير للموقع العام. */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/receipt/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/assets/fonts/receipt/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/receipt/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/assets/fonts/receipt/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/assets/fonts/receipt/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/assets/fonts/receipt/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/assets/fonts/receipt/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
/* خطوط النسخة ب (رخصة OFL). */
@font-face { font-family: "Pixel"; font-weight: 400; font-display: swap; src: url("/assets/fonts/site/silkscreen-400.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/site/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 600; font-display: swap; src: url("/assets/fonts/site/plex-mono-600.woff2") format("woff2"); }
:root { --navy: #151C2B; --ink: #0E131E; --blue: #1521FF; --coral: #F74E44; --light: #F3F2ED; --gray: #969CA9; --pad: clamp(20px, 5vw, 64px); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--light); font: 17px/1.65 "Plex Arabic", "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
.spark { width: 1em; height: 1em; fill: currentColor; flex: none; }

.env-tag { position: fixed; z-index: 100; bottom: 12px; inset-inline-start: 50%; transform: translateX(50%); background: var(--navy); color: var(--light); border-radius: 99px; padding: 7px 14px; font: 600 12px/1 "Plex Arabic", system-ui; box-shadow: 0 8px 24px rgba(0,0,0,.3); white-space: nowrap; pointer-events: none; opacity: .92; }

/* شاشة الافتتاح: الشعار يتضح من الضباب ثم تنسحب الشاشة */
.a-intro { position: fixed; inset: 0; z-index: 90; background: var(--light); display: grid; place-items: center; animation: introOut .7s cubic-bezier(.7,0,.3,1) 1.5s forwards; pointer-events: none; }
.a-intro img { width: min(46vw, 220px); height: auto; animation: introIn 1.2s ease-out both; }
@keyframes introIn { from { filter: blur(18px); opacity: 0; transform: scale(.92); } to { filter: none; opacity: 1; transform: none; } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* الشريط العلوي */
.a-bar { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 12px var(--pad); background: var(--light); color: var(--navy); }
.a-logo img { width: clamp(108px, 30vw, 140px); height: auto; }
.a-bar-end { display: flex; align-items: center; gap: 18px; }
.a-ic svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.a-menu-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: 600 16px/1 "Plex Arabic", sans-serif; cursor: pointer; padding: 6px 0; }
.a-menu-btn .bars { display: grid; gap: 4px; width: 24px; }
.a-menu-btn .bars i { height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .a-menu-btn .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .a-menu-btn .bars i:nth-child(2) { opacity: 0; }
.menu-open .a-menu-btn .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.a-menu { position: fixed; inset: 0; z-index: 25; background: var(--blue); display: grid; align-content: center; gap: 0; padding: 90px var(--pad) 40px; }
/* فواصل بين عناصر القائمة (طلب المالك 24 نوفمبر 2026) */
.a-menu a { padding: 12px 0; }
.a-menu a + a { border-top: 1px solid rgba(243,242,237,.28); }
.a-menu a { font: 700 clamp(2rem, 9vw, 5rem)/1.2 "Plex Arabic", sans-serif; display: flex; align-items: baseline; gap: 14px; animation: menuIn .5s both; }
.a-menu a:nth-child(2) { animation-delay: .05s; } .a-menu a:nth-child(3) { animation-delay: .1s; } .a-menu a:nth-child(4) { animation-delay: .15s; } .a-menu a:nth-child(5) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }
.menu-open { overflow: hidden; }

.mk { font: 500 14px/1 "Inter", sans-serif; letter-spacing: .04em; }

/* الواجهة الداكنة */
.a-hero { position: relative; min-height: calc(100svh - 80px); display: grid; justify-items: center; align-content: center; gap: 22px; padding: 48px var(--pad) 120px; text-align: center; overflow: hidden; background: var(--ink); }
.a-orb { position: absolute; width: 170vmax; aspect-ratio: 1; border-radius: 50%; top: 56%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle at 50% 0%, #2a33ff 0%, #10168f 18%, #0b0f3d 38%, var(--ink) 60%); box-shadow: 0 -2px 60px rgba(21,33,255,.55); animation: orbUp 2.4s cubic-bezier(.2,.7,.2,1) 1.6s both; }
@keyframes orbUp { from { transform: translate(-50%, 18%); opacity: 0; } }
.a-hero > *:not(.a-orb, .a-down, .plus-field) { position: relative; }
.a-hero-logo { width: min(64vw, 300px); height: auto; animation: rise 1.1s ease-out 1.7s both; }
.a-hello { max-width: 30ch; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.6; animation: rise 1.1s ease-out 1.9s both; }
.a-hello b { display: block; font-weight: 700; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.a-badge { width: 144px; height: 144px; position: relative; border-radius: 28px; background: var(--blue); display: grid; place-items: center; color: var(--light); margin-top: 8px; animation: rise 1.1s ease-out 2.1s both; transition: transform .3s; }
.a-badge:hover { transform: scale(1.05); }
.a-badge .ring { position: absolute; inset: 4%; width: 92%; height: 92%; animation: spin 16s linear infinite; }
.a-badge .spark { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-down { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); font-size: 30px; color: var(--light); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 10px); } }

/* الأقسام */
.a-blue { background: var(--blue); color: var(--light); }
.a-dark { position: relative; background: var(--ink); color: var(--light); overflow: hidden; }
.a-dark > *:not(.plus-field) { position: relative; }
.plus-field { position: absolute; inset: 0; pointer-events: none; }
.plus-field i { position: absolute; font: 400 14px/1 "Pixel", monospace; font-style: normal; color: var(--blue); animation: blinkp 2.8s steps(2) infinite; }
.plus-field i:nth-child(3n) { color: var(--coral); }
@keyframes blinkp { 50% { opacity: .15; } }

.a-sec { padding: clamp(64px, 11vw, 140px) var(--pad); max-width: 1280px; margin: 0 auto; }
.a-k { display: flex; align-items: center; gap: 12px; font: 700 clamp(22px, 2.6vw, 32px)/1.3 "Plex Arabic", sans-serif; margin: 0 0 22px; }
.a-k::before { content: ""; flex: none; width: 28px; height: 4px; border-radius: 4px; background: var(--coral); }
.a-words { font: 600 clamp(26px, 4.6vw, 58px)/1.35 "Plex Arabic", sans-serif; max-width: 22ch; }
.a-words span { opacity: .3; transition: opacity .35s; }
.a-words span.on { opacity: 1; }
.a-lead { font-size: clamp(19px, 2.4vw, 30px); line-height: 1.55; max-width: 30ch; }
.a-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; flex-wrap: wrap; }
.a-pills { display: grid; gap: 12px; justify-items: start; }
.a-pill { display: inline-flex; align-items: center; gap: 12px; border-radius: 99px; padding: 15px 24px; font: 600 16px/1.2 "Plex Arabic", sans-serif; white-space: nowrap; text-decoration: none; }
.a-pill .spark { font-size: 22px; transition: transform .4s; }
.a-pill:hover .spark { transform: rotate(90deg); }
.a-pill.solid { background: var(--navy); color: var(--light); }
.a-pill.line { border: 1.5px solid currentColor; }
.a-pill.light { background: var(--light); color: var(--navy); font-size: 17px; padding: 18px 26px; }
.a-go @keyframes twinkle { 50% { opacity: .35; scale: .8; } }

/* بطاقة العمل */
.a-card { margin-top: 44px; }
#a-work, #a-how { padding-top: clamp(24px, 5vw, 64px); }
#a-who > .a-sec:first-child { padding-bottom: clamp(40px, 6vw, 72px); }
.a-sec:has(> .a-beyond) { padding-bottom: 0; }
.a-row .a-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { background: var(--light); color: var(--navy); border-radius: 99px; padding: 8px 14px; font: 700 13px/1 "Plex Arabic", sans-serif; }

/* فيلم العمل: اللقطات فوق بعض، وsite-a.js يظهر وحدة بوقتها. المقاسات نسبة من عرض الفيلم (cqw) عشان تثبت على أي شاشة. */
.a-film { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #FBF1DC; color: #3A332E; container-type: inline-size; }
.f-scene, .f-cut { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.f-scene.on, .f-scene.on .f-cut.on { visibility: visible; }
.f-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-contain { object-fit: contain; }
.f-paper { background: #FBF1DC; } .f-cream { background: #F3E6C8; } .f-navy { background: var(--navy); } .f-ink { background: #2B2723; } .f-dark { background: #1F1C19; }
.f-fit { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.f-shade { position: absolute; inset: 0; background: rgba(14,19,30,.58); }
.f-shot { position: absolute; inset: 14cqw 11.2cqw; border-radius: 3cqw; overflow: hidden; box-shadow: 0 2cqw 6cqw rgba(58,51,46,.18); }
.f-hook { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.f-mask { display: block; overflow: hidden; padding: 0 1.7cqw; }
.f-big { display: block; font: 700 21cqw/1.3 "Plex Arabic", sans-serif; color: #F2C685; }
.f-big2 { display: block; font: 700 13cqw/1.35 "Plex Arabic", sans-serif; color: var(--light); }
.f-sub { margin-top: 2.9cqw; font: 600 4.3cqw/1.4 "Plex Arabic", "Inter", sans-serif; color: var(--light); }
.f-tk { margin-bottom: 2.9cqw; font: 500 3.7cqw/1 "Plex Arabic", sans-serif; color: #F2C685; }
.f-cap { position: absolute; bottom: 17.7cqw; left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 86%; background: rgba(251,241,220,.94); color: #3A332E; border-radius: 99px; padding: 2.6cqw 4.6cqw; font: 600 3.7cqw/1.2 "Plex Arabic", sans-serif; text-align: center; }
.f-step { display: none; background: var(--navy); color: var(--light); }
.f-step.on { display: block; }
.f-colors { background: #F6E7C5; }
.f-ptitle { position: absolute; top: 16cqw; left: 0; right: 0; text-align: center; font: 600 5.1cqw/1.3 "Plex Arabic", sans-serif; color: var(--light); }
.f-sw { position: absolute; inset: 28.6cqw 6.9cqw 20.6cqw; display: flex; }
.f-sw i { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4cqw; font: 600 3.4cqw/1 "Plex Arabic", sans-serif; font-style: normal; color: #3A332E; transform-origin: bottom; }
.f-sheet { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.4cqw; }
.f-row { display: flex; gap: 2.9cqw; }
.f-it { border-radius: 8px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.f-sq { width: 27.4cqw; height: 34.3cqw; }
.f-tall { width: 22.3cqw; height: 39.7cqw; }
.f-end { position: absolute; inset: 0; background: #FBF1DC; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqw; font: 600 5.7cqw/1.3 "Plex Arabic", sans-serif; color: #3A332E; }
.f-frame { position: absolute; inset: 0; z-index: 5; pointer-events: none; font: 500 3cqw/1.4 "Plex Arabic", "Inter", sans-serif; }
.a-film[data-ink="light"] .f-frame { color: var(--light); }
.a-film[data-ink="none"] .f-frame { display: none; }
.f-c { position: absolute; max-width: 46%; }
.f-tr { top: 4cqw; right: 4.6cqw; }
.f-tl { top: 4cqw; left: 4.6cqw; text-align: left; }
.f-br { bottom: 4cqw; right: 4.6cqw; }
.f-bl { bottom: 4cqw; left: 4.6cqw; text-align: left; }
.f-scene.on .f-op { animation: fOp 5s ease-out both; }
.f-scene.on .f-big, .f-scene.on .f-big2 { animation: fRise .7s cubic-bezier(.2,.7,.2,1) both; }
.f-scene.on .f-d2 { animation-delay: .12s; }
.f-scene.on .f-sub, .f-scene.on .f-tk { animation: fIn .6s .4s both; }
.f-scene.on .f-reveal { animation: fReveal 1.3s cubic-bezier(.2,.7,.2,1) both; }
.f-scene.on > .f-kb, .f-cut.on .f-kb { animation: fKb 3.4s linear both; }
.f-scene.on .f-cap:not(.f-step) { animation: fIn .5s .5s both; }
.f-step.on { animation: fIn .35s both; }
.f-scene.on .f-colors { animation: fColors 3s steps(1, end) both; }
.f-scene.on .f-sw i { animation: fGrow .8s cubic-bezier(.2,.7,.2,1) both; }
.f-scene.on .f-it { animation: fUp .6s cubic-bezier(.2,.7,.2,1) both; }
.f-scene.on .f-end { animation: fIn .8s 1.7s both; }
@keyframes fOp { from { opacity: 0; transform: scale(1.05); } 12% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fRise { from { transform: translateY(110%); } }
@keyframes fIn { from { opacity: 0; } }
@keyframes fReveal { from { transform: scale(1.2); filter: blur(8px); opacity: 0; } }
@keyframes fKb { to { transform: scale(1.12); } }
@keyframes fGrow { from { transform: scaleY(0); } }
@keyframes fUp { from { transform: translateY(26px); opacity: 0; } }
@keyframes fColors { 0% { background: #F6E7C5; } 25% { background: #CED4AE; } 50% { background: #BDCED4; } 75%, 100% { background: #E9CCC6; } }
.f-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; max-width: 560px; }
.f-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; background: var(--light); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.f-btn svg { width: 20px; height: 20px; fill: currentColor; }
.f-play .i-play, .f-play.paused .i-pause { display: none; }
.f-play.paused .i-play { display: block; }
.f-segs { flex: 1; display: flex; gap: 4px; }
.f-segs i { flex: 1; height: 4px; border-radius: 2px; background: rgba(243,242,237,.35); overflow: hidden; }
.f-segs b { display: block; width: 0; height: 100%; background: var(--light); }
.a-card h3 { font: 600 24px/1.2 "Inter", system-ui, sans-serif; margin: 18px 0 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(243,242,237,.45); }
.a-open { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; justify-self: start; background: var(--light); color: var(--navy); border-radius: 99px; padding: 8px 22px 8px 8px; font: 700 17px/1 "Plex Arabic", sans-serif; text-decoration: none; }
.a-open-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: var(--light); display: grid; place-items: center; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.a-open-ic svg { width: 22px; height: 22px; }
.a-open:hover .a-open-ic, .a-open:focus-visible .a-open-ic { transform: translateX(-4px); }
.a-card dl { display: grid; gap: 4px; font-size: 15px; }
.a-card dl div { display: flex; gap: 10px; }
.a-card .a-desc { font-size: 16px; line-height: 1.8; max-width: 52ch; }
.a-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.85; max-width: 48ch; opacity: .85; margin-top: 14px; }
.a-words + .a-lead { margin-top: 22px; font-size: clamp(17px, 1.8vw, 22px); max-width: 44ch; }
.a-card dt { opacity: .6; min-width: 4.5em; }
.a-story { margin-top: 34px; display: grid; gap: 14px; }
.a-story h3 { font-size: 20px; margin-top: 8px; }
.a-story ul { list-style: none; display: grid; gap: 10px; }
.a-story li { position: relative; padding-inline-start: 22px; }
.a-story li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* ما بعد الشعار */
.a-beyond { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 5vw, 80px); align-items: center; margin-top: 48px; padding-bottom: 72px; }
/* مقاس آيفون حقيقي: العرض إلى الطول 0.485، وزوايا 16% من العرض، وإطار رفيع. */
.a-phone { width: clamp(150px, 24vw, 250px); aspect-ratio: 0.485; border-radius: 17% / 8.2%; padding: 2.6%; background: #0b0d12; box-shadow: 0 0 0 1.5px #4a5163, 0 30px 80px rgba(21,33,255,.35); }
.a-phone::after { content: ""; position: absolute; top: 22%; inset-inline-end: -3px; width: 3px; height: 13%; border-radius: 2px; background: #4a5163; }
.a-phone { position: relative; }
.a-phone .scr { width: 100%; height: 100%; border-radius: 14% / 6.6%; overflow-x: auto; overflow-y: hidden; display: flex; scroll-snap-type: x mandatory; scrollbar-width: none; background: #FBF7EE; overscroll-behavior-x: contain; }
.a-phone .scr::-webkit-scrollbar { display: none; }
.a-phone figure { margin: 0; flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; }
.a-phone figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.a-phone figure:nth-child(n+3) img { height: auto; object-fit: contain; }
.a-phone .dots { position: absolute; bottom: -26px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.a-phone .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243,242,237,.35); transition: width .3s, background .3s; }
.a-phone .dots i.on { width: 18px; border-radius: 3px; background: var(--light); }
.a-phone .swipe { position: absolute; bottom: -56px; left: 0; right: 0; text-align: center; font-size: 13px; opacity: .75; }
.a-stats { display: grid; gap: 22px; }
.a-stats div { display: grid; }
.a-stats span { font-size: 15px; opacity: .75; }
.a-stats b { font: 600 clamp(34px, 6vw, 64px)/1.1 "Inter", sans-serif; }
.a-stats p { font-size: 15px; opacity: .8; }
.a-stats > div:nth-child(n+3) span { font-weight: 700; opacity: 1; font-size: 17px; }

.a-steps { list-style: none; display: grid; gap: 0; margin-top: 44px; max-width: 900px; }
.a-steps li { display: grid; grid-template-columns: 3.2em 1fr; column-gap: 12px; padding: 20px 0; border-top: 1px solid rgba(243,242,237,.18); }
.a-steps .mk { grid-row: span 2; color: #8A90FF; padding-top: 6px; }
.a-steps b { font-size: clamp(18px, 1.6vw, 21px); }
.a-steps p { opacity: .75; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; }

/* قائمة الخدمات: يضيء العنصر اللي في وسط الشاشة */
.a-svc { list-style: none; padding: 20px var(--pad) clamp(72px, 10vw, 140px); display: grid; gap: 48px; text-align: center; justify-items: center; max-width: 1280px; margin: 0 auto; }
.a-svc li { max-width: 34ch; }
.a-svc h3 { font: 600 clamp(26px, 3vw, 36px)/1.3 "Plex Arabic", sans-serif; margin: 0 0 12px; }
.a-svc p { opacity: .85; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.8; }

.a-pkgs { display: grid; gap: 16px; margin-top: 30px; }
.a-pkgs > div { border: 1.5px solid rgba(243,242,237,.6); border-radius: 26px; padding: 28px; }
.a-pkgs > .dark { background: var(--navy); border-color: var(--navy); }
.a-pkgs h3 { font-size: 22px; margin: 0; }
.pr { font: 700 clamp(44px, 7vw, 72px)/1.1 "Inter", sans-serif; margin: 6px 0 10px; }
.pr small { font: 500 18px "Plex Arabic", sans-serif; }
/* بطاقتا الباقات (اعتمدها المالك 23 أكتوبر): الأساسية ببنود وشرح، وPRO طبقة فوقها بالزيادات فقط. */
.a-pkgs > .pk-basic { background: var(--light); color: var(--navy); border-color: var(--light); padding: 24px 20px 26px; }
@media (max-width: 899px) { .a-pkgs { gap: 0; } .a-pkgs > .pk-pro { position: relative; margin-top: -22px; box-shadow: 0 -6px 14px rgba(21, 28, 43, .18); } .a-pkgs > .pk-basic { padding-bottom: 44px; } }
.a-pkgs > .pk-pro { padding: 24px 20px; }
.pk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pk-top .pr { margin: 0; font-size: clamp(38px, 6vw, 56px); letter-spacing: -.02em; }
.pk-top .pr small { font-size: 15px; opacity: .7; }
.pk-en { font: 800 24px "Inter", sans-serif !important; letter-spacing: .02em; }
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 15px; font-weight: 600; }
.pk-i { background: #fff; color: var(--navy); border-radius: 14px; position: relative; transition: box-shadow .3s; }
.pk-i.full { grid-column: 1 / -1; }
.pk-i.on { box-shadow: 0 0 0 2px var(--blue); }
.pk-tip.pk-row { grid-column: 1 / -1; background: #fff; color: var(--navy); border-radius: 14px; box-shadow: 0 10px 26px rgba(21, 28, 43, .16); }
.pk-tip.pk-row .pk-bar { background: #ECEAE3; }
.pk-i.full { background: var(--navy); color: var(--light); }
.pk-i.open { box-shadow: 0 10px 26px rgba(21, 28, 43, .16); }
.pk-face { width: 100%; min-height: 52px; box-sizing: border-box; padding: 12px 14px 12px 34px; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; display: flex; align-items: center; gap: 8px; position: relative; border-radius: 14px; }
.pk-face:focus-visible, .pk-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pk-lead { flex: none; width: 26px; display: flex; align-items: center; justify-content: center; }
.pk-lead b { font: 800 19px/1 "Inter", sans-serif; color: var(--blue); }
.pk-lead svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pk-i.full .pk-lead svg { stroke: var(--coral); }
.pk-l { flex: 1 1 auto; min-width: 0; line-height: 1.4; }
.pk-dot { position: absolute; left: 8px; top: 8px; width: 15px; height: 15px; box-sizing: border-box; border-radius: 99px; border: 1.3px solid var(--gray); color: #5E6574; font: italic 700 10px/1 Georgia, serif; display: flex; align-items: center; justify-content: center; }
.pk-i.full .pk-dot { top: 50%; transform: translateY(-50%); border-color: var(--light); color: var(--light); }
.pk-i.open .pk-face { display: none; }
.pk-tip { position: relative; padding: 14px 14px 20px 48px; animation: pkIn .35s cubic-bezier(.2,.8,.2,1) both; }
.pk-tip b { font-size: 15px; }
.pk-tip p { margin: 6px 0 0; font-size: 14.5px; font-weight: 400; line-height: 1.75; opacity: .92; }
.pk-x { position: absolute; top: 8px; left: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 99px; background: var(--light); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.pk-i.full .pk-x { background: rgba(243, 242, 237, .14); color: var(--light); }
.pk-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pk-bar { position: absolute; inset: auto 14px 8px 14px; height: 3px; border-radius: 3px; background: #ECEAE3; overflow: hidden; }
.pk-i.full .pk-bar { background: rgba(243, 242, 237, .18); }
.pk-bar i { display: block; height: 100%; background: var(--coral); transform-origin: right; animation: pkBar linear both; animation-duration: var(--pk-secs, 8s); }
@keyframes pkIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes pkBar { to { transform: scaleX(0); } }
.pk-plus { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.pk-plus b { background: var(--coral); color: #fff; border-radius: 99px; padding: 5px 13px; font-size: 14px; white-space: nowrap; }
.pk-adds { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.pk-adds li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #2A3245; }
.pk-adds li > b { flex: none; width: 54px; display: flex; justify-content: center; font: 800 23px/1 "Inter", sans-serif; color: var(--coral); }
.pk-adds li > b svg { width: 24px; height: 24px; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.a-go { padding-top: 20px; }
.a-huge { font: 700 clamp(40px, 9vw, 120px)/1.12 "Plex Arabic", sans-serif; }
.a-foot { background: var(--blue); color: var(--light); padding: 40px var(--pad) 96px; font-size: 15px; border-top: 1px solid rgba(243,242,237,.35); }
.a-foot .cols { display: grid; gap: 22px; max-width: 1280px; margin: 0 auto 26px; }
.a-foot .cols > div { display: grid; }
.a-foot .cols img { width: 130px; height: auto; }
.a-foot .fine { max-width: 1280px; margin: 8px auto 0; font-size: 13px; opacity: .75; }
.a-foot .fine a { text-decoration: underline; }

.a-float { position: fixed; z-index: 40; bottom: 70px; left: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--light); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); border: 2px solid var(--light); }
.a-float svg { width: 24px; height: 24px; fill: currentColor; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .a-hero { min-height: calc(100vh - 80px); }
  .a-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 48px; }
  .a-pkgs { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 20px; }
  .a-pkgs > .pk-basic, .a-pkgs > .pk-pro { padding: 32px 30px; }
  .a-pkgs > .pk-basic, .a-pkgs > .pk-pro { display: flex; flex-direction: column; }
  .pk-grid, .pk-adds { flex: 1; align-content: start; }
  .pk-adds, .pk-grid:not(:has(.pk-row, .open)) { grid-auto-rows: 1fr; }
  .pk-grid, .pk-adds, .pk-plus { font-size: 17px; }
  .pk-adds { display: grid; gap: 8px; font-weight: 600; }
  .pk-adds li { min-height: 62px; box-sizing: border-box; padding: 10px 14px; border-top: 0; border-radius: 14px; background: rgba(243, 242, 237, .08); line-height: 1.4; }
  .pk-adds li > b { width: 44px; }
  .pk-face { min-height: 62px; }
  .a-addons { margin-top: 20px; }
  .a-card { grid-template-rows: 1fr auto auto auto auto 1fr; align-items: start; }
  .a-film-wrap { grid-row: 1 / -1; }
  .a-card > h3 { grid-column: 2; grid-row: 2; }
  .a-card > .a-desc { grid-column: 2; grid-row: 3; }
  .a-card > .tags { grid-column: 2; grid-row: 4; }
  .a-card > .a-open { grid-column: 2; grid-row: 5; }
  .a-svc { grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: start; }
  .a-lead { max-width: 34ch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .a-intro { display: none; }
  .rv, .a-words span { opacity: 1; transform: none; }
}
@media (max-width: 699px) {
  .a-beyond { grid-template-columns: 1fr; justify-items: center; gap: 90px; }
  .a-phone { width: min(58vw, 240px); }
  .a-stats { width: 100%; grid-template-columns: 1fr 1fr; }
}

/* ---------- الصفحات الداخلية: الاستبانة، مساحة العميل، الخصوصية ---------- */
.a-hero.sub { min-height: 0; padding: clamp(56px, 10vw, 110px) var(--pad) clamp(70px, 11vw, 120px); align-content: start; gap: 14px; }
.a-hero.sub .a-orb { top: 72%; animation: none; }
.a-hero.sub h1 { position: relative; font: 700 clamp(34px, 7vw, 76px)/1.2 "Plex Arabic", sans-serif; max-width: 16ch; }
.a-hero.sub .a-hello { animation: none; max-width: 36ch; }
.a-light { background: var(--light); color: var(--navy); }
.a-doc { max-width: 760px; display: grid; gap: 16px; font-size: clamp(16px, 1.3vw, 17px); line-height: 1.9; }
.a-doc > section { display: grid; gap: 10px; padding-top: 22px; border-top: 1.5px solid rgba(21,28,43,.14); }
.a-doc h2 { font: 700 clamp(20px, 3.4vw, 26px)/1.4 "Plex Arabic", sans-serif; margin: 0; }
.a-doc h2 bdi { color: var(--blue, currentColor); margin-inline-end: 6px; }
.a-doc p { margin: 0; }
.a-doc-date { font-size: 14px; opacity: .7; }
.a-doc-ref { font-size: 12.5px; opacity: .55; }
.a-doc a { color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.a-doc a[href^="http"] { display: inline-block; max-width: 100%; }
.a-gap { background: #FFE38A; color: var(--navy); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.a-center { text-align: center; }

.a-addons { margin-top: 18px; border: 1.5px solid rgba(243,242,237,.6); border-radius: 22px; padding: 16px 20px; }
.a-addons summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.a-addons summary::-webkit-details-marker { display: none; }
.a-addons[open] summary .spark { transform: rotate(45deg); }
.a-addons table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 15px; }
.a-addons th, .a-addons td { text-align: start; padding: 9px 6px; border-bottom: 1px solid rgba(243,242,237,.25); }
.a-addons th { font-weight: 600; opacity: .75; font-size: 13px; }
.a-addons p { font-size: 13px; opacity: .8; }

/* الاستبانة */
.a-form-wrap { max-width: 760px; }
.a-note { background: var(--navy); color: var(--light); border-radius: 18px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }
.a-form { display: grid; gap: 14px; }
.a-form .q { position: relative; display: grid; gap: 8px; align-content: start; background: var(--light); color: var(--navy); border: 0; border-radius: 24px; padding: 18px 18px 18px; margin: 0; min-width: 0; }
.a-form .lbl { margin: 0; }
.a-form textarea { resize: vertical; min-height: 0; }
.a-form .cf-turnstile { margin-top: 10px; width: 100%; min-height: 70px; }
.pg-apply .a-float { display: none; }
.a-form .q > .mk { color: var(--blue); font-size: 13px; }
.a-form label:not(.chip):not(.tick), .a-form .lbl { font-weight: 700; font-size: 18px; padding: 0; }
.a-form input:not([type=checkbox]):not([type=radio]), .a-form textarea { width: 100%; font: 500 17px/1.5 "Plex Arabic", "Inter", sans-serif; color: var(--navy); background: #fff; border: 1.5px solid #D9D7CF; border-radius: 16px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s; }
.a-form input:focus, .a-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,33,255,.15); }
.a-form small { font-size: 14px; color: #5E6574; margin-top: -4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1.5px solid var(--navy); border-radius: 99px; padding: 10px 20px; font-weight: 600; transition: background .2s, color .2s; }
.chips.sizes .chip span { border-radius: 16px; padding: 8px 16px; text-align: center; }
.chips.sizes .chip small { display: block; font: 500 12px/1.3 system-ui, sans-serif; color: var(--gray); margin-top: 2px; }
.chips.sizes .chip input:checked + span small { color: var(--light); }
.chips.sizes .chip.custom span { border-style: dashed; }
.other-box { margin-top: 14px; background: #fff; border: 1.5px solid var(--blue); border-radius: 16px; padding: 14px; display: grid; gap: 10px; }
.other-box .lbl-s { margin: 0; font-size: 14px; color: var(--navy); }
.other-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.a-form .other-row label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; flex: 1 1 90px; }
.other-row input { width: 100%; text-align: center; font-size: 17px; }
.other-row .x { padding-bottom: 12px; font-weight: 700; }
.other-row .add { flex: 0 0 auto; padding: 12px 20px; border-radius: 99px; background: var(--blue); color: var(--light); border: 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.other-err { margin: 0; color: var(--coral); font-size: 13.5px; font-weight: 600; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--light); }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.tick { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.7; }
.tick input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--blue); }
.opts { display: grid; gap: 10px; }
.tick.opt { background: #fff; border: 1.5px solid #D9D7CF; border-radius: 16px; padding: 12px 14px; transition: border-color .2s; }
.tick.opt:has(input:checked) { border-color: var(--blue); }
.tick.opt span { display: grid; gap: 2px; }
.tick.opt b { font-size: 16px; }
.tick.opt small { margin: 0; }
.a-form .error { background: var(--coral); color: var(--light); border-radius: 16px; padding: 12px 16px; font-weight: 600; }
.a-submit { justify-self: start; display: inline-flex; text-decoration: none; align-items: center; gap: 14px; background: var(--navy); color: var(--light); border: 0; border-radius: 99px; padding: 18px 30px; font: 700 18px/1 "Plex Arabic", sans-serif; cursor: pointer; transition: transform .2s, opacity .2s; margin-top: 8px; }
.a-submit .spark { font-size: 22px; transition: transform .4s; }
.a-submit:hover:not(:disabled) .spark { transform: rotate(90deg); }
.a-submit:disabled { opacity: .45; cursor: default; }
.a-done { background: var(--light); color: var(--navy); border-radius: 28px; padding: 36px 24px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.a-done .done-icon { width: 110px; height: 110px; }
.a-done h2 { font-size: clamp(24px, 4vw, 34px); }
.a-done strong { display: block; font: 700 clamp(22px, 6vw, 30px) "Inter", sans-serif; color: var(--blue); white-space: nowrap; unicode-bidi: isolate; }
.a-done .muted { color: #5E6574; }

/* مساحة العميل */
.pg-client .a-hero.sub h1 { max-width: 20ch; }
.c-area .a-sec { max-width: 820px; padding-top: 44px; }
.c-area .refs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.c-area .refs > div { background: var(--navy); color: var(--light); border-radius: 99px; padding: 8px 16px; font-size: 14px; }
.c-area section { margin-top: 36px; }
.c-area .c-tab { margin-top: 22px; }
.c-area .c-off { display: none; }
.c-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 6px; scroll-margin-top: 90px; }
.c-tabs a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; }
.c-tabs a[aria-current="true"] { background: var(--blue); color: #fff; }
.c-tabs a:focus-visible { border-color: var(--blue); outline: none; }
.c-tabs a[hidden] { display: none; }
.c-tabs .n:empty { display: none; }
.c-tabs .n { font: 700 12px "Inter", sans-serif; background: rgba(21, 28, 43, .1); border-radius: 99px; padding: 1px 7px; }
.c-tabs a[aria-current="true"] .n { background: rgba(255, 255, 255, .22); }
.c-area section > .mk { color: var(--blue); font-size: 13px; }
.c-area h2 { font-size: clamp(24px, 4vw, 34px); margin: 4px 0 14px; }
.c-area .item { background: #fff; border-radius: 22px; padding: 16px 18px; margin: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-area .item .t { font-weight: 700; }
.c-area .item .s { font-size: 13.5px; color: #5E6574; }
.c-area .item .s.bad { color: #C2332B; font-weight: 600; }
.c-area .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pg-client .btn, .pg-client button:not(.a-menu-btn) { font: 600 15px/1 "Plex Arabic", sans-serif; cursor: pointer; border: 0; border-radius: 99px; padding: 12px 20px; min-height: 44px; background: var(--blue); color: var(--light); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pg-client .btn.ghost, .pg-client button.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.pg-client button:disabled { opacity: .5; cursor: default; }
.c-area .rc { background: var(--navy); color: var(--light); border-radius: 22px; padding: 16px 18px; margin: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.c-area .rc .s { color: #B7BCC8; font-size: 12.5px; }
.c-area .rc b { font: 700 20px "Inter", "Plex Arabic", sans-serif; }
.c-area .rc .btn.ghost, .c-area .rc button.ghost { color: var(--light); border-color: var(--light); }
.c-area .warn { background: #fff; border: 1.5px solid var(--coral); border-radius: 18px; padding: 12px 16px; font-size: 14.5px; margin: 8px 0 14px; }
.c-area .warn b { color: #C2332B; }
.c-area .drop { background: #fff; border: 2px dashed #B9BCC6; border-radius: 22px; padding: 22px; text-align: center; }
.c-area .drop label { display: inline-flex; }
.c-area .drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.c-area .drop input:focus-visible + .btn { outline: 3px solid var(--coral); outline-offset: 2px; }
.c-area .muted { color: #5E6574; font-size: 13.5px; margin: 10px 0 0; }
.c-area .meter { height: 8px; background: #E2E0D8; border-radius: 4px; overflow: hidden; margin-top: 12px; }
.c-area .meter i { display: block; height: 100%; background: var(--blue); transition: width .2s; }
.c-area .up { background: #fff; border-radius: 14px; padding: 10px 14px; margin: 8px 0; font-size: 14px; }
.c-area .up.err { color: #C2332B; }
.c-area .up.ok { color: #1E7B45; }
.c-area .empty { color: #5E6574; font-size: 14.5px; margin: 6px 0; }
.c-area .d-group { font-size: 15px; font-weight: 700; color: #151C2B; margin: 18px 0 8px; }
.c-area .d-group:first-child { margin-top: 4px; }

/* رحلة المشروع في صفحة العميل */
.c-area .rounds { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border-radius: 18px; padding: 12px 16px; font-size: 14.5px; }
.c-area .rounds b { font: 700 16px "Inter", "Plex Arabic", sans-serif; color: var(--blue); }
.c-area .rounds .meter { flex: 1 1 120px; margin-top: 0; }
.c-area .rounds .j-pkg { flex: 1 0 100%; margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.c-area .rounds .j-pkg b { color: var(--navy); }
.c-area .j-upg { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--blue); color: var(--light); }
.c-area .j-pkg small { color: var(--gray); font-size: 12px; }
.j-stage { background: #fff; border-radius: 26px; padding: 20px 18px; margin: 14px 0; }
.j-stage header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.j-stage h3 { margin: 0; font-size: 21px; }
.j-stage .lead { color: #5E6574; font-size: 14.5px; margin: 6px 0 12px; }
.j-stage .s { font-size: 13.5px; color: #5E6574; }
.j-note { background: var(--light); border-radius: 14px; padding: 10px 14px; font-size: 15px; white-space: pre-line; }
.j-chip { font-size: 12.5px; font-weight: 600; border-radius: 99px; padding: 6px 12px; }
.j-chip.now { background: var(--coral); color: #fff; }
.j-chip.ok { background: var(--navy); color: var(--light); }
.j-chip.wait { background: #E7E5DD; color: var(--navy); }
.j-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 10px 0; }
.j-grid.dir { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.j-grid figure { margin: 0; display: grid; gap: 8px; }
.j-grid figcaption { font-size: 13.5px; font-weight: 600; }
.pg-client button.j-pic { padding: 0; background: var(--light); border-radius: 16px; color: inherit; overflow: hidden; display: block; width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
.j-pic img, .j-zoom img { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.j-pick { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.j-pick input { width: 20px; height: 20px; accent-color: var(--blue); }
.j-rev { border-inline-start: 3px solid var(--coral); padding: 4px 12px; margin: 10px 0; font-size: 14px; }
.j-rev p { margin: 4px 0 0; white-space: pre-line; }
.j-act { display: grid; gap: 10px; margin-top: 12px; }
.j-act textarea { width: 100%; font: 500 15px/1.6 "Plex Arabic", sans-serif; border: 1.5px solid #D9D7CF; border-radius: 14px; padding: 10px 12px; background: #fff; color: var(--navy); resize: vertical; }
.j-done { background: var(--light); border-radius: 14px; padding: 10px 14px; margin-top: 12px; }
.j-done p { margin: 4px 0; }
.j-dl { display: grid; gap: 10px; justify-items: start; margin: 14px 0 4px; }
.pg-client .btn.locked { background: #C9CBD1; color: #fff; cursor: not-allowed; }
.j-zoom { border: 0; padding: 0; background: transparent; width: min(96vw, 1100px); max-height: 92vh; }
.j-zoom::backdrop { background: rgba(14, 19, 30, .88); }
.j-zoom img { max-height: 82vh; border-radius: 14px; background: #fff; }
.j-zoom .cap { color: var(--light); text-align: center; margin: 10px 0 0; }
.pg-client .j-zoom .x { position: absolute; top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; padding: 0; font-size: 24px; background: var(--navy); }
.j-toast { position: fixed; z-index: 60; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--light); border-radius: 16px; padding: 12px 18px; font-size: 15px; max-width: calc(100vw - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.3); text-align: center; }

/* ملخص الرحلة: حلقة الرصيد والمطلوب من العميل (اختيار المالك 21 أكتوبر: المسار B مع ملخص فوقه) */
.c-area .j-sum { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; background: var(--navy); color: var(--light); border-radius: 26px; padding: 20px; }
.j-ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.j-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.j-ring .track { stroke: rgba(243, 242, 237, .14); }
.j-ring .arc { stroke: var(--blue); transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 6px rgba(21, 33, 255, .6)); }
.j-ring .c { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; }
.j-ring .c b { font: 800 46px/1 "Inter", "Plex Arabic", sans-serif; color: var(--light); }
.j-ring .c small { font-size: 11.5px; color: var(--gray); max-width: 92px; line-height: 1.35; }
.j-sum-txt { min-width: 0; display: grid; gap: 6px; }
.j-sum-txt .j-pkg { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14.5px; }
.j-sum-txt .j-pkg b { font: 700 16px "Inter", "Plex Arabic", sans-serif; }
.c-area .j-upg { font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 99px; background: var(--blue); color: var(--light); }
.j-upg-when { margin: 0; font-size: 12.5px; color: var(--gray); }
.j-sum-txt h3 { margin: 8px 0 2px; font-size: 16px; }
.j-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pg-client .j-todo button { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; background: rgba(243, 242, 237, .08); border-radius: 14px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; color: var(--light); }
.pg-client .j-todo button:hover { background: rgba(243, 242, 237, .16); }
.pg-client .j-todo button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.j-todo .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--coral); animation: j-ping 1.6s infinite; }
.j-idle { margin: 0; color: #C9CBD1; font-size: 14.5px; }
@media (max-width: 520px) { .c-area .j-sum { grid-template-columns: 1fr; justify-items: center; } .j-sum-txt { width: 100%; } }

/* مسار الرحلة */
.j-path { list-style: none; margin: 18px 0 0; padding: 0 30px 0 0; position: relative; --fill: 0px; }
.j-path .j-line { position: absolute; inset-inline-start: 9px; top: 14px; bottom: 14px; width: 3px; background: #D9D8D1; border-radius: 3px; }
.j-path .j-line i { display: block; width: 100%; height: var(--fill); max-height: 100%; background: var(--blue); border-radius: 3px; transition: height 1.4s cubic-bezier(.2, .8, .2, 1); }
.j-st { position: relative; }
.j-path > .j-st + .j-st { margin-top: 16px; }
.j-dot { position: absolute; inset-inline-start: -30px; top: 30px; width: 21px; height: 21px; border-radius: 50%; background: var(--light); border: 3px solid #C9CBD1; z-index: 1; }
.j-st.ok .j-dot { background: var(--blue); border-color: var(--blue); }
.j-st.now .j-dot { border-color: var(--coral); animation: j-ping 1.6s infinite; }
@keyframes j-ping { 0% { box-shadow: 0 0 0 0 rgba(247, 78, 68, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(247, 78, 68, 0); } }
.j-st .j-stage { position: relative; }
.j-stamp { position: absolute; inset-inline-end: 18px; top: 16px; font: 800 13px "Plex Arabic", sans-serif; color: var(--blue); border: 2.5px solid var(--blue); border-radius: 9px; padding: 2px 10px; transform: rotate(-8deg); animation: j-stamp .5s cubic-bezier(.3, 1.6, .5, 1) both .3s; pointer-events: none; }
@keyframes j-stamp { from { transform: rotate(-8deg) scale(2.4); opacity: 0; } }
.j-st.ok .j-stage header .j-chip.ok { visibility: hidden; }
.j-soon { display: grid; gap: 2px; padding: 22px 4px 14px; color: #5E6574; font-size: 14px; }
.j-soon b { color: var(--navy); font-size: 17px; }
.j-st.soon .j-soon { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .j-todo .dot, .j-st.now .j-dot, .j-stamp { animation: none; } .j-path .j-line i, .j-ring .arc { transition: none; } }
.j-pre { position: relative; gap: 6px; }
.j-st.ok .j-pre, .j-st.now .j-pre { background: #fff; border-radius: 18px; padding: 16px; color: var(--navy); }
.j-st.now .j-pre { box-shadow: 0 0 0 2px var(--coral) inset; }
.j-pre-acts { display: flex; gap: 8px; margin-top: 4px; }
.j-pre-acts .btn { padding: 6px 16px; font-size: 14px; }
.j-contract { gap: 10px; }
.j-ctr { width: 100%; height: min(60vh, 460px); border: 1px solid #E2E0D8; border-radius: 14px; background: #fff; display: block; }
.j-sign { display: grid; gap: 12px; }
.j-read { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #5E6574; }
.j-read .m { flex: 1; height: 5px; border-radius: 99px; background: #E4E3DD; overflow: hidden; }
.j-read .m i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s; }
.j-sign label.f { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.j-sign label.f[hidden] { display: none; }
.j-sign select { width: 100%; font: 500 16px "Plex Arabic", system-ui; border: 1.5px solid #D6D5CF; border-radius: 12px; padding: 10px 12px; color: var(--navy); background: var(--light); }
.j-tick a { color: var(--blue); }
.j-sign input[type=text] { width: 100%; font: 500 16px "Plex Arabic", system-ui; border: 1.5px solid #D6D5CF; border-radius: 12px; padding: 10px 12px; color: var(--navy); background: var(--light); }
.j-row { display: flex; justify-content: space-between; align-items: center; }
.j-link { background: none; border: 0; color: var(--blue); font: 600 14px "Plex Arabic", system-ui; cursor: pointer; padding: 4px; }
.j-pad { position: relative; height: 180px; border: 2px dashed #B9BCC6; border-radius: 16px; background: #FBFBF9; touch-action: none; }
.j-pad.on { border-style: solid; border-color: var(--blue); }
.j-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.j-pad .hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gray); font-size: 14px; pointer-events: none; }
.j-pad .line { position: absolute; inset-inline: 22px; bottom: 38px; border-bottom: 1.5px solid #D6D5CF; pointer-events: none; }
.j-tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--navy); }
.j-tick input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: 3px; flex: none; }
.j-go { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }
.j-go:disabled { background: #C9CBD1; border-color: #C9CBD1; color: #fff; cursor: not-allowed; }
.j-why { margin: -4px 0 0; font-size: 13px; color: #5E6574; }
.pg-client button.j-link { background: none; color: var(--blue); padding: 4px; min-height: 0; font-size: 14px; }

/* سياج من مُغاير: بطاقة الرئيسية وصفحة المنتج */
.a-submit.light { background: var(--light); color: var(--navy); }
.s-card { background: var(--navy); color: var(--light); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; max-width: 760px; }
.s-card h3 { font: 700 clamp(26px, 3.6vw, 40px)/1.25 "Plex Arabic", sans-serif; margin: 0; }
.s-card p { margin: 0; font-size: 17px; line-height: 1.8; max-width: 52ch; opacity: .9; }
.s-card .a-open { margin-top: 10px; }
.s-uses { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-uses span { background: var(--navy); color: var(--light); border-radius: 99px; padding: 12px 22px; font-weight: 700; font-size: 17px; }
.s-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.s-feats li { background: rgba(243,242,237,.06); border: 1px solid rgba(243,242,237,.14); border-radius: 24px; padding: 24px; }
.s-feats h3 { font: 700 21px/1.3 "Plex Arabic", sans-serif; margin: 14px 0 8px; }
.s-feats p { margin: 0; font-size: 16px; line-height: 1.8; opacity: .82; }
.s-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; }
.s-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-price { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: 760px; }
.s-price div { background: var(--light); color: var(--navy); border-radius: 24px; padding: 22px 24px; display: grid; gap: 6px; }
.s-price span { font-size: 15px; opacity: .7; }
.s-price b { font: 700 clamp(22px, 3vw, 30px)/1.3 "Plex Arabic", sans-serif; }
.pg-siyaj .a-row { margin-top: 30px; }

/* صور سياج (24 نوفمبر): نافذة متصفح، الصور تتقلب وحدها أو بالسحب، والعناوين أزرار بشريط تقدم. */
.s-show { display: grid; gap: 22px; margin-top: 8px; }
.s-win { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(21, 33, 255, .28), 0 0 0 1px rgba(243, 242, 237, .12); }
.s-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEAE3; color: #5E6574; font-size: 12px; }
.s-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFCBC0; }
.s-bar i:first-child { background: var(--coral); }
.s-bar span { margin-inline-start: 10px; background: #fff; border-radius: 99px; padding: 3px 14px; }
.s-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.s-track::-webkit-scrollbar { display: none; }
.s-track figure { margin: 0; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.s-track img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.s-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s-tabs button { position: relative; width: 100%; display: block; text-align: start; border: 0; cursor: pointer; background: rgba(243, 242, 237, .06); color: var(--light); border-radius: 14px; padding: 14px 16px 18px; font: 500 15px/1.6 "Plex Arabic", sans-serif; opacity: .6; transition: opacity .3s, background .3s; }
.s-tabs button[aria-current] { opacity: 1; background: rgba(243, 242, 237, .12); }
.s-tabs button:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.s-prog { position: absolute; inset: auto 16px 8px 16px; height: 3px; border-radius: 3px; background: rgba(243, 242, 237, .18); overflow: hidden; }
.s-prog i { display: block; height: 100%; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: right; }
.s-tabs button[aria-current] .s-prog i { transform: scaleX(1); }
.s-show.play .s-tabs button[aria-current] .s-prog i { animation: sProg var(--s-secs, 6s) linear both; }
@keyframes sProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 899px) {
  /* الجوال: العنوان الحالي فقط تحت الصورة، وفوقه أشرطة صغيرة للتنقل. */
  .s-show { gap: 14px; }
  .s-tabs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .s-tabs button { padding: 0 0 12px; background: none !important; opacity: 1; font-size: 0; min-height: 28px; }
  .s-tabs button span { display: none; }
  .s-prog { inset: auto 0 10px 0; }
  .s-cap { margin: -8px 0 0; font-size: 16px; line-height: 1.7; min-height: 3.4em; }
}
@media (min-width: 900px) {
  .s-show { grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr); align-items: center; gap: 32px; }
  .s-tabs button { font-size: 16px; padding: 18px 20px 22px; }
  .s-cap { display: none; }
}

/* بطاقة سياج في الرئيسية مع الصور (24 نوفمبر). */
.s-card.wide { max-width: none; gap: 28px; overflow: hidden; }
.s-card-txt { display: grid; gap: 12px; align-content: center; }
.s-card-txt .a-open { margin-top: 10px; }
.s-show.mini { margin: 0; gap: 12px; }
.s-show.mini .s-win { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.s-show.mini .s-tabs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.s-show.mini .s-tabs button { padding: 0 0 12px; background: none; opacity: 1; font-size: 0; min-height: 22px; }
.s-show.mini .s-tabs button span { display: none; }
.s-show.mini .s-prog { inset: auto 0 8px 0; }
.s-show.mini .s-cap { display: block; margin: 0; font-size: 15px; line-height: 1.7; min-height: 3.4em; opacity: .85; }
@media (max-width: 899px) {
  /* الجوال: زر «تعرف على سياج» تحت نافذة المعاينة وبعرضها (طلب المالك 24 نوفمبر). */
  .s-card.wide { gap: 12px; }
  .s-card.wide .s-card-txt { display: contents; }
  .s-card.wide .s-show { order: 1; margin-top: 16px; }
  .s-card.wide .s-card-txt .a-open { order: 2; margin-top: 4px; justify-self: stretch; justify-content: space-between; }
}
@media (min-width: 900px) {
  .s-card.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; padding: 44px; }
  .s-show.mini { grid-template-columns: 1fr; }
}

/* صفحة مشروع سياج */
/* سياج: أرقام المشروع بطاقتين متساويتين، والتبويبات شبكة عمودين في الجوال وثلاثة في الشاشة الأعرض. */
.pg-syj .c-area .refs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pg-syj .c-area .refs > div { background: #fff; color: var(--navy); border-radius: 18px; padding: 10px 14px; display: grid; gap: 2px; min-width: 0; }
.pg-syj .c-area .refs span { font-size: 12.5px; color: #5E6574; }
.pg-syj .c-area .refs b { font: 700 15px "Inter", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-syj .c-tabs { grid-template-columns: 1fr 1fr; background: #fff; border-radius: 22px; padding: 6px; gap: 6px; }
.pg-syj .c-tabs a { background: var(--light); padding: 11px 10px; font-size: 14.5px; border-radius: 16px; }
.pg-syj .c-tabs a[aria-current="true"] { background: var(--blue); color: #fff; }
.pg-syj .c-tabs a.wide { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .pg-syj .c-tabs { grid-template-columns: repeat(3, 1fr); }
  .pg-syj .c-tabs a.wide { grid-column: auto; }
}
.pg-syj .sj-cat { background: #fff; border-radius: 22px; padding: 14px 18px; margin: 12px 0; }
.pg-syj .sj-cat h3 { margin: 0 0 6px; font-size: 17px; }
.pg-syj .sj-cat .item { background: var(--light); margin: 8px 0; }
.pg-syj .sj-pick { position: relative; overflow: hidden; cursor: pointer; display: inline-flex; margin-top: 6px; }
.pg-syj .sj-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pg-syj .j-sign textarea { width: 100%; font: 500 16px "Plex Arabic", system-ui; border: 1.5px solid #D6D5CF; border-radius: 12px; padding: 10px 12px; color: var(--navy); background: var(--light); }
.sj-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0; }
.sj-imgs figure { margin: 0; display: grid; gap: 4px; }
.sj-imgs img { width: 100%; border-radius: 12px; display: block; background: var(--light); -webkit-user-drag: none; user-select: none; }
.sj-zoom { all: unset; cursor: zoom-in; display: block; border-radius: 12px; }
.sj-zoom:focus-visible { outline: 2px solid var(--blue, #1521FF); outline-offset: 2px; }
.sj-marks { display: grid; gap: 6px; margin: 6px 0; }
.sj-mark { display: flex; gap: 8px; align-items: baseline; background: var(--light, #F3F2ED); border-radius: 10px; padding: 7px 10px; font-size: 14.5px; }
.sj-mark i { font-style: normal; background: #F74E44; color: #fff; border-radius: 99px; min-width: 22px; text-align: center; font-size: 12.5px; font-weight: 700; }
.sj-mark .lnk { all: unset; cursor: pointer; color: #1521FF; font-weight: 600; white-space: nowrap; }
.sj-mark span { flex: 1; }
.sj-mark .x { all: unset; cursor: pointer; color: #5E6574; padding: 0 4px; }
.sj-got { background: #E7E8FF; color: #151C2B; border-radius: 10px; padding: 9px 12px; font-weight: 600; }
.sj-imgs figcaption { font-size: 13px; color: #5E6574; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.sj-steps { margin: 4px 0 10px; padding-inline-start: 22px; display: grid; gap: 4px; font-size: 15px; }
.sj-mark .x { color: #1521FF; font-size: 13.5px; }
.sj-mark textarea { flex: 1; border-radius: 8px; border: 1px solid #969CA9; padding: 6px; font: inherit; }
.j-sign textarea.bad, .sj-mark textarea.bad { border: 2px solid #F74E44; }
.sj-mark.done { opacity: .55; }
.sj-mark.done i { background: #969CA9; }
.sj-old { margin: 10px 0; }
.sj-old summary { cursor: pointer; font-weight: 600; color: #151C2B; padding: 6px 0; }
.sj-recv { color: #1521FF; font-weight: 600; }
.sj-types { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sj-type { background: #F3F2ED; border-radius: 6px; padding: 1px 7px; font-size: 13px; direction: ltr; unicode-bidi: isolate; }
.sj-signed { display: grid; gap: 4px; background: #1521FF; color: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.sj-signed b { font-size: 19px; }
/* شارات التبويبات: مرجاني = جديد ما انفتح، رمادي = انفتح وينتظر موافقة أو توقيع */
.c-tabs .nb:empty { display: none; }
.c-tabs .nb { font: 700 12px "Inter", sans-serif; background: #F74E44; color: #fff; border-radius: 99px; padding: 1px 7px; margin-inline-start: 4px; }
.c-tabs .nb.gray { background: #969CA9; }
/* شريط الخطوة الحالية */
.c-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #151C2B; color: #F3F2ED; border-radius: 16px; padding: 12px 16px; margin: 10px 0 14px; }
.c-next[hidden] { display: none; }
.c-next > div { display: grid; gap: 2px; }
.c-next small { color: #969CA9; font-size: 12.5px; }
.c-next b { font-size: 16px; }
.c-next span { font-size: 14px; }
.c-next .btn { flex-shrink: 0; }
.pg-client .sj-mark button { all: unset; cursor: pointer; color: #1521FF; font-size: 13.5px; font-weight: 600; padding: 0 4px; }
.pg-client .sj-mark button.lnk { white-space: nowrap; }
.pg-client button.sj-zoom { all: unset; display: block; cursor: zoom-in; width: 100%; border-radius: 10px; overflow: hidden; }
.pg-client button.sj-zoom img { display: block; width: 100%; }
/* تنسيق موحد لصفحة العميل وصفحة الجهة (ملاحظة المالك 27 نوفمبر 2026): كل صف يملأ نفس العرض.
   الرقمان بطاقتان متساويتان بعرض الصفحة، والتبويبات صفوف كاملة: عمودان في الجوال، ثلاثة في الآيباد،
   وكلها في صف واحد في الحاسب. الصف الأخير الناقص تتمدد عناصره بالتساوي بدل ما يبقى فراغ. */
.pg-client .c-area .refs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pg-client .c-area .refs > div { background: #fff; color: var(--navy); border-radius: 18px; padding: 10px 14px; display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.pg-client .c-area .refs span { font-size: 12.5px; color: #5E6574; }
.pg-client .c-area .refs b { font: 700 15px "Inter", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-client .c-area .c-next { margin: 0 0 12px; }
.pg-client .c-tabs { display: flex; flex-wrap: wrap; background: #fff; border-radius: 22px; padding: 6px; gap: 6px; margin-top: 0; --cols: 2; }
.pg-client .c-tabs a { flex: 1 1 calc((100% - (var(--cols) - 1) * 6px) / var(--cols)); min-width: 0; box-sizing: border-box; background: var(--light); padding: 11px 10px; font-size: 14.5px; border-radius: 16px; text-align: center; }
.pg-client .c-tabs a[aria-current="true"] { background: var(--blue); color: #fff; }
@media (min-width: 600px) { .pg-client .c-tabs { --cols: 3; } }
@media (min-width: 1000px) { .pg-client .c-tabs { --cols: var(--n, 3); } }
/* المدخلات (اختبار المالك r14): زر الرفع بعرض البطاقة، وأزرار كل ملف متساوية، والنص في بطاقة مرتبة. */
.pg-syj .sj-pick { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }
.pg-syj .sj-cat .item .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.pg-syj .sj-cat .item .acts > * { width: 100%; box-sizing: border-box; justify-content: center; }
.pg-syj .sj-info { background: #fff; border-radius: 22px; padding: 14px 18px; display: grid; gap: 10px; }
.pg-syj .sj-info p { margin: 0; }
.pg-syj .sj-info ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.pg-syj .sj-info .sj-types { display: grid; gap: 6px; }
.pg-syj .sj-info .sj-types > span { font-size: 13px; color: #5E6574; }
.pg-syj .sj-info .sj-types > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.pg-syj .sj-info .sj-type { text-align: center; padding: 4px 0; }
.pg-syj .sj-info .sj-lim { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13.5px; }
.pg-syj .sj-info .sj-lim > span { background: var(--light); border-radius: 12px; padding: 8px 10px; text-align: center; }
@media (max-width: 600px) {
  .c-area .item .acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; width: 100%; }
  .c-area .item .acts > * { justify-content: center; text-align: center; }
}

/* سبب تعطل الزر بالمرجاني، ويصير أزرق لما يكتمل (اختبار المالك r06) */
.j-why { color: #F74E44; font-weight: 600; }
.j-why.ready { color: #1521FF; }
.j-why:empty { display: none; }
.j-sign input.bad, .j-sign .bad { outline: 2px solid #F74E44; outline-offset: 2px; }
.c-area a.btn.bad { box-shadow: 0 0 0 3px rgba(247, 78, 68, .35); }
/* خطوة قادمة: ما عليك شي الحين، فالشريط أهدأ وبدون زر */
.c-next.soon { background: #fff; color: #151C2B; border: 1px solid rgba(21, 28, 43, .12); }
.c-next.soon small { color: #5E6574; }
/* مرفقات الملاحظات (r16, r18) */
.sj-attach { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sj-chip { display: inline-flex; align-items: center; gap: 6px; background: #F3F2ED; border-radius: 999px; padding: 5px 12px; font-size: 13.5px; max-width: 100%; overflow-wrap: anywhere; }
.pg-client .sj-chip button { all: unset; cursor: pointer; color: #F74E44; font-weight: 700; padding: 0 2px; }
.sj-atts { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.sj-att { color: #1521FF; font-size: 13.5px; text-decoration: underline; overflow-wrap: anywhere; }
.sj-attach .s.bad { color: #F74E44; font-weight: 600; }

/* نموذج «تواصل معنا» (المالك 28 نوفمبر 2026). */
.pg-contact .a-form .q.bad { box-shadow: 0 0 0 3px var(--coral); }
.pg-contact .a-form .q.bad input:not([type=radio]):not([type=checkbox]), .pg-contact .a-form .q.bad textarea { border-color: var(--coral); }
.pg-contact .c-rest { display: grid; gap: 14px; }
.pg-contact [hidden] { display: none !important; }
.pg-contact #f-order { font: 600 19px/1.4 "Inter", sans-serif; letter-spacing: .04em; text-align: left; }
/* الأزرار بعرض متساو: زرين جنب بعض بنفس العرض، وفي الجوال تحت بعض بعرض كامل. */
.pg-contact .c-new .a-row { margin-top: 8px; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .pg-contact .c-new .c-two { grid-template-columns: 1fr 1fr; } }
.pg-contact .c-new .a-submit, .pg-contact .c-rest > .a-submit { margin-top: 0; width: 100%; justify-content: center; }
.pg-contact .c-sel { position: relative; }
.pg-contact .c-sel select { width: 100%; appearance: none; -webkit-appearance: none; font: 500 17px/1.5 "Plex Arabic", "Inter", sans-serif; color: var(--navy); background: #fff; border: 1.5px solid #D9D7CF; border-radius: 16px; padding: 11px 14px 11px 44px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pg-contact .c-sel select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,33,255,.15); }
.pg-contact .c-sel select:invalid, .pg-contact .c-sel select:has(option[value=""]:checked) { color: #8A8F9A; }
.pg-contact .c-sel select option { color: var(--navy); }
.pg-contact .c-sel::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 9px; height: 9px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(-45deg); pointer-events: none; }
.pg-contact .q.bad select { border-color: var(--coral); }
.pg-contact .tick a { color: var(--blue); font-weight: 700; }
.pg-contact .c-count { color: var(--coral); }
.pg-contact .c-count:empty { display: none; }
.pg-contact .a-done strong { font-size: clamp(22px, 6vw, 30px); }
/* شعار سياج (اعتمده المالك 29 نوفمبر 2026) */
.s-logo { display: block; width: clamp(96px, 16vw, 150px); height: auto; margin: 0 auto 18px; }
.s-ip { position: relative; z-index: 2; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 10px; margin: 6px auto 0; padding: 9px 16px 9px 18px; border: 1px solid rgba(243,242,237,.22); border-radius: 14px; background: rgba(14,19,30,.55); font-size: 14px; line-height: 1.5; color: var(--light); text-align: start; max-width: calc(100% - 8px); }
.s-ip svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.s-ip svg path + path { stroke: var(--coral); stroke-width: 2.2; }
.s-ip-n { display: block; font-size: 12.5px; color: rgba(243,242,237,.72); }
.s-ip bdi { font-family: "Inter", system-ui, sans-serif; letter-spacing: .02em; }
.s-logo.sm { width: clamp(56px, 8vw, 72px); margin: 0 0 14px; }
/* الملف المرفوع: علامة بجوار اسمه بدل سطور متراكمة (اختبار المالك b07) */
.c-area .up-ok { color: #1521FF; font-weight: 600; font-size: 14px; margin-inline-start: 6px; }
/* نقاط الملاحظات على صور الهوية (t20) */
.j-pins { margin: 8px 0; padding-inline-start: 22px; display: grid; gap: 4px; }
.j-pins li::marker { color: #F74E44; font-weight: 700; }
.j-pins li.pin-ok { opacity: .6; }
.pg-client .j-pins button { all: unset; font: 500 15px/1.6 "Plex Arabic", sans-serif; cursor: pointer; color: #151C2B; text-decoration: underline; text-decoration-color: #1521FF; overflow-wrap: anywhere; }
/* أيقونات الحسابات في التذييل: مربعات صغيرة متجاورة تحت «تواصل معنا» (المالك 1 ديسمبر 2026) */
.a-foot .soc { display: flex; gap: 10px; margin-top: 10px; }
.a-foot .soc a { width: 40px; height: 40px; border: 1.5px solid rgba(243,242,237,.6); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--light); }
.a-foot .soc a:hover, .a-foot .soc a:focus-visible { background: var(--light); color: var(--blue); }
.a-foot .soc svg { width: 20px; height: 20px; fill: currentColor; display: block; }
/* القائمة تتسع للشاشة دائما (المالك 1 ديسمبر 2026): حجم الخط يتبع العرض والارتفاع معا،
   وفي الحاسب العناصر بحجم أهدأ وعرض محدود، وإذا ضاقت الشاشة تنزلق القائمة بدل ما تنقص. */
.a-menu { overflow-y: auto; align-content: safe center; padding-top: 110px; padding-bottom: 32px; }
.a-menu a { font-size: clamp(1.5rem, min(8vw, 6.2vh), 3.2rem); padding: clamp(6px, 1.2vh, 12px) 0; }
/* الحاسب والأجهزة اللوحية الكبيرة (المالك 1 ديسمبر 2026): لوحة جانبية بربع الشاشة من جهة زر القائمة،
   تنزلق مع ستارة كحلية خفيفة على الصفحة، والعناصر تدخل بالتتابع، وخط مرجاني صغير تحت العنصر عند المرور. بدون شريط على الحافة (المالك). */
@media (min-width: 900px) {
  .a-menu { inset: 0 auto 0 0; width: clamp(320px, 25vw, 440px); padding: 120px 40px 40px; align-content: start; justify-items: stretch;
    box-shadow: 24px 0 60px rgba(21,28,43,.35); transform: translateX(-104%); transition: transform .55s cubic-bezier(.22,1,.36,1); }
  .a-menu.on { transform: none; }
  .a-menu a { font-size: clamp(1.25rem, 3.4vh, 1.7rem); padding: 14px 0; position: relative; animation: none; opacity: 0; transform: translateX(-28px); transition: opacity .4s, transform .5s cubic-bezier(.22,1,.36,1), padding .3s; }
  .a-menu.on a { opacity: 1; transform: none; }
  .a-menu.on a:nth-child(1) { transition-delay: .12s; } .a-menu.on a:nth-child(2) { transition-delay: .17s; } .a-menu.on a:nth-child(3) { transition-delay: .22s; }
  .a-menu.on a:nth-child(4) { transition-delay: .27s; } .a-menu.on a:nth-child(5) { transition-delay: .32s; } .a-menu.on a:nth-child(6) { transition-delay: .37s; }
  .a-menu.on a:nth-child(7) { transition-delay: .42s; } .a-menu.on a:nth-child(8) { transition-delay: .47s; }
  .a-menu a::after { content: ""; position: absolute; right: 0; bottom: 8px; height: 2px; width: 0; background: #F74E44; transition: width .35s ease; }
  .a-menu a:hover::after, .a-menu a:focus-visible::after { width: 48px; }
  .a-menu a:hover { padding-inline-start: 10px; }
  .a-veil { position: fixed; inset: 0; z-index: 24; background: rgba(21,28,43,.4); backdrop-filter: blur(2px); opacity: 0; transition: opacity .45s; }
  .a-veil.on { opacity: 1; }
  .menu-open { overflow: auto; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .a-menu, .a-menu a, .a-veil { transition: none; }
}
.menu-open .a-float { display: none; }
.a-foot .fine.doc { margin-top: 6px; font-size: 12px; }
.a-foot .fine.doc span { display: block; }

/* التذييل (المالك 1 ديسمبر 2026): الشعار وتحته العبارة بأقصى اليمين، بعده «تواصل» ثم «روابط مهمة» بينهما فاصل، والحقوق والوثيقة تحت خط */
.a-foot { padding: 44px var(--pad) 40px; }
.a-foot .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 0; align-items: start; max-width: 1280px; margin: 0 auto; }
.a-foot .f-brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 12px; }
.a-foot .f-brand img { width: 150px; height: auto; }
.a-foot .f-brand span { font-size: 15px; opacity: .9; }
.a-foot .f-grp { display: grid; justify-items: start; align-content: start; gap: 10px; padding-inline-end: 20px; }
.a-foot .f-grp + .f-grp { border-inline-start: 1px solid rgba(243,242,237,.35); padding-inline: 20px 0; }
.a-foot .f-grp b { font-size: 16px; margin-bottom: 2px; }
.a-foot .f-grp > a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(243,242,237,.5); }
.a-foot .f-grp > a:hover, .a-foot .f-grp > a:focus-visible { text-decoration-color: currentColor; }
.a-foot .f-grp .soc { margin-top: 2px; }
.a-foot .f-bot { max-width: 1280px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(243,242,237,.35); text-align: center; }
.a-foot .f-bot .fine { margin: 0; }
.a-foot .f-bot .fine.doc { margin-top: 8px; }
@media (min-width: 900px) {
  .a-foot .cols { grid-template-columns: auto auto auto 1fr; gap: 0; }
  .a-foot .f-brand { grid-column: auto; padding-inline-end: 64px; }
  .a-foot .f-grp { padding-inline: 40px; }
  .a-foot .f-brand + .f-grp { padding-inline-start: 40px; }
  .a-foot .f-grp + .f-grp { padding-inline: 40px; }
}
/* زر تيك توك العائم يختفي لما يظهر التذييل، لأن أيقونته موجودة فيه */
.a-float { transition: opacity .25s, visibility .25s; }
.foot-in .a-float { opacity: 0; visibility: hidden; }
