/* Dr Steam Car Care — التصميم المبدئي v2 («فيلم بيتعرض وانت بتنزل»)
   الهوية: أسود حقيقي + برتقالي الشعلة + أحمر STEAM + أبيض.
   الخطوط: Anton للكلمات الضخمة (إنجليزي في النسختين) · العربي: Jomhuria للعناوين والأزرار والأسعار + Markazi Text للكلام الصغير
   (الاتنين محفوظين جوه assets/fonts، رخصة OFL) · الإنجليزي: Alexandria للكلام + Kaushan Script للكلمة اللي بخط اليد. */
/* Jomhuria حروفه صغيرة جداً بالنسبة لحجمه، فبنكبّره بـ size-adjust عشان المقاسات اللي في الصفحة تفضل مظبوطة.
   unicode-range = عربي بس، فالأرقام والإنجليزي جوه العناوين بتطلع بـ Anton. مدى الوزن 100–900 يمنع المتصفح يعمل «بولد مزيف». */
@font-face {
  font-family: 'DS Jomhuria';
  src: url('../assets/fonts/ds-jomhuria.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  size-adjust: 185%;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+25CC;
}
@font-face {
  font-family: 'DS Markazi';
  src: url('../assets/fonts/ds-markazi.woff2') format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
  size-adjust: 150%;
}
:root {
  --black: #000000;
  --ember: #F47A20;
  --fire: #E8322A;
  --chrome: #F5F6F7;
  --paper: #EEECE8;
  --ink-dim: rgba(245, 246, 247, 0.66);
  --line: rgba(245, 246, 247, 0.12);
  --panel: rgba(245, 246, 247, 0.045);
  --panel-2: rgba(245, 246, 247, 0.08);

  --f-ar-display: 'DS Jomhuria', 'Anton', 'DS Markazi', serif;
  --f-ar-text: 'DS Markazi', Georgia, serif;
  --f-big: 'Anton', 'Alexandria', Impact, sans-serif;
  --f-script: var(--f-ar-display);
  --f-body: var(--f-ar-text);
  --f-display: var(--f-ar-display);
  --f-ui: var(--f-ar-display);   /* الأزرار والقوايم والأسعار والملصقات */

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.3125rem;
  --t-xl: clamp(1.6rem, 3.4vw, 2.5rem);
  --t-2xl: clamp(2.4rem, 7vw, 5.5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --radius-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
html[lang="en"] { --f-display: var(--f-big); --f-script: 'Kaushan Script', cursive; --f-body: 'Alexandria', system-ui, sans-serif; --f-ui: 'Alexandria', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color: var(--chrome); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--chrome);
  font-family: var(--f-body); font-size: var(--t-m); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 120; background: var(--chrome); color: var(--black); padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-dim); }
.display { font-family: var(--f-display); font-weight: 900; line-height: 1.1; letter-spacing: 0; }
html[lang="en"] .display { font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; }
/* Jomhuria ذيوله ونقطه تحت السطر طويلة: مسافة سطر أوسع للعربي بس عشان العنوان ميركبش على اللي تحته */
html[lang="ar"] .display { line-height: 1.22; }
.section-title { font-size: var(--t-2xl); margin: 0 0 0.4em; text-wrap: balance; }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-ui); font-weight: 800; font-size: var(--t-m); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-ember { background: var(--ember); color: var(--black); }
.btn-ember:hover { background: #ff8a33; }
.btn-ghost { background: transparent; color: var(--chrome); border-color: rgba(245, 246, 247, .4); }
.btn-ghost:hover { border-color: var(--chrome); }
.btn-black { background: var(--black); color: var(--chrome); }
.btn-black:hover { background: #222; }
.btn-xl { min-height: 64px; font-size: var(--t-l); padding: 0 2.2em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; font-family: var(--f-ui); font-size: var(--t-s); font-weight: 700;
}
.chip:hover { border-color: rgba(245, 246, 247, .4); }
#langBtn { font-family: 'Alexandria', system-ui, sans-serif; }   /* «EN» / «ع» صغيرين: خط واضح مش مضغوط */
.chip-cart b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-inline-start: 6px; border-radius: 999px; background: var(--ember); color: var(--black); font-size: 12px; }

/* ===== 0) شاشة التحميل ===== */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--black); display: grid; place-items: center; align-content: center; gap: 22px; }
.loader-logo { width: min(220px, 50vw); height: auto; }
.loader-bar { width: min(240px, 60vw); height: 2px; background: rgba(245, 246, 247, .12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--fire), var(--ember), var(--chrome)); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .loader-bar i { transform-origin: right; }
.loader-num { font-family: var(--f-big); font-size: 14px; letter-spacing: .2em; color: var(--ink-dim); }
.loader-beam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--chrome); box-shadow: 0 0 30px 6px rgba(255, 255, 255, .6); transform: scaleY(0); }
body:not(.is-loading) .loader { pointer-events: none; }

