/* «رفيقو تشطيب» — موقع الشركة وروابط العميل/المهندس. ألوان من متغيرات site.css والقوالب (بدون ألوان ثابتة) — موبايل أولًا */
.fn-hero{background:var(--navy-2);color:var(--on-dark,#fff);padding:48px 0 40px}
.fn-hero-in{display:grid;gap:28px;align-items:center}
@media(min-width:900px){.fn-hero-in{grid-template-columns:1.05fr 1fr}}
.fn-eyebrow{color:var(--gold-2);font-weight:700;margin:0 0 8px;font-size:15px}
.fn-hero .fn-h{font-size:clamp(28px,5vw,46px);line-height:1.25;margin:0 0 12px}
.fn-lead{font-size:18px;opacity:.9;margin:0 0 18px}
.fn-quick{display:flex;flex-wrap:wrap;gap:10px;align-items:end;background:rgba(var(--bg-rgb,255,255,255),.08);padding:14px;border-radius:14px}
.fn-quick label{display:flex;flex-direction:column;gap:4px;font-size:14px;flex:1 1 140px}
.fn-quick input,.fn-quick select{min-height:46px;border-radius:10px;border:0;padding:0 12px;font:inherit}
.fn-note{font-size:13px;opacity:.75;margin:8px 0 0}
.fn-hero-media{margin:0;border-radius:18px;overflow:hidden;position:relative}
.fn-hero-media img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.fn-hero-media figcaption{position:absolute;inset-inline:0;bottom:0;padding:10px 14px;background:linear-gradient(transparent,rgba(var(--shade-rgb,0,0,0),.7));font-size:14px}
.fn-trust{background:var(--gold);color:var(--navy-2)}
.fn-trust-in{display:flex;flex-wrap:wrap;justify-content:space-around;gap:12px;padding:14px 0}
.fn-trust-in div{text-align:center}.fn-trust-in b{display:block;font-size:24px}.fn-trust-in span{font-size:13px}
.fn-modes,.fn-pkgs,.fn-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.fn-card{background:var(--surface,#fff);border:1px solid rgba(var(--primary-rgb,18,48,92),.12);border-radius:16px;padding:18px;margin:0 0 16px}
.fn-card h3{margin:0 0 6px}
.fn-price b{font-size:30px;color:var(--gold-3)}
.fn-small{font-size:13px;opacity:.75}
.fn-pkg ul{padding-inline-start:18px;margin:8px 0 14px}
.fn-work{display:block;color:inherit;text-decoration:none;border-radius:14px;overflow:hidden;background:var(--surface,#fff);box-shadow:0 1px 0 rgba(var(--shade-rgb,0,0,0),.06)}
.fn-work img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.fn-work b,.fn-work span{display:block;padding:6px 12px 0}.fn-work span{padding-bottom:12px;font-size:13px;opacity:.7}
.fn-ba{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.fn-ba-lg figure{margin:0;position:relative}.fn-ba-lg figcaption{position:absolute;top:8px;inset-inline-start:8px;background:var(--navy-2);color:#fff;padding:2px 10px;border-radius:99px;font-size:13px}
.fn-ba img,.fn-wide{width:100%;display:block;object-fit:cover}
.fn-steps{counter-reset:s;list-style:none;padding:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.fn-steps li{counter-increment:s;background:var(--surface,#fff);border-radius:14px;padding:16px}
.fn-steps li::before{content:counter(s);display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--gold);color:var(--navy-2);font-weight:800;margin-bottom:8px}
.fn-steps b,.fn-steps span{display:block}.fn-steps span{font-size:14px;opacity:.75}
.fn-cta{background:var(--navy);color:var(--on-dark,#fff);text-align:center;padding:40px 0}
.fn-sticky{position:fixed;bottom:0;inset-inline:0;display:none;grid-template-columns:1fr 1fr;z-index:40}
.fn-sticky a{padding:14px;text-align:center;font-weight:700;background:var(--gold);color:var(--navy-2);text-decoration:none}
.fn-sticky a:first-child{background:var(--navy-2);color:#fff}
@media(max-width:760px){.fn-sticky{display:grid}body{padding-bottom:52px}}
.fn-form{display:grid;gap:12px}
.fn-form-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.fn-form label{display:flex;flex-direction:column;gap:4px;font-weight:600}
.fn-form input,.fn-form select,.fn-form textarea,.fn-in{min-height:46px;border:1px solid rgba(var(--primary-rgb,18,48,92),.25);border-radius:10px;padding:8px 12px;font:inherit;width:100%;box-sizing:border-box}
.fn-check{flex-direction:row!important;align-items:center;gap:8px!important}.fn-check input{width:auto;min-height:0}
.fn-table{width:100%;border-collapse:collapse}.fn-table td,.fn-table th{padding:8px;border-bottom:1px solid rgba(var(--primary-rgb,18,48,92),.1);text-align:start}
.fn-table td:last-child{text-align:end;font-variant-numeric:tabular-nums}
.fn-total td{font-weight:800;font-size:17px}
.fn-scroll{overflow-x:auto}
.fn-ok{background:#e8f6ee;color:#14532d;padding:12px 14px;border-radius:12px}
.fn-err{background:#fdecec;color:#7f1d1d;padding:12px 14px;border-radius:12px}
.fn-kpis{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.fn-kpis div{background:rgba(var(--primary-rgb,18,48,92),.05);border-radius:12px;padding:10px}.fn-kpis b{display:block;font-size:18px}.fn-kpis span{font-size:13px;opacity:.75}
.fn-terms dt{font-weight:700;margin-top:10px}.fn-terms dd{margin:2px 0 0}
.fn-inline{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0}
.fn-co{border-top:1px solid rgba(var(--primary-rgb,18,48,92),.1);padding:10px 0}
.fn-progress{padding-inline-start:20px}.fn-progress .is-done{color:var(--gold-3);font-weight:700}
.fn-thumb{max-width:220px;border-radius:10px;display:block;margin:6px 0}
.fn-portal{background:var(--bg,#f7f7f5)}.fn-ph h1{margin:0}
.fn-approve{border-top:2px solid var(--gold);padding-top:14px;margin-top:14px}
/* كتالوج الخدمات */
.fn-disc{padding:28px 0 8px}
.fn-search{display:flex;gap:8px;margin:0 0 12px}
.fn-search input{flex:1;min-height:48px;border:1px solid rgba(var(--primary-rgb,18,48,92),.25);border-radius:12px;padding:0 14px;font:inherit;font-size:16px}
.fn-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.fn-chips a,.fn-chips button{flex:0 0 auto;min-height:44px;padding:0 16px;border-radius:99px;border:1px solid rgba(var(--primary-rgb,18,48,92),.2);background:var(--surface,#fff);color:inherit;font:inherit;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;cursor:pointer}
.fn-chips .is-on{background:var(--navy-2);color:var(--on-dark,#fff);border-color:var(--navy-2)}
.fn-svcs{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.fn-svc{display:flex;flex-direction:column;color:inherit;text-decoration:none;border-radius:16px;overflow:hidden;background:var(--surface,#fff);border:1px solid rgba(var(--primary-rgb,18,48,92),.1);transition:transform .2s,box-shadow .2s}
.fn-svc:hover,.fn-svc:focus-visible{transform:translateY(-2px);box-shadow:0 8px 24px rgba(var(--shade-rgb,0,0,0),.1)}
.fn-svc-img{aspect-ratio:4/3;background:rgba(var(--primary-rgb,18,48,92),.06);overflow:hidden}
.fn-svc-img img{width:100%;height:100%;object-fit:cover;display:block}
.fn-svc-b{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}
.fn-svc-b b{font-size:17px}.fn-svc-b span{font-size:14px;opacity:.75}
.fn-svc-p{margin-top:auto;padding-top:8px;font-size:14px}.fn-svc-p strong{color:var(--gold-3);font-size:17px}
.fn-split{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.fn-split .fn-card{display:flex;flex-direction:column;gap:8px}.fn-split .fn-card .sk-btn{align-self:flex-start;margin-top:auto}
.fn-sv-hero{display:grid;gap:20px;align-items:center}
@media(min-width:900px){.fn-sv-hero{grid-template-columns:1fr 1fr}}
.fn-sv-hero img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;display:block}
.fn-crumb{font-size:14px;opacity:.8;margin:0 0 6px}.fn-crumb a{color:inherit}
.fn-ctas{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.fn-opts td:first-child{font-weight:600}
.fn-est{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}
.fn-est output{font-size:22px;font-weight:800;color:var(--gold-3)}
.fn-faq details{border-bottom:1px solid rgba(var(--primary-rgb,18,48,92),.1);padding:12px 0}.fn-faq summary{font-weight:700;cursor:pointer;min-height:24px}
.fn-gal{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.fn-gal img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;display:block}
.fn-empty{padding:16px;text-align:center;opacity:.75}
@media(prefers-reduced-motion:reduce){.fn-svc{transition:none}.fn-svc:hover{transform:none}}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.sk-sec-sub{text-align:center;opacity:.8;margin:-4px 0 16px}
.fn-hero .fn-h-sm{font-size:clamp(22px,3.4vw,32px)}

/* «ميدنايت»: خط الخطوات بيتملي مع السكرول (تحسين اختياري — من غير دعم بيفضل الخط ثابت) */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .sk-theme-midnight .mn .mn-steps::after { content: ""; position: absolute; inset-inline-start: 23px; top: 8px; width: 1.5px; height: calc(100% - 16px); background: var(--gold); transform-origin: top; animation: mn-grow linear both; animation-timeline: view(); animation-range: entry 20% cover 70%; }
    }
}
@keyframes mn-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mn-cine-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sk-theme-midnight .mn .mn-cine-li .mn-cine-txt > * { animation: none !important; } }
/* صفحة المشروع: حقائق + قصة (الوضع ← التحدي ← الحل ← النتيجة) */
.fn-pfacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:0 0 20px}
.fn-pfacts div{border-top:2px solid var(--gold);padding-top:8px}.fn-pfacts dt{font-size:13px;opacity:.7}.fn-pfacts dd{margin:2px 0 0;font-weight:700}
.fn-story{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:24px 0}
.fn-story h2{font-size:20px;margin:0 0 6px}.fn-story p{margin:0;line-height:1.85}
.fn-pquote{margin:20px 0;padding-inline-start:16px;border-inline-start:3px solid var(--gold);font-size:18px}.fn-pquote cite{display:block;font-style:normal;opacity:.7;font-size:14px}
.fn-pba{aspect-ratio:16/10;border:1.5px solid var(--gold)}.fn-pba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fn-pba .fx-ba-after{position:absolute;inset:0}
@keyframes mn-kb { from { transform: scale(1); } to { transform: scale(1.07); } }

/* ===== «ميدنايت» موبايل: كل تمريرة = مشهد كامل (fn-snap.js يحط html.mn-snap و--mn-scene) ===== */
.mn-snap-only{display:none}
.mn-dots{display:none}
@media (max-width:760px){
html.mn-snap{scroll-snap-type:y mandatory;scroll-padding-top:var(--mn-hh,75px)}
html.mn-snap .sk-theme-midnight .mn .mn-scene,html.mn-snap .sk-theme-midnight .sk-footer.mn-scene{scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene [id]{scroll-margin-top:0}
html.mn-snap .sk-theme-midnight .mn > section.mn-scene{box-sizing:border-box;height:var(--mn-scene,100svh);min-height:0;max-height:none;margin:0;padding-block:clamp(16px,3.4svh,34px);display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}
html.mn-snap .sk-theme-midnight .mn > section.mn-scene > .fx-wrap{box-sizing:border-box;min-height:0;max-height:100%;flex:1 1 auto;display:flex;flex-direction:column;justify-content:flex-start;justify-content:safe center}
html.mn-snap .sk-theme-midnight .sk-footer.mn-scene{box-sizing:border-box;min-height:var(--mn-scene,100svh);display:flex;flex-direction:column;justify-content:center}
html.mn-snap .sk-theme-midnight .ss-band.mn-scene{scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:0;box-sizing:border-box;min-height:var(--mn-scene,100svh);display:flex;flex-direction:column;justify-content:center}
/* العناوين أخف شوية جوه المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-head{margin-bottom:clamp(12px,2.4svh,26px)}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-h2{font-size:clamp(24px,7vw,32px);line-height:1.3}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight .mn-sub,html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight .mn-rule,html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight .mn-note{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight{padding-block:12px}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tighter .mn-eyebrow{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tighter .mn-h2{font-size:clamp(21px,6vw,26px)}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tighter .mn-head{margin-bottom:10px}

/* سحب بالعرض جوه المشهد (الأعمال والكروت): الكارت بياخد باقي ارتفاع المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-pillars,.mn-spaces,.mn-steps,.mn-pkgs,.mn-reviews){display:flex;flex:1 1 auto;min-height:0;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 calc(var(--fx-gutter,16px) * -1);padding:2px var(--fx-gutter,16px) 6px;grid-template-columns:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-pillars,.mn-spaces,.mn-steps,.mn-pkgs,.mn-reviews)::-webkit-scrollbar{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-pillar,.mn-space,.mn-steps > li,.mn-pkg,.mn-review){flex:0 0 82%;scroll-snap-align:center;min-height:0;max-height:100%;display:flex;flex-direction:column;margin:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-pillar .mn-slant{flex:1 1 auto;min-height:120px;aspect-ratio:auto}
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-pillar,.mn-space) :is(.mn-slant-in,picture){display:block;height:100%}
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-pillar,.mn-space) img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-space{height:100%;aspect-ratio:auto;position:relative}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-space > picture{position:absolute;inset:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-steps{counter-reset:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-steps > li{justify-content:center;padding:22px 20px;border:1px solid rgba(212,162,86,.35);background:rgba(212,162,86,.05)}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-steps::before,html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-steps > li::before{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-pkg{overflow:hidden}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-pkg ul{flex:1 1 auto;min-height:0;overflow:hidden}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-pkg > .fx-btn{margin-top:auto}

/* خدماتنا: التبويبين بيملوا المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-tabs{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-tabpanel:not([hidden]){flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-trades{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;align-content:start}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-more{margin:10px 0 0}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight .mn-tab-lead{display:none}

/* ليه تختارنا: مشهد لوحده بعنوان والوعود تحت بعض */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-snap-only{display:block;margin-bottom:clamp(14px,3svh,30px)}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-trust-in{display:grid;grid-template-columns:1fr;grid-auto-flow:row;gap:clamp(8px,2.2svh,20px);overflow:visible;margin:0;padding:0}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-trust-in > li{display:flex;flex-direction:row;align-items:center;text-align:start;gap:14px;min-width:0;width:auto;flex:none;border:0;border-bottom:1px solid rgba(212,162,86,.18);padding:0 0 clamp(8px,2svh,16px)}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-trust-in > li:last-child{border-bottom:0}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-trust-in > li svg{flex:0 0 auto;width:34px;height:34px}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-trust-in b{font-size:18px}
html.mn-snap .sk-theme-midnight .mn .mn-trust.mn-scene .mn-h2{color:#F4EFE6}

/* مشروع مميز: قبل/بعد بياخد المساحة، والقصة سطرين */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case{display:flex;flex-direction:column;align-items:stretch;gap:14px;flex:1 1 auto;min-height:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-media{flex:1 1 auto;min-height:150px;position:relative;width:100%;align-self:stretch}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-media > *{position:absolute;inset:0;height:100%;aspect-ratio:auto;width:100%}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-media :is(picture,img,.mn-slant-in){height:100%;width:100%}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-media img{object-fit:cover}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-copy .mn-story:not(:first-of-type),html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-copy .mn-quote{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-copy .mn-story{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 10px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-case-copy .mn-facts-dl{margin:6px 0}

/* كارت الفيديو */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video-in{display:flex;flex-direction:column;gap:14px;flex:1 1 auto;min-height:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video{flex:1 1 auto;min-height:160px;aspect-ratio:auto;max-height:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video img{height:100%;object-fit:cover}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video-in{align-items:stretch}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video{width:100%;align-self:stretch}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-video-copy .mn-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tight .mn-vmeta{display:none}

/* الحاسبة: مشهد لوحده من غير التفاصيل الزيادة */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2{margin:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 :is(.mn-range,.mn-calc2-dl,.mn-calc2-note){display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 .mn-pks{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 .mn-pk{flex:0 0 auto}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 .mn-eyebrow{display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-in{padding:0;gap:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene :is(.mn-calc2-q,.mn-calc2-r){padding:14px 16px;gap:8px;row-gap:8px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 legend{font-size:13px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 .mn-d3{min-height:36px}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tighter .mn-calc2 :is(.mn-d3,.mn-calc2-per){display:none}
html.mn-snap .sk-theme-midnight .mn .mn-scene.is-tighter .mn-calc2-h{font-size:19px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-h{font-size:clamp(20px,5.6vw,24px);margin:0 0 8px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 fieldset{margin:0 0 8px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 legend{margin-bottom:6px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 :is(.mn-step,.mn-area-in){min-height:48px;height:48px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-total{font-size:clamp(28px,8vw,36px);margin:4px 0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-r{padding-top:12px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-cta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-cta .fx-btn{min-height:48px;padding-inline:8px;font-size:15px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2 .mn-pk > span{padding:8px 12px}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-per{font-size:13px;margin:0}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-calc2-k{font-size:13px}

/* التفاصيل: 4 صور بتملا المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-macro{flex:1 1 auto;min-height:0;grid-auto-rows:1fr}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-macro figure{min-height:0;aspect-ratio:auto}
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-macro :is(picture,img){height:100%;width:100%;object-fit:cover}

/* الأسئلة: لو فتحت سؤال القائمة بتسكرول جوه المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-scene .mn-faq{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}

/* الفيلم والختام بطول المشهد */
html.mn-snap .sk-theme-midnight .mn .mn-cine.mn-scene{padding:0}
html.mn-snap .sk-theme-midnight .mn .mn-cine--auto .mn-cine-stage,html.mn-snap .sk-theme-midnight .mn .mn-cine.mn-scene .mn-cine-stage{height:100%;min-height:0;max-height:none}
html.mn-snap .sk-theme-midnight .mn .mn-cine.mn-scene .mn-cine-li{min-height:0}
html.mn-snap .sk-theme-midnight .mn .mn-cta.mn-scene{padding:0;justify-content:center}

/* دخول ناعم: المحتوى بيطلع لما المشهد يثبت (أول مشهد ظاهر على طول) */
html.mn-snap .sk-theme-midnight .mn .mn-scene > .fx-wrap{transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
html.mn-snap .sk-theme-midnight .mn .mn-scene:not(.is-in) > .fx-wrap{opacity:0;transform:translateY(26px) scale(.985)}
html.mn-snap .sk-theme-midnight .mn .mn-scene [data-fx]{opacity:1;transform:none}

/* نقط المشاهد */
html.mn-snap .mn-dots{display:flex;flex-direction:column;gap:8px;position:fixed;left:6px;top:50%;transform:translateY(-50%);z-index:40;padding:8px 4px;border-radius:99px;background:rgba(2,14,29,.35);backdrop-filter:blur(4px)}
html.mn-snap .mn-dots button{width:6px;height:6px;padding:0;border:0;border-radius:99px;background:rgba(244,239,230,.45);cursor:pointer;transition:height .35s ease,background .35s ease;position:relative}
html.mn-snap .mn-dots button::after{content:"";position:absolute;inset:-10px -12px}
html.mn-snap .mn-dots button[aria-current]{height:20px;background:#D4A256}
html.mn-snap .mn-dots.is-dark{opacity:.6}
}