/* ===== الشريط اللي فوق ===== */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 10px var(--gutter); padding-top: max(10px, env(safe-area-inset-top));
  transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.topbar-logo img { width: 74px; height: auto; }
.topbar-nav { display: flex; gap: 26px; margin-inline-start: 18px; }
.topbar-nav a { text-decoration: none; font-family: var(--f-ui); font-size: var(--t-s); color: var(--ink-dim); transition: color .2s; }
.topbar-nav a:hover { color: var(--chrome); }
.topbar-actions { margin-inline-start: auto; display: flex; gap: 8px; }
@media (max-width: 760px) { .topbar-nav { display: none; } .topbar-logo img { width: 62px; } }

/* ===== 1) الواجهة ===== */
/* صفّين: اللوجو بياخد المساحة اللي فاضلة، والجملة + الزراير تحته — مستحيل يركبوا على بعض في أي طول شاشة */
.hero { position: relative; height: var(--vh); min-height: 560px; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.42); z-index: -4; }
.hero-steam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .55; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 60% at 50% 45%, transparent, rgba(0, 0, 0, .7) 80%), linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 25%, transparent 60%, #000 100%); }
.hero-center { position: relative; grid-row: 1; min-height: 0; padding-top: 72px; display: grid; place-items: center; pointer-events: none; }
.hero-brand { margin: 0; display: grid; place-items: center; }
.hero-logo {
  /* العرض محسوب من طول الشاشة: (الطول − مكان الشريط والجملة والزراير) × نسبة اللوجو */
  width: min(680px, 84vw, calc((var(--vh) - 290px) * 1.35)); height: auto;
  filter: drop-shadow(0 0 60px rgba(244, 122, 32, .22)) drop-shadow(0 20px 40px rgba(0, 0, 0, .65));
  will-change: transform, opacity, filter;
}
.steam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-bottom { position: relative; grid-row: 2; z-index: 3; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 8px var(--gutter) clamp(28px, 6vh, 64px); }
.hero-line { margin: 0; font-family: var(--f-ui); font-size: var(--t-xl); font-weight: 800; max-width: min(100%, 26em); text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 700px) { .hero-logo { width: min(90vw, calc((var(--vh) - 340px) * 1.35)); } }

/* ===== شريط الكلام اللي بيجري ===== */
.band { overflow: hidden; white-space: nowrap; }
.band-track { display: inline-flex; will-change: transform; }
.band-track span { padding-inline-end: .6em; }
.band-red { background: var(--fire); color: var(--chrome); }
.band-black { background: var(--black); color: var(--ember); }
.band { font-family: var(--f-big); font-size: clamp(1.6rem, 4.6vw, 3.6rem); line-height: 1; padding: .45em 0; }
html[lang="ar"] .band { font-family: var(--f-ar-display); font-weight: 400; }

/* ===== 2) من رسمة لحقيقة ===== */
.sketch { position: relative; height: 520vh; background: #000; }   /* أطول: العربية الوسخة بتقف لوحدها قبل البخار */
.sketch-stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; display: grid; place-items: center; }
.sk-frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(100vw, 200vh); aspect-ratio: 2 / 1; }
.sk-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sk-dirty { opacity: 0; }
.sk-clean { clip-path: inset(0 100% 0 0); }
.sk-lines { mix-blend-mode: screen; clip-path: inset(0 100% 0 0); }
.sk-steam { position: absolute; top: -10%; height: 120%; width: 34%; object-fit: cover; mix-blend-mode: screen; opacity: 0; left: -17%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); }
.sk-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .45) 49%, rgba(255, 255, 255, .1) 54%, transparent 62%); mix-blend-mode: overlay; pointer-events: none; }
.sk-pen { position: absolute; top: 18%; bottom: 18%; left: 0; width: 2px; background: var(--ember); box-shadow: 0 0 24px 6px rgba(244, 122, 32, .7); opacity: 0; }
.sk-labels { position: absolute; top: clamp(84px, 13vh, 140px); inset-inline: var(--gutter); pointer-events: none; }
.sk-label { position: absolute; inset-inline-start: 0; top: 0; margin: 0; font-size: clamp(2rem, 5.4vw, 5rem); max-width: 14ch; opacity: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
html[lang="ar"] .sk-labels { direction: rtl; }
.sk-label[data-s="0"] { opacity: 1; }
.sketch .band { position: absolute; inset-inline: 0; bottom: 0; }
@media (max-width: 700px) {
  .sk-frame { width: 128vw; }
  .sketch { height: 460vh; }
}

/* ===== 3) الجملة اللي بتتملي ===== */
.statement { position: relative; height: 240vh; }
.statement-stage { position: sticky; top: 0; height: var(--vh); display: grid; place-items: center; padding-inline: var(--gutter); }
.statement-text { margin: 0; max-width: 20ch; font-size: clamp(2rem, 6vw, 5.6rem); text-wrap: balance; text-align: center; }
html[lang="en"] .statement-text { max-width: 18ch; }
.statement-text .w { color: rgba(245, 246, 247, .14); transition: color .2s; }
.statement-text .w.is-lit { color: var(--chrome); }
.statement-text .w-accent.is-lit { color: var(--ember); }

/* ===== 4) الخدمات: شاشات كاملة ===== */
.services { position: relative; height: 560vh; }   /* أطول: كل خدمة بتثبت على الشاشة مسافة سكرول قبل اللي بعدها */
.svc-stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; background: #000; }
.panel { position: absolute; inset: 0; overflow: hidden; display: grid; align-content: end; }
.panel + .panel { clip-path: inset(100% 0 0 0); }
.panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .55)); }
.panel-word {
  position: absolute; inset-inline: 0; top: 50%; translate: 0 -62%;
  text-align: center; direction: ltr; white-space: nowrap;
  font-family: var(--f-big); font-size: clamp(5rem, 21vw, 24rem); line-height: .8;
  pointer-events: none;
}
/* الكلمة المفرّغة: خط حواليها بتدرّج ألوان شعلة اللوجو (أحمر ← برتقالي ← أصفر فاتح) + لمعة خفيفة */
.pw-svg { display: block; overflow: visible; filter: drop-shadow(0 0 14px rgba(244, 122, 32, .38)); }
.pw-svg text { fill: none; stroke-width: 3px; stroke-linejoin: round; paint-order: stroke; }
.panel-copy { position: relative; padding: 0 var(--gutter) clamp(40px, 9vh, 96px); max-width: 720px; display: grid; gap: 14px; justify-items: start; }
.panel-title { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); }
.panel-line { margin: 0; color: var(--ink-dim); font-size: var(--t-l); max-width: 38ch; }
/* «خدماتنا» بالأحمر + الخدمات في مربعات صغيرة عشان العميل يفهم إن دي الخدمات */
.panel-kicker { margin: -4px 0 0; font-family: var(--f-ui); font-size: var(--t-l); color: var(--fire); text-shadow: 0 0 18px rgba(232, 50, 42, .45); }
.panel-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.panel-chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(245, 246, 247, .32); background: rgba(0, 0, 0, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--f-ui); font-size: var(--t-m); line-height: 1.2; color: var(--chrome); }
@media (max-width: 640px) { .panel-chips li { font-size: var(--t-s); padding: 6px 12px; } }
.svc-steam { position: absolute; inset-inline: 0; height: 46vh; width: 100%; object-fit: cover; mix-blend-mode: screen; opacity: 0; pointer-events: none; z-index: 5; top: 100%; }
.panel-dots { position: absolute; z-index: 6; inset-inline-end: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.panel-dots button { font-family: var(--f-ui); display: flex; align-items: center; gap: 10px; justify-content: flex-end; background: none; border: 0; cursor: pointer; color: var(--ink-dim); font-size: var(--t-xs); font-weight: 700; padding: 4px 0; }
.panel-dots button::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background-color .3s, transform .3s; }
.panel-dots button.is-on { color: var(--chrome); }
.panel-dots button.is-on::after { background: var(--ember); border-color: var(--ember); transform: scale(1.2); }
@media (max-width: 700px) { .panel-dots span { display: none; } .panel-dots { top: auto; bottom: 26px; transform: none; display: flex; } }

/* ===== 5) تحت البيت ولا في الفرع ===== */
.split { position: relative; height: 320vh; }
.split-stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.half { position: relative; display: grid; align-content: center; gap: 14px; padding: 90px clamp(18px, 4vw, 64px) 60px; }
.half-home { background: var(--fire); color: var(--chrome); }
.half-branch { background: var(--paper); color: #000; }
.half-kicker { margin: 0; font-family: var(--f-script); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.half-title { margin: 0; font-size: clamp(2.6rem, 7vw, 6.4rem); }
html[lang="ar"] .half-title { margin-bottom: .25em; }
.half ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 34ch; font-size: var(--t-m); }
.half li { padding-inline-start: 18px; position: relative; }
.half li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.half .btn { justify-self: start; }
.half-branch .btn-ember { color: #000; }
.split-car { position: absolute; left: 50%; top: 50%; width: clamp(90px, 11vw, 150px); height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); pointer-events: none; }
@media (max-width: 760px) {
  .split-stage { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .half { padding: 70px 22px 24px; gap: 8px; align-content: end; }
  .half-title { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .half ul { font-size: var(--t-s); gap: 4px; }
  .half li:nth-child(3) { display: none; }
  .split-car { width: 76px; }
}

/* ===== 6) الإكسسوارات ===== */
.shop { position: relative; background: var(--ember); color: #000; padding-bottom: clamp(70px, 10vw, 140px); overflow: hidden; }
.shop-head { position: relative; padding-top: clamp(60px, 9vw, 120px); padding-bottom: 20px; }
.shop-title { margin: 0; font-size: clamp(3.4rem, 12vw, 11rem); line-height: .95; }
.shop-script { position: absolute; inset-inline-end: var(--gutter); top: clamp(40px, 7vw, 100px); font-family: 'Kaushan Script', cursive; color: var(--chrome); font-size: clamp(2rem, 6vw, 5.4rem); transform: rotate(-8deg); text-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.shop-sub { margin: 12px 0 0; font-size: var(--t-l); font-weight: 700; max-width: 40ch; }
html[lang="ar"] .shop-sub { margin-top: 1.1em; }
/* الكروت جنب بعض في صفوف منتظمة: 5 على الكمبيوتر (صفين = 10 منتجات)، واتنين على الموبايل */
.shop-floor { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); padding-top: clamp(30px, 5vw, 60px); align-items: stretch; }
@media (max-width: 1180px) { .shop-floor { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .shop-floor { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shop-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.product {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 10px 10px 16px; text-align: start; cursor: pointer;
  background: var(--chrome); color: #000; border: 3px solid #000; border-radius: 24px;
  transition: translate .35s var(--ease), box-shadow .35s;
  box-shadow: 6px 6px 0 #000;
}
.product:hover { translate: 0 -6px; box-shadow: 10px 12px 0 #000; }
.shop-more { display: flex; justify-content: center; padding-top: clamp(28px, 4vw, 48px); }
.shop-more:empty { display: none; }
.product-img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-name { font-family: var(--f-ui); font-weight: 800; font-size: var(--t-s); line-height: 1.35; padding-inline: 4px; }
.sticker { font-family: var(--f-ui); position: absolute; top: -14px; inset-inline-end: -10px; padding: 6px 14px; border-radius: 999px; background: #000; color: var(--chrome); font-weight: 900; font-size: var(--t-s); transform: rotate(6deg); border: 3px solid var(--chrome); }
.sticker-fit { top: auto; bottom: 46px; inset-inline-end: auto; inset-inline-start: -10px; background: var(--fire); transform: rotate(-6deg); font-size: var(--t-xs); }
@media (max-width: 640px) { .sticker { font-size: var(--t-xs); padding: 5px 10px; inset-inline-end: -6px; } }

/* ===== 7) الفروع ===== */
.branches { padding: clamp(80px, 10vw, 140px) 0; }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.branch { padding-top: 26px; }
.branch h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 900; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.05; color: var(--ember); }
html[lang="en"] .branch h3 { font-weight: 400; text-transform: uppercase; }
html[lang="ar"] .branch h3 { line-height: 1.25; }
.branch p { margin: 0; color: var(--ink-dim); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 760px) { .branch-grid { grid-template-columns: 1fr; } }

/* ===== 8) النهاية ===== */
.finale { position: relative; height: 220vh; }
.finale-stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; display: grid; place-items: center; background: #000; }
.finale-steam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: 0; transform: scale(.7); }
.finale-copy { position: relative; display: grid; justify-items: center; gap: 24px; text-align: center; padding-inline: var(--gutter); opacity: 0; }
.finale-title { margin: 0; font-size: clamp(3rem, 11vw, 10rem); color: #000; }

/* ===== الفوتر ===== */
.footer { padding: 60px 0 110px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 10px; justify-items: start; }
.footer img { width: 110px; height: auto; }
.credits { font-size: var(--t-xs); color: rgba(245, 246, 247, .6); max-width: 70ch; }
.demo-tag {
  position: fixed; z-index: 30; bottom: max(14px, env(safe-area-inset-bottom)); inset-inline-start: 14px;
  padding: 6px 12px; border-radius: 999px; font-size: var(--t-xs);
  background: rgba(0, 0, 0, .78); border: 1px dashed rgba(244, 122, 32, .7); color: var(--ember);
}
@media (max-width: 640px) { .demo-tag { font-size: 11px; padding: 4px 10px; bottom: auto; top: 64px; } }

/* ===== لو الحركة مقفولة (تقليل الحركة أو المكتبة ماتحمّلتش): كل حاجة تظهر ثابتة ===== */
.no-motion .loader { display: none; }
.no-motion .sketch, .no-motion .statement, .no-motion .services, .no-motion .split, .no-motion .finale { height: auto; }
.no-motion .sketch-stage, .no-motion .statement-stage, .no-motion .finale-stage { position: relative; height: auto; min-height: var(--vh); }
.no-motion .sk-clean { clip-path: none; }
.no-motion .sk-frame { position: relative; left: auto; top: auto; translate: none; margin-inline: auto; }
.no-motion .sk-lines, .no-motion .sk-pen, .no-motion .sk-steam { display: none; }
.no-motion .sk-label[data-s="0"] { opacity: 0; }
.no-motion .sk-label[data-s="2"] { opacity: 1; }
.no-motion .sketch .band { position: relative; transform: none; }
.no-motion .statement-text .w { color: var(--chrome); }
.no-motion .statement-text .w-accent { color: var(--ember); }
.no-motion .svc-stage { position: relative; height: auto; }
.no-motion .panel { position: relative; height: var(--vh); }
.no-motion .panel + .panel { clip-path: none; }
.no-motion .panel-dots, .no-motion .svc-steam { display: none; }
.no-motion .split-stage { position: relative; }
.no-motion .split-car { display: none; }
.no-motion .finale-steam { opacity: .9; transform: none; }
.no-motion .finale-copy { opacity: 1; }

/* ===== النافذة (الحجز / السلة / المنتج) ===== */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.sheet-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(500px, 100%);
  display: grid; grid-template-rows: auto 1fr auto;
  background: #000; border-inline-start: 1px solid var(--line);
  transform: translateX(100%); transition: transform .45s var(--ease);
}
html[dir="rtl"] .sheet-panel { transform: translateX(-100%); }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
@media (max-width: 640px) {
  .sheet-panel, html[dir="rtl"] .sheet-panel {
    top: auto; inset-inline: 0; width: 100%; max-height: 92svh; border-inline-start: 0; border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0; transform: translateY(100%);
  }
}
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.sheet-title { font-family: var(--f-ui); margin: 0; font-size: var(--t-l); font-weight: 800; flex: 1; }
.sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.sheet-body { overflow: auto; padding: 18px 20px 24px; overscroll-behavior: contain; }
.sheet-foot { padding: 14px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.sheet-foot:empty { display: none; }
.sheet-back { border: 0; background: none; color: var(--ink-dim); cursor: pointer; padding: 0 0 12px; font-size: var(--t-s); }

/* المكان: 3 اختيارات */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 18px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 10px 6px; border-radius: 10px; cursor: pointer; font-size: var(--t-xs); font-weight: 700; color: var(--ink-dim); line-height: 1.3; }
.seg input:checked + label { background: var(--ember); color: #000; }
.seg input:focus-visible + label { outline: 2px solid var(--ember); outline-offset: 2px; }
.field-label { display: block; font-size: var(--t-s); font-weight: 700; margin: 0 0 8px; }

/* قايمة الخدمات */
.svc-list { display: grid; gap: 10px; }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: start;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer;
}
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc:has(input:checked), .svc.is-checked { border-color: var(--ember); background: rgba(244, 122, 32, .1); }
.svc:has(input:focus-visible) { outline: 2px solid var(--ember); outline-offset: 2px; }
.svc.is-off { opacity: .45; cursor: not-allowed; }
.svc-name { font-family: var(--f-ui); font-weight: 700; }
.svc-desc { grid-column: 1 / -1; color: var(--ink-dim); font-size: var(--t-s); }
.svc-price { font-family: var(--f-ui); font-weight: 700; color: var(--ember); white-space: nowrap; }
.svc-price small { font-family: var(--f-body); display: block; font-weight: 400; color: rgba(245, 246, 247, .45); font-size: 11px; text-align: end; }
.svc-other { grid-column: 1 / -1; margin-top: 6px; display: none; }
.svc:has(input:checked) .svc-other, .svc.is-checked .svc-other { display: block; }
.svc-check { position: absolute; inset-inline-end: 14px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: var(--ember); color: #000; font-size: 12px; display: none; place-items: center; font-weight: 900; }
.svc:has(input:checked) .svc-check, .svc.is-checked .svc-check { display: grid; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.sum b { font-family: var(--f-ui); font-size: var(--t-l); color: var(--chrome); }
.hint { color: var(--ink-dim); font-size: var(--t-xs); margin: 0; }

/* الفورم */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--chrome); font-size: 16px;
}
.textarea { min-height: 90px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--vapor) 50%), linear-gradient(135deg, var(--vapor) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .select { background-position: 20px 22px, 15px 22px; }
.select option { background: #000; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ember); }
.field.has-err .input, .field.has-err .select, .field.has-err .textarea { border-color: var(--fire); }
.err { color: #ff6a5f; font-size: var(--t-xs); margin-top: 6px; display: none; }
.field.has-err .err { display: block; }
.intro { color: var(--ink-dim); margin: 0 0 18px; }

/* المنتج */
.p-hero { border-radius: 18px; background: radial-gradient(60% 60% at 50% 60%, rgba(244, 122, 32, .18), transparent 70%), var(--panel); border: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 16px; }
.p-hero img { width: 70%; height: 70%; object-fit: contain; }
.p-price { font-family: var(--f-ui); font-size: var(--t-xl); font-weight: 800; color: var(--ember); margin: 4px 0 14px; }
.opts { display: grid; gap: 10px; margin: 6px 0 18px; }
.opt { position: relative; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; display: grid; gap: 2px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked), .opt.is-checked { border-color: var(--ember); background: rgba(244, 122, 32, .1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--ember); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.opt b { font-weight: 700; }
.opt span { color: var(--ink-dim); font-size: var(--t-s); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }

/* السلة */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--panel); }
.cart-line .meta { color: var(--ink-dim); font-size: var(--t-xs); }
.link-btn { border: 0; background: none; color: var(--ink-dim); text-decoration: underline; cursor: pointer; font-size: var(--t-xs); padding: 4px 0; }
.empty { text-align: center; color: var(--ink-dim); padding: 40px 10px; display: grid; gap: 16px; justify-items: center; }

/* رسالة الواتساب */
.wa-preview { white-space: pre-wrap; background: rgba(37, 211, 102, .06); border: 1px solid rgba(37, 211, 102, .3); border-radius: 14px; padding: 14px 16px; font-size: var(--t-s); line-height: 1.7; }
.order-no { font-family: var(--f-ui); font-weight: 800; color: var(--ember); }
.note { border: 1px dashed rgba(244, 122, 32, .55); border-radius: 12px; padding: 10px 12px; color: var(--ember); font-size: var(--t-s); }
.toast { position: fixed; z-index: 80; inset-inline: 0; bottom: 70px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); background: var(--chrome); color: #000; padding: 10px 18px; border-radius: 999px; font-family: var(--f-ui); font-weight: 700; font-size: var(--t-s); opacity: 0; transform: translateY(10px); transition: .3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.select { padding-inline-end: 38px; }
.note { margin-top: 14px; }
body.sheet-open .demo-tag { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sheet-panel, .sheet-backdrop, .toast, .product, .btn { transition: none !important; }
}
/* الكلام يبعد عن نص الشاشة عشان العربية اللي ماشية في النص ماتغطيهوش */
@media (min-width: 761px) {
  .half-home { padding-inline-end: clamp(80px, 9vw, 140px); }
  .half-branch { padding-inline-start: clamp(80px, 9vw, 140px); }
}
.svc-steam { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); }

/* ===== شاشة «الخدمات»: 4 مربعات بتطلع واحد ورا التاني، والبخار ورا ===== */
.svc-menu { position: fixed; inset: 0; z-index: 90; display: grid; background: rgba(0, 0, 0, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .35s var(--ease); }
.svc-menu[hidden] { display: none; }
.svc-menu.is-open { opacity: 1; }
.svc-menu-steam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .28; pointer-events: none; }
.svc-menu-inner { position: relative; width: min(1180px, 100%); margin: auto; max-height: 100%; overflow-y: auto; padding: clamp(64px, 9vh, 104px) var(--gutter) var(--gutter); display: grid; gap: clamp(16px, 3vh, 28px); }
.svc-menu-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.svc-menu.is-open .svc-menu-head { transform: none; opacity: 1; }
.svc-menu-title { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); }
.svc-menu-hint { margin: 4px 0 0; color: var(--ink-dim); font-size: var(--t-m); }
.svc-menu-x { flex: none; color: var(--chrome); font-size: 18px; }
.svc-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.svc-tile {
  position: relative; overflow: hidden; height: clamp(170px, 29vh, 300px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #0b0b0b; color: var(--chrome); cursor: pointer; text-align: start; font: inherit;
  opacity: 0; transform: translateY(36px) scale(.98); clip-path: inset(100% 0 0 0 round var(--radius-l));
  transition: opacity .5s, transform .75s var(--ease), clip-path .75s var(--ease), border-color .3s, box-shadow .3s;
  transition-delay: calc(var(--d) * 80ms + 140ms);
}
.svc-menu.is-open .svc-tile { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius-l)); }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: brightness(.72) saturate(.92); transition: transform .7s var(--ease), filter .4s; }
.svc-tile-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25) 62%, rgba(0, 0, 0, .1)); }
.svc-tile-word { position: absolute; top: 12px; inset-inline-end: 18px; direction: ltr; font-family: var(--f-big); font-size: clamp(1.9rem, 4.6vw, 4.2rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ember); opacity: .9; }
.svc-tile-copy { position: absolute; inset-inline: 0; bottom: 0; padding: 16px 20px 18px; display: grid; gap: 2px; }
.svc-tile-name { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
.svc-tile-line { color: var(--ink-dim); font-size: var(--t-s); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-tile:hover, .svc-tile:focus-visible { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember), 0 18px 50px -20px rgba(244, 122, 32, .55); outline: none; }
.svc-tile:hover img, .svc-tile:focus-visible img { transform: scale(1.12); filter: brightness(.88) saturate(1); }
body.menu-open { overflow: hidden; }
body.menu-open .demo-tag { display: none; }
@media (max-width: 640px) {
  .svc-menu-grid { gap: 10px; }
  .svc-tile { height: clamp(150px, 27vh, 230px); border-radius: 18px; }
  .svc-tile-copy { padding: 12px 14px 14px; }
  .svc-tile-line { display: none; }
  .svc-tile-word { top: 10px; inset-inline-end: 12px; font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-menu, .svc-menu-head, .svc-tile, .svc-tile img { transition: none !important; }
}

/* ===== صفحة المنتج: معرض صور (الأولى = متركب في العربية) + بيانات المنتج ===== */
.pg { position: relative; margin-bottom: 10px; }
.pg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; border: 1px solid var(--line); background: #0b0b0b; }
.pg-track::-webkit-scrollbar { display: none; }
.pg-slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 1; scroll-snap-align: center; }
.pg-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 5px 12px; border-radius: 999px; background: var(--ember); color: #000; font-family: var(--f-ui); font-size: var(--t-s); }
.pg-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245, 246, 247, .35); background: rgba(0, 0, 0, .55); color: var(--chrome); font-size: 24px; line-height: 1; cursor: pointer; }
.pg-prev { inset-inline-start: 10px; }
.pg-next { inset-inline-end: 10px; }
.pg-thumbs { display: flex; gap: 8px; margin-bottom: 14px; }
.pg-thumb { width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #111; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb.is-on { opacity: 1; border-color: var(--ember); }
.p-specs { margin: 0 0 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p-specs div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.p-specs dt { color: var(--ink-dim); font-size: var(--t-xs); }
.p-specs dd { margin: 2px 0 0; font-weight: 600; }

/* ===== صفحة «كل المنتجات» (shop.html) ===== */
.catalog { min-height: 100vh; background: var(--ember); color: #000; padding: clamp(96px, 12vh, 130px) 0 clamp(60px, 8vw, 110px); }
.catalog-head { display: grid; gap: 10px; }
.catalog-back { justify-self: start; color: #000; font-family: var(--f-ui); font-size: var(--t-m); text-decoration: underline; text-underline-offset: 4px; }
.catalog-title { margin: 0; font-size: clamp(3rem, 9vw, 7rem); line-height: 1.15; }
.catalog-sub { margin: 0; font-size: var(--t-l); font-weight: 700; max-width: 52ch; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 2px solid #000; background: transparent; color: #000; font-family: var(--f-ui); font-size: var(--t-m); cursor: pointer; }
.cat-chip b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #000; color: var(--chrome); font-size: 12px; }
.cat-chip.is-on { background: #000; color: var(--chrome); }
.cat-chip.is-on b { background: var(--ember); color: #000; }
.catalog-count { margin: 16px 0 0; font-family: var(--f-ui); font-size: var(--t-m); }
.topbar.always-solid { background: rgba(0, 0, 0, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
